/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    /* Color Palette */
    --primary: #D4AF37; /* Premium Gold */
    --primary-light: #E5C158;
    --primary-dark: #B5952F;
    --secondary: #0F172A; /* Midnight Blue */
    --secondary-light: #1E293B;
    --accent: #38BDF8;
    
    /* Neutral Colors */
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Noto Serif SC', 'Playfair Display', serif;
    
    /* Spacing & Sizes */
    --section-pad: 5rem 0;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Layout Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

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

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn-primary, .btn-primary-sm {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    text-align: center;
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.logo span {
    color: var(--primary);
}

.navbar.scrolled .logo h1 {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a:not(.btn-primary-sm) {
    color: var(--text-main);
}

.nav-links a:hover:not(.btn-primary-sm) {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .hamburger {
    color: var(--secondary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%), 
                      url('../assets/about-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero .badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.features-list {
    margin-top: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

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

.about-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    background-color: var(--secondary-light);
    background-image: url('../assets/about-bg.png'), 
                      linear-gradient(135deg, var(--secondary-light), var(--secondary));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
}

.stat h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.stat p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -20px;
}

.timeline-content {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-content::after {
    content: " ";
    position: absolute;
    top: 15px;
    border: medium solid var(--white);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

/* ==========================================================================
   CTA & Contact Section
   ========================================================================== */
.cta-section {
    background: var(--secondary);
    color: var(--white);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    z-index: 0;
}

.cta-info, .cta-form {
    position: relative;
    z-index: 1;
}

.cta-info h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-info p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--primary-light);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--white);
    font-size: 1.1rem;
}

.cta-form h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group select option {
    background: var(--secondary);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--secondary-light);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0 !important;
}

.footer-logo span {
    color: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-col ul i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .stats-card {
        bottom: 20px;
        left: 20px;
        right: 20px;
        justify-content: space-around;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--secondary) !important;
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active {
        color: var(--secondary);
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 11px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
    }
}
