:root {
    /* Colors */
    --primary: #c9a227;
    --primary-dark: #a8841a;
    --primary-light: #e8c547;
    --secondary: #0f172a;
    --dark: #0b1120;
    --dark-soft: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-dark: #64748b;
    --white: #ffffff;
    --success: #10b981;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    --gradient-dark: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(11, 17, 32, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing & Radius */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 10px 30px rgba(201, 162, 39, 0.25);

    /* Transitions */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Typography helpers */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Navbar ========== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 0.7rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--white) !important;
    letter-spacing: -0.02em;
}

.navbar-brand i {
    color: var(--primary);
    font-size: 1.5rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--dark);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(201, 162, 39, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
}

.btn-light:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ========== Hero ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.badge-premium {
    display: inline-block;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    font-weight: 300;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.15rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.hero-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

.scroll-indicator a:hover {
    color: var(--primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== Sections ========== */
.section-padding {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.12);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-badge.light {
    background: rgba(201, 162, 39, 0.2);
    color: var(--primary-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 560px;
}

/* Features */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--primary-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--dark);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.65;
}

/* Services */
.bg-dark-section {
    background: var(--dark);
    color: var(--white);
}

.service-card {
    background: var(--dark-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 162, 39, 0.25);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-body {
    padding: 1.75rem;
}

.service-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link:hover {
    color: var(--primary-light);
    gap: 0.7rem;
}

/* About */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--dark);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.about-badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.about-list {
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-weight: 500;
    color: var(--secondary);
}

.about-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Stats */
.stats-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0;
}

.stat-box {
    padding: 1.5rem 1rem;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials */
.bg-light-section {
    background: #f1f5f9;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA */
.cta-section {
    background: var(--dark);
    padding: 80px 0;
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    color: var(--dark);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-box p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Contact */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 44px;
    height: 44px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.contact-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: #f8fafc;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
    background: var(--white);
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 30px;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-brand i {
    color: var(--primary);
    font-size: 1.4rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--white);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.45);
}

/* ========== Animations (Intersection Observer) ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay helpers via data-delay handled in JS */

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(11, 17, 32, 0.98);
        padding: 1.5rem;
        border-radius: var(--radius);
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .about-badge {
        bottom: -15px;
        right: 10px;
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-stats {
        gap: 1.5rem !important;
    }

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

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .footer-legal a {
        margin-left: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}