/* Reset some defaults */
body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth; /* Smooth scroll for nav links */
}

/* Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #3985f8 !important; /* Bootstrap Primary Blue */
}


.custom-navbar {
  background-color: #0d6efd !important; /* Change this HEX code to your color */
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: #fff !important; /* White text */
}

.custom-navbar .nav-link:hover {
  color: #ffc107 !important; /* Yellow hover */
}

.navbar-brand {
  font-weight: 600;
  color: #0d6efd !important;
}

.nav-link {
  font-weight: 500;
  margin-left: 15px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #0a58ca;
}

/* Hero Section */

/* Hero Section Background */
#home {
  min-height: 100vh;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/hero.webp") center center / cover no-repeat;
  color: #fff;
}

#home h1 {
  font-size: 3rem;
  font-weight: 700;
}

#home p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Sections */
section {
  padding: 80px 0;
}

section h2 {
  font-weight: 700;
  margin-bottom: 30px;
  color: #0d6efd;
  text-transform: uppercase;
}


/* Add extra top spacing for large laptop/desktop screens (around 1920px) */
@media (min-width: 990px) and (max-width: 1920px) {
  #home .container {
    padding-top: 80px; /* adjust as needed */
  }
}


/* Desktop only – make title bigger */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem !important; /* adjust bigger if needed */
  }
}





/* Full DSU Blue Background */
.why-cyber-dsu {
  background: #033580; /* DSU blue */
  color: #ffffff;
}

/* Title */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Subtitle */
.section-subtitle {
  font-size: 1.15rem;
  font-style: italic;
  color: #dbe7ff;
}

/* Cards */
.dsu-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 25px;
  border-radius: 12px;
  transition: 0.35s;
  backdrop-filter: blur(4px);
  color: #ffffff;
}

/* Hover Effect */
.dsu-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: #ffffff;
}

/* Icons */
.dsu-card h5 i {
  color: #ffffff;
  margin-right: 10px;
  font-size: 1.3rem;
}

/* Headings */
.dsu-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Paragraph */
.dsu-card p {
  margin: 0;
  line-height: 1.6;
  color: #f0f6ff;
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .dsu-card {
    padding: 20px;
  }
}





/* Base card */
.feature-card {
  background: #fff;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  border-radius: 16px;
}
.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card .icon i {
  font-size: 3rem;
  transition: all 0.4s ease;
}

/* -----------------------------
   Feature Hover Effects (Uniform Blue)
-------------------------------*/

/* Common hover effect for all features */
.feature-1:hover,
.feature-2:hover,
.feature-3:hover {
  transform: translateY(-12px) scale(1.05); /* uniform lift & scale */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon hover color and zoom for all features */
.feature-1:hover .icon i,
.feature-2:hover .icon i,
.feature-3:hover .icon i {
  color: #0d6efd; /* blue color */
  transform: scale(1.3); /* zoom effect */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Optional bounce animation for feature-3 icon */
.feature-3:hover .icon i {
  animation: bounce 0.6s;
}

/* -----------------------------
   Keyframes
-------------------------------*/

/* Bounce keyframes */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* FadeUp animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hide feature icons on small screens (mobile & tablets) */
@media (max-width: 768px) {
  #features .icon {
    display: none;
  }
}





/* Blue Cyber Background */
.cyber-bg {
  background: linear-gradient(135deg, #0a1f44 0%, #0c2b63 50%, #0e3a85 100%);
  padding-bottom: 70px;
  padding-top: 70px;
}

/* Cyber Box */
.cyber-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  height: 100%;
}

/* Hover Glow */
.cyber-box:hover {
  transform: translateY(-5px);
  border-color: #4db8ff;
  box-shadow: 0 0 15px rgba(77,184,255,0.6);
}

/* Icons */
.cyber-box .icon {
  font-size: 2.2rem;
  color: #4db8ff;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 576px) {
  .cyber-box {
    padding: 18px;
  }
}





:root {
  --primary: #012970; /* DSU-like navy blue (Change if needed) */
}

.program-outcomes-section {
  background: var(--primary);
}

/* Card Style */
.outcome-box {
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 15px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.15);
  transition: 0.25s ease;
}

.outcome-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.outcome-box .icon {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.outcome-box p {
  margin-bottom: 0;
  color: #444;
}

@media (max-width: 576px) {
  .outcome-box {
      padding: 16px;
      gap: 12px;
  }
}




:root {
  --primary: #012970; /* DSU navy blue */
}

/* Section background */
.career-opportunities-section {
  background: var(--primary);
}

/* Card style */
.career-box {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: 0.25s ease;
}

.career-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

/* Heading inside card */
.career-box h4 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Bullet points */
.career-box ul {
  padding-left: 22px;
  margin-bottom: 0;
}

.career-box ul li {
  margin-bottom: 10px;
  color: #222;
  font-size: 1.05rem;  /* Bigger text */
  line-height: 1.55;
  font-weight: 500;
}

/* Icons */
.icon {
  font-size: 1.9rem; /* Bigger icons */
  flex-shrink: 0;
}

/* Title + description improvements */
.career-opportunities-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.career-opportunities-section p {
  font-size: 1.15rem;
  color: #e9e9e9 !important;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .career-box {
    padding: 22px;
  }

  .career-box h4 {
    font-size: 1.25rem;
  }

  .career-box ul li {
    font-size: 1rem;
  }

  .career-opportunities-section h2 {
    font-size: 1.7rem;
  }

  .career-opportunities-section p {
    font-size: 1rem;
  }
}





/* Campus Life Scrolling Gallery */
.campus-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch; /* smoother on iOS */
}

.campus-gallery::-webkit-scrollbar {
  height: 6px;
}
.why-choose-bca {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 50px;
}

.section-title span {
  color: #00a3ff;
}

/* Flex Layout */
.why-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left and right */
.why-left,
.why-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 260px;
}

/* Center image */
.why-center img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feature items */
.why-item {
  background: #f8faff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

.why-item:hover {
  transform: translateY(-4px);
}

.why-item .icon {
  font-size: 28px;
  color: #00a3ff;
  margin-bottom: 8px;
}

.why-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .why-content {
    flex-direction: column;
  }

  .why-left,
  .why-right {
    width: 100%;
    align-items: center;
  }

  .why-item {
    max-width: 350px;
    text-align: center;
  }

  .why-center img {
    margin: 25px 0;
  }
}
.campus-gallery::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 10px;
}

.campus-item {
  flex: 0 0 auto;
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.campus-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



/* Scroll wrapper */
.testimonial-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;                 /* horizontal scroll */
  scroll-snap-type: x mandatory;    /* snap to each card */
  -webkit-overflow-scrolling: touch;/* smooth scroll on iOS */
  padding: 1rem 0;
  scrollbar-width: none;            /* hide scrollbar in Firefox */
}
.testimonial-scroll::-webkit-scrollbar {
  display: none;                    /* hide scrollbar in Chrome/Edge */
}

/* Testimonial cards */
.testimonial-card {
  flex: 0 0 80%;         /* each card takes 80% of viewport width */
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Desktop: smaller card width */
@media(min-width: 992px) {
  .testimonial-card {
    flex: 0 0 350px;
  }
}

.testimonial-card {
  flex: 0 0 80%;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (min-width: 992px) {
  .testimonial-card {
    flex: 0 0 350px;
  }
}

.student {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.student img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-drag: none;
}



.placement-card {
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.placement-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, #007bff33, #00c6ff33);
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.placement-card:hover::before {
  opacity: 1;
}

.placement-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
  transition: transform 0.4s ease;
}

.placement-card:hover .icon-circle {
  transform: rotate(12deg) scale(1.1);
}

.stat {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.label {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Hide placement icons on mobile/tablet (less than 992px) */
@media (max-width: 991px) {
  .placement-card .icon-circle {
    display: none;
  }
}





/* Hero Section Top Margin for fixed navbar */
#home {
  padding-top: 80px; /* height of navbar + some spacing */
}


/* Courses */
.card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}





/* ===========================
   Gallery Styles
   =========================== */

/* Smooth hover animation */
#gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backface-visibility: hidden; /* prevent flicker on hover */
}

/* Zoom effect on hover */
#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Wrapper: horizontal scroll */
.gallery-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  cursor: grab; /* show grab icon */
  will-change: scroll-position; /* smoother performance */
}

/* Hide scrollbar (all browsers) */
.gallery-wrapper::-webkit-scrollbar { display: none; }
.gallery-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

/* Gallery Item */
.gallery-item {
  flex: 0 0 auto;
  width: 250px; /* adjust size */
  aspect-ratio: 4/3; /* keeps images consistent */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  background: #f8f9fa; /* fallback bg while image loads */
}

/* Image fit */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  loading: lazy; /* ensures browser lazy loads */
}

/* Desktop hover behavior */
@media (min-width: 992px) {
  .gallery-wrapper:hover {
    cursor: grab;
  }
}



.award-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer {
  background-color: #111; /* dark background */
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h5 {
  color: #fff;
  font-size: 1.25rem;
}

.footer p {
  color: #ccc;
  margin: 0.25rem 0;
}

.footer a {
  color: #00c6ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
    padding: 3rem 1rem;
  }
}


/* ==============================
   Fixed Apply Now Button
============================== */
.apply-now-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0073e6;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
  text-align: center;
}

/* Hover Effect */
.apply-now-btn:hover {
  background: #005bb5;
  transform: scale(1.05);
}

/* ✅ Mobile & Tablet Full Width */
@media (max-width: 991px) {
  .apply-now-btn {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
    padding: 16px;
    font-size: 1.1rem;
    transform: none; /* remove floating scaling */
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
}





/* Desktop / Laptop: ≥992px */
@media (min-width: 992px) {
  #home {
    min-height: 100vh;           /* reduce from 120vh to shrink bottom space */
    display: flex;
    flex-direction: column;
    justify-content: center;     /* center content vertically */
    padding-top: 80px;           /* space for fixed navbar */
    padding-bottom: 20px;        /* reduced bottom spacing */
  }

  #home h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
  }

  #home p {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;         /* reduced spacing below paragraph */
  }

  .widget-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}





/* Tablet: 577px – 991px */
@media (min-width: 577px) and (max-width: 991px) {

  /* Hero Section */
  #home {
    min-height: 90vh !important;   /* reduce from 120vh */
    padding-top: 20px;             /* optional top spacing */
    padding-bottom: 20px;          /* optional bottom spacing */
    background: 
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url("../images/hero.webp") center top / cover no-repeat;
  }

  #home h1 {
    font-size: 2.5rem;  
    font-weight: 700;
    margin-top: 120px;
    text-align: center;
  }

  #home p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-align: center;
  }

  /* About Section Image Alignment */
  #about .col-lg-6.text-end {
    text-align: left !important;
  }

  #about .col-lg-6.text-end img {
    margin-left: 0;
    margin-right: auto;
    float: left;
    max-width: 100%;
    height: auto;
  }
}

/* Mobile: max-width 576px */

.widget-wrapper {
  width: 400px;
  max-width: 100%;
  min-height: 500px; /* Reserve space equal to expected widget height */
}


@media (max-width: 576px) {

  /* Hero Section */
  #home {
    padding-top: 140px;
    padding-bottom: 20px;
    min-height: 70vh; /* reduce for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url("../images/hero.webp") center top / cover no-repeat;
  }

  #home h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
  }

  #home p {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
  }

  .widget-wrapper {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Department Section */
  #department {
    padding-top: 2rem !important;   
    padding-bottom: 1rem !important;
  }

  #department .col-lg-6 {
    margin-bottom: 1.5rem !important; 
  }
}

/* Make course card titles bigger */
#courses .card-title {
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
}


