/* 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 */
  }
}




/* Wrap all styles inside .dsu-skill-area to avoid conflicts */
.dsu-skill-area {
  background: radial-gradient(circle at top, #2a0e84, #0d0137);
  color: #fff;
}

/* Section Title */
.dsu-skill-area .section-heading {
  font-size: 2rem;
  font-weight: 700;
}
.dsu-skill-area .section-heading span {
  color: #ffdd57;
}

/* Skill Card */
.dsu-skill-area .skill-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: .35s;
}

.dsu-skill-area .skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(255, 221, 87, 0.3);
}

/* ICON BOX */
.dsu-skill-area .skill-icon {
  width: 90px;
  height: 90px;
  margin: auto;
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
  margin-bottom: 20px;
}

.dsu-skill-area .skill-icon i {
  font-size: 40px;
  transform: rotate(-45deg);
  color: #ffdd57;
}

/* Skill Title */
.dsu-skill-area .skill-card h5 {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1rem;
}

/* Elective Title */
.dsu-skill-area .elective-title {
  font-weight: 700;
  color: #ffdd57;
}

/* Elective items */
.dsu-skill-area .elective-item {
  background: rgba(255, 255, 255, 0.07);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s;
}

.dsu-skill-area .elective-item:hover {
  background: rgba(255,221,87,0.15);
}

.dsu-skill-area .elective-item i {
  font-size: 1.3rem;
  color: #ffdd57;
}







/* DSU Theme – Royal Blue + Gold, Clean & Professional */
#unique-features {
background: linear-gradient(135deg, #0a165a 0%, #10227a 100%);
padding: 3rem 2rem;
box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}


#unique-features .feature-card {
background: #ffffff10;
backdrop-filter: blur(6px);
border-radius: 14px;
padding: 1.4rem;
display: flex;
gap: 1rem;
align-items: flex-start;
border: 1px solid rgba(255, 217, 102, 0.25);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}


#unique-features .feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(0,0,0,0.45);
border-color: #ffd966;
background: #ffffff20;
}


#unique-features .feature-icon {
min-width: 58px;
height: 58px;
display: grid;
place-items: center;
border-radius: 12px;
background: linear-gradient(135deg, #ffd966 0%, #ffcc33 100%);
color: #0a165a;
font-size: 1.35rem;
font-weight: bold;
box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}


#unique-features .feature-title {
font-weight: 700;
margin-bottom: 0.2rem;
color: #ffffff;
letter-spacing: 0.3px;
}


#unique-features .feature-desc {
color: #dce3ff;
font-size: 0.95rem;
line-height: 1.45;
}


/* Smooth fade-up animation */
}





/* 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;
  }
}





.cyber-box {
  height: 100%;
  display: flex;
  gap: 15px;
  padding: 20px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background: #fff;
}

.cyber-box .icon {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cyber-box-content {
  flex-grow: 1;
}

@media (max-width: 576px) {
  .cyber-box {
      padding: 15px;
  }
}




/* DSU Outcomes Section */
.dsu-outcomes-section {
  background: #0d0137;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Title */
.dsu-outcomes-section .section-title {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
}
.dsu-outcomes-section .section-title span {
  color: #ffdd57;
}

/* Wrapper */
.dsu-outcomes-section .outcome-wrapper {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 25px;
}

/* Items */
.dsu-outcomes-section .outcome-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 22px 20px;
  border-radius: 18px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: .3s;
}

.dsu-outcomes-section .outcome-item:hover {
  background: rgba(255,221,87,0.12);
  border-color: rgba(255,221,87,0.5);
}

/* Icons */
.dsu-outcomes-section .outcome-icon {
  width: 55px;
  height: 55px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.dsu-outcomes-section .outcome-icon i {
  color: #ffdd57;
  font-size: 1.6rem;
}

/* Text */
.dsu-outcomes-section p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #e5e5e5;
}




/* Background */
#career-opportunities {
  background: #0c0f1a;
}

/* DSU Highlight */
#career-opportunities .highlight {
  color: #ffdd57;
}

/* Card Styling */
.career-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2rem;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  height: 100%;
  transition: 0.35s ease;
}

/* Hover */
.career-box:hover {
  transform: translateY(-8px);
  border-color: #ffdd57;
  box-shadow: 0 0 20px rgba(255,221,87,0.35);
}

/* Headings */
.career-box h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Icons */
.career-box .icon {
  font-size: 1.5rem;
}

/* List styling */
.career-box ul {
  padding-left: 1.2rem;
  margin: 0;
}

.career-box ul li {
  color: #e2e8f0;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.career-box ul li::marker {
  color: #ffdd57;
}






/* 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;
}



/* Dark background */
#placements {
    background: #1f429a; /* deep dark blue/black */
}

/* Paragraph text white with better readability */
#placements .placement-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}



/* 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;
}


