

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
/* --- 1. REGISTER BROOKLYN (Local WOFF2 Files) --- */

/* Heavy - Use for Main Hero Headlines (H1) */
@font-face {
    font-family: 'Brooklyn';
    src: url('assets/fonts/Brooklyn-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Bold - Use for Section Headers (H2, H3) */
@font-face {
    font-family: 'Brooklyn';
    src: url('assets/fonts/Brooklyn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* SemiBold - Use for Buttons & Nav Links */
@font-face {
    font-family: 'Brooklyn';
    src: url('assets/fonts/Brooklyn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Normal - Use for Sub-headings or Intro text */
@font-face {
    font-family: 'Brooklyn';
    src: url('assets/fonts/Brooklyn-Normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- 1. VARIABLES --- */
:root {
    /* Colors */
    --bg-body: #f9f9f9;          /* Clean Off-White for Body */
    --bg-header: #ffffff;        /* Pure White for Header */
    --text-teal: #414042;        /* Deep Teal (Logo Text/Nav) */
    --accent-green: #3fb549;     /* Bright Green (Buttons/Icon) */
    --accent-hover: #369b3f;     /* Darker Green for hover */
    --text-white: #ffffff;
    
    /* Dimensions */
    --header-height: 80px;
    
    
    /* Font Families */
    --font-heading: 'Brooklyn', sans-serif; /* Fallback to standard sans */
    --font-body: 'Inter', sans-serif;
}


/* --- 4. GLOBAL STYLES --- */

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-teal);
    line-height: 1.6; /* Good line height for readability */
}

/* Apply Brooklyn to Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em; /* Tighten geometric fonts slightly for a premium look */
}

/* Specific Weights */
h1 { font-weight: 900; } /* Uses Brooklyn-Heavy */
h2 { font-weight: 700; } /* Uses Brooklyn-Bold */
h3 { font-weight: 700; } 

/* Apply Brooklyn to UI Elements */
.btn-header, 
.nav-links a, 
.btn-primary, 
.logo-text {
    font-family: var(--font-body);
    font-weight: 600; /* Uses Brooklyn-SemiBold */
}

/* Apply Inter to Paragraphs */
p, li, label, input {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* --- 2. GLOBAL SETUPS --- */
body {
    background-color: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-teal);
    margin: 0;
    padding: 0;
}

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

/* --- 3. FIXED HEADER STYLING --- */
.site-header {
    background-color: var(--bg-header);
    height: var(--header-height);
    width: 100%;
    
    /* FIXED POSITIONING */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    
    /* Shadow for separation from body */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* This pushes the body content down so it's not hidden behind the fixed header */
.header-spacer {
    height: var(--header-height);
    width: 100%;
}

/* --- 4. GRID LAYOUT (The Magic Center) --- */
.header-grid {
    display: grid;
    /* Columns: Left (Logo), Center (Nav), Right (Button) */
    grid-template-columns: 200px 1fr 200px; 
    align-items: center;
    height: 100%;
}

/* --- Logo Styling --- */
.logo-wrapper {
    justify-self: start; /* Aligns to far left */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img{
    height:50px;
    width:auto;
}
/* --- Navigation Styling (Centered) --- */
.nav-wrapper {
    justify-self: center; /* Forces menu to exact center */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-teal);
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-green);
}

#checkelegibilitybtn-mobile{
    display:none;
}

/* --- CTA Button Styling (Right) --- */
.cta-wrapper {
    justify-self: end; /* Aligns to far right */
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header {
    background-color: var(--accent-green);
    color: var(--text-white);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px; /* Slight radius for professional look */
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevents text breaking */
}

.btn-header:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(63, 181, 73, 0.2);
}

/* --- 5. MOBILE RESPONSIVENESS --- */
.mobile-toggle {
    display: none;
}

@media (max-width: 992px) {
    .header-grid {
        /* Switch to Flexbox on Mobile for easier control */
        display: flex;
        justify-content: space-between;
    }

    /* Hide Desktop Nav and Button */
    .nav-wrapper, 
    .btn-header {
        display: none;
    }

    /* Show Hamburger */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--text-teal);
        border-radius: 2px;
    }
    
    
    /* 1. Hide the Nav Wrapper by default */
    .nav-wrapper {
        position: fixed; /* Breaks it out of the grid */
        top: 80px; /* Adjust to match your header height */
        left: 0;
        width: 100%;
        height: 0; /* Hidden height */
        background-color: #ffffff; /* White background */
        overflow: hidden; /* Hides links when closed */
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth slide animation */
        z-index: 998;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* 2. The "Active" Class (Added by JS) */
    .nav-wrapper.active {
        height: 100vh; /* Slides down to fill screen */
        padding-top: 20px;
        display:block;
    }

    /* 3. Style the Links inside */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px; /* Space between links */
        padding: 0;
        margin-top: 40px;
    }

    .nav-links li {
        list-style: none;
        width: 100%;
        text-align: center;
    }
    .nav-links a{
            font-weight: 400;
    font-size: 1.2rem;
    }

    /* 4. Hamburger Animation (Optional but looks pro) */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/* Helper to stop scrolling */
body.no-scroll {
    overflow: hidden;
}
}


@media (max-width: 700px) {
#checkelegibilitybtn-mobile{
    display:block;
}
#checkelegibilitybtn{
    display:none;
}
}


/* --- THE SQUARE-END BUTTON --- */
.btn-square-end {
display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    padding: 0;
    background-color: var(--accent-green);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(63, 181, 73, 0.2);
    position: relative;
    border: 4px solid var(--accent-green);
}

/* --- THE TEXT AREA --- */
.btn-text {
        font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* --- THE ICON SQUARE (Right Side) --- */
.icon-square {
         aspect-ratio: 1 / 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
}

/* --- HOVER EFFECTS --- */
.btn-square-end:hover {
    background-color: #ffffff; /* Darker green text area */
    box-shadow: 0 6px 15px rgba(63, 181, 73, 0.35);
    transform: translateY(-2px);
}
.btn-square-end:hover .btn-text{
    color:var(--accent-green);
}
.btn-square-end:hover .icon-square {
    background-color: var(--accent-green); /* Square turns Green */
    color: #ffffff; /* Icon turns White */
    border-color: #35a340; /* Border matches hover color */
}

/* --- ACTIVE/CLICK EFFECT --- */
.btn-square-end:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(63, 181, 73, 0.2);
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: var(--text-teal); /* #045756 - The Deep Background */
    color: #ffffff;
    padding: 80px 0 30px 0;
    font-family: var(--font-body); /* DM Sans / Inter */
    position: relative;
    border-top: 4px solid var(--accent-green); /* A Green line to separate content */
}

/* --- GRID LAYOUT --- */
.footer-grid {
    display: grid;
    /* 4 Columns: Logo (Wide) | Contact | Enquiries | SMS (Wide) */
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
    gap: 40px;
    margin-bottom: 60px;
}

/* --- COLUMN 1: BRAND --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    height:50px;
}

.footer-tagline {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

/* --- HEADINGS & LISTS --- */
.footer-heading {
    font-family: var(--font-heading); /* Brooklyn */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green); /* Green Headings */
    margin-bottom: 20px;
    margin-top:0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link:hover {
    color: var(--accent-green);
}

.contact-link .icon {
    font-size: 1.2rem;
}

.sub-text {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 4px;
    margin-left: 30px; /* Aligns with text, past the icon */
}

/* --- QUICK LINKS (Terms/Privacy) --- */
.quick-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links a {
    color: #ffffff;
    opacity: 0.6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.quick-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- COLUMN 4: THE "TEXT US" CARD --- */
.text-us-card {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle transparent box */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 4px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.phone-icon-large {
    color: var(--accent-green);
    background-color: rgba(63, 181, 73, 0.1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 8px;
}

.text-instruction {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.4;
}

.sms-number {
    display: block;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-heading);
}

.sms-number:hover {
    color: var(--accent-green);
}

/* --- BOTTOM COPYRIGHT --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.4;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack everything */
        gap: 50px;
        text-align: center;
    }

    .footer-logo, 
    .contact-link {
        justify-content: center;
    }

    .sub-text {
        margin-left: 0;
    }
    
    .text-us-card {
        justify-content: center;
        text-align: left; /* Keep the card text left-aligned even if centered */
        max-width: 350px;
        margin: 0 auto;
    }
}