:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --primary-color: #ff6b00;
    /* Orange from original site, but neon */
    --secondary-color: #8a2be2;
    /* Violet accent */
    --accent-color: #00e5ff;
    /* Cyan accent */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

a.logo {
    text-decoration: none;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.link-styled {
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.3s;
}

.link-styled:hover,
.link-styled.scroll-active {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
    /* Essential for dropdown positioning */
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a14 !important;
    /* Force solid dark background */
    min-width: 250px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    z-index: 9999;
    /* Ensure on top */
    padding: 0.5rem 0;
    margin-top: 0;
    flex-direction: column;
}

/* Invisible bridge to prevent menu from closing when moving mouse */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    /* Bridge the gap area if needed, though margin-top:0 removes it */
}

.dropdown:hover .dropdown-content {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-content a {
    color: #ffffff;
    /* Bright white text */
    padding: 14px 24px;
    text-decoration: none;
    display: block;
    text-align: left;
    /* Default left for desktop */
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

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

.dropdown-content a:hover {
    background: rgba(255, 107, 0, 0.15);
    /* Orange tint on hover */
    color: var(--primary-color);
    padding-left: 28px;
    /* Slight movement */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}



.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a:not(.btn-primary).scroll-active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #ff9100);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover,
.btn-primary.scroll-active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
    border: none !important;
    text-decoration: none !important;
}

.btn-secondary {
    border: 2px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary.scroll-active {
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}


.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* Center buttons */
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-visual {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons button,
    .hero-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Review Widget Fix */
iframe.lc_reviews_widget {
    min-height: 400px !important;
    height: 100% !important;
}

/* Mobile Calendar Fixes */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0.5rem !important;
        min-height: 800px;
    }
}

.orb {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--secondary-color), var(--bg-color));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    /* animation: float 6s ease-in-out infinite; Disabled per user request */
}

/* Services Grid */
.services {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.grid-container>* {
    flex: 1 1 300px;
    max-width: 400px;
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
}

.two-column-grid>* {
    max-width: none;
    flex: unset;
}

@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
    }
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-speed);
}

.card {
    /* ... existing styles ... */
    position: relative;
    /* For stretched link */
}

.card:hover,
.card.scroll-active {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ... existing icon/h3/p styles ... */

.card a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s;
}

/* Stretched Link */
.card a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
}

.card a:hover,
.card.scroll-active a {
    transform: translateX(5px);
}



/* About Section */
.about {
    padding: 5rem 5%;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.link-styled,
.link-styled:visited {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

/* Footer Fixes */
footer {
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    background: #020202;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    width: 100%;
    opacity: 0.5;
}

.footer-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
    /* Align left for split layout */
}

.footer-brand {
    text-align: left;
    flex: 1;
    min-width: 250px;
}

.footer-brand .brand {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
    margin-left: 0;
    /* Force left alignment */
    padding: 0;
    mix-blend-mode: screen;
    /* Ensures black background of logo (if any) blends with footer,
       or simply helps it sit better. If transparency is already there, check edge cases. */
}

.footer-links-grid {
    display: flex;
    gap: 4rem;
    text-align: left;
    /* Align left */
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
    font-size: 1rem;
}

.footer-column a:hover,
.footer-column a.scroll-active {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    /* Stack vertically for brand side */
    gap: 0.8rem;
    margin-top: 0;
}

.contact-info a {
    color: #fff;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    /* Center copyright */
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* New Cool Animations */
@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease-out forwards;
}

/* Mobile Animation Fixes */
/* Mobile Animation Fixes - Optimized */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0.5rem !important;
        min-height: 800px;
    }

    .reviews {
        padding: 3rem 5% 1rem 5%;
    }
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Professional Border Animation - Re-added as subtle pulse */
@keyframes borderFlow {
    0% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    50% {
        border-color: rgba(255, 107, 0, 0.3);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.1);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}



/* Cursor Glow Effect */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    /* Smooth follow lagging slightly */
    /* Smooth follow lagging slightly */
    mix-blend-mode: screen;
}

/* Professional Border Animation */
/* Professional Border Animation - REMOVED per user request (no looping) */
/* Apply globally to cards */
.card,
.stat-card,
.benefit-card,
.review-card,
.faq-item {
    animation: glassBreathe 5s ease-in-out infinite alternate;
}


/* Contact / Calendar Section */
.contact {
    padding: 5rem 5%;
}

.calendar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    /* Ensure iframe has space */
    min-height: 700px;
    overflow: hidden;
    background: var(--glass-bg);
}

/* Scoped iframe styles to avoid affecting Chat Widget */
.calendar-container iframe,
.review-grid iframe,
.conditional-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Contact Info in Footer */
.contact-info {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff9e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.contact-inf.logo .highlight {
    font-weight: 300;
    color: #fff;
    /* Keep part of it white for contrast if needed, or let gradient take over */
    /* Since parent has gradient text, this might need to be overridden or removed if we want full gradient */
    -webkit-text-fill-color: initial;
    /* Reset specific fill if we want different color */
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.contact-info a:hover,
.contact-info a.scroll-active {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

/* Reviews Section */
.reviews {
    padding: 5rem 5% 2rem 5%;
}

.review-grid {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    /* Force container height */
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(255, 140, 0, 0);
    }

    50% {
        border-color: var(--primary-color);
        box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(255, 140, 0, 0);
    }
}

/* --- NEW COOL ANIMATIONS --- */


/* 2. Card Neon Lift & Inner Glow */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy feel */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    /* Lift + slight zoom */
    border-color: var(--primary-color);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(255, 107, 0, 0.4),
        /* Outer primary glow */
        inset 0 0 20px rgba(255, 107, 0, 0.1);
    /* Inner subtle glow */
}

/* 3. Link Magnetic/Underline Effect */
/* 3. Link Magnetic/Underline Effect */
/* 3. Link Magnetic/Underline Effect */
.nav-links>li>a:not(.btn-primary)::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    margin-top: 2px;
}

.nav-links>li>a:not(.btn-primary):hover::after {
    width: 100%;
}

/* 4. Extra Delays for Staggered Animations */
.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
    transition-delay: 0.8s;
}

/* 5. Mobile Scroll Improvements */
@media (max-width: 768px) {

    /* Reduce drastic movements on mobile for smoother feel */
    .fade-in-up {
        transform: translateY(20px);
        /* Smaller distance */
    }

    .fade-in-down {
        transform: translateY(-20px);
    }

    .zoom-in {
        transform: scale(0.95);
    }
}


.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-speed);
    position: relative;
    /* For stretched link */
    position: relative;
    /* For stretched link */
    /* animation: pulseGlow 4s infinite; Removed per user request - too distracting */
    animation: glassBreathe 5s ease-in-out infinite alternate;
}

@keyframes glassBreathe {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 5px 20px rgba(255, 107, 0, 0.15);
        /* Very subtle primary glow */
        border-color: rgba(255, 107, 0, 0.2);
    }
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Unified Feedback System Styles (Global) */
.feedback-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Ensure title is not covered by sticky header when scrolled to */
    scroll-margin-top: 120px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Iframe Container Styling */
.conditional-content {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle backing */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conditional-content iframe {
    width: 100% !important;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .feedback-container {
        padding: 2.5rem 1.5rem;
        width: 90%;
        /* Ensure it doesn't touch edges */
    }

    .conditional-content {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .feedback-container {
        padding: 2rem 1rem;
        width: 95%;
    }

    .star-rating label {
        font-size: 2.5rem;
        /* Slightly smaller stars on mobile */
        padding: 0 0.1rem;
    }
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Feedback System Styles */
.feedback-system {
    padding: 5rem 5%;
    text-align: center;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-container h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.star-rating {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 15px;
    margin-bottom: 0.5rem;
    scroll-margin-top: 250px;
    /* Ensure visible below fixed header on scroll */
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    animation: starPulse 3s infinite ease-in-out;
}

/* Stagger animations for wave effect */
.star-rating input:nth-of-type(1)+label {
    animation-delay: 0s;
}

.star-rating input:nth-of-type(2)+label {
    animation-delay: 0.3s;
}

.star-rating input:nth-of-type(3)+label {
    animation-delay: 0.6s;
}

.star-rating input:nth-of-type(4)+label {
    animation-delay: 0.9s;
}

.star-rating input:nth-of-type(5)+label {
    animation-delay: 1.2s;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
        color: rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.15);
        color: rgba(255, 133, 32, 0.6);
        /* #ff8520 */
        text-shadow: 0 0 10px rgba(255, 133, 32, 0.3);
    }
}



.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #ff8520;
    text-shadow: 0 0 15px rgba(255, 133, 32, 0.5);
    transform: scale(1.1);
    animation: none;
}

.conditional-content {
    transition: all 0.5s ease;
    opacity: 1;
    max-height: 800px;
    margin-top: 2rem;
    padding: 10px;
    position: relative;
    /* For absolute positioning of close button */
    scroll-margin-top: 180px;
    /* Offset for sticky header + border visibility */
    /* Desktop Sizing (Moved from inline) */
    min-height: 200px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
    /* Fix for form overlap */
}

/* Custom Close Button for Forms */
.close-form-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: #ff6b00 !important;
    /* Hardcoded Orange to bypass variable issues on mobile */
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.close-form-btn:hover {
    transform: scale(1.1) !important;
    background: #ff8533 !important;
    /* Hardcoded lighter orange */
}

.conditional-content.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .conditional-content {
        width: 100% !important;
        /* Maximize width */
        margin: 0 auto !important;
        left: unset !important;
        right: unset !important;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    }
}

#internal-feedback {
    margin-top: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1rem;
}

#internal-feedback input,
#internal-feedback textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
}

#internal-feedback input:focus,
#internal-feedback textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

#review-cta {
    min-height: auto !important;
    /* Prevent it from taking huge space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

#review-cta h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

#review-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* FAQ Section Styling */
.faq {
    padding: 5rem 5%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Force visibility */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.faq-item[open] {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    color: #fff;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    font-weight: 400;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    animation: fadeIn 0.4s ease;
}

.faq-answer p {
    margin-bottom: 1rem;
    /* Nuclear Option for Visibility */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
    display: block !important;
}

.faq-answer * {
    opacity: 1 !important;
    visibility: visible !important;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.client-initial {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #ff4500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.client-name {
    font-weight: 600;
    font-size: 1rem;
}

.source-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    /* Simplistic Google G representation or generic check */
    background: #fff;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.source-icon::after {
    content: 'G';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    font-family: sans-serif;
}


/* Benefits Section (Who We Build For) */
.benefits {
    padding: 5rem 5%;
}

.benefit-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border: 1px solid var(--glass-border);
    /* Ensure border exists for animation */
    /* animation: pulseGlow 5s infinite reverse; REMOVED */
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.benefit-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.benefit-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: left;
    width: 100%;
    padding-left: 1.5rem;
    /* Pushes content down if needed */
}

.benefit-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.benefit-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.integration-note {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
    background: rgba(0, 229, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile nav for now */
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .navbar {
        padding: 0.5rem 5% !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo {
        font-size: 1.1rem !important;
        /* Smaller per user request */
        max-width: 70%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .logo .highlight {
        display: inline-block;
    }
}

/* Global Glow Effect - Rajshyn Style */
.glow-effect-img,
.footer-logo,
.navbar .logo img {
    transition: all 0.4s ease-in-out;
    border: 2px solid transparent;
    /* Base border */
    border-radius: 15px;
    /* Consistent radius */
}

.glow-effect-img:hover,
.glow-effect-img.scroll-active,
.footer-logo:hover,
.navbar .logo img:hover {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.6), 0 0 40px rgba(255, 107, 0, 0.3) !important;
    border-color: rgba(255, 107, 0, 0.8);
    /* Orange Brand Glow */
    transform: scale(1.02);
}

@media (max-width: 768px) {

    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: rgba(10, 10, 20, 0.95);
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        /* Ensure it fits on mobile */
        left: 0 !important;
        transform: none !important;
        max-width: 90vw;
    }

    /* Mobile specific dropdown adjustments */
    @media (max-width: 768px) {
        .dropdown:hover .dropdown-content {
            position: static;
            /* Stack vertically on mobile */
            background: rgba(255, 255, 255, 0.05);
            width: 100%;
            box-shadow: none;
            border: none;
            padding: 0;
            width: 100%;
            min-width: 0;
            align-items: stretch;
            /* Full width items */
        }

        .dropdown-content a {
            text-align: right !important;
            /* Force Right Alignment */
            padding: 1rem 2rem 1rem 1rem;
            /* Right padding preference */
            justify-content: flex-end;
            /* Flexbox alignment */
            display: flex;
            /* Ensure flex behavior */
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            width: 100%;
        }

        /* Hide benefits section on mobile nav if it makes it too long, or just let it scroll */
        .nav-links li {
            margin: 1rem 0;
            /* Increase touch target spacing */
        }
    }

    .hamburger {
        cursor: pointer;
        z-index: 999999;
        width: 32px;
        /* Slightly smaller */
        height: 24px;
        /* Slightly smaller */
        padding: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        background: rgba(0, 0, 0, 0.6);
        /* Ensure contrast */
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background-color: #ffffff !important;
        transition: 0.3s;
    }

    /* Reduce side margins for Contact/Calendar on mobile */
    .contact {
        padding: 1rem 5% !important;
        /* Standard site padding to match reviews */
    }

    .calendar-container {
        padding: 0 !important;
        min-height: 800px;
        width: 100% !important;
        border-radius: 10px;
    }

    /* Force mobile review widget height and scrolling */
    iframe.lc_reviews_widget {
        min-height: 800px !important;
        height: 100% !important;
        /* explicit height, not auto */
        overflow-y: scroll !important;
    }



    /* Mobile Nav */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* Center items */
        padding-top: 6rem;
        /* More space */
        transition: 0.5s;
        box-shadow: none;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links.active+.hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }

    /* Center Dropdown Items on Mobile */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: transparent !important;
        border: none;
        align-items: center;
        /* Flex centering */
    }

    .dropdown-content a {
        text-align: center !important;
        padding: 15px;
        width: 100%;
        justify-content: center;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    /* Lighter glass */
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
    /* animation: pulseGlow 3s infinite; REMOVED */
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}


.three-column-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .three-column-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .three-column-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
}

/* Custom 2-column grid for GBP Manager */
.two-column-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 900px;
    margin: 0 auto;
}

.two-column-grid> :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

@media (max-width: 768px) {

    /* Force single column for all grids on mobile */
    .two-column-grid,
    .grid-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .card,
    .grid-container>*,
    .two-column-grid>* {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        /* Remove centering margins that cause weird alignment */
        flex: 1 1 100% !important;
    }
}

/* Trusted By Slider */
.trusted-by {
    padding: 3rem 0;
    /* Restored top padding for uniformity */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    /* Borders removed per user request */
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
    /* Ensure it stays above other background elements */
}

.trusted-by::before,
.trusted-by::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trusted-by::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.trusted-by::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.trusted-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider {
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    display: flex;
    width: calc(250px * 12);
    /* 6 slides * 2 sets */
    gap: 0;
    /* handled by slide padding/margin or width */
    animation: scroll 30s linear infinite;
}

.slide {
    width: 250px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.slide img {
    max-width: 100%;
    max-height: 110px;
    /* Increased to account for padding */
    object-fit: contain;
    opacity: 1 !important;
    transform: none !important;
    transition: 0.3s;

    /* Card Glow Effect */
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: glassBreathe 4s ease-in-out infinite alternate;
}

.slide img:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.6), 0 0 40px rgba(255, 107, 0, 0.3) !important;
    border-color: rgba(255, 107, 0, 0.8);
    transform: translateY(-2px) scale(1.02) !important;
}

.slide img.trusted-logo-large {
    max-height: 160px !important;
    padding: 8px;
    /* Reduce padding to maximize logo size */
    transform: scale(1.5);
    z-index: 10;
    /* Ensure it pops over neighbors if needed */
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 6));
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .trusted-title {
        font-size: 2rem;
    }

    .slide {
        width: 150px;
        padding: 0 1rem;
    }

    .slide-track {
        width: calc(150px * 12);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 6));
        }
    }
}



/* FAQ Links */
.faq-answer p a {
    color: var(--primary-color);
    text-decoration: underline !important;
    font-weight: 600;
    transition: 0.3s;
}

.faq-answer p a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Mobile Adjustments for Reviews */
@media (max-width: 768px) {
    .feedback-system {
        padding-top: 2rem !important;
        padding-bottom: 2rem;
    }

    .star-rating label {
        font-size: 2.2rem;
    }

    .feedback-container h2 {
        font-size: 2rem;
    }
}

/* Chat Widget Mobile Fix */
@media (max-width: 768px) {

    #chat-widget-container,
    .lc_chat_widget,
    iframe#chat-widget {
        z-index: 2147483647 !important;
        /* Max Z-Index */
        bottom: 80px !important;
        /* Move up slightly to avoid navbar collision */
    }

    /* Ensure body allows vertical scroll */
    html,
    body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* Discount Text Responsive Sizing */
#review-cta p {
    margin-bottom: 0.2rem;
}

.discount-text {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    /* Mobile size */
}

@media (min-width: 768px) {
    .discount-text {
        font-size: 1.1rem;
        /* Restored/Desktop size */
    }
}

/* Mobile Footer Logo Resize & Center */
@media (max-width: 768px) {
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 180px;
        /* Reduced specific size for mobile */
        height: auto;
        margin: 0 auto;
    }

    .contact-info {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .contact-info a {
        justify-content: center;
    }
}

/* 2 Column Grid Utility */
.two-column-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 900px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr !important;
    }
}


/* 3 Column Grid Utility */
/* 3 Column Grid Utility (Flex for Centering) */
.three-column-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.three-column-grid>* {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 300px;
}

@media (max-width: 1024px) {
    .three-column-grid>* {
        flex: 0 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .three-column-grid>* {
        flex: 0 1 100%;
    }
}

@media (max-width: 768px) {
    .center-text {
        margin-bottom: 4rem !important;
    }
}

/* Stats Section - Mobile Optimization */
.stats-section {
    padding: 2rem 5%;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .stats-section .grid-container {
        gap: 0.5rem !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-section .grid-container>.stat-card {
        flex: 1 1 28% !important;
        /* Allow 3 side-by-side (approx 30% each) */
        min-width: 80px;
        padding: 0.8rem !important;
    }

    .stat-card h3 {
        font-size: 1.5rem !important;
    }

    .stat-card p {
        font-size: 0.75rem !important;
        line-height: 1.2;
        margin-top: 0.2rem;
    }
}

/* Service Popup - Full Width Fix */
#services-needed-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    /* Dimmed background */
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

#services-needed-popup iframe {
    width: 100% !important;
    height: 100vh !important;
    /* Full viewport height */
}

/* Mobile CTA Button Animation - Classy Pulse */
@media (max-width: 768px) {
    .btn-primary {
        animation: cta-classy-pulse 3s infinite ease-in-out;
    }
}

@keyframes cta-classy-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    }
}

@media (max-width: 768px) {
    #services-needed-popup iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }

    #services-needed-popup {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Service Popup - Full Width Fix */
#services-needed-popup {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
}

#services-needed-popup iframe {
    width: 100% !important;
    height: 100vh !important;
    /* Full viewport height */
}

/* Utility Class for Hidden Content */
.hidden {
    display: none !important;
}

/* Read More Link Styling */
.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s;
}

.read-more-link:hover {
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .glass-effect {
        padding: 1.5rem !important;
        /* Reduce padding on mobile to fix 'squeezed' text */
    }

    .case-study .glass-effect>div {
        flex: 1 1 100% !important;
        /* Ensure full width on mobile */
        min-width: 0 !important;
        /* Prevent overflow */
    }

    /* Ensure case-study section padding is also manageable if inline styles persist */
    .case-study {
        padding: 3rem 5% !important;
    }

    /* Mobile Visibility Utilities */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        margin-top: 2rem;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}