/* Global Styles & Variables */
:root {
    --color-white: #ffffff;
    --color-bg-light: #f8fafc;
    --color-text: #94a3b8;
    --color-heading: #f8fafc;
    --color-deep-blue: #0ea5e9;
    --color-deep-blue-hover: #38bdf8;
    --color-gold: #fbbf24;
    --color-gold-hover: #fcd34d;
    --color-dark: #020617;
    --color-dark-glass: rgba(15, 23, 42, 0.6);

    --font-primary: 'Outfit', sans-serif;

    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);

    --glow-primary: 0 0 20px rgba(14, 165, 233, 0.4);
    --glow-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-dark);
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 1000px;
}

.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: -1px;
    color: var(--color-white);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.text-start {
    text-align: left;
}

.text-start::after {
    margin: 1.5rem 0 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glow-border);
    border-bottom: 1px solid var(--glow-border);
}

.bg-white {
    background-color: var(--color-dark);
}

.bg-dark {
    background-color: var(--color-dark);
}

.text-white {
    color: var(--color-white);
}

.text-white .section-title {
    color: var(--color-white);
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    gap: 0.75rem;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-deep-blue);
    color: var(--color-white);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    background-color: var(--color-deep-blue-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid var(--glow-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--glow-border);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.125rem;
}

.icon-btn-only {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.icon-btn-only .w-icon {
    margin: 0;
}

.w-icon {
    width: 20px;
    height: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-fast);
    padding: 2rem 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glow-border);
}

.navbar.scrolled .nav-item {
    color: var(--color-white);
}

.nav-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-hero-logo {
    width: 190px;
    height: auto;
    margin-top: 10px;
    transition: all var(--transition-smooth);
    filter: grayscale(100%) invert(100%) brightness(200%);
    mix-blend-mode: screen;
}

.navbar.scrolled .nav-hero-logo {
    width: 80px;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-icon-link:hover {
    background: #25D366;
    /* WhatsApp Green */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.nav-item {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.nav-item:hover {
    color: var(--color-white);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.nav-cta:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 8s ease-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    padding: 0 2rem;
    padding-bottom: 10rem;
}

.hero-content {
    flex: 0 0 45%;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, var(--color-dark), transparent);
    z-index: 3;
}

.hero-text-block {
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glow-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Carousel (Foxico Style) */
.hero-carousel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    padding-left: 2rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.carousel-card {
    flex: 0 0 240px;
    height: 340px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    transform: scale(0.9);
    opacity: 0.7;
}

.carousel-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.carousel-card.active {
    transform: scale(1.1);
    opacity: 1;
    border-color: var(--color-white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.carousel-card:hover {
    transform: translateY(-10px) scale(0.95);
    opacity: 1;
}

.carousel-card.active:hover {
    transform: scale(1.12);
}

.card-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
}

.card-title {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Carousel Navigation Arrows */
.carousel-nav {
    display: flex;
    gap: 1rem;
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    z-index: 20;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glow-border);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-arrow:hover {
    background: var(--color-deep-blue);
    border-color: var(--color-deep-blue);
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

/* Services (Premium Cinematic Redesign) */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.srv-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glow-border);
    border-radius: 12px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.srv-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.srv-title {
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.srv-desc {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Quote Form Cinematic Update */
.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-wrapper {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glow-border);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.form-subtitle {
    color: var(--color-text);
    font-size: 1.125rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-heading);
    font-size: 0.9rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-deep-blue);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-image {
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.form-img-container {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.mari-photo-mask {
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask-composite: intersect;
}

.success-message {
    text-align: center;
    padding: 2.5rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.success-icon {
    width: 56px;
    height: 56px;
    color: #10b981;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

/* Trust / Differentials */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
}

.diff-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.diff-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.diff-title {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.diff-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #020617;
    color: var(--color-white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%) invert(100%) brightness(200%);
    mix-blend-mode: screen;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.w-icon-footer {
    width: 20px;
    height: 20px;
}

.footer-title {
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.mobile-text {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .form-image {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding: 6rem 2rem 2rem;
    }

    .hero-content {
        max-width: 100%;
        flex: none;
    }

    .hero-carousel {
        width: 100%;
        padding-left: 0;
        margin-top: 3rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-nav {
        bottom: 1rem;
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hero-logo {
        width: 120px;
    }

    .hero-content {
        margin-top: 10rem;
    }

    .hero-text-block {
        padding: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-actions .btn-primary {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }

    .hero-actions .icon-btn-only {
        width: 100%;
        height: 50px;
        flex-shrink: 0;
        justify-content: center;
        border-radius: 8px;
        /* Turn circle into full width button */
    }

    .mobile-text {
        display: inline-block;
        margin-left: 10px;
        font-weight: 500;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .carousel-card {
        flex: 0 0 200px;
        height: 280px;
    }

    .srv-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}