/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #0b1f38;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}


/* ============================================================================
   HEADER – Clean, Compact, Responsive (FINAL)
============================================================================ */
.header {
    width: 100%;
    padding: 12px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    height: 78px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    object-fit: contain;
}

/* NAVIGATION MENU */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #002D62;
    padding: 8px 0;
    transition: 0.25s;
}

.navbar ul li a:hover {
    color: #0096FF;
}

/* ============================================================================
   MEGA MENU / DROPDOWN
============================================================================ */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 58px;
    left: 0;
    width: 260px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
    pointer-events: none;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #002D62;
    margin-bottom: 12px;
}

.mega-menu a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #003A78;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-menu a:hover {
    color: #0096FF;
    padding-left: 5px;
}

/* ============================================================================
   MOBILE MENU
============================================================================ */
.mobile-menu-icon {
    display: none;
    font-size: 34px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .mobile-menu-icon {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
    }

    .nav-links.nav-active {
        max-height: 800px;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .mega-menu {
        display: none;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        background: #f4f8ff;
        padding: 14px 20px;
        border-radius: 10px;
        box-shadow: none;
        transform: none;
    }
}


/* ============================================================================
   HERO
============================================================================ */
.hero {
  background: #002b5c;
  color: #fff;
  padding: 70px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero h1 { font-size: 2.6rem; }

.hero-img img {
  width: 380px;
  border-radius: 12px;
}


/* ============================================================================
   LEADER SECTION
============================================================================ */
.leaders { padding: 60px 0; }

.leader-card {
  background: #f9fbff;
  padding: 28px;
  border-radius: 14px;
  display: flex;
  gap: 28px;
  margin-bottom: 45px;
  border: 1px solid #e6eef8;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.leader-photo {
  width: 230px;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
}

.leader-info h2 { font-size: 1.8rem; margin-bottom: 4px; }
.leader-info h4 { color: #006cff; margin-bottom: 12px; }
.leader-info p { margin-bottom: 12px; text-align: justify; }

.linkedin-btn {
  display: inline-block;
  background: #006cff;
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.92rem;
}

.linkedin-btn:hover {
  background: #0052b8;
}


/* ============================================================================
   RESPONSIVE
============================================================================ */
@media(max-width: 850px) {

  .hero { flex-direction: column; text-align: center; }

  .leader-card {
    flex-direction: column;
    text-align: center;
  }

  .leader-photo {
    margin: auto;
    width: 200px;
    height: 220px;
  }
}


/* ============================================================================
   FOOTER 
============================================================================ */
.footer {
    background: #002D62;
    color: white;
    padding: 60px 12%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 40px;
    margin-top: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-social a {
    font-size: 20px;
    margin-right: 12px;
}

.footer-bottom {
    margin-top: 40px;
    opacity: 0.7;
    text-align: center;
}

/* ============================================================================
   RESPONSIVE FIXES 
============================================================================ */
@media (max-width: 900px) {
    .leadership-flex {
        flex-direction: column;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.hero-buttons a {
    display: inline-block;
    padding: 14px 24px;
    background: #007BFF;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    min-width: 260px;
}

.hero-buttons a:nth-child(2) {
    background: #0066e6;
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 380px;
        margin: auto;
    }

    .hero-buttons a {
        width: 100%;
        min-width: unset;
        padding: 16px 20px;
        border-radius: 12px;
    }
}
/* ===========================================
 
/* MOBILE ONLY FIXES */
@media (max-width: 768px) {

    /* Add left & right padding to the image */
    .hero-custom {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Ensure background image fits without cutting */
    .hero-custom {
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Arrow */
    .hero-arrow {
        font-size: 22px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        text-align: center;
    }

    /* CTA button - make smaller + move down */
    @media (max-width: 768px) {
    .hero-cta-button {
        margin-top: 100px !important;   /* move CTA downward */
        display: inline-block;
    }
}

}

/* Fix: Keep dropdown open on hover */
.dropdown.hover-active .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* =====================================================
   FIX FOOTER LAYOUT FOR LEADERSHIP PAGE
===================================================== */

/* Reduce large empty spacing above footer columns */
.footer-top {
    text-align: center;
    margin-bottom: 20px !important;
}

/* Center the logo and title */
.footer-logo {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 10px;
}

/* Center entire footer content */
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 40px;
    text-align: left;
}

/* Footer column styling */
.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

/* Footer links */
.footer-col ul li a {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    opacity: 1;
}

/* Footer bottom text centered */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    opacity: 0.8;
}



/* ============================
   MOBILE FIX
============================ */
@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: left;
        gap: 30px;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .footer-bottom {
        text-align: center !important;
    }
}
