
/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
body {
    color-scheme: only light;       
    forced-color-adjust: none;      
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    /* THE FIX: Matches the 55px desktop navbar height perfectly */
    padding-top: 55px; 
    
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* * FIXED NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000;
}
/* NEW: Controls the size of the logo image */
.logo-icon {
    height: 30px; /* <--- CHANGE THIS NUMBER TO MAKE IT BIGGER OR SMALLER */
    width: auto;  /* Leaves this as 'auto' so the image doesn't warp */
    display: block;
}

.nav-logo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #101010;
    text-decoration: none;
    text-transform: uppercase;
    
    /* THE FIX: This strictly targets the text and ignores the image */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    
    display: flex !important; 
    flex-direction: row !important; 
    align-items: center; 
    gap: 12px; 
}

.nav-links {
    display: flex;
    align-items: center;
}

/* Standard Nav Links */
.nav-links > a {
    text-decoration: none;
    color: #505050;
    font-weight: 600;
    margin-left: 30px;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: #2563eb;
}


/* =========================================
        DROP DOWN MENUS SECTION 
========================================= */

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 30px;
}

/* The button in the navbar */
.dropbtn {
    background-color: transparent;
    color: #505050;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    padding: 25px 0; /* Matches navbar height for a larger hover area */
    font-family: inherit;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* The hidden menu container */
.dropdown-content {
    display: none;
    position: absolute;
    top: 70px; /* Appears directly below the 70px navbar */
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    z-index: 1001;
}

/* Individual links inside the dropdown */
.dropdown-content a {
    color: #4b5563;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Hover effects for dropdown items */
.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #2563eb;
}

/* Show the menu when hovering over the parent .dropdown div */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #2563eb;
}

/* =========================================
        HEADER SECTION 
========================================= */

.header {
    font-family: 'Red Hat Display', sans-serif; /* Uses the thin font you imported */
    font-weight: 770;                   /* Keeps it light and elegant */
    color: #101010;
    text-align: center;
    font-size: 2.2rem;
    padding: 150px 20px;
    background-color: #f8fafc;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.header-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;                   
    font-size: 1.25rem;                 
    color: #5b5563;                     
    letter-spacing: 2px;                
    text-transform: uppercase;          
    
    /* THE FIX: Swapped the negative margin for a clean 10px drop */
    margin-top: 10px;  
    margin-bottom: 25px;                   
}

/* THE FIX: Strips away the browser's default hidden margins */
.header h1 {
    margin: 0;
    padding: 0;
}

/* Makes the second half of the brand name thinner */
.brand-light {
    font-weight: 600; 
}


/* =========================================
       FEATURE SECTION 
========================================= */

.feature-row {
    display: flex;
    width: 100%;
    min-height: 300px; /* Keeps it tall and uniform on wide screens */
    height: auto;      /* Forces the box to stretch downward if the text wraps */
}
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* 1. Set up the container to center its contents */
.feature-image {
    flex: 1;
    width: 50%;
    display: flex;             /* Turns the container into a flexbox */
    justify-content: center;   /* Centers the image on the X-axis (horizontally) */
    align-items: center;       /* Centers the image on the Y-axis (vertically) */
    padding: 20px;             /* Adds a buffer so the image never touches the screen edges */
    box-sizing: border-box;    /* Ensures the padding doesn't break the 50% width split */
}

/* 2. Tell the image to scale down, but never stretch up */
.feature-image img {
    max-width: 100%;           /* Shrinks the image if it's wider than the container */
    max-height: 100%;          /* Shrinks the image if it's taller than the container */
    object-fit: contain;       /* Ensures the whole image remains visible without cropping */
    display: block;
}

.text-wrapper h2 {
    margin-top: 0;
    font-family: 'DM Sans', sans-serif; /* Applies the new font */
    font-weight: 200;                   /* This makes the text thin and slim */
    font-size: 2rem;                 /* Makes it noticeably larger than the body text */
    color: #111827;
    line-height: 0.8;                   /* Keeps multi-line titles looking tight and neat */
    letter-spacing: 0px;                /* Adds a tiny bit of breathing room between the thin letters */
}

.feature-subtitle {
    font-family: 'Roboto Flex', sans-serif; 
    font-weight: 600;
    font-size: 0.9rem;
    color: #2563eb; 
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 15px; 
    text-shadow: 0px 0.75px 0.75px rgba(0, 0, 0, 0.25);
}

/* TEXT HALF */
.feature-content {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    padding: 4% 8%;
}

/* Emphasizes specific words inside a paragraph */
.text-highlight {
    font-weight: 400;       /* Makes it bold */
    font-style: bold;
}

/* NEW: Custom styling for the feature description */
.feature-description {
    font-family: 'Red Hat Display', sans-serif; /* Keeps it highly legible */
    font-size: 1.2rem;         /* Perfect reading size for desktop */
    color: #475569;             /* A sophisticated slate-gray color */
    line-height: 1.55;           /* Adds lots of vertical breathing room between lines */
    margin-top: 15px;           /* Pushes it away from the title slightly */
    margin-bottom: 0;
    font-weight: 300;           /* Standard text weight */
}

/* =========================================
   ABOUT US SECTION 
   ========================================= */
.about-section {
    background-color: #f0f2f4; 
    padding: 100px 5%; /* <--- CHANGE THIS LINE! */
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1100px; /* Keeps the content contained and readable */
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px; /* Generous space between the text and the image */
}

.about-text {
    flex: 1; /* Takes up half the container */
}

.about-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.8rem;
    color: #111827;
    margin-top: 0;
    margin-bottom: 25px;
}

.about-subtitle {
    font-family: 'Roboto Flex', sans-serif; /* Or 'DM Sans' if you prefer */
    font-weight: 600;
    font-size: 1rem;
    color: #2563eb; /* A bright brand color to make it pop */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 15px;
}

.about-description {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    flex: 1; /* Takes up the other half */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; /* Gives the photo modern, rounded corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* A beautiful, soft shadow to make the image float */
    display: block;
}

/* =========================================
   FOOTER SECTION 
   ========================================= */
.footer {
    background-color: #111827; /* Deep, dark blue/gray */
    color: #f8fafc;
    padding: 80px 5% 40px 5%;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-logo {
    font-family: 'Red Hat Display', sans-serif; /* Matches your main header */
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-title {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af; /* A muted gray so it doesn't distract from the links */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-text {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-copyright {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 30px;
}

.footer-links a {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #d1d5db;
    text-decoration: none;
    display: block; /* Stacks the links vertically */
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #3b82f6; /* Bright blue on hover */
}

.support-email {
    font-weight: bold;
    color: #ffffff !important; /* Makes the email stand out */
}

/* =========================================
   NEW ROW GRADIENTS (Applied to the whole row) 
   ========================================= */

/* Row 1 & 3: Image is on the LEFT. Gradient starts faint on left, fades to white in the middle. */
.bg-fade-blue {
    background: linear-gradient(to right, #e0e0f0 0%, #ffffff 50%);
}
.bg-fade-green {
    background: linear-gradient(to right, #dcfce7 0%, #ffffff 50%);
}

/* Row 2 & 4: Image is on the RIGHT. Gradient starts faint on right, fades to white in the middle. */
.bg-fade-purple {
    background: linear-gradient(to left, #f3e8ff 0%, #ffffff 50%);
}
.bg-fade-orange {
    background: linear-gradient(to left, #ffedd5 0%, #ffffff 50%);
}

.bg-fade-cyan {
    background: linear-gradient(to left, #ddf0f0 0%, #ffffff 50%);
}
.text-wrapper { max-width: 600px; }

/* =========================================
   MOBILE RESPONSIVENESS 
   ========================================= */

@media (max-width: 900px) {

    /* 1. Navbar & Logo - Mobile View */
    body {
        padding-top: 70px; /* Reset to 70px */
    }
    
    .navbar { 
        padding: 0 20px; 
        height: 70px;           /* Locks the height to desktop size */
        flex-direction: row;    /* Forces them side-by-side */
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-logo { 
        font-size: 1.25rem; 
        padding: 0;
    }

    /* Hides the brand name text to save space for menus */
    .logo-text {
        display: none;
    }
    
    /* BRING THE LINKS BACK! */
    .nav-links { 
        display: flex;          
        width: auto;            /* Lets the menu only take up the space it needs */
        gap: 15px;              /* Tighter spacing for mobile screens */
        margin-top: 0;          /* Removed the vertical margins */
        padding-bottom: 0;
    }
    
    /* Remove the large desktop margins so they fit on a phone */
    .nav-links > a, .dropdown { 
        margin-left: 0; 
        font-size: 0.95rem;     /* Slightly smaller text for mobile */
    }
    
    .dropbtn { 
        padding: 5px 0;         /* Shrinks the tall desktop hover area */
        font-size: 0.95rem;
    }

    /* Fix the dropdown menu position for the single-row mobile layout */
    .dropdown-content {
        top: 50px;       /* Drops it cleanly below the buttons */
        left: auto;      /* Removes the desktop left-alignment */
        right: -20px;    /* Forces the menu to open inward so it doesn't fall off the screen! */
    }

    
    /* Headers & Titles - Scaled down for mobile */
    .header { padding: 50px 20px; }
    .header h1 { font-size: 2.2rem; }
    .header-subtitle { 
        font-size: 1rem; 
        margin-top: 0px; 
    }
    .feature-title { font-size: 2.2rem; }
    
    /* 2. Fix the Feature Rows not filling the width */
    .feature-row, .feature-row.reverse { 
        flex-direction: column; 
    }
    .feature-image, .feature-content { 
        width: 100%; 
        box-sizing: border-box; /* Forces padding to stay safely inside the screen bounds */
    }
    .feature-image { 
        height: auto; 
        padding: 40px 40px 40px 40px; /* Less padding on sides, none on bottom so it sits near the text */
    }
    .feature-image img { 
        max-height: 200px; 
    }
    .feature-content { 
        padding: 30px 20px 60px 20px; 
    }

    /* 3. Fix the "Our Story" Crush */
    .about-container {
        flex-direction: column; /* Forces the text and image to stack! */
        gap: 40px;
        text-align: center;     /* Centers the text nicely on a phone */
    }

    /* Gradients (Fading downward for stacked layout) */
    .bg-fade-blue { background: linear-gradient(to bottom, #e0f2fe 0%, #ffffff 50%); }
    .bg-fade-purple { background: linear-gradient(to bottom, #f3e8ff 0%, #ffffff 50%); }
    .bg-fade-green { background: linear-gradient(to bottom, #dcfce7 0%, #ffffff 50%); }
    .bg-fade-orange { background: linear-gradient(to bottom, #ffedd5 0%, #ffffff 50%); }
    .bg-fade-cyan { background: linear-gradient(to bottom, #ddf0f0 0%, #ffffff 50%); }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center; 
    }
}

/* =========================================
   ANIMATED GRADIENT BACKGROUND
   ========================================= */
   
.bg-animated-gray {
    /* A very subtle mix of pure white and elegant light grays */
    background: linear-gradient(-45deg, #f9f0f7, #f8f9f0, #e8f4f8, #f8f4e8);
    
    /* Increased size to give the new colors room to breathe */
    background-size: 400% 400%;
/*    background: linear-gradient(-45deg, #f9fbf7, #f8f9fa, #f0f4f8, #f8f4f0);*/
/*    background-size: 400% 400%;*/
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================================
   DOCUMENT SECTION (For Privacy Policy)
   ========================================= */
.document-wrapper {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    min-height: 50vh;
    background-color: #f8fafc; /* Subtle gray background behind the box */
}

.document-container {
    max-width: 800px;
    width: 100%;
    background-color: #ffffff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Soft floating shadow */
}

.document-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #101010;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0; /* Crisp line under the title */
}

.document-text {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
}

.document-text h3 {
    font-family: 'DM Sans', sans-serif;
    color: #111827;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Document Mobile Fixes */
@media (max-width: 900px) {
    .document-wrapper { padding: 40px 20px; }
    .document-container { padding: 30px 20px; }
}
