/* ========================================================================= */
/* 1. THEME & GLOBAL VARIABLES
/* ========================================================================= */

:root {
    /* Design Tokens */
    --global-border-radius: 8px;

    /* Theme Colors */
    --primary: #083452;
    --primaryLight: #3399FF;
    --secondary: #6C757D;
    --secondaryLight: #ADB5BD;
    --headerColor: #212529;
    --bodyTextColor: #495057;
    --backgroundColor: #F8F9FA;
    --surfaceColor: #FFFFFF;

    /* Dark Theme Overrides */
    --dark-bg: #121212;
    --dark-surface: #1E1E1E;
    --dark-text-primary: #FFFFFF;
    --dark-text-secondary: #E0E0E0;
    --dark-primary-accent: #30557abb;
    --dark-border-color: #3a3a3a;
}

body.dark-mode {
    --primary: var(--dark-primary-accent);
    --primaryLight: #083452;
    --headerColor: var(--dark-text-primary);
    --bodyTextColor: var(--dark-text-secondary);
    --backgroundColor: var(--dark-bg);
    --surfaceColor: var(--dark-surface);
    --secondary: #ADB5BD;
    --secondaryLight: #6C757D;
    
    background-color: var(--backgroundColor);
    color: var(--bodyTextColor);
}


/* ========================================================================= */
/* 2. GLOBAL & ELEMENT STYLES
/* ========================================================================= */

body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
*, *:before, *:after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 700; margin: 0; color: var(--headerColor); }
p { margin: 0; color: var(--bodyTextColor); }
a { text-decoration: none; color: var(--primary); }
ul, li { list-style: none; margin: 0; padding: 0; }

img, .cs-picture, .cs-input, textarea, .cs-button-solid,
.cs-button-transparent, .cs-submit, .theme-switcher-button,
.cs-item, .cs-form, #cs-form-1600 {
    border-radius: var(--global-border-radius) !important;
}

#cta-480 .cs-link, #cta-480 .cs-fake-button {
    border-radius: 6px !important;
}

/* General Dark Mode Text Overrides */
body.dark-mode .cs-title, body.dark-mode h1, body.dark-mode h2,
body.dark-mode h3, body.dark-mode .cs-name {
    color: var(--headerColor);
}

body.dark-mode .cs-text, body.dark-mode p,
body.dark-mode .cs-item-text, body.dark-mode .cs-desc,
body.dark-mode .cs-copyright, body.dark-mode .cs-nav-link,
body.dark-mode .cs-item-p {
    color: var(--bodyTextColor);
}

/* ========================================================================= */
/* 3. UNIFIED NAVIGATION BAR
/* ========================================================================= */

/* --- Base Floating Navbar --- */
#cs-navigation-2-2-2-4 {
    width: 95%;
    max-width: 1280px;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: fixed;
    z-index: 10000;
}

body.dark-mode #cs-navigation-2-2-2-4 {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(30, 30, 30, 0.75);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* --- Container, Logo --- */
#cs-navigation-2-2-2-4 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

#cs-navigation-2-2-2-4 .cs-logo {
    height: 3.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#cs-navigation-2-2-2-4 .cs-logo img {
    height: 100%;
    width: auto;
}

/* --- Mobile Styles (max-width: 1023px) --- */
@media only screen and (max-width: 1023px) {
    .cs-nav-button, #theme-switcher-desktop, .cs-logo-text {
        display: none;
    }

    .cs-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .cs-box {
        position: relative;
        width: 28px;
        height: 20px;
    }

    .cs-line {
        width: 100%;
        height: 2px;
        background-color: var(--headerColor);
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .cs-line1 { top: 0; }
    .cs-line2 { top: 50%; transform: translateY(-50%); }
    .cs-line3 { bottom: 0; }
    
    .cs-toggle.cs-active .cs-line1 { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .cs-toggle.cs-active .cs-line2 { opacity: 0; }
    .cs-toggle.cs-active .cs-line3 { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

    .cs-ul-wrapper {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        width: 100%;
        background-color: white;
        border-radius: 12px;
        border: 1px solid #EAEAEA;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    #cs-navigation-2-2-2-4.cs-active .cs-ul-wrapper {
        display: block;
    }
    
    body.dark-mode .cs-ul-wrapper {
        background-color: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .cs-ul {
        padding: 1.5rem 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cs-li {
        width: 100%;
        text-align: center;
    }

    .cs-li-link {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--headerColor);
    }
}

/* --- Desktop Styles (1024px and up) --- */
@media only screen and (min-width: 1024px) {
    .cs-toggle, .cs-mobile-only, .cs-theme-li {
        display: none;
    }

    /* THIS IS THE NEWLY ADDED CODE FOR DESKTOP LOGO TEXT */
    .cs-logo-text {
        display: inline-block;
        font-family: 'Inter', sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--headerColor);
        margin-left: 0.75rem;
    }

    body.dark-mode .cs-logo-text {
        color: var(--dark-text-primary);
    }
    /* END OF NEWLY ADDED CODE */

    #cs-navigation-2-2-2-4 .cs-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }

    .cs-ul-wrapper {
        display: contents;
    }

    .cs-ul {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}


/* ========================================================================= */
/* 4. THEME TOGGLE SWITCH
/* ========================================================================= */

.theme-switcher-button {
    border: none; padding: 0; margin: 0; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; position: relative;
    width: 52px; height: 28px; border-radius: 14px;
    background-color: var(--secondaryLight); transition: background-color 0.3s ease;
}
.theme-switcher-button .material-icons {
    color: #fff; font-size: 18px; position: absolute; top: 50%; left: 4px;
    transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%;
    background-color: var(--primary); display: flex; justify-content: center;
    align-items: center; transition: all 0.3s ease;
}
body.dark-mode .theme-switcher-button { background-color: var(--primary); }
body.dark-mode .theme-switcher-button .material-icons {
    left: calc(100% - 24px); background-color: var(--surfaceColor);
    color: var(--dark-text-primary); transform: translateY(-50%) rotate(360deg);
}


/* ========================================================================= */
/* 5. DARK MODE - COMPONENT & SECTION STYLES
/* ========================================================================= */

/* --- General Section Backgrounds --- */
body.dark-mode #why-choose-441,
body.dark-mode #pricing-1315,
body.dark-mode #pricing-357,
body.dark-mode #faq-1582,
body.dark-mode #contact-1600 {
    background-color: var(--backgroundColor) !important;
}
body.dark-mode #services-1972::before,
body.dark-mode #steps-2014::before {
    background-color: transparent !important;
}

/* --- Banners --- */
body.dark-mode #banner-1881 .cs-background:before,
body.dark-mode #banner-1881-2 .cs-background:before,
body.dark-mode #banner-1881-3 .cs-background:before {
    background-color: #000000;
    opacity: 0.7;
}
body.dark-mode .cs-breadcrumbs .cs-link { color: var(--dark-text-secondary); opacity: 0.8; }
body.dark-mode .cs-breadcrumbs .cs-link.cs-active { color: var(--dark-text-primary); opacity: 1; }
body.dark-mode .cs-breadcrumbs .cs-link:after { filter: invert(100%) brightness(2); }

/* --- Forms (Homepage & Contact) --- */
body.dark-mode #hero-2041 .cs-form,
body.dark-mode #cs-form-1600 {
    background-color: var(--surfaceColor) !important;
    border: 1px solid var(--dark-border-color);
}
body.dark-mode .cs-input {
    background-color: #1a1a1a !important;
    border: 1px solid var(--dark-border-color);
    color: var(--dark-text-secondary);
}
body.dark-mode .cs-input::placeholder { color: var(--secondary) !important; }
body.dark-mode #contact-1600 .cs-label { color: var(--bodyTextColor); }
body.dark-mode #contact-1600 .cs-background { opacity: 0.5; }

/* --- Cards & Content Items --- */
body.dark-mode .cs-item {
    background-color: var(--surfaceColor) !important;
    box-shadow: none;
}
body.dark-mode #why-choose-441 .cs-item,
body.dark-mode #services-1972 .cs-item,
body.dark-mode #faq-1582 .cs-item,
body.dark-mode #steps-2014 .cs-item,
body.dark-mode #cta-480 .cs-item,
body.dark-mode #contact-1600 .cs-item,
body.dark-mode #pricing-1315 .cs-item,
body.dark-mode #pricing-357 .cs-item {
    border-color: var(--dark-border-color) !important;
}

/* --- Pricing Section --- */
body.dark-mode #pricing-357 .cs-item .cs-price-subtext {
    color: var(--dark-text-secondary);
    opacity: 0.8;
}
body.dark-mode #pricing-357 .cs-popular .cs-li-img,
body.dark-mode #pricing-357 .cs-li-img {
    filter: brightness(900%) grayscale(1);
}

/* --- Footer --- */
body.dark-mode #new-footer {
    background-color: var(--surfaceColor);
    border-top: 1px solid var(--dark-border-color);
}
body.dark-mode #new-footer .cs-bottom {
    border-top-color: var(--dark-border-color);
}
body.dark-mode .cs-contact-li .material-icons {
    color: var(--primaryLight);
}


/* ========================================================================= */
/* 6. FAQ PAGE STYLES (#faq-tabs-2121)
/* ========================================================================= */

#faq-tabs-2121 .cs-container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#faq-tabs-2121 .cs-content {
    text-align: center;
    margin-bottom: 3rem;
}

#faq-tabs-2121 .cs-tab-buttons {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    border-bottom: 1px solid #EAEAEA;
    flex-wrap: wrap;
}

body.dark-mode #faq-tabs-2121 .cs-tab-buttons {
    border-bottom-color: var(--dark-border-color);
}

#faq-tabs-2121 .cs-tab-button {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bodyTextColor);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom-color 0.3s;
    margin-bottom: -1px;
}

#faq-tabs-2121 .cs-tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

#faq-tabs-2121 .cs-tab-content {
    display: none;
    width: 100%;
}

#faq-tabs-2121 .cs-tab-content.active {
    display: block;
}

#faq-tabs-2121 .cs-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

#faq-tabs-2121 .cs-faq-item {
    background-color: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #EAEAEA;
    opacity: 0;
    transform: translateY(20px);
}

body.dark-mode #faq-tabs-2121 .cs-faq-item {
    background-color: var(--surfaceColor);
    border-color: var(--dark-border-color);
}

#faq-tabs-2121 .cs-faq-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--headerColor);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

#faq-tabs-2121 .cs-faq-button.active,
#faq-tabs-2121 .cs-faq-button:hover {
    color: var(--primary);
}

#faq-tabs-2121 .cs-faq-button .material-icons {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

#faq-tabs-2121 .cs-faq-button.active .material-icons {
    transform: rotate(180deg);
}

#faq-tabs-2121 .cs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

#faq-tabs-2121 .cs-answer-text {
    padding: 0 1.5rem 1.25rem 1.5rem;
    line-height: 1.6;
    color: var(--bodyTextColor);
}


/* ========================================================================= */
/* 7. MISC. ANIMATIONS & FIXES
/* ========================================================================= */

/* --- "Why Choose Us" Animation --- */
#why-choose-441 .cs-item {
    opacity: 0;
    transform: perspective(1000px) rotateY(-20deg) translateX(-40px);
    transition: all 0.7s ease;
}
#why-choose-441 .cs-item.is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0);
}
#why-choose-441 .cs-item:nth-of-type(2).is-visible { transition-delay: 0.15s; }
#why-choose-441 .cs-item:nth-of-type(3).is-visible { transition-delay: 0.3s; }
#why-choose-441 .cs-item:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

/* --- "Services" Hover Effect --- */
#services-1972 .cs-item:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
#services-1972 .cs-item:hover .cs-number,
#services-1972 .cs-item:hover .cs-h3,
#services-1972 .cs-item:hover .cs-item-text {
    color: #fff;
}
#services-1972 .cs-item:hover .cs-arrow-wrapper {
    transform: scale(1.15) rotate(45deg);
}
body.dark-mode #services-1972 .cs-item:hover {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

/* --- Mobile Graphic Hiding --- */
@media only screen and (max-width: 767px) {
    #pricing-1315 .cs-floater,
    #banner-1881-3 .cs-graphic {
        display: none;
    }
}

/* ========================================================================= */
/* 8. PAGE-SPECIFIC STYLES & FIXES
/* ========================================================================= */
/* --- index.html --- */
#hero-2041 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    max-width: 11.25rem;
    margin: 0;
    box-sizing: border-box;
    padding: 0 2rem;
    background-color: var(--primary);
    overflow: hidden;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}
body.dark-mode #steps-2014 .cs-number { color: #1a1a1a;}
body.dark-mode #meet-team-1703 .cs-item { background-color: transparent; }
#why-choose-441 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 0.7em 1.5rem;
    background-color: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all .3s;
    margin-top: 1.5rem; 
    overflow: hidden;
}

/* --- Pricing.html --- */
#pricing-357 .cs-button-solid, #steps-2014 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: auto 0 0 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
}
#new-footer .cs-contact-li { display: flex; align-items: center; gap: 0.75rem; }
#new-footer .cs-contact-li .material-icons { color: var(--primary); font-size: 1.25rem; }

/* --- contact_us.html --- */
#contact-1600 .cs-form { padding: clamp(1.5rem, 4vw, 2rem) !important; border-radius: var(--global-border-radius); box-sizing: border-box; }
#contact-1600 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: color .3s;
    overflow: hidden;
}
/* ========================================================================= */
/* 8. PAGE-SPECIFIC STYLES & FIXES
/* ========================================================================= */

/* --- Pricing.html --- */
/* Fix for left-aligning bullet points on desktop */
@media only screen and (min-width: 48rem) {
    #pricing-357 .cs-ul {
        align-items: flex-start;
    }
}

