:root {
    /* Brand Colors based on user's logo (Orange) and reference (Avantra Blue) */
    --primary-blue: #0b2046; /* Deep Avantra-like blue */
    --secondary-blue: #1c52b8; /* Brighter accent blue */
    --brand-orange: #d87131; /* Matched from logo X */
    --brand-orange-hover: #b65a22;
    
    /* Neutral Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    
    /* Layout & Spacing */
    --nav-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--secondary-blue);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--brand-orange);
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--brand-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { color: var(--primary-blue); font-weight: 700; font-size: 1.6rem; letter-spacing: 1px; }
.nav-logo { height: 40px; width: auto; object-fit: contain; }
.nav-links { list-style: none; display: flex; gap: 45px; margin: 0; padding: 0; align-items: center; }

.nav-links a {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 0;
}

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

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.lang-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* Dropdown CSS */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 10px 0;
    border-top: 3px solid var(--brand-orange);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--brand-orange);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('images/hero-bg.png') no-repeat center center/cover;
    color: white;
    padding-top: var(--nav-height);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 32, 70, 0.7) 0%, rgba(11, 32, 70, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed), background var(--transition-speed), box-shadow var(--transition-speed);
}

.btn-primary {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(216, 113, 49, 0.4);
}

.btn-primary:hover {
    background-color: var(--brand-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 113, 49, 0.6);
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top-color: var(--brand-orange);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0 30px 40px;
}

/* Image Cards (Services) */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 20px;
}

/* Trust / Logos Section */
.trust-section {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
    margin-top: 20px;
}
.trust-logos span { font-size: 1.5rem; font-weight: 700; color: #888; }

/* Stats Section */
.stats-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.stat-item h2 { font-size: 3.5rem; color: var(--brand-orange); margin-bottom: 10px; }
.stat-item p { font-size: 1.1rem; color: rgba(255,255,255,0.9); }

/* Global Footer */
.site-footer {
    background-color: #051024;
    color: #a0aabf;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 15px; display: block; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a0aabf; }
.footer-links a:hover { color: var(--brand-orange); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Consulting Detail Page Layout */
.consulting-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--text-main);
}
.consulting-section { margin-bottom: 60px; }
.consulting-section h2 { 
    color: var(--primary-blue); 
    font-size: 2rem; 
    margin-bottom: 30px; 
    border-left: 5px solid var(--brand-orange); 
    padding-left: 15px; 
}
.exec-summary { font-size: 1.25rem; line-height: 1.8; color: #444; font-weight: 500; }

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.icon-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.icon-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(22, 131, 252, 0.1);
    color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.icon-card h4 { font-size: 1.2rem; color: var(--primary-blue); margin-bottom: 15px; }
.icon-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* Value List */
.value-list { list-style: none; padding: 0; }
.value-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
}
.value-icon { color: #28a745; font-size: 1.5rem; margin-right: 20px; margin-top: -2px; }
.value-content h4 { margin-bottom: 5px; color: var(--primary-blue); }
.value-content p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Advantage Banner */
.adv-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3673 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.adv-banner h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--brand-orange); }
.adv-banner p { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; }

/* Homepage Extension */
.zigzag-row { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
.zigzag-row.reverse { flex-direction: row-reverse; }
.zigzag-text { flex: 1; }
.zigzag-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-blue); }
.zigzag-text p { font-size: 1.1rem; color: var(--text-muted); }
.zigzag-img { flex: 1; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; height: 350px; object-fit: cover; background-color: var(--bg-light); }
.dark-section { background-color: #08142b; color: white; }
.dark-section .section-title { color: white; }
.case-card { background-color: #112852; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--border-radius); overflow: hidden; transition: transform 0.3s; }
.case-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.case-card-body { padding: 30px; }
.case-card-body h3 { color: white; font-size: 1.4rem; margin-bottom: 15px; }
.case-card-body p { color: #a0aabf; margin-bottom: 25px; line-height: 1.6; }
.btn-outline { background: transparent; border: 2px solid var(--brand-orange); color: var(--brand-orange); }
.btn-outline:hover { background: var(--brand-orange); color: white; transform: translateY(-2px); }
/* Timeline */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; margin-top: 40px; }
.timeline-grid::before { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; height: 4px; background-color: #eaeaea; z-index: 1; }
.timeline-step { position: relative; z-index: 2; text-align: center; }
.step-number { width: 70px; height: 70px; border-radius: 50%; background-color: var(--primary-blue); color: white; font-size: 1.5rem; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 5px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.timeline-step h4 { margin-bottom: 10px; color: var(--primary-blue); font-size: 1.2rem; }
.timeline-step p { font-size: 0.95rem; color: var(--text-muted); padding: 0 10px; }
/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--brand-orange) 0%, #d87131 100%); color: white; padding: 100px 20px; text-align: center; }
.cta-banner h2 { color: white; font-size: 2.8rem; margin-bottom: 20px; }
.cta-banner p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background-color: white; color: var(--brand-orange); font-size: 1.1rem; }
.cta-banner .btn:hover { background-color: #f8f9fa; box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

/* Case Gallery Page */
.cases-header { background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3673 100%); color: white; padding: 120px 20px 60px; text-align: center; }
.cases-header h1 { color: white; font-size: 3rem; margin-bottom: 20px; }
.cases-header p { font-size: 1.2rem; opacity: 0.9; max-width: 800px; margin: 0 auto; }
.case-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.case-gallery-card { background: white; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; border: 1px solid #eaeaea; }
.case-gallery-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.case-img-wrapper { width: 100%; height: 200px; position: relative; overflow: hidden; background-color: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.case-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-gallery-card:hover .case-img { transform: scale(1.05); }
.industry-badge { position: absolute; top: 15px; left: 15px; background: rgba(216, 113, 49, 0.9); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; z-index: 2; backdrop-filter: blur(4px); }
.case-card-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.case-card-content h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--primary-blue); line-height: 1.4; }
.case-card-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }

/* Filter Bar */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.filter-btn { background-color: white; border: 1px solid #eaeaea; color: var(--text-muted); padding: 8px 20px; border-radius: 30px; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; }
.filter-btn:hover, .filter-btn.active { background-color: var(--brand-orange); color: white; border-color: var(--brand-orange); box-shadow: 0 4px 15px rgba(216, 113, 49, 0.3); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; /* Mobile menu needed */ }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .zigzag-row, .zigzag-row.reverse { flex-direction: column; }
    .timeline-grid { grid-template-columns: 1fr; }
    .timeline-grid::before { display: none; }
    .cases-header h1 { font-size: 2.2rem; }
}


/* Marquee Styles */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}
.marquee-wrapper::before, .marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(14, 21, 38, 1), rgba(14, 21, 38, 0));
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(14, 21, 38, 1), rgba(14, 21, 38, 0));
}
.marquee-track {
    display: inline-block;
    animation: scroll-left 35s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-item {
    display: inline-block;
    margin: 0 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.marquee-item img {
    display: block;
    width: 320px;
    height: 180px;
    object-fit: cover;
}
.marquee-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
