/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Honeypot Field (Anti-Spam) - Hidden from humans */
.hidden-input {
    display: none !important;
    visibility: hidden;
}

:root {
    --text-color: #333;
    --glass-bg: rgba(255, 255, 255, 0.4);
    /* Increased opacity for better contrast */
    --glass-border: rgba(255, 255, 255, 0.6);
    --primary-btn: #4facfe;
    --primary-btn-hover: #00f2fe;
}

/* Dark Mode Variables - Deep Midnight Theme */
/* Dark Mode Variables - Deep Midnight Theme */
body.dark-mode {
    --text-color: #ffffff;
    --glass-bg: rgba(20, 20, 35, 0.9);
    --glass-border: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #1a102e 0%, #121220 100%);
    animation: none;
}

/* Force ALL text white and buttons dark in Dark Mode */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode p,
body.dark-mode li,
body.dark-mode span,
body.dark-mode label,
body.dark-mode div {
    color: #ffffff !important;
}

body.dark-mode .cta-button,
body.dark-mode button[type="submit"] {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.dark-mode .cta-button:hover,
body.dark-mode button[type="submit"]:hover {
    background: #a18cd1 !important;
    color: #ffffff !important;
}

/* Toggle Switch Styles */
.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 18px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 18px;
}

input:checked+.slider {
    background-color: var(--primary-btn);
    box-shadow: 0 0 10px var(--primary-btn), 0 0 20px var(--primary-btn);
    /* Neon Glow */
}

input:checked+.slider:before {
    transform: translateX(25px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 15%, #fcf4a3 30%, #c1f0c1 45%, #a18cd1 60%, #fbc2eb 75%, #8fd3f4 90%, #ff9a9e 100%);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 800px;
}

.glass-nav {
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #000;
    background: #c1f0c1;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 0 10px #c1f0c1;
}

.nav-links a.active {
    background: #c1f0c1;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000;
    box-shadow: 0 0 5px #c1f0c1;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Main Content Wrapper */
.main-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

/* Footer */
.glass-footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #555;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.25);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-image-container {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover ensures no distortion */
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.badge-coming-soon {
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #555;
    margin-top: 0.5rem;
    border: 1px dotted #888;
}

/* Features/Highlights Section */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}


/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.cta-button {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: inline-block;
    font-weight: 600;
}

.cta-button:hover {
    background: #c1f0c1 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #c1f0c1;
    color: #000 !important;
    border-color: #c1f0c1;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    text-shadow: none;
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #333;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

input:focus,
select:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: #333;
}

/* Custom Select styling hack for better glass look */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

select option {
    background: #fad0c4;
    /* Pastel fallback for options since they can't be transparent */
    color: #333;
}

button[type="submit"] {
    background: rgba(255, 255, 255, 0.6);
    color: #333;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-top: 1rem;
}

button[type="submit"]:hover {
    background: #c1f0c1;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #c1f0c1;
    border-color: #c1f0c1;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

.success {
    background: rgba(46, 204, 113, 0.4);
    border: 1px solid rgba(46, 204, 113, 0.6);
    color: #fff;
}

.error {
    background: rgba(231, 76, 60, 0.4);
    border: 1px solid rgba(231, 76, 60, 0.6);
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glass-container {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem auto;
    }

    h1 {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    body.dark-mode .nav-links {
        background: rgba(20, 20, 35, 0.98) !important;
        /* Dark opaque background */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Move Toggle to bottom of menu on mobile */
    .theme-switch-wrapper {
        margin-left: 0 !important;
        margin-top: 1rem;
        display: none;
        /* Hidden by default, shown in menu via JS or separate rule */
    }

    /* Since the toggle is in the header, let's just push it down if it's visible */
    /* Actually better: Make it part of the dropdown on mobile */
    .glass-nav {
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .theme-switch-wrapper {
        order: 3;
        /* Force to bottom if wrapped */
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        display: none;
        /* Hide in header bar, show in menu */
    }

    /* Show toggle when menu is active */
    .glass-nav.active .theme-switch-wrapper {
        display: flex !important;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: inline-block;
        /* Ensure button shape in menu */
        border: 1px solid #ccc;
    }
}

/* Testimonials Scrolling Section */
.testimonials-scroll {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    width: 100%;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    border-radius: 12px;
}

.stars {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #f1c40f;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Meet Cassy Teaser */
.meet-cassy-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 100%;
}

.cassy-teaser {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .meet-cassy-grid {
        flex-direction: column;
        text-align: center;
    }

    .meet-cassy-grid h2,
    .meet-cassy-grid p,
    .meet-cassy-grid div {
        text-align: center !important;
    }
}

/* Service Area Badges */
.service-area-badge {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.service-area-badge:hover {
    transform: translateY(-2px);
    background: #c1f0c1;
    /* Pastel Green */
    cursor: default;
    box-shadow: 0 0 10px #c1f0c1;
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.35);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

/* Trust Banner */
.trust-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 1rem;
    margin-top: 2rem;
}

.trust-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trust-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.trust-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}