/*pallete
#F2EDD5
#F2BA52
#F2AC57
#F2A35E
#F2F2F2*/



/* ================================================= */
/* GLOBAL & UTILITY STYLES */
/* ================================================= */
/*:root {
    --primary-color: #FF7A00;
    --dark-grey: #333333;
    --light-grey: #f9f9f9;
    --text-color: #333333;
    --footer-color: #1a1a1a;
    --max-width: 1200px;
    --pastel-orange: #FFDDAA;
}*/

:root {
    --primary-color: #F2A35E; /* replaced bright orange */
    --dark-grey: #333333;
    --light-grey: #F2F2F2; /* replaced old light grey */
    --text-color: #333333;
    --footer-color: #1a1a1a;
    --max-width: 1200px;
    --pastel-orange: #F2EDD5; /* soft pastel from your palette */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: white;
    scroll-behavior: smooth;
}


a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

h1, h2, h3 {
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em; 
    text-align: center;
    padding-top: 50px;
    margin-bottom: 40px; 
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0; 
    min-height: 80vh; 
    display: flex;
    align-items: center;
}

/* --- CTA BUTTON --- */
.cta-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 25px; 
    border-radius: 30px; 
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #e66e00; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.4);
}

/* ================================================= */
/* NAVIGATION BAR */
/* ================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    /* Existing text styles for fallback */
    font-size: 1.6em; 
    font-weight: 800;
    color: #f9f9f9;
    text-decoration: none;
    display: flex;
    align-items: center; /* Center logo image and text vertically */
}

/* New CSS to handle the logo image */
.logo img {
    height: 110px; /* Adjust height as needed */
    width: auto;
    margin-right: 20px; /* Space between logo and text (if text is present) 270px*/
    display: block;
}

/* If you only want the image and no text, you can remove the text span */

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    padding: 5px 0;
    color: var(--dark-grey);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items:left;
}


.logo-text {
  font-size: 14px;
  color: #333;
  margin-top: 4px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ================================================= */
/* HERO CAROUSEL STYLES (NEW) */
/* ================================================= */

#hero-carousel {
    padding: 0; /* Remove section padding */
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%; /* Define a fixed height for the carousel */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth transition */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-slide.active-slide {
    opacity: 1;
    z-index: 2;
}

/* Optional: Add a subtle overlay to ensure text visibility */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
    z-index: 3;
}

.carousel-content {
    position: relative;
    z-index: 4; /* Place content above the overlay */
    text-align: center;
    max-width: 800px;
    color: white;
}

.carousel-content h1 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 15px;
    color: white; /* Ensure text is visible */
}

.carousel-content p {
    font-size: 1.25em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-cta {
    padding: 15px 35px;
    font-size: 1.1em;
    border-radius: 8px;
    /* You may want to make this button stand out more */
    background-color: var(--primary-color);
    color: white !important;
}

/* Navigation Arrows */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 5;
    font-size: 1.5em;
    transition: background 0.3s;
    border-radius: 4px;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Dots Navigation */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active-dot {
    background-color: var(--primary-color); /* Use your primary brand color */
    transform: scale(1.2);
}

/* --- Vision & Mission --- */
#vision-mission {
    text-align: center;
    background-color: white;
    padding-top: 80px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    text-align: left;
}

.vm-card {
    padding: 40px; 
    border-radius: 12px;
    background-color: var(--light-grey);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); 
    transition: transform 0.3s ease;
}

.vm-card h3 {
    color: var(--primary-color);
    font-size: 1.8em; 
}

.vm-card li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05em;
    list-style: none;
}

.vm-card li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}


/* ================================================= */
/* FULL WIDTH IMAGE SECTION (CANVA IMAGE) */
/* ================================================= */

/* * A new container definition that spans the full viewport width (100%)
* This overrides the default 'max-width: 1200px' of the standard .container
*/
.container-fluid {
    width: 100%;
    padding: 0; /* Remove internal padding to ensure it reaches edge-to-edge */
}

/* This targets the image itself */
.full-width-hero {
    width: 100%; /* Make the image fill the full width of its new parent (.container-fluid) */
    height: auto; /* IMPORTANT: Maintain aspect ratio and prevent stretching */
    display: block; /* Removes any extra whitespace below the image */
    max-height: 1000px; /* Optional: Adjust this to control the height, matching your old carousel */
    object-fit: cover; /* Optional: If you set max-height, this ensures it fills the space and crops vertically if needed */
}

/* Ensure the section holding the image also has no padding */
#hero-image-section {
    padding: 0; 
    min-height: auto;
}

/* HERO CAROUSEL */
#hero-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    /*border-radius: 0 0 30px 30px;*/
}

/* Slides */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 1.6s ease;
}

.hero-slide.active-slide {
    opacity: 1;
    transform: scale(1);
}

/* TEXT STYLE — no background box */
.hero-text {
    position: absolute;
    color: white;
    max-width: 48%;
    line-height: 1.3;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-text p {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* ALIGNMENT CLASSES */
.align-right-top { top: 12%; right: 6%; text-align: right; }
.align-left-center { top: 50%; left: 6%; transform: translateY(-50%); text-align: left; }
.align-right-bottom { bottom: 10%; right: 6%; text-align: right; }

/* Fade + float animation */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* ================================================= */
/* SERVICES SECTION (PROFOUND BOXES) */
/* ================================================= */
#services {
background: linear-gradient(
        to bottom,                          /* Direction: Start at the top and go down */
        var(--pastel-orange) 0%,            /* 1. Start with the soft pastel orange at 0% */
        var(--pastel-orange) 20px,          /* 2. Keep the pastel color solid until 20px */
        white 300px                         /* 3. Transition smoothly to white by the 300px mark. */
    );
    text-align:center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--light-grey);
    padding: 35px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
    border: 1px solid #eee; 
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color); 
}

.service-card i.fas {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    font-size: 1.5em; 
    margin-bottom: 10px;
}


/* ================================================= */
/* TEAM SECTION */
/* ================================================= */
#team {
  background: linear-gradient(
        to bottom,                          /* Direction: Start at the top and go down */
        var(--pastel-orange) 0%,            /* 1. Start with the soft pastel orange at 0% */
        var(--pastel-orange) 20px,          /* 2. Keep the pastel color solid until 20px */
        white 300px                         /* 3. Transition smoothly to white by the 300px mark. */
    );
    text-align:center;
    background-repeat: no-repeat;
    min-height: 100vh;
    max-width: 100%;
    padding-left: 190px;
}

.team-grid {
    display: flex; 
    flex-wrap: wrap; 
    gap: 50px;
    justify-content: center;
    margin-top: 60px;
    padding-left: 70px;
}

.team-member-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 300px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.team-member-card:hover {
    transform: scale(1.05); 
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color); 
}

.team-member-card p.role {
    font-size: 0.95em;
    color: var(--primary-color); 
    margin-bottom: 20px;
    font-weight: 600;
}

.social-icons a {
    color: var(--dark-grey);
    font-size: 1.2em;
    margin: 0 8px;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* ================================================= */
/* CAREERS SECTION */
/* ================================================= */
#careers {
   background: linear-gradient(
        to bottom,                          /* Direction: Start at the top and go down */
        var(--pastel-orange) 0%,            /* 1. Start with the soft pastel orange at 0% */
        var(--pastel-orange) 20px,          /* 2. Keep the pastel color solid until 20px */
        white 300px                         /* 3. Transition smoothly to white by the 300px mark. */
    );
    text-align:left;
    background-repeat: no-repeat;
    min-height: 100vh;
    max-width: 100%;
    padding-left: 190px;
    
}

.job-card h3 {
    font-size: 1.5em; 
    margin-bottom: 10px;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.job-card {
    /* Base styles */
    background-color: var(--light-grey);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: border-left 0.3s ease;
    border-left: 6px solid transparent; 
    position: relative;
    
   /* FLEXBOX FIX for Equal Button Spacing */
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%; /* Ensures all cards stretch to the grid row height */
}

.job-card:hover {
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.job-card h3,
.job-card .location,
.job-card p {
    /* Prevent text blocks from unnecessarily growing, letting only the button move */
    flex-grow: 0;
}


.job-card .apply-button:hover {
    background-color: var(--primary-color);
}

/* ================================================= */
/* BLOG SECTION */
/* ================================================= */
#blog {

    background: linear-gradient(
        to bottom,                          /* Direction: Start at the top and go down */
        var(--pastel-orange) 0%,            /* 1. Start with the soft pastel orange at 0% */
        var(--pastel-orange) 20px,          /* 2. Keep the pastel color solid until 20px */
        white 300px                         /* 3. Transition smoothly to white by the 300px mark. */
    );
    text-align:left;
    background-repeat: no-repeat;
    min-height: 100vh;
    max-width: 100%;
}


.blog-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    margin-top: 60px;
    padding-left: 190px;
}
.sidebar a:hover {
    color: var(--primary-color);
}
.sidebar button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
}

/* Blog read-more / full-text behavior */
.blog-post .full-text {
    display: none;
}

/* When article has expanded class, show the full text */
.blog-post.expanded .full-text {
    display: inline;
}

/* Optional small visual cue for expanded posts (keeps style minimal) */
.blog-post.expanded h3 {
    /* no visual change required, kept intentionally minimal to avoid altering layout */
}

/* Category active style */
.category-link.active {
    color: var(--primary-color);
    font-weight: 700;
}


/* ================================================= */
/* FOOTER */
/* ================================================= */
.footer {
    background-color: var(--footer-color);
    color: #ccc;
    padding: 80px 0; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2em;
}

.footer-column li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-column a {
    color: #ccc;
}
.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column .policy-link { 
    display: block;
    background-color: #444; 
    color: white !important;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 15px; 
    transition: background-color 0.3s;
    text-align: center;
}
.footer-column .policy-link:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #999;
}



/* ================================================= */
/* MODAL (BOOKING) */
/* ================================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%; 
    max-width: 650px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    position: relative;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content form {
    display: grid;
    gap: 18px;
    margin-top: 25px;
}

.modal-content input, .modal-content select, .modal-content textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
}

/* ================================================= */
/* RESPONSIVE DESIGN */
/* ================================================= */
@media (max-width: 992px) {
    #about {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 80px;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .section {
        padding: 60px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* --- Responsive Icons Section --- */
@media (max-width: 768px) {
    /* Selects the flex container holding the 4 items */
    section[style*="display:flex"] {
        flex-direction: column !important;
        padding: 20px 0 !important;
    }

    /* Adjusts the width of each item from 22% to 80% on mobile */
    section[style*="display:flex"] > div {
        width: 80% !important;
        margin-bottom: 30px;
    }
}

/* --- Responsive Founder's Note --- */
@media (max-width: 992px) {
    #founder-note > div {
        flex-direction: column !important; /* Stack text and image */
        gap: 40px !important;
        padding: 0 20px !important;
        text-align: center;
    }

    #founder-note h2 {
        text-align: center !important; /* Center the heading on mobile */
    }

    #founder-note p {
        max-width: 100% !important; /* Let text take full width */
        margin: 0 auto;
    }

    /* Adjust the orange blob and image container */
    #founder-note div[style*="position:relative"] {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    #founder-note div[style*="background:#E77243"] {
        width: 300px !important; /* Scale down decoration for mobile */
        height: 300px !important;
        left: 50%;
        transform: translateX(-50%);
        top: 10px !important;
    }

    #founder-note div[style*="width:360px"] {
        width: 280px !important; /* Scale down founder image */
        height: 280px !important;
        margin-left: 0 !important;
    }
}

/* --- Careers Page Responsiveness --- */

/* 1. Job Cards Grid */
@media (max-width: 768px) {
    .job-listings {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .job-card {
        width: 100% !important; /* Ensure cards take full width */
        margin-bottom: 15px;
        text-align: left;
    }
    
    #careers h2 {
        font-size: 24px !important;
        text-align: center !important;
    }
    
    .sub-heading {
        text-align: center !important;
    }
}
/* Media query specifically for the Careers section on mobile */
@media (max-width: 768px) {
    
    /* 1. Force the container to center everything */
    #careers.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 2. Reset the Job Listings grid to a single column */
    .job-listings {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 20px;
    }

    /* 3. Make each card take full available width and center text */
    .job-card {
        width: 100% !important;
        max-width: 400px; /* Prevents cards from getting too wide on tablets */
        margin: 0 auto !important;
        text-align: center !important;
        box-sizing: border-box;
    }

    /* 4. Align the text headings to the center */
    #careers h2, 
    #careers .sub-heading {
        text-align: center !important;
        width: 100%;
    }

    /* 5. Fix the Resume Submit Box buttons */
    .resume-submit-box div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center;
    }

    .resume-submit-box a {
        width: 80% !important; /* Makes buttons uniform width on mobile */
        text-align: center;
        justify-content: center;
    }
}
/* FORCE MOBILE ALIGNMENT */
@media screen and (max-width: 768px) {
    /* Force the parent container to stack items vertically */
    .job-listings {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Force every card to be full width and centered */
    .job-card {
        width: 95% !important; /* Forces it to fill the screen width */
        max-width: none !important;
        margin: 10px 0 !important; /* Adds vertical spacing between stacked cards */
        float: none !important; /* Kills any left/right floating */
        display: block !important;
        text-align: center !important;
    }

    /* Center the main heading and text */
    #careers h2, .sub-heading {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 10px !important;
    }
}
/* 2. Resume Submission Box & Buttons */
@media (max-width: 600px) {
    .resume-submit-box {
        padding: 20px !important;
        margin: 20px 10px !important;
    }

    /* Stack the Email and WhatsApp buttons vertically */
    .resume-submit-box div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center;
        gap: 15px !important;
    }

    .resume-submit-box a {
        width: 100%; /* Make buttons full width on small screens */
        justify-content: center;
        box-sizing: border-box;
    }
}

/* 3. Footer Grid Fix */
@media (max-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr !important; /* One column only */
        text-align: center;
        gap: 40px;
    }

    .footer-column {
        align-items: center;
    }

    .footer-contact-box {
        margin: 5px auto;
        width: 80%;
    }
}
#careers.container {
    max-width: 100% !important;
    padding-left: 5% !important; /* Small breathing room so it's not touching the bezel */
    margin-left: 0 !important;
}

.job-listings {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* --- Team Page Body Responsiveness --- */

/* 1. Handling the Team Grid */
@media (max-width: 992px) {
    .team-grid {
        /* Switch from 3 columns to 2 on tablets */
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* 2. Main Container Padding & Spacing */
    #team.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
    }

    #team h2, #team .sub-heading {
        text-align: center !important; /* Center text on mobile for better balance */
        margin-bottom: 20px;
    }

    /* 3. Stacking Team Cards vertically on phones */
    .team-grid {
        grid-template-columns: 1fr !important; 
        gap: 25px;
    }

    .team-member-card {
        max-width: 400px;
        margin: 0 auto; /* Center the cards */
        text-align: center;
        padding: 20px;
    }

    .team-member-card img {
        width: 150px; /* Resize images for mobile */
        height: 150px;
        margin-bottom: 15px;
    }
}

/* 4. Final CTA Section Adjustment */
@media (max-width: 768px) {
    #final-cta {
        padding: 50px 20px !important;
    }
    
    #final-cta h2 {
        font-size: 1.8rem;
    }
}
/* Media query for phone screens */
@media (max-width: 768px) {
    /* 1. Reset the Grid to be a single, centered column */
    .team-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* This centers the flex items */
        justify-content: center !important;
        gap: 30px;
        width: 100%;
        padding: 0;
    }

    /* 2. Ensure the Team Member Card doesn't lean left */
    .team-member-card {
        width: 90% !important; /* Takes up most of the screen width */
        max-width: 350px;       /* But doesn't get too huge on big phones */
        margin: 0 auto !important; /* The 'auto' left/right margins force centering */
        text-align: center !important; /* Centers the text inside the card */
        display: block;
    }

    /* 3. Center the images inside the cards */
    .team-member-card img {
        display: block;
        margin: 0 auto 15px auto;
        border-radius: 50%; /* Optional: keeps photos circular */
    }

    /* 4. Fix the main section container */
    #team.section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

#whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25D366; /* whatsapp green */
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 25px rgba(37,211,102,0.18);
  z-index: 9999;
  text-decoration:none;
}
#whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,0.22); }
#whatsapp-float svg { filter: drop-shadow(0 1px 0 rgba(0,0,0,0.05)); }


