@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

#navbar {
    background-color: white;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.1rem 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 0;
}

.logo img {
    height: 70px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.header-actions .enrol-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #336ba6;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.25s, transform 0.25s;
}

.header-actions .enrol-btn:hover {
    background: #68ccd1;
    transform: translateY(-1px);
}

.header-actions .header-social {
    display: flex;
    gap: 0.4rem;
}

.header-actions .header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(51, 107, 166, 0.1);
    color: #336ba6;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.header-actions .header-social a:hover {
    background: #336ba6;
    color: white;
}

.logo a {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav a {
    text-decoration: none;
    color: #336ba6;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

nav a:hover {
    color: #68ccd1;
}

nav.active {
    display: flex !important;
}

nav.inactive {
    display: none !important;
}

/* Show nav by default on desktop */
@media (min-width: 769px) {
    nav.inactive {
        display: flex !important;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #336ba6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.phone-btn {
    background: #336ba6;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.3s ease;
    display: inline-block;
}

.phone-btn:hover {
    background: #1e4174;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #336ba6;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.social-icons a:hover {
    background: #68ccd1;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 2rem;
    color: #336ba6;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    color: #336ba6;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.cta-btn {
    display: inline-block;
    background: #336ba6;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

.cta-btn:hover {
    background: #1e4174;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #336ba6;
    color: white;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: #68ccd1;
    opacity: 1;
}

.footer-hours {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Iframes */
iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
}

/* ===============================
   DROPDOWN MENU FIX + ANIMATION
   =============================== */

   .dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;

    /* animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.dropdown-content a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: black;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===============================
   CAREERS PAGE
   =============================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #336ba6, #68ccd1);
    color: white;
    text-align: center;
    padding: 4rem 2rem 0;
    position: relative;
}

.page-hero-wave,
.footer-wave {
    line-height: 0;
    overflow: hidden;
    margin-left: -2rem;
    margin-right: -2rem;
}

.page-hero-wave svg,
.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-wave {
    background: white;
}

.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
}

/* Careers Section */
.careers-section {
    padding: 4rem 2rem;
}

.careers-section.bg-light {
    background: #f8f9fa;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: #336ba6;
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title span {
    color: #68ccd1;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card h3 {
    color: #336ba6;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #336ba6, #68ccd1);
    color: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    opacity: 0.92;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    display: inline-block;
    background: white;
    color: #336ba6;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer bottom links */
.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .logo img {
        height: 55px;
    }

    .header-actions .enrol-btn span {
        display: none;
    }

    .header-actions .header-social {
        display: none;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: none !important;
        left: 0 !important;
    }

    nav.active {
        display: flex !important;
    }

    nav.inactive {
        display: none !important;
    }

    .page-content {
        padding: 2rem 1rem;
    }

    .page-content h1 {
        font-size: 1.5rem;
    }

    .page-content h2 {
        font-size: 1.2rem;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    iframe {
        height: 500px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2rem 1.2rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    }

    .contact-card-address .map-wrap {
        height: 200px; /* balanced size */
        border-radius: 10px;
        overflow: hidden;
    }

    .contact-card-address .map-wrap iframe {
        height: 100% !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
    }