:root {
    --primary: #002B49; /* McKinsey Blue */
    --accent: #00F2FF; /* TKS Cyan */
    --accent-dark: #00D1DB;
    --text-dark: #1A1A1A;
    --text-light: #F8F9FA;
    --text-muted: #6C757D;
    --bg-light: #FFFFFF;
    --bg-subtle: #F8F9FA;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container.narrow {
    max-width: 800px;
}

/* Typography Helpers */
.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

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

.navbar.scrolled {
    background: rgba(0, 43, 73, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -1px;
}

.logo span {
    font-weight: 400;
    opacity: 0.8;
    margin-left: 2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.9;
}

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

.mobile-toggle {
    display: none;
    cursor: pointer;
    color: white;
}

@media (max-width: 968px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-accent {
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary) !important;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover, .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate linear;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.8) 0%, rgba(0, 43, 73, 0.4) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Services Bento Grid */
.services {
    padding: 8rem 0;
    background: var(--bg-subtle);
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
}

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

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.card i {
    color: var(--accent-dark);
    width: 40px;
    height: 40px;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

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

.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }

@media (max-width: 768px) {
    .card-wide { grid-column: span 1; }
    .card-tall { grid-row: span 1; }
}

/* About Section */
.about {
    padding: 8rem 0;
}

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

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

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.check-list li i {
    color: #2ECC71;
}

.about-visual {
    background: var(--primary);
    border-radius: 20px;
    padding: 4rem;
    color: white;
    position: relative;
    min-height: 400px;
}

.stats-card {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    display: block;
    color: var(--accent);
}

.stat .label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Trusted By Ticker */
.trusted-by {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.trusted-by p {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.logo-ticker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    flex-wrap: wrap;
    gap: 3rem;
}

.logo-item {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-light);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 1.2rem;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

/* Footer refinements */
footer {
    background: var(--primary);
    color: white;
    padding: 6rem 0 2rem;
}

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

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

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.reveal-text {
    animation: fadeInUp 1s ease forwards;
}

.reveal-text-slow {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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