:root {
    --navy-deep: #0a1628;
    --navy: #0d1f3c;
    --navy-mid: #132a4f;
    --gold: #c8a44e;
    --gold-light: #d4b66a;
    --gold-pale: #f0e4cc;
    --white: #ffffff;
    --off-white: #f8f7f5;
    --cream: #faf9f6;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --text-dark: #1a1a1a;
    --text-body: #3a3a3a;
    --text-muted: #6b7280;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 30px 70px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.loaded {
    opacity: 1;
}

/* Preloader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(200, 164, 78, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1002;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Inter', Georgia, serif;
    color: var(--navy-deep);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
.section-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    padding: 0 2rem;
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: var(--shadow-lg);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    transition: height var(--transition);
}
.navbar.scrolled .nav-container { height: 65px; }
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}
.nav-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy-deep);
    font-family: 'Playfair Display', serif;
}
.nav-logo .logo-text { line-height: 1; }
.nav-logo .brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav-logo .brand-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-light);
    font-weight: 500;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}
.nav-cta-btn {
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
}
.nav-cta-btn:hover {
    background: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 78, 0.35);
}
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1001; padding: 8px; }
.hamburger span { width: 28px; height: 2.5px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Hero with particles */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #060e1a 0%, #0a1e3d 30%, #0d2247 60%, #0a1628 100%);
    overflow: hidden;
    padding: 120px 2rem 80px;
}
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1.05);
}
.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(6, 14, 26, 0.82) 0%, rgba(10, 30, 61, 0.72) 40%, rgba(10, 22, 40, 0.88) 100%);
    z-index: 1;
}
#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-text { color: var(--white); }
.hero-tag {
    display: inline-block;
    background: rgba(200, 164, 78, 0.15);
    border: 1px solid rgba(200, 164, 78, 0.35);
    color: var(--gold-light);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.hero-text h1 { color: #fff; margin-bottom: 1.2rem; line-height: 1.1; }
.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, #e0c878 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; max-width: 500px; line-height: 1.6; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 30px rgba(200, 164, 78, 0.3); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(200, 164, 78, 0.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); transform: translateY(-3px); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat h3 { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 0.2rem; }
.hero-stat p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin: 0; text-transform: uppercase; letter-spacing: 0.06em; }

/* Sections General */
section { padding: 5rem 2rem; position: relative; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }

/* About */
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrapper {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
    display: flex; align-items: center; justify-content: center;
}
.about-image-inner { text-align: center; color: #fff; padding: 2rem; }
.about-image-inner .big-icon { font-size: 6rem; color: var(--gold); margin-bottom: 1rem; opacity: 0.8; }
.about-image-inner h3 { color: #fff; font-size: 1.8rem; }
.about-image-inner p { color: rgba(255, 255, 255, 0.7); }
.about-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--gold);
    color: var(--navy-deep); padding: 1.2rem 1.8rem; border-radius: var(--radius);
    font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow-lg);
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.about-feature { display: flex; gap: 0.8rem; align-items: flex-start; }
.about-feature i { color: var(--gold); font-size: 1.2rem; margin-top: 3px; }
.about-feature span { font-weight: 600; color: var(--navy-deep); font-size: 0.95rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 2.5rem 2rem; transition: var(--transition-slow); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .service-icon {
    width: 60px; height: 60px; border-radius: var(--radius); background: var(--gold-pale);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--navy-deep);
    margin-bottom: 1.5rem;
}
.service-card:hover .service-icon { background: var(--gold); transform: scale(1.08); }
.service-card .service-link {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem;
    color: var(--gold); font-weight: 600; text-decoration: none; font-size: 0.9rem;
}

/* Industries */
.industries-section { background: var(--navy-deep); color: #fff; }
.industries-section .section-header h2 { color: #fff; }
.industries-section .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.industry-item {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: var(--transition);
}
.industry-item:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--gold); transform: translateY(-4px); }
.industry-item i { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.industry-item h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }

/* Why Us */
.why-us-section { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.why-card {
    text-align: center; padding: 2.5rem 1.8rem; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); }
.why-card .why-number {
    font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 800; color: var(--gold); line-height: 1;
}

/* Testimonials */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.testimonial-card {
    background: var(--cream); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--gray-200);
}
.testimonial-card .quote-icon { font-size: 3rem; color: var(--gold); opacity: 0.5; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.author-avatar {
    width: 50px; height: 50px; border-radius: 50%; background: var(--navy-mid);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-deep) 0%, #0d2247 100%); text-align: center; padding: 4rem 2rem;
}
.cta-banner h2 { color: #fff; }

/* Contact */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info-item i { font-size: 1.4rem; color: var(--gold); }
.contact-form {
    background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; background: var(--off-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 78, 0.1);
}
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 500;
}
.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}
.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06);
    display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); margin-right: 0.5rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); }

.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy-deep); color: #fff; border: none; cursor: pointer; z-index: 99;
    box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: 0.3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

/* Page Transitions */
.page-transition {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}
.page-transition.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { justify-content: center; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--navy-deep); flex-direction: column; padding: 100px 2rem 2rem; transition: 0.5s; }
    .nav-links.active { right: 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .testimonials-slider, .services-grid, .why-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2,1fr); }
    h1 { font-size: 2.5rem; }
    .why-card { padding: 2rem !important; }
}
