:root {
    --color-graphite: #1a1a2e;
    --color-midnight: #0f0f1d;
    --color-deep-navy: #0e0e1a;
    --color-teal: #00bcd4;
    --color-violet: #8800ff;
    --color-rose: #ff007f;
    --color-white: #ffffff;
    --color-light-gray: #b0b0b0;

    --font-primary: 'Exo 2', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-light-gray);
    background-color: var(--color-midnight);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from glowing edges */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Holographic Fusion Design Elements */
.section-gradient-glow {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(145deg, var(--color-deep-navy), var(--color-graphite));
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Contains inner glowing elements */
}

.section-gradient-glow::before {
    content: '';
    position: absolute;
    top: -5px; bottom: -5px; left: -5px; right: -5px;
    background: linear-gradient(45deg, var(--color-teal), var(--color-violet), var(--color-rose), var(--color-teal));
    background-size: 400% 400%;
    animation: holographicGlow 15s ease infinite;
    z-index: -1;
    filter: blur(10px);
    opacity: 1;.3;
}

@keyframes holographicGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-heading, .sidebar-heading {
    font-family: var(--font-secondary);
    font-size: 2.8em;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    text-shadow: 0 0 10px rgba(var(--color-teal), 0.5), 0 0 20px rgba(var(--color-violet), 0.3);
}

.section-heading::after, .sidebar-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-violet));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description, .sidebar-description {
    font-family: var(--font-primary);
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--color-light-gray);
}

/* Header & Navigation */
.main-header {
    background-color: var(--color-midnight);
    padding: 20px 0;
    border-bottom: 1px solid rgba(var(--color-teal), 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-secondary);
    font-size: 2.2em;
    font-weight: 600;
    color: var(--color-rose);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(var(--color-rose), 0.7);
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: var(--color-teal);
    text-shadow: 0 0 10px rgba(var(--color-teal), 0.9);
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-light-gray);
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-violet), var(--color-teal));
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-white);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0; /* Full width for hero */
    border-radius: 0;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) blur(3px); /* Darken and blur image */
    transform: scale(1.05);
    transition: transform 0.8s ease-out;
}

.hero-section:hover .hero-img {
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4.5em;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(var(--color-teal), 0.8), 0 0 30px rgba(var(--color-violet), 0.5);
    line-height: 1.1;
}

.hero-description {
    font-family: var(--font-primary);
    font-size: 1.25em;
    color: var(--color-light-gray);
    margin-bottom: 25px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
}

/* About Section - Timeline Layout */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-teal), var(--color-violet), var(--color-rose));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    left: 0; /* Initial placement for left side */
    transition: transform 0.5s ease;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--color-graphite);
    border: 3px solid var(--color-violet);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 25px;
    background-color: rgba(var(--color-graphite), 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--color-teal), 0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.timeline-content h3 {
    font-family: var(--font-secondary);
    color: var(--color-rose);
    margin-bottom: 10px;
    font-size: 1.6em;
    text-shadow: 0 0 5px rgba(var(--color-rose), 0.5);
}

.timeline-content p {
    font-family: var(--font-primary);
    font-size: 1em;
    color: var(--color-light-gray);
    margin-bottom: 10px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    border-top: 1px dashed rgba(var(--color-teal), 0.2);
    padding-top: 15px;
}

.timeline-content ul li {
    font-size: 0.95em;
    color: var(--color-light-gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.timeline-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-teal);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--color-teal);
}

.timeline-icon {
    position: absolute;
    top: 25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-midnight);
    border: 2px solid var(--color-teal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(var(--color-teal), 0.5);
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -40px; /* Position icon on the right for odd items */
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -40px; /* Position icon on the left for even items */
}

.timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;.8;
    transition: opacity 0.3s ease;
}
.timeline-icon img:hover {
    opacity: 1;
}

/* Services Section - Process Steps */
.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
}

.process-step {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: rgba(var(--color-graphite), 0.7);
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(var(--color-violet), 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.process-step h3 {
    font-family: var(--font-secondary);
    color: var(--color-teal);
    font-size: 1.8em;
    margin: 20px 0;
    text-shadow: 0 0 8px rgba(var(--color-teal), 0.6);
}

.process-step p {
    font-family: var(--font-primary);
    font-size: 1em;
    color: var(--color-light-gray);
    line-height: 1.7;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-violet), var(--color-rose));
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(var(--color-rose), 0.6);
    overflow: hidden;
    position: relative;
}

.step-icon img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}
.step-icon:hover img {
    filter: brightness(1);
}

/* Reviews Section - Video Testimonials */
.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: rgba(var(--color-graphite), 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--color-teal), 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(var(--color-violet), 0.5);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.video-thumbnail-wrapper:hover .video-thumbnail {
    filter: brightness(0.9);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(var(--color-rose), 0.9);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2.5em;
    color: var(--color-white);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(var(--color-rose), 0.8);
}

.play-button:hover {
    background-color: var(--color-teal);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 30px rgba(var(--color-teal), 0.9);
}

.testimonial-card h4 {
    font-family: var(--font-secondary);
    color: var(--color-rose);
    font-size: 1.5em;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(var(--color-rose), 0.5);
}

.testimonial-card p {
    font-family: var(--font-primary);
    font-size: 1.05em;
    color: var(--color-light-gray);
    line-height: 1.7;
}

/* Location Section - Social Focus (reinterpreted as Community Focus) + Newsletter Sidebar */
.location-content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.location-text {
    flex: 2;
    min-width: 500px;
}

.location-text .section-heading,
.location-text .section-description {
    text-align: left; /* Override global centering */
    margin-left: 0;
    margin-right: 0;
}
.location-text .section-heading::after {
    margin-left: 0;
}


.connect-text {
    font-family: var(--font-secondary);
    font-size: 1.3em;
    color: var(--color-teal);
    margin-top: 30px;
    text-align: left;
    text-shadow: 0 0 8px rgba(var(--color-teal), 0.6);
}

.newsletter-sidebar {
    flex: 1;
    min-width: 300px;
    background-color: rgba(var(--color-deep-navy), 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--color-violet), 0.3);
}

.sidebar-heading {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2em;
}
.sidebar-heading::after {
    margin-left: 0;
}

.sidebar-description {
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.newsletter-placeholder {
    padding: 20px;
    background-color: rgba(var(--color-graphite), 0.5);
    border-radius: 5px;
    border: 1px dashed rgba(var(--color-teal), 0.4);
    text-align: center;
    color: var(--color-light-gray);
    font-style: italic;
    font-size: 0.9em;
}

/* Features Section - Interactive Demo (Tabs) */
.interactive-demo {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    background-color: rgba(var(--color-graphite), 0.8);
    color: var(--color-light-gray);
    border: 1px solid rgba(var(--color-teal), 0.4);
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.tab-button:hover {
    background-color: rgba(var(--color-violet), 0.3);
    color: var(--color-white);
    border-color: var(--color-violet);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--color-violet), 0.4);
}

.tab-button.active {
    background: linear-gradient(90deg, var(--color-teal), var(--color-violet));
    color: var(--color-white);
    border-color: var(--color-teal);
    box-shadow: 0 0 20px rgba(var(--color-teal), 0.7), 0 0 10px rgba(var(--color-violet), 0.5);
    transform: translateY(-2px);
}

.tab-content {
    background-color: rgba(var(--color-deep-navy), 0.8);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(var(--color-rose), 0.3);
    min-height: 400px; /* Ensure a consistent height */
    position: relative;
    overflow: hidden; /* Hide tabs that aren't active */
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane-inner {
    text-align: center;
}

.tab-pane-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(var(--color-rose), 0.4);
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}
.tab-pane-inner img:hover {
    filter: brightness(1);
}

.tab-pane-inner h4 {
    font-family: var(--font-secondary);
    font-size: 2em;
    color: var(--color-teal);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(var(--color-teal), 0.7);
}

.tab-pane-inner p {
    font-family: var(--font-primary);
    font-size: 1.1em;
    color: var(--color-light-gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Showcase Section - Success Stories */
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.story-card {
    background-color: rgba(var(--color-graphite), 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--color-rose), 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.story-card img {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(var(--color-teal), 0.5);
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}
.story-card img:hover {
    filter: brightness(1);
}

.story-card h4 {
    font-family: var(--font-secondary);
    color: var(--color-violet);
    font-size: 1.5em;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(var(--color-violet), 0.5);
}

.story-card blockquote {
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-style: italic;
    color: var(--color-light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 3px solid var(--color-teal);
    padding-left: 15px;
}

.story-author {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-rose);
    font-size: 0.95em;
}

/* Portfolio Section - Carousel Slider */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(var(--color-teal), 0.4);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: 550px; /* Fixed height for carousel consistency */
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}
.carousel-item:hover img {
    filter: brightness(0.9);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(var(--color-midnight), 0.9), transparent);
    padding: 30px 20px;
    color: var(--color-white);
    text-align: center;
}

.carousel-caption h5 {
    font-family: var(--font-secondary);
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--color-teal);
    text-shadow: 0 0 10px rgba(var(--color-teal), 0.7);
}

.carousel-caption p {
    font-family: var(--font-primary);
    font-size: 1.1em;
    color: var(--color-light-gray);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(var(--color-violet), 0.7);
    color: var(--color-white);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.8em;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 15px rgba(var(--color-violet), 0.6);
    outline: none;
    user-select: none; /* Prevent text selection */
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--color-rose);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(var(--color-rose), 0.8);
}

/* Footer */
.main-footer {
    background-color: var(--color-deep-navy);
    padding: 30px 0;
    text-align: center;
    color: var(--color-light-gray);
    font-family: var(--font-primary);
    font-size: 0.9em;
    border-top: 1px solid rgba(var(--color-violet), 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-list {
        display: none; /* Hide for smaller screens, can be replaced with a hamburger menu */
    }

    .main-nav {
        justify-content: center; /* Center logo if no nav list */
    }

    .section-gradient-glow {
        margin: 20px 10px;
        padding: 50px 0;
    }

    .section-heading {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 3.2em;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    /* Timeline Adjustments */
    .timeline-container::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item::after {
        left: 22px;
    }
    .timeline-item:nth-child(even)::after {
        left: 22px;
    }

    .timeline-icon {
        left: 0;
        top: 25px;
    }

    /* Process Steps & Card Grids */
    .process-steps,
    .video-testimonials-grid,
    .success-stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-content: center;
    }
    .process-step {
        max-width: none; /* Remove max-width on smaller screens */
        min-width: unset;
        width: 100%; /* Make them take full width within grid cell */
    }
    .process-step:nth-child(1), .process-step:nth-child(2), .process-step:nth-child(3) {
        flex: auto; /* Reset flex for grid items */
    }

    /* Location Section */
    .location-content-wrapper {
        flex-direction: column;
    }
    .location-text, .newsletter-sidebar {
        min-width: unset;
        width: 100%;
    }
    .location-text .section-heading,
    .location-text .section-description,
    .connect-text,
    .sidebar-heading,
    .sidebar-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .location-text .section-heading::after,
    .sidebar-heading::after {
        margin-left: auto;
    }

    /* Tab Buttons */
    .tab-buttons {
        flex-wrap: wrap;
    }
    .tab-button {
        flex: 1 1 auto;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Carousel */
    .carousel-item img {
        height: 400px; /* Adjust carousel image height */
    }
    .carousel-prev, .carousel-next {
        padding: 10px 15px;
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .site-logo {
        font-size: 1.8em;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .section-heading {
        font-size: 1.8em;
    }
    .hero-description, .section-description {
        font-size: 1em;
    }

    .process-step, .testimonial-card, .story-card {
        padding: 25px;
    }

    .tab-pane-inner h4 {
        font-size: 1.6em;
    }
    .tab-pane-inner p {
        font-size: 1em;
    }

    .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 15px 0;
    }
    .site-logo {
        font-size: 1.6em;
    }
    .hero-title {
        font-size: 2em;
    }
    .hero-section {
        padding: 80px 0;
    }
    .section-heading {
        font-size: 1.6em;
    }
    .section-gradient-glow {
        margin: 15px 5px;
        padding: 40px 0;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-icon {
        width: 60px;
        height: 60px;
    }
    .timeline-item::after, .timeline-item:nth-child(even)::after {
        width: 15px;
        height: 15px;
        top: 25px;
        left: 25px;
    }

    .process-step h3, .testimonial-card h4, .story-card h4 {
        font-size: 1.3em;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .carousel-item img {
        height: 250px;
    }
    .carousel-prev, .carousel-next {
        padding: 8px 10px;
        font-size: 1.2em;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
