:root {
    /* Noble & Premium Palette */
    --bg-body: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #0f172a;
    /* Midnight Blue - Noble Dark */

    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    --accent-primary: #1e293b;
    /* Deep Slate */
    --accent-gold: #c29d59;
    /* Muted Gold - The "Noble" touch */
    --accent-blue: #3b82f6;
    /* Vivid Blue for actions */

    /* UI Elements */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    /* Sharper than Apple's 20-30px */

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-main: 'Manrope', sans-serif;
    /* Geometric, modern, clean */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.logo-accent {
    color: var(--accent-gold);
}

/* Logo Image Styles */
.logo-image {
    display: flex;
    align-items: center;
    height: auto;
}

.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0.95);
}

/* Footer Logo Styles */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--text-primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    /* Sharp corners */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--accent-gold);
    color: var(--text-primary);
}

/* Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--bg-dark);
    /* Prevent white flash while video loads */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s linear;
    /* Enable smooth fading */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Enhanced gradient for better text readability and premium look */
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 40%, rgba(15, 23, 42, 0.3) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-gold);
    font-family: serif;
    /* Adds that 'noble' touch */
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Bento Grid */
.bento-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    /* Use auto rows with fixed height */
    gap: 24px;
}

.bento-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.card-large {
    grid-column: span 2;
    background: var(--bg-dark);
    color: white;
}

.card-large h3,
.card-large p {
    color: white;
}

.card-large p {
    opacity: 0.8;
}

.card-large .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.card-tall {
    grid-row: span 2;
}

.card-dark {
    background: #1e293b;
    color: white;
}

.card-dark h3,
.card-dark p {
    color: white;
}

.card-dark .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* Feature Split */
.feature-split {
    padding: 120px 0;
    background: white;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-visual {
    flex: 1;
    position: relative;
}

.split-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    display: block;
}

.visual-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    z-index: -1;
    border-radius: var(--radius-md);
    opacity: 0.2;
}

.split-text {
    flex: 1;
}

.section-tag {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.feature-list {
    margin-top: 40px;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 5px;
}

.feature-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-list span {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    color: white;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent-gold);
}

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

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .split-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

/* Video Background Card Styles */
.card-video-bg {
    position: relative;
    overflow: hidden;
    border: none;
    background: #000;
    /* Fallback */
    padding: 0 !important;
    /* Ensure no padding on container */
}

.card-video-bg .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.card-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.5s linear;
    /* Enable smooth fading */
}

.card-video-bg .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.card-video-bg .card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    /* Apply padding to content instead */
}

.card-video-bg h3,
.card-video-bg p {
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 3;
}

.card-video-bg p {
    opacity: 0.9;
}

.glass-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--accent-gold);
}

@keyframes bounce {

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

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

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

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.01);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Animations */
.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);
}

/* Mobile Menu & Responsive Styles */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
    z-index: 1001;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        height: calc(100vh - 73px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
    }

    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn-nav {
        display: none;
    }
}

/* Logo Responsive Sizing */
@media (max-width: 992px) {
    .logo-img {
        max-height: 45px;
    }

    .footer-logo-img {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-height: 40px;
    }

    .footer-logo-img {
        max-height: 35px;
    }
}