@charset "UTF-8";

/* ==========================================================================
    1. ROOT VARIABLES & BASE STYLES
    ========================================================================== */

:root {
    --bg-color: #ffffff;
    --bg-ash: #f8f9fa;
    --border-color: #e5e8ec;
    --text-main: #1a1d20;
    --text-muted: #5f6368;
    --google-blue: #1a73e8;
    --google-blue-hover: #1557b0;
    --google-blue-light: #e8f0fe;
    --radius: 8px;
    
    /* Typography Scale */
    --font-size-hero: clamp(2.4rem, 4.5vw, 3.4rem);
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.4rem;
    --font-size-body: 1.05rem;
    --font-size-intro: 1.2rem;
    --font-size-tag: .8rem;
    
    --transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

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

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

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ==========================================================================
    2. REUSABLE COMPONENTS & BUTTONS
    ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white {
    background: #fff;
    color: var(--google-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--bg-ash);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
    3. HEADER & NAVIGATION
    ========================================================================== */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.header-container {
    max-width: 1300px;
    margin: auto;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    height: 1.0rem;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
}

.main-nav a:hover {
    color: #fff;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Toggle Buttons */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.menu-close {
    display: none;
    position: absolute;
    top: 28px;
    right: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    z-index: 1002;
}

.menu-close span {
    position: absolute;
    top: 15px;
    left: 2px;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

/* ==========================================================================
    4. HERO SECTION
    ========================================================================== */

.hero-section {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(48, 105, 175, 0.92), rgba(62, 125, 195, 0.82)), 
        url('../images/bg-banner-01.jpg') center/cover no-repeat;
    color: #fff;
    padding: 180px 48px 110px;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.45);
    padding: 6px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

/* Hero Canvas Background */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
    5. HERO VISUAL CARD & CAROUSEL (RESPONSIVELY ENHANCED)
    ========================================================================== */

.hero-visual-card-wrapper {
    display: flex;
    flex-direction: column;
    width: 85%;
    margin-left: auto;
    margin-top: 150px;
}

.hero-visual-card {
    background: transparent;
    border: none;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    min-height: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-stat {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: baseline;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%) translateY(40px);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.visual-stat.active {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
    pointer-events: auto;
}

.visual-stat.exit {
    opacity: 0;
    transform: translateY(-50%) translateY(-40px);
}

.stat-num-index {
    font-size: 1.52rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.45);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.carousel-indicator {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    margin-left: auto;
    letter-spacing: 0.5px;
}

/* ==========================================================================
    6. SERVICES SECTION
    ========================================================================== */

.services-section {
    background: var(--bg-ash);
    padding: 120px 48px;
    border-top: 1px solid var(--border-color);
}

.services-container {
    max-width: 1300px;
    margin: auto;
}

.section-header-group {
    max-width: 600px;
}

.section-main-heading {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -.03em;
    margin-top: 12px;
    color: var(--text-main);
}

.section-main-bio {
    margin-top: 12px;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    border-color: rgba(26, 115, 232, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.08);
}

.service-thumb-container {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f1f3f5;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-thumb-container img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1e293b; /* Dark charcoal/slate text */
    background: var(--google-blue-light);
    padding: 5px 12px;
    border-radius: 20px;
}

.service-icon-box {
    width: 42px;
    height: 42px;
    background: var(--bg-ash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--google-blue);
    color: #fff;
    transform: rotate(45deg);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -.02em;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 500;
}

.service-features-list li::before {
    content: "•";
    color: var(--google-blue);
    font-size: 1.2rem;
    line-height: 1;
}

.service-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.service-tags li {
    font-size: 0.75rem;
    background: var(--bg-ash);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius);
    font-weight: 500;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--google-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 8px;
    color: var(--google-blue-hover);
}

/* ==========================================================================
    7. INDUSTRY EXPERTISE SECTION (RESPONSIVELY ENHANCED)
    ========================================================================== */

.industry-expertise-section {
    padding: 140px 48px;
    background: transparent;
}

.industry-expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.industry-expertise-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--text-main);
    margin-bottom: 40px;
    text-align: center;
}

.industry-expertise-container p {
    max-width: 1200px;
    margin: 0 auto;
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    text-align: center;
    padding-bottom: 60px;
}

.industry-expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border-color);
    counter-reset: count-me;
}

.industry-expertise-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 110px;
    padding: 36px 32px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-main);
    transition: var(--transition);
    counter-increment: count-me;
}

.industry-expertise-item::before {
    content: "0" counter(count-me);
    margin-right: 80px;
    color: #999999;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}

.industry-expertise-item:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.industry-expertise-item:hover {
    padding-left: 38px;
    background: var(--bg-ash);
}

/* ==========================================================================
    8. FOOTER
    ========================================================================== */

.site-footer {
    background: var(--bg-ash);
    color: var(--text-main);
    padding: 90px 48px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo-text {
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--google-blue);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 1.9rem;
    width: auto;
    display: block;
}

/* ==========================================================================
    9. KEYFRAMES ANIMATIONS
    ========================================================================== */

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

.hero-content > * {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-content .hero-badge { animation-delay: 0.1s; }
.hero-content .hero-title { animation-delay: 0.25s; }
.hero-content .hero-desc { animation-delay: 0.4s; }
.hero-content .hero-cta-group { animation-delay: 0.55s; }

/* ==========================================================================
    10. RESPONSIVE BREAKPOINTS
    ========================================================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual-card-wrapper {
        width: 100%;
        margin-top: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 20px 24px;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-close {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a73e8;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        z-index: 999;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav a {
        font-size: 1.15rem;
    }
    .hero-section,
    .services-section,
    .industry-expertise-section,
    .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero-section {
        padding-top: 140px;
    }
    .hero-visual-card-wrapper {
        margin-top: 20px;
    }
    .industry-expertise-section {
        padding: 80px 24px;
    }
    .industry-expertise-list {
        grid-template-columns: 1fr;
    }
    .industry-expertise-item:nth-child(odd) {
        border-right: none;
    }
    .industry-expertise-item {
        padding: 24px 20px;
        min-height: auto;
    }
    .industry-expertise-item::before {
        margin-right: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-visual-card-wrapper {
        width: 100%;
        margin-top: 10px;
    }
    .industry-expertise-item {
        padding: 20px 16px;
    }
    .industry-expertise-item::before {
        margin-right: 24px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}