/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Qanelas';
    src: url('qanelas-font-family/qanelas-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Qanelas';
    src: url('qanelas-font-family/qanelas-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --dark-navy: #000000;
    --navy-gray: #b59429;
    --black: #000000;
    --dark: #0a0a0a;
    --charcoal: #1a1a1a;
    --gray: #2d2d2d;
    --white: #ffffff;
    --light-white: #f5f5f5;
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --glass: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Responsive Scaling */
@media (max-width: 1200px) {
    html { font-size: 90%; }
}
@media (max-width: 991px) {
    html { font-size: 85%; }
}
@media (max-width: 768px) {
    html { font-size: 80%; }
}
@media (max-width: 480px) {
    html { font-size: 70%; }
}

body {
    min-height: 100%;
    min-width: 320px;
}

body {
    font-family: 'Qanelas', 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--light-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
}

a,
button,
.contact-item,
.cta-primary,
.cta-secondary,
.submit-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

/* Preloader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Fallback */
    height: 100dvh; /* Android fix */
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#loader-text {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--gold);
    display: flex;
}

.loader-char-wrapper {
    display: flex;
}

.loader-char-wrapper span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: revealChar 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(0.1s * var(--i));
    /* Preserve space character */
    white-space: pre-wrap;
}

@keyframes revealChar {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        filter: blur(10px);
    }
    20% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

body:not(.loaded) {
    overflow: hidden;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(30px);
    z-index: 1001;
    transition: all 0.3s ease;
    min-height: 80px;
    height: auto;
    padding: env(safe-area-inset-top) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 2rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    line-height: 1; /* Compact vertical sizing */
}

.logo-sub {
    display: block;
    font-size: 0.55em;
    opacity: 0.8;
    margin-top: 0.2rem;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--light-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

/* Hero */
.hero {
    height: 100vh; /* Fallback */
    height: 100dvh; /* Android fix */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 50%, var(--gold) 100%);
    opacity: 0.8;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    margin-bottom: 1rem;
    line-height: 0.9;
}

.hero-title span {
    display: block;
    background: linear-gradient(45deg, var(--gold), var(--light-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    display: block;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cta-secondary {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold);
    color: var(--light-white);
}

.cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.6);
}

.cta-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

/* Container & Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(45deg, var(--gold), var(--light-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* About */
.about {
    background: var(--charcoal);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass);
    transition: all 0.4s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--black);
}

/* Services */
.services {
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.service-category {
    text-align: center;
}

.service-category h3 {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 2rem;
    width: 100%;
    margin-inline: auto;
}

.service-card {
    text-align: center;
}

.service-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, outline 0.3s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
    z-index: 1;
    outline: 1px solid transparent;
    outline-offset: -1px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(0);
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.8);
    z-index: 5;
    outline: 1px solid rgba(212, 175, 55, 0.8);
    outline-offset: -1px;
}

.service-card:hover::before {
    left: 100%;
}

.service-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-header h4 {
    width: 100%;
    text-align: center;
    margin: 0;
}

.price {
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card li {
    padding: 0.45rem 0;
    padding-left: 0;
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-card li::before {
    content: none;
}

.service-card li span {
    display: inline-block;
    text-align: center;
}

.demo-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--black);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
}

.demo-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.demo-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.demo-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Portfolio */
.portfolio {
    background: var(--charcoal);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    height: 300px;
    background: var(--gray);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item:hover::before,
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Process */
.process {
    background: var(--black);
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.progress-bar-container {
    position: absolute;
    top: calc(2rem + 40px); /* 2rem padding-top + half of 80px circle height */
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--glass);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transition: width 0.05s linear, height 0.05s linear;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.process-step:hover .step-number {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Testimonials */
.testimonials {
    background: var(--charcoal);
    padding: 100px 0;
}

.testimonials-container {
    max-width: 100%;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.35rem);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    animation: slide-carousel 30s linear infinite;
}

.testimonial:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
    animation-play-state: paused;
}

.testimonial p {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    color: var(--light-white);
}

.testimonial h4 {
    font-family: 'Qanelas', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@keyframes slide-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 8rem));
    }
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
    padding: 80px 0;
}

.contact .section-header {
    margin-bottom: 3rem;
}

.contact .section-header h2 {
    font-size: clamp(3rem, 7vw, 4rem);
    letter-spacing: 1px;
}

.contact .section-header p {
    font-size: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--glass);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-color: var(--gold);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    color: var(--gold);
}

.contact-form {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    height: fit-content;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.9rem;
    color: var(--light-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-height: 42px;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    color: var(--black);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    box-sizing: border-box;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, #E5C158, var(--gold-dark));
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

footer i {
    animation: heartbeat 1.5s infinite;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Entry Animations */
@keyframes entryAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

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

@keyframes entryGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 60px rgba(212, 175, 55, 0.4);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.hero-text {
    opacity: 0;
}

.hero-text.entry-animate {
    animation: entryAppear 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-text.entry-animate .hero-title span:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-text.entry-animate .hero-title span:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-text.entry-animate .hero-title span:nth-child(3) {
    animation-delay: 0.7s;
}

.hero-text.entry-animate .hero-subtitle {
    animation-delay: 0.9s;
}

.hero-text.entry-animate .hero-stats {
    animation-delay: 1.1s;
}

.hero-text.entry-animate .hero-cta {
    animation-delay: 1.3s;
}

.hero-text.entry-animate .hero-title {
    animation: entryAppear 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, entryGlow 2s ease-in-out 0.7s infinite;
}

.hero-title span {
    display: block;
}

.observe {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.observe.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0); /* Sleek Android transition */
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh; /* Smooth Android viewport matching */
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding-top: max(100px, 15vh);
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        padding-left: 5vw;
        padding-right: 5vw;
        overflow-y: auto;
        max-width: 100vw;
        width: 100%;
        display: flex;
        flex-direction: column;
        will-change: transform;
        backface-visibility: hidden;
    }

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

    /* Fix main heading overflow */
    .hero-title {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .nav-menu li {
        padding: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .nav-menu.mobile-active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.mobile-active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-menu.mobile-active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-menu.mobile-active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-menu.mobile-active li:nth-child(4) { transition-delay: 0.5s; }

    .nav-menu .nav-link {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        padding: 1.5rem 3rem;
        min-height: 56px;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

    .nav-menu .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
        transform: scale(1.05);
    }

    body.menu-open {
        overflow: hidden !important;
    }

    html.menu-open {
        overflow: hidden !important;
    }


    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial {
        flex: 0 0 calc(50% - 1rem);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-timeline {
        flex-direction: column;
    }

    .progress-bar-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: auto;
        margin-bottom: 0;
        z-index: 1;
        background: rgba(212, 175, 55, 0.1); 
    }

    .progress-bar-fill {
        width: 100%;
        height: var(--progress, 0%);
        background: linear-gradient(180deg, var(--gold), var(--gold-dark));
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
        border-radius: 2px;
        transition: height 0.05s linear;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .testimonial {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    /* background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy-gray) 100%); */
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.loader.fade-out {
    opacity: 0;
}

.loader-text {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    color: var(--navy-gray);
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(119, 128, 176, 0.5);
}

.loader-char-wrapper {
    display: flex;
    gap: 0.2em;
}

.loader-char-wrapper span {
    display: block;
    transform: translateY(100vh);
    animation: particleExplode 3s ease-in-out forwards;
}

@keyframes particleExplode {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}