/* =========================================
   DESIGN SYSTEM & TOKENS (LIGHT THEME)
   ========================================= */
:root {
    /* Color Palette */
    --bg-dark: #FFFFFF; /* Pure white background */
    --bg-surface: #F8FAFC; /* Light gray surface */
    --bg-surface-hover: #F1F5F9;
    --border-glass: rgba(0, 0, 0, 0.08);
    
    --accent-primary: #0056D2; /* Strong corporate blue */
    --accent-secondary: #FF6D00; /* Orange accent */
    
    --text-primary: #0F172A; /* Slate 900 - nearly black */
    --text-secondary: #475569; /* Slate 600 - dark gray */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   GLOBAL RESET & BASICS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   UI COMPONENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #003FB9);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 86, 210, 0.2);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.3);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(0,0,0,0.15);
}

.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), #003FB9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.site-logo-footer {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
    display: block;
}

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

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

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

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

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

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Hero Visual & Animations */
.main-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 86, 210, 0.2);
    animation: pulse 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    opacity: 0;
}

.delay-1 { animation-delay: 1.3s; }
.delay-2 { animation-delay: 2.6s; }

@keyframes pulse {
    0% { transform: scale(0.6); opacity: 0; border-width: 2px; }
    50% { opacity: 0.5; border-width: 1px; }
    100% { transform: scale(1.5); opacity: 0; border-width: 0; }
}

/* =========================================
   SERVICES PREVIEW
   ========================================= */
.services-preview {
    padding: 8rem 0;
    position: relative;
}

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

.section-eyebrow {
    color: var(--accent-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 3rem;
}

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

.service-card {
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 86, 210, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(0, 86, 210, 0.05);
    margin-bottom: 1.5rem;
    position: relative;
}

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

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.link-arrow {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.link-arrow:hover {
    gap: 5px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

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

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

.about-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.abc-philosophy {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.abc-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.abc-letter {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.abc-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.abc-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.contact-section {
    padding: 8rem 0;
    position: relative;
    background: #F8FAFC;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    background: #FFFFFF;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-details strong {
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.w-100 {
    width: 100%;
}

.main-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 4rem;
    background: #FFFFFF;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* =========================================
   ANIMATIONS & SCROLL
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .main-visual { width: 60%; margin: 0 auto; }
    
    .about-grid, .contact-card, .service-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .abc-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-card {
        padding: 2.5rem;
    }
    
    .contact-card[style] {
        padding: 2rem !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        clip-path: circle(0% at top right);
        transition: clip-path 0.4s ease-in-out;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        clip-path: circle(150% at top right);
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: 0.3s;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-text h1 { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.2rem; }
    .about-text h2 { font-size: 2.2rem; }
    .contact-info h2 { font-size: 2rem; }
}
