:root {
    --bg-black: #080808;
    --card-bg: #121212;
    --primary-green: #4ade80;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --input-bg: #1e1e1e;
    --border-color: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients/Graphics */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(74, 222, 128, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(8, 80, 8, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo img {
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3));
}

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

.nav-links li a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-green);
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, #22c55e 100%);
    color: #000;
    border: 1px solid transparent;
    /* Match outline border height */
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 56px;
    /* Explicit height for perfect alignment */
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    height: 56px;
    /* Match primary button height */
}

.btn-outline:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(74, 222, 128, 0.05);
    transform: translateY(-2px);
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons-container {
        justify-content: center;
        margin-top: 20px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
    }
}

.container {
    padding: 0 5%;
    max-width: 100%;
    margin: auto;
}

.hero {
    min-height: 100vh;
    padding: 100px 5% 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: #000; /* Fallback */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content,
.hero-btns {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 150px;
        min-height: 90vh;
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-btns {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero h1 span {
    position: relative;
    display: inline-block;
    color: #fff;
    background: linear-gradient(to right, var(--primary-green) 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.hero.active h1 span {
    background-position: 0 0;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.hero p {
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Heading Fill Animation */
.heading-fill {
    display: inline-block;
    color: #fff;
    background: linear-gradient(to right, var(--primary-green) 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.heading-fill.active {
    background-position: 0 0;
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.heading-fill span {
    color: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
}

/* Scroll Reveal Animations (for other elements) */
.reveal-text,
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-text.active,
.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title p.reveal-text {
    transition-delay: 0.2s;
}

.hero-logo-container {
    margin-bottom: 20px;
}

.hero-logo {
    height: 80px;
    object-fit: contain;
}

/* ===== Stats Widget (between Hero & About) ===== */
.stats-widget-section {
    padding: 40px 5%;
    display: flex;
    justify-content: center;
}

.stats-widget {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 1000px;
    width: 100%;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--primary-green);
    opacity: 0.9;
}

.stat-number {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

@media (max-width: 768px) {
    .stats-widget {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 20px 10px;
    }

    .stat-item {
        padding: 10px 15px;
    }
}

@media (max-width: 600px) {
    .stats-widget {
        gap: 0;
    }

    .stat-item {
        padding: 12px 16px;
        min-width: 140px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.1rem;
    }
}

/* Services Carousel (True Circular Queue) */
.services-carousel-container {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 80px 0;
    overflow: hidden;
}

.services-carousel-container .service-card {
    position: absolute;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    width: 320px;
    height: 370px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform-origin: center center;
    opacity: 0;
}

.services-carousel-container .service-card.active-slide {
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.3);
    border-color: var(--primary-green);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.booking-form-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    margin: 60px auto;
    max-width: 1200px;
    border: 1px solid var(--border-color);
    background-image: url(./assets/images/graphics/graphic.jpg);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

footer {
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
    background: #0a0a0a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-info h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-info i {
    color: var(--primary-green);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.social-links i {
    cursor: pointer;
    transition: color 0.3s;
}

.social-links i:hover {
    color: var(--primary-green);
}

.site-url,
.copyright {
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Gallery & Carousel Styles */
#gallery {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
}

.section-title h1 span,
.section-title h2 span {
    color: var(--primary-green);
}

/* Ensure fill animation works on spans */
.heading-fill span {
    color: inherit !important;
}

.section-title p {
    color: var(--text-gray);
    margin-top: 10px;
}

/* Work Carousel (3D Circular Queue) */
.work-carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 80px 0;
    overflow: hidden;
}

.work-carousel-container .work-card {
    position: absolute;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 550px;
    height: 440px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform-origin: center center;
    opacity: 0;
    overflow: hidden;
}

.work-carousel-container .work-card.active-slide {
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.3);
    border-color: var(--primary-green);
}

.work-card img,
.work-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    nav {
        justify-content: center;
        padding: 15px 20px;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 8, 8, 0.95);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .work-carousel-container {
        height: 320px;
    }

    .work-carousel-container .work-card {
        width: 290px;
        height: 280px;
    }

    .services-carousel-container {
        height: 340px;
    }

    .services-carousel-container .service-card {
        width: 260px;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.reviews-carousel-container {
    position: relative;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 50px;
}

.reviews-track-container {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    min-width: calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(10px);
    height: 100%;
}

@media (max-width: 992px) {
    .review-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .review-card {
        min-width: 100%;
    }

    .reviews-carousel-container {
        padding: 0 20px;
    }
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.1);
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviewer-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

.review-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
}

.reviews-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.reviews-btn:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

.reviews-btn.prev {
    left: 0;
}

.reviews-btn.next {
    right: 0;
}

.google-review-badge {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-review:hover {
    background: var(--input-bg);
    color: #000;
    border-color: var(--primary-green);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

/* Map Selector Buttons */
.map-btn {
    color: var(--text-white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    flex: 1;
    text-align: center;
    white-space: nowrap;
    transition: 0.3s;
    cursor: pointer;
}

.map-btn:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.map-btn.active {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}