@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Absolute Minimalist Palette */
    --bg-white: #FFFFFF;
    --bg-offwhite: #FAFAFA;
    --bg-subtle: #F1F5F9;
    
    --text-primary: #0F172A; /* Deep Slate - softer than black */
    --text-secondary: #475569; /* Elegant muted slate */
    --text-tertiary: #94A3B8;
    
    --brand-accent: #1D4ED8; /* Refined Royal Blue */
    --brand-accent-hover: #1E3A8A;
    --brand-light: #EFF6FF; /* Extremely soft blue background */
    
    --border-soft: #E2E8F0;
    
    /* Beautiful Soft Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
    --shadow-float: 0 30px 60px -12px rgba(15, 23, 42, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Buttery Smooth Transitions */
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.8;
    font-size: 17px;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegant Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--brand-accent);
    transition: var(--transition-med);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 6%;
}

/* Typography Utilities */
.section-title {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 650px;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Ultra-Refined Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition-med);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
}

.btn-primary:hover {
    background-color: var(--brand-accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-soft);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-offwhite);
}

/* Decent & Beautiful Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-med);
    padding: 30px 0;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

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

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

.logo img {
    height: 34px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--brand-accent);
}

/* Elegant underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--brand-accent);
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* Breathable Hero Section */
.hero {
    position: relative;
    padding: 220px 0 120px;
    background-color: var(--bg-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    transform: translateZ(0); /* Hardware acceleration */
}

.hero-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-container:hover .hero-img {
    transform: scale(1);
}

/* Refined About Section */
.about {
    padding: 140px 0;
    background-color: var(--bg-offwhite);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Elegant Features / Services */
.services {
    padding: 160px 0;
    background-color: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    transition: var(--transition-slow);
    position: relative;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-float);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    transition: var(--transition-med);
}

.service-card:hover .service-icon {
    color: var(--brand-accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Stats Row */
.stats {
    padding: 80px 0;
    background-color: var(--text-primary);
    color: var(--bg-white);
}

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

.stat-item h4 {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 10px;
    font-weight: 300;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Clean CTA */
.cta {
    padding: 160px 0;
    background-color: var(--bg-offwhite);
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* Minimalist Footer */
.footer {
    padding: 100px 0 40px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-soft);
}

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

.footer-desc {
    color: var(--text-secondary);
    margin-top: 24px;
    max-width: 400px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 16px;
}

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

.footer-links a:hover {
    color: var(--brand-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Buttery Smooth Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* Very subtle shift */
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { padding: 180px 0 80px; }
    .hero h1 { font-size: 3.5rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-img { height: 450px; }
    
    .about { padding: 100px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .about-img-wrapper img { height: 450px; }
    
    .services { padding: 100px 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 0;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow-md);
        gap: 20px;
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.15rem; }
    .hero-img { height: 350px; }
    
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 2.5rem; }
    
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 40px 30px; }
    
    .stats { padding: 60px 0; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-item h4 { font-size: 3.5rem; }
    
    .cta { padding: 100px 0; }
    .cta-box h2 { font-size: 2.2rem; }
    
    .footer { padding: 80px 0 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .logo { justify-content: center; }
    .footer-desc { margin: 20px auto 0; }
}
