/* GLOBAL FONT */
body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.body {
    color: #1f2937;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO AREA - FIXED */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;          /* ✅ controlled size */
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #0b4da2;
    white-space: nowrap;   /* ✅ prevents wrapping */
    line-height: 1;
}

/* NAV LINKS - UNIFORM LOOK */
.nav-menu > li > a,
.nav-menu > li > .dropbtn {
    text-decoration: none;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    display: inline-block;
    cursor: pointer;
}

/* REMOVE VISITED LINK COLOR */
.nav-menu a:visited {
    color: #1f2937;
}

/* HOVER EFFECT FOR ALL MENU ITEMS */
.nav-menu > li > a:hover,
.nav-menu > li > .dropbtn:hover {
    color: #0b4da2;            /* brand blue */
}

.nav-menu a,
.dropbtn {
    outline: none;
}


/* sub menu in the header */
/* NAV RESET */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

/* BUTTON RESET */
.dropbtn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    padding: 8px 0;
}

/* DROPDOWN STRUCTURE */
.dropdown {
    position: relative;
}

/* HIDDEN BY DEFAULT */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
    padding: 8px 0;
}

/* SHOW ON HOVER */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hover-safe bridge */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

/* MENU ITEMS */
.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #1f2937;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f5f7fa;
    color: #0b4da2;
}


/* MOBILE MENU TOGGLE ICON */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

/* ---------------- MOBILE HEADER FIX ---------------- */
@media (max-width: 768px) {

    .header-flex {
        flex-wrap: nowrap;
    }

    /* Hide desktop menu */
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #eee;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu > li {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
    }

    /* Disable hover dropdown on mobile */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Logo text smaller */
    .logo-text {
        font-size: 16px;
        white-space: nowrap;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
    }
}

/* MOBILE DROPDOWN FIX */
@media (max-width: 768px) {

    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding-left: 15px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

}

/* HERO SLIDER */
.hero-slider {
    padding-top: 20px;
    height: 520px;
    background: #ffffff;
}

/* CENTERED INNER CONTAINER */
.hero-inner {
    height: 100%;
    max-width: 1200px;     /* controls left/right space */
    margin: 0 auto;       /* centers slider */
    padding: 0 20px;      /* extra breathing space */
    position: relative;
}

.slides {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SLIDER DOTS */
/* FORCE DOTS BELOW ANNOUNCEMENT BAR */
.slider-dots-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

/* RESET ANY OLD POSITIONING */
.slider-dots {
    position: static !important;   /* 🔑 THIS FIXES IT */
    transform: none !important;
    display: flex;
    gap: 10px;
}

/* DOT STYLE */
.slider-dots span {
    width: 10px;
    height: 10px;
    background: rgba(11, 77, 162, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dots span.active {
    background: #0b4da2;
    transform: scale(1.3);
}

/* ANNOUNCEMENT BAR */
/* ANNOUNCEMENT OUTER (NO COLOR) */
.announcement {
    padding: 12px 0;
    background: transparent;   /* 🔑 key fix */
}

/* ACTUAL ORANGE BAR (REDUCED WIDTH) */
.announcement-inner {
    max-width: 1200px;         /* match slider */
    margin: 0 auto;
    padding: 12px 20px;
    background: #f97316;       /* moved here */
    text-align: center;
    border-radius: 6px;        /* optional, looks nice */
}

/* TEXT */
#slide-caption {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

/* WELCOME SECTION */
.welcome-section,
.welcome-section h2,
.welcome-section p {
    font-family: inherit;
}

.welcome-section {
    padding: 30px 0;
    background: #ffffff;
}

.welcome-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.welcome-inner h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2f55d4; /* institutional blue */
    margin-bottom: 30px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.welcome-inner p {
    font-size: 18px;
    line-height: 1.4;
    color: #2d2d2d;
    margin-bottom: 20px;
    text-align: justify; /* matches screenshot style */
}

/* VISION & MISSION SECTION */
.vision-mission-section {
    padding: 0px 0;
    background: #ffffff;
}

.vision-mission-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* COMMON CARD STYLES */
.vm-card {
    border-radius: 16px;
    padding: 50px 40px;
    color: #ffffff;
    min-height: 320px;
}

/* HEADINGS */
.vm-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-align: center;
}

/* LIST */
.vm-card ul {
    list-style: none;
    padding: 0;
}

.vm-card li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 26px;
}

/* CUSTOM BULLET */
.vm-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 26px;
    line-height: 1;
}

.our-mission-text, .our-vission-text  {
    margin-left: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .vision-mission-inner {
        grid-template-columns: 1fr;
    }

    .vm-card {
        min-height: auto;
    }

    .vm-card h3 {
        font-size: 34px;
    }
}

/* Our Objectives SECTION */
.vm-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.vm-title {
  text-align: center;
  font-size: 34px;
  color: #3556d8;
  margin-bottom: 16px;
}

.vm-intro {
  margin: 0 auto 60px;
  text-align: justify;
  font-size: 18px;
  line-height: 1.7;
}

.vm-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 10px;
  align-items: start;
}

/* LEFT SIDE */
.vm-label {
  font-size: 14px;
  color: #3b6fb6;
}

.vm-caption {
  font-size: 13px;
  margin-top: 10px;
}

.vm-image-card h4 {
  margin-top: 12px;
  font-size: 16px;
}

.vm-small {
  font-size: 14px;
  color: #444;
}

.vm-purpose {
  background: linear-gradient(135deg, #0c1e3b, #081427);
  color: #fff;
  padding: 36px;
  margin-right: 25px;
}

.vm-purpose h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.vm-purpose p {
  font-size: 18px;
  line-height: 1.7;
}

/* RIGHT SIDE */
.vm-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.vm-icon {
  width: 52px;
  height: 52px;
  background: #16244d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.vm-right h3 {
  font-size: 24px;
}

.vm-list {
  padding-left: 20px;
}

.vm-list li {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
}

.vm-right hr {
  margin-top: 30px;
  border: none;
  border-top: 1px solid #ddd;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .vm-left {
    flex-direction: column;
  }

  .vm-image-card,
  .vm-purpose {
    width: 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .objectives-inner {
        padding: 40px 25px;
    }

    .objectives-inner h3 {
        font-size: 34px;
    }

    .objectives-inner li {
        font-size: 16px;
    }
}

/* OUR INSTITUTIONS SECTION */
.institutions-section {
    padding: 30px 0;
    background: #ffffff;
}

.institutions-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* HEADER */
.institutions-inner h2 {
    font-size: 40px;
    font-weight: 700;
    color: #2f55d4;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.institutions-desc {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
    color: #2d2d2d;
}

/* INSTITUTIONS GRID */
.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* INSTITUTION CARD */
.institution-card-ui {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    font-family: inherit;
}

/* HEADER */
.institution-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 5px;
    text-align: left;
}

.institution-logo {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.institution-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #3f5bd9;
    margin: 0;
}

.institution-title span {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 2px;
}

/* IMAGE */
.institution-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin: 15px 0;
}

/* ADDRESS */
.institution-address {
    font-size: 15px;
    color: #222;
    line-height: 1.6;
    margin: 5px 0 10px 0;
    line-height: 1.6;
    text-align: left;
}

/* PHONE */
.institution-phone {
    font-size: 18px;
    font-weight: 600;
    color: #3f5bd9;
    margin-bottom: 15px;
}

/* DIVIDER */
.institution-card-ui hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0 15px;
}

/* ACTION ICONS */
.institution-actions {
    display: flex;
    justify-content: space-around;
    font-size: 20px;
}

.institution-actions a {
    font-size: 20px;
    color: #3f5bd9;
    transition: transform 0.2s ease, color 0.2s ease;
}

.institution-actions a:hover {
    transform: scale(1.2);
    color: #1e40af;
}

/* MAP MODAL OVERLAY */
.map-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

/* MODAL BOX */
.map-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 700px;
    height: 420px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* CLOSE BUTTON */
.map-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

/* MAP IFRAME */
.map-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* JOIN VES SECTION */
.join-ves-section {
    padding: 60px 0 0;
    background: #ffffff;
}

/* IMAGE CONTAINER (LIMITED WIDTH) */
.join-ves-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;          /* 🔒 width limited */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('../images/join-ves.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 40px;
    color: #ffffff;
}

/* DARK OVERLAY */
.join-ves-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

/* CONTENT */
.join-ves-content {
    position: relative;
    text-align: center;
}

.join-ves-content h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.join-ves-content p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

/* STATS BELOW IMAGE */
.join-ves-stats {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px 60px;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* STAT CARD */
.stat-card {
    background: #ffffff;
    color: #2f55d4;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.stat-card h3 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card span {
    font-size: 16px;
    color: #333;
}

.right-card {
    padding: 30px;
    color: #ffffff;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apply-card {
    background: #003466;
}
.connect-card {
    background: #498fe2;
    /* color: #297f62 !important; */
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .join-ves-inner {
        padding: 80px 20px;
    }

    .join-ves-stats {
        margin-top: -40px;
    }
}

/* WHAT SETS US APART */
.apart-section {
    padding: 50px 0;
    background: #ffffff;
}

.apart-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 0 20px;
}

/* LEFT SIDE */
.apart-left h2 {
    font-size: 36px;
    color: #2f55d4;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.apart-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #222;
    margin-bottom: 40px;
}

.apart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.apart-icon {
    width: 48px;
    height: 48px;
    background: #1f2f5c;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.apart-text h3 {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.apart-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.apart-left hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* RIGHT SIDE */
.apart-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.right-card {
    padding: 30px;
    color: #ffffff;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card {
    padding: 0;
}

.our_purpose_card {
    background: #082340;
}

.our_mission_card {
    background: #294e69;
}

.right-card h3 {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.right-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .apart-container {
        grid-template-columns: 1fr;
    }

    .apart-right {
        grid-template-columns: 1fr;
    }
}

/* OUR FACILITIES SECTION */
.facilities-section {
    padding: 50px 0;
    background: #ffffff;
}

.facilities-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

/* LEFT TEXT */
.facilities-text h2 {
    font-size: 36px;
    color: #2f55d4;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.facilities-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
}

/* RIGHT IMAGE GRID */
.facilities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.facilities-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .facilities-container {
        grid-template-columns: 1fr;
    }

    .facilities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .facilities-gallery {
        grid-template-columns: 1fr;
    }
}

/* OUR ALUMNI SECTION */

.alumni-section {
    padding: 10px 0px;
    background: #ffffff;
    color: #ffffff;
}

.alumni-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    text-align: center;
    background: linear-gradient(135deg, #5f6fb3, #3c4c97);
    border-radius: 20px;
}

.alumni-section h2 {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

/* SLIDER */
.alumni-slider-wrapper {
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
    overflow: hidden;
}

.alumni-slider {
    display: flex;
    /*width: 100%;*/
    gap: 30px;
    /*transition: transform 0.6s ease-in-out;*/
}

/* CARD */
.alumni-card {
    min-width: 200px;
    max-width: 220px;
    background: transparent;
    text-align: center;
    flex: 0 0 auto;
}

.alumni-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    background: #ffffff;
    padding: 8px;
}

.alumni-card h4 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.alumni-card span {
    font-size: 15px;
    opacity: 0.85;
}

/* DOTS */
.alumni-dots {
    margin-top: 30px;
}

.alumni-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.alumni-dots span.active {
    background: #ffffff;
}

/* CONTACT US SECTION */
.contact-section {
    padding: 50px 0 0 0;
    background: #ffffff;
    text-align: center;
}

/* HEADING */
.contact-section h2 {
    font-size: 36px;
    color: #2f55d4;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* MAP */
.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER BASE */
.footer-section {
    background: linear-gradient(135deg, #0c1a4a, #2e3f87);
    color: #ffffff;
    padding: 60px 0 0;
}

/* MAIN CONTAINER */
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* BRAND BLOCK */
.footer-brand-block {
    display: flex;
    gap: 20px;
    max-width: 420px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.footer-brand-text h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-brand-text p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* RIGHT LINKS */
.footer-links {
    display: flex;
    gap: 80px;
}

/* LINK COLUMNS */
.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
}

.footer-column ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 50px;
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}