 html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-section {
  background: url('img/asset1.jpeg') no-repeat center center;
  background-size: cover;
  padding-bottom: 21px; /* adjust as needed */
  color: #fff; /* text color over background */
  margin-top: 0;
   padding-top: 0;
}

    /* Top Bar Styling */
    .top-bar {
      position: relative;
      background-color: #f4e0b2; /* Beige fallback */
      padding: 10px 30px;
      overflow: hidden;
       margin-top: 0;
       /* height: 80px; */
    }

    /* Background image for top bar with overlap */
    .top-bar::before {
      content: "";
      position: absolute;
      top: 0;
      left: -20px;
      right: -20px;
      bottom: 0;
      
      z-index: 0;
    }

    /* Logos */
    .logo-img {
      max-height: 35px;
      z-index: 1;
      position: relative;
      margin-top: 10px;
    }
    .overlay-content {
  padding-top: 40px;
  
}
.form-widget {
   background-color: rgba(185, 196, 224, 0.75);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-left: auto; /* ✅ Pushes form to the right */
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
 padding: 5rem 2rem;
}


    /* Dark overlay on main content */
    .overlay {
      background: rgba(0, 0, 0, 0.4);
      min-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
          margin-top: -55px;

    }

    /* Content box */
    .content-left {
      max-width: 600px;
      margin-top: 66px
    }

    h1 {
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .logo-img {
        max-height: 40px;
      }
       .top-bar .col-4 {
    flex: 1 1 auto; /* Let them grow equally */
    max-width: none;
  }
    }
    /* Background + overall spacing */
.visionary-section {
  background-color: #FAE3B6; /* light beige */
}

/* Heading */
.section-title {
  color: #7A1E2D;        /* dark maroon */
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Body copy */
.intro-text,
.visionary-details {
  color: #333333;        /* dark gray */
  line-height: 1.6;
}

/* Quote text with decorative marks */
.vision-quote {
  color: #7A1E2D;        /* dark maroon */
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.25rem 0 1rem;
  position: relative;
  padding: .25rem .5rem;
}
.vision-quote::before,
.vision-quote::after {
  position: absolute;
  color: #E6B650;        /* golden yellow */
  font-size: 3rem;
  line-height: 1;
}
.vision-quote::before {
  content: "“";
  left: -12px;
  top: -10px;
}
.vision-quote::after {
  content: "”";
  right: 65px;
  bottom: -12px;
}

/* Name */
.visionary-name {
  color: #7A1E2D;        /* dark maroon */
  font-weight: 700;
  letter-spacing: .3px;
}

/* Image */

.visionary-img {
    max-width: 100%;
    height: auto;
    display: block;       /* Removes unwanted inline spacing */
     margin-bottom: -48px; /* base margin */      /* Centers image horizontally */
}



/* For small screens (mobile) */
@media (max-width: 576px) {
  .visionary-img {
    max-width: 100%;   /* shrink a little */
   margin-bottom: 37px;
    display: block;
  }
}

/* For tablets */
@media (min-width: 577px) and (max-width: 991px) {
  .visionary-img {
    max-width: 80%;
  }
}


/* For large screens (≥992px) */
@media (min-width: 992px) {
  .visionary-img {
    max-width: 100%;
    margin-bottom: -35px; /* keep your original negative margin */
  }
}

/* For extra-large screens (≥1200px) */
@media (min-width: 1200px) {
  .visionary-img {
    max-width: 100%; /* optional if you want it a bit smaller */
     margin-bottom: -48px; 
  }
}



/* Mobile tweaks */

@media (max-width: 576px) {
  .vision-quote::before {
    left: 3px;
    top: -5px;
    font-size: 2.0rem;
  }

  .vision-quote::after {
    right: 7px;
    bottom: -5px;
    font-size: 2.0rem;
  }
}
/* Default (applies to all unless overridden) */
.vision-quote::after {
    content: "”";
    right: 38px;
    bottom: -2px;
    position: absolute; /* Make sure it's positioned properly */
}

/* For large screens (≥992px) */
@media (min-width: 992px) {
    .vision-quote::after {
        right: 65px;
        bottom: -10px;
    }
}

/* For extra-large screens (≥1200px), if needed */
@media (min-width: 1200px) {
    .vision-quote::after {
        right: 63px;  /* Example adjustment */
        bottom: -9px;
    }
}

/* Initial hidden state */
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transform: translateX(50px); /* right */
  transition: all 0.8s ease-out;
}

.slide-in-left {
  transform: translateX(-50px); /* left */
}

/* Visible state */
.slide-in-visible {
  opacity: 1;
  transform: translateX(0);
}
.snu-section {
  background-color: #142459; /* dark navy blue */
  color: white;
  padding: 40px 0;
  margin-top: -37px;

}

.info-box {
  border: 1px solid white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}

.five-schools-box {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 6px;
  background-color: #142459;
  overflow: hidden;
  text-align: center;
  max-width: 300px;
  height: 256px;
}
@media (max-width: 768px) {
  .five-schools-box {
    display: block;   /* 👈 full-width on mobile */
    max-width: 100%;
    width: 100%;
    margin: 10px auto; /* center each box */
  }
}
.five-schools-header {
  background-color: #8b1c2e; /* maroon */
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

.five-schools-box ul {
  list-style: none;
  padding: 4px;
  margin: 0;
}

.five-schools-box li {
  color: #f8e5a5; /* gold-ish like in screenshot */
  font-weight: bold;
  margin-bottom: 4px;
}

    .building-img {
      border-radius: 10px;
      max-width: 100%;
      margin-top: 35px;
    }

    .snu-program-section {
  background-color: #f4e6b3; /* light background */
  padding: 15px 0;
  /* margin-top: -10px;  */
  z-index: 1;
}

.section-parent {
  position: relative; /* make parent a positioning reference */
  overflow: hidden; 
}
.student-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    height: 785px;
    z-index: 1;
    top: -407px;
}


/* Mobile (up to 576px) */
@media (max-width: 576px) {
  .student-img {
    position: static;  /* or relative if needed */
    height: 371px;
    margin-right: 0px;
    margin-top: -35px;
    transform: none;  /* remove translate when not absolute */
  }
}



/* Large screens (992px and above) */
@media (min-width: 992px) {
  .student-img {
    height: 785px; /* your original design height */
    bottom: 0;
  }
}
.program-box {
  color: #fff; /* White text */
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 12px;
  
  box-shadow: 0 4px 12px rgba(0,0,0,0.49);
  min-height: 200px;
}

.program-box h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.vision {
  background-color: #0b1d4a; /* Navy Blue */
}

.mission {
  background-color: #701d2d; /* Dark Maroon */
}

.objective {
  background-color: #7c1f2c; /* Brick Red */
}

.outcome {
  background-color: #0d1b46; /* Deep Blue */
}
.program-heading {
  font-size: 28px;
  font-weight: 700;
  color: #7c1f2c; /* Maroon color for heading */
  margin-bottom: 20px;
}
 /* Section Styling */
 .why-choose {
      background-color: #f4e6b3; /* light cream */
      border-radius: 20px 20px 0 0;
      padding: 60px 30px;
      position: relative;
      margin-top: 28px;
    }

    /* Maroon Circle Top */
    .why-choose::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 79px;
  background-color: #800000; /* maroon */
  border-radius: 50%;
  border: 9px solid #fff; /* white border */
  z-index: 1;
}


    /* Heading */
    .why-choose h2 {
      color: #800000; /* maroon */
      font-weight: 700;
      margin-bottom: 40px;
    }

    /* Each feature item */
    .why-item {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    /* Icon Circle */
    .icon-circle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #0b0b28; /* dark navy */
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .icon-circle img {
      width: 50px;
      height: 50px;
    }

    .why-item p {
      margin: 0;
      font-weight: 600;
      color: #111;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .why-item {
        flex-direction: column;
        text-align: center;
      }
      .why-item p {
        margin-top: 10px;
      }
    }
    .what-learn {
  background-color: #701d2d; /* maroon section */
  color: #fff;
  padding: 40px 20px;
  border-radius: 0 0 12px 12px;
  margin-top: 0px;
}

.what-learn h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #f4e6b3; /* cream text */
}
/* Optional hover effect */
.program-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.70);
}
.wcp {
    font-weight: bold !important;
  font-size: 18px;
  color: #0d47a1; /* dark blue shade */
  }
.curriculum-section {
  background-color: #f9e9c4; /* Light yellow background */
  padding: 50px 20px;
}

.curriculum-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;

}

.curriculum-text {
  flex: 1;
  /* max-width: 35%; */
}

.curriculum-text h2 {
  color: #9b1c1c; /* Dark Red */
  font-size: 28px;
  margin-bottom: 15px;
}

.curriculum-text p {
/*  letter-spacing: -0.8px;   /* slight adjustment */
  line-height: 1.5;        /* better readability */
 /*  word-spacing: 0.05em;      /* optional fine-tuning */
  text-align: justify;
}

.curriculum-image {
   flex: 1; /* middle image */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}



.curriculum-image img {
  width: 114%;
  border-radius: 10px;
margin-top: -77px;
}

.curriculum-semesters {
  flex: 1;
  max-width: 35%;
}

.semester-box {
  margin-bottom: 15px;
}

.semester-header {
  background-color: #9b1c1c;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 15px;
  width: 100%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.semester-content {
  display: none;
  background: #f9e9c4;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-top: 5px;
}

.semester-content table {
  width: 100%;
  border-collapse: collapse;
}

.semester-content th,
.semester-content td {
  text-align: left;
  padding: 8px;
}

.semester-content .total td {
  border-top: 2px solid #000;
  font-weight: bold;
}

.academic-delivery {
  background-image: url("img/asset17.jpeg"); /* 👈 use your path here */
  background-size: cover;
  background-position: center;
  position: relative;
  /* padding: 50px 0; */
  color: #000;
}

.academic-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.left-side {
  flex: 1;
  text-align: center;
}

.left-side h2 {
  display: inline-block;
  background: #f4e6b3;
  color: #6c1e22;
  font-weight: bold;
  padding: 8px 7px;
  font-size: 24px;
      margin-top: 12px;
}

.circles {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin: 0 -15px; /* overlap */
}
/* Mobile view */
@media (max-width: 576px) {
  .circle {
    width: 140px;
    height: 140px;
  }
}
.circle.light {
  background: #fce9c0;
  color: #000;
}

.circle.dark {
  background: #7a1c23;
  color: #fff;
}

.right-side-support {
  flex: 3;
 
  flex-direction: column;
  gap: 23px;
  justify-content: center;   /* centers vertically inside parent */
  margin-top: 40;             /* remove fixed push */
}

/* On smaller screens, adjust spacing */
@media (max-width: 768px) {
  .right-side-support{
    margin-top: 20px;        /* add a small gap only on mobile */
  }
}


.info-box {
  background: #142459;
  padding: 15px 20px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 4px;
  
}
/* ✅ Responsive for Tablets & Mobile */
@media (max-width: 992px) {
  .curriculum-container,
  .academic-container {
    flex-direction: column;  /* stack sections */
    text-align: center;
  }

  .curriculum-text,
  .curriculum-semesters,
  .left-side,
  .right-side-support {
    flex: 100%;
    max-width: 100%;
  }

  .curriculum-image {
    order: -1; /* 👈 move image on top for mobile */
  }
}
.info-box-support{
  background: #f9e9c4;
    
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
    color: #7a1c23;
     border: 1px solid white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  
}
.career-outcomes {
  background-color: #7a1e2d; /* Maroon background */
  color: #fff;
  padding: 60px 20px;
}

.career-outcomes h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.outcomes-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-outcomes {
  background-color: #7a1e2d; /* Maroon background */
  color: #fff;
  padding: 60px 20px;
}

.career-outcomes h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.outcomes-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcomes-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 16px;
}

.outcomes-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
  color: #fff;
}
.admission-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto; /* center image */
}
/* Section background */
.fees-section {
  background: url("img/asset15.png") no-repeat center center/cover;
  padding: 60px 20px;
  color: #333;
}

/* Flex layout */
.fees-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* makes it responsive */
  max-width: 1200px;
  margin: auto;
}

/* Left Box */
.fees-box {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  max-width: 456px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      height: 588px;

  
}

.fees-box h2 {
  color: #800000;
  margin-bottom: 20px;
}

.fees-box .note {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

.fees-box .highlight {
  background: #f7e6a9;
  padding: 12px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: bold;
}

.fees-box h3 {
  font-size: 48px;
  color: #800000;
  margin: 20px 0;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.apply-btn {
  display: inline-block;
}

.apply-btn .apply-img {
  max-width: 175px;  /* adjust size */
  
  display: block;
  height: 85px;
}


/* Girl Image */

.fees-image img {
  width: 100%;
  max-width: 696px;    /* control max width */
  height: 625px;       /* fixed height */
  object-fit: cover;   /* crop/cover instead of stretch */
  border-radius: 12px; /* matches fees-box corners */
 
  
}



/* Responsive */
@media (max-width: 768px) {
  .fees-container {
    flex-direction: column;
    text-align: center;

  }
  .fees-box {
    margin-bottom: 20px;
height: auto; 
  }
  .fees-image img {
    max-width: 100%;   /* allow full width on small screens */
    margin-left: 0;   /* reset on mobile */
    margin-top: 24px; /* add spacing instead */
    text-align: center; /* center it if needed */
  }
}
.custom-title {
  color: #9b1c1c;
  font-size: 25px;
  margin-bottom: 0px;
}

.modal-content.custom-bg {
    background-color: #f9e9c4;
  }
.footer-logo {
  max-height: 75px;
  max-width: 220px;
  height: auto;
  width: auto;
}