/* ==========================================================================
   Variables & Design Tokens
   ========================================================================== */
   :root {
    /* Color Palette - Premium Dark Theme with Gold Accents */
    --color-bg-base: #0B0F19; /* Very dark blue */
    --color-bg-surface: #141B2D; /* Slightly lighter blue for cards */
    --color-bg-glass: rgba(20, 27, 45, 0.6); /* Glass effect */
    
    --color-primary: #D4AF37; /* Gold */
    --color-primary-light: #F3E5AB;
    --color-primary-dark: #AA8B2B;
    
    --color-secondary: #3B82F6; /* Accent Blue */
    --color-secondary-light: #60A5FA;
    
    --color-text-main: #F1F5F9; /* Very light gray */
    --color-text-muted: #94A3B8; /* Slate gray */
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows & Transitions */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-main);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-desc {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.125rem;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Glassmorphism Card */
.glass-card {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-base);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-normal);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 1px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-link:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero_background_office.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.3; /* Subtle background */
}

/* Gradient overlay to blend background with site */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.8) 60%, var(--color-bg-base) 100%);
    z-index: -1;
}

/* Radial glow behind text */
.hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

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

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 350px;
    margin-left: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.stat-item p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: 2.5rem 2rem;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-icon {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.service-card:hover .service-icon {
    color: var(--color-bg-base);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-main);
    font-size: 0.9375rem;
}

.service-features i {
    color: var(--color-secondary);
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.why-us-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin 30s linear infinite;
}

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

.inner-circle {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(20, 27, 45, 0.8) 100%);
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    animation: spin-reverse 30s linear infinite; /* Counter rotate text so it stays upright */
}

@keyframes spin-reverse {
    100% { transform: rotate(-360deg); }
}

.experience-years {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.experience-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.8) 0%, rgba(11, 15, 25, 0.9) 100%);
    border-left: 4px solid var(--color-primary);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 500px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #05080f;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

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

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--color-text-main);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-bg-base);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

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

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

.contact-info li {
    display: flex;
    gap: 1rem;
    color: var(--color-text-muted);
}

.contact-info i {
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.contact-info a {
    color: var(--color-text-muted);
}

.contact-info a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

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

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

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-right.is-visible {
    transform: translateX(0);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-left.is-visible {
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        margin: 3rem auto 0;
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .why-us-container {
        grid-template-columns: 1fr;
    }
    
    .why-us-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 2rem;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .visual-circle {
        width: 300px;
        height: 300px;
    }
    
    .inner-circle {
        width: 180px;
        height: 180px;
    }
    
    .experience-years {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
