/* =================================== */
/* SETUP & VARIABLES                   */
/* =================================== */
:root {
    /* New "Cosmic" Color Palette */
    --bg-primary: #101731;
    --bg-card: #1A234A;
    --color-accent: #F39C12;
    --color-accent-hover: #fca92c; /* A slightly brighter orange for hover */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --border-color: #2E3A6B;
    --gradient-main: linear-gradient(90deg, #e65100, #ff9800);
    --gradient-hover: linear-gradient(90deg, #ff9800, #e65100);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif; /* New Body Font */
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* New Heading Font */
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* =================================== */
/* HEADER STYLES                       */
/* =================================== */
.main-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.3rem;

}

.main-nav a:hover {
    color: var(--text-primary);
}

.header-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly different font size */
    background-color: var(--color-cta);
    color: #fff;
    padding: 0.7rem 1.8rem; /* Different padding */
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.header-cta:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-3px); /* Slightly more movement */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Nav Toggle - hidden on desktop for now */
.nav-toggle {
    display: none;
}
/* =================================== */
/* REUSABLE SECTION TITLES             */
/* =================================== */
.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cta); /* Deep Magenta */
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Tinos', serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
/* =================================== */
/* FOOTER STYLES                       */
/* =================================== */
.main-footer {
    padding-top: 5rem;
    background-color: var(--bg-primary); /* Dark navy background */
    color: var(--text-secondary); /* Off-white text */
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-heading {
    color: var(--text-primary); /* White headings */
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    line-height: 1.7;
    padding-right: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.social-icons a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--color-accent); /* Orange hover */
    transform: translateY(-3px);
}

.footer-links, .footer-contact-info {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-contact-info li {
    margin-bottom: 0.8rem;
}
.footer-links a, .footer-contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover, .footer-contact-info a:hover {
    color: var(--color-accent); /* Orange hover */
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #9ab;
}


/* =================================== */
/* RESPONSIVE STYLES (for Footer)      */
/* =================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column p {
        padding-right: 0;
    }
    .social-icons, .footer-contact-info li {
        justify-content: center;
    }
}
/* =================================== */
/* FLOATING ACTION BUTTONS             */
/* =================================== */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 99; /* Ensures they are above other content */
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Call Now Button (Bottom-Left) */
.call-now-btn {
    bottom: 25px;
    left: 25px;
    background-image: var(--gradient-main);
}

/* WhatsApp Button (Bottom-Right) */
.whatsapp-btn {
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Official WhatsApp Green */
    font-size: 2.2rem; /* Make WhatsApp icon slightly larger */
}

/* =================================== */
/* MOBILE NAVIGATION STYLES            */
/* =================================== */

/* The hamburger button is hidden by default on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
/* --- Media Query for Mobile/Tablet View --- */
@media (max-width: 992px) {
    /* Main navigation list (the dropdown panel) */
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Position it below the header */
        right: 20px;
        background: var(--bg-card); /* UPDATED: Lighter navy background */
        border: 1px solid var(--border-color); /* ADDED: Subtle border */
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        border-radius: 12px; /* Rounded corners */
        padding: 1rem;
        gap: 0;
        width: 250px; /* Give it a defined width */
    }

    /* Style for when the menu is opened by JavaScript */
    .main-nav ul.nav-open {
        display: flex;
    }
    
    .main-nav ul li {
        width: 100%;
        text-align: left; /* Align text to the left for a cleaner look */
    }
    
    .main-nav ul a {
        display: block;
        padding: 0.8rem 1rem; /* Adjusted padding */
        color: var(--text-primary); /* UPDATED: Use bright white for links */
    }
    
    /* This rule correctly hides the main CTA button on mobile */
    .header-cta {
        display: none;
    }

    /* This rule shows the hamburger icon */
    .nav-toggle {
        display: flex;
    }
}


/* =================================== */
/* REUSABLE BUTTON STYLES              */
/* =================================== */
.cta-primary, .header-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-primary); /* White text */
    background-color: var(--color-accent); /* Orange background */
    background-image: var(--gradient-main);
    border-radius: 8px; /* New rounded corners */
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 0.8rem 1.8rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-primary:hover, .header-cta:hover {
    background-color: var(--color-accent-hover);
    background-image: var(--gradient-hover);
    transform: translateY(-2px);
}
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Larger, main CTA style */
.cta-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Smaller CTA */
.header-cta {
    font-size: 0.95rem;
    padding: 0.7rem 1.8rem;
}
/* =================================== */
/*COMMUNITY SIGNUP STYLES     */
/* =================================== */
.community-section {
    background-color: var(--accent-light); /* Very Light Lavender background */
    padding: 6rem 0; /* More padding for a premium feel */
}

.community-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 for text, 1/3 for buttons */
    align-items: center;
    gap: 4rem; /* More space between columns */
}

/* Make sure titles and text are left-aligned now */
.community-text-content .section-title,
.community-text-content .section-subtitle {
    text-align: left;
}

.community-text-content .community-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0; /* Remove bottom margin as space is handled by the grid */
}

.community-actions {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: stretch; /* Make buttons equal width */
    gap: 1.5rem;
}

/* Base button style for community links (No changes needed here, but included for context) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content within button */
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn i {
    font-size: 1.5rem;
}

/* Button brand colors (No changes needed here) */
.btn-whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.4);
}
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}



/* =================================== */
/* RESPONSIVE STYLES (for Community)   */
/* =================================== */
@media (max-width: 992px) {
    .community-container {
        grid-template-columns: 1fr; /* Stack to a single column on tablets/mobile */
        gap: 3rem;
        text-align: center; /* Center everything when stacked */
    }

    .community-text-content .section-title,
    .community-text-content .section-subtitle,
    .community-text-content .community-description {
        text-align: center; /* Re-center text for stacked view */
    }
    
    .community-actions {
        flex-direction: row; /* Put buttons side-by-side again */
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .community-actions {
        flex-direction: column; /* Stack buttons vertically on small mobile */
    }
}
/* Accordion Styles */
.faq-accordion {
    border-top: 1px solid var(--border-color);
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--color-cta);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.7;
    color: #5a6a7b;
}

/* Active state toggled by JavaScript */
.faq-item.active .faq-question {
    color: var(--color-cta);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if your answers are longer */
}