/* Page Loader Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOutLoader 0.8s ease-out 3s forwards;
}

.loader-image {
    width: 600px;
    height: 400px;
    max-width: 80vw;
    max-height: 60vh;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 184, 184, 0.3);
    animation: moveToPosition 2s ease-in-out 1s forwards;
}

.loader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes moveToPosition {
    to {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        transform: translateY(0);
    }
}

@keyframes fadeOutLoader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

body.loaded .page-loader {
    display: none;
}

/* Color Variables - Based on the provided image gradient */
:root {
    --color-primary: #003d5c;
    --color-secondary: #005a7a;
    --color-accent: #00849e;
    --color-light-blue: #00a8c2;
    --color-teal: #00b8b8;
    --color-dark: #001f2e;
    --color-white: #ffffff;
    --color-light-gray: #f5f7fa;
    --color-gray: #6b7280;
    --color-border: #e5e7eb;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Fixed slider height for desktop (can be adjusted) */
    --fixed-slider-height: 700px;
}

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


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}

/* Global text justification */
p, .hero-description, .banner-description, .about-card-content p,
.service-slide-text p, .culture-item-content p, .career-block-text,
.career-intro-text, .highlight-content p, .equity-content p,
.rise-value-item p, .competency-card p {
    text-align: justify;
    text-justify: inter-word;
}

.container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header Bar */
.top-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-info span,
.contact-info-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-link:hover {
    opacity: 0.8;
}

.contact-info i {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--color-white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.social-links i {
    color: var(--color-white);
    font-size: 14px;
}

/* Anniversary Badge - Elegant Advertisement */
.anniversary-badge {
    display: flex;
    align-items: center;
    gap: 10 px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 184, 184, 0.25) 0%, rgba(0, 168, 194, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 184, 184, 0.5);
    border-radius: 50px;
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 100;
    overflow: hidden;
    animation: badgePulse 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 184, 184, 0.3);
}

.anniversary-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmerMove 3s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 184, 184, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 184, 184, 0.5), 0 0 30px rgba(0, 184, 184, 0.3);
    }
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.anniversary-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.05);
    }
    75% {
        transform: rotate(10deg) scale(1.05);
    }
}

.anniversary-icon i {
    font-size: 16px;
    color: var(--color-white);
}

.anniversary-content {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.anniversary-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-teal);
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 8px rgba(0, 184, 184, 0.4);
}

.anniversary-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.anniversary-sparkle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: var(--color-teal);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Navigation */
.navbar {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-scrolled .nav-wrapper {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary);
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span {
    background: #2c3e50;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

/* .nav-item > a:hover {
    color: var(--color-accent);
} */

.nav-item > a:hover::after,
.nav-item.active > a::after {
    width: 80%;
}

.nav-item.active > a {
    color: var(--color-accent);
}

.nav-item i {
    font-size: 10px;
    transition: transform var(--transition-speed);
}

.nav-item:hover i {
    transform: rotate(180deg);
}

/* Dropdown Menu - Deloitte Style */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    border-top: 3px solid var(--color-accent);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 14px 30px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0.1;
    transition: width 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--color-accent);
    background: var(--color-light-gray);
}

.dropdown-menu a:hover::before {
    width: 4px;
}

.btn-consultation {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white) !important;
    padding: 12px 24px !important;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

/* .btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 194, 0.3);
} */
.hero{
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 2;
    background: var(--color-white);
    margin-top: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 61, 92, 0.85) 0%,
        rgba(0, 90, 122, 0.75) 50%,
        rgba(0, 132, 158, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 60px;
    /* background: rgba(0, 26, 46, 0.75); */
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); */
    border-radius: 24px;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); */
    animation: fadeInUp 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    border-radius: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

/* .btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
} */

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 184, 184, 0.4);
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-accent) 100%);
    color: var(--color-white);
}

.hero-stats {
    animation: fadeInRight 1s ease-out 0.3s backwards;
    display: none;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 72px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 18px;
    color: var(--color-white);
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 80px;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.slider-arrow:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--color-white);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background: var(--color-light-gray);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.link-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: all var(--transition-speed);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

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

.link-card i {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: all var(--transition-speed);
}

.link-card:hover i {
    transform: scale(1.1);
    color: var(--color-teal);
}

.link-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.link-card p {
    color: var(--color-gray);
    font-size: 16px;
}

/* GSAP Animation Initial States */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(50px);
}

.gsap-fade-down {
    opacity: 0;
    transform: translateY(-50px);
}

.gsap-slide-left {
    opacity: 0;
    transform: translateX(-80px);
}

.gsap-slide-right {
    opacity: 0;
    transform: translateX(80px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(0.8);
}

.gsap-section {
    opacity: 0;
}

/* Top Banner Section */
/* Top Banner - Professional Design */
.top-banner {
    background: linear-gradient(135deg, rgba(0, 26, 46, 0.95) 0%, rgba(0, 61, 92, 0.9) 50%, rgba(0, 90, 122, 0.85) 100%),
                url('../assets/pnc_insights_p_how-to-finance-a-car.avif') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    overflow: visible;
    z-index: 1;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 184, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 132, 158, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    max-width: 800px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-top: 4rem;
}

.banner-content * {
    pointer-events: auto;
}

.banner-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 184, 184, 0.2);
    border: 1px solid rgba(0, 184, 184, 0.4);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: var(--color-teal);
}

.banner-title {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
}

.banner-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-banner-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-banner-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--color-teal);
    color: var(--color-white);
}

.btn-banner-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-banner-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

/* Consultation Banner - Elegant Split Design */
.consultation-banner {
    background: var(--color-light-gray);
    padding: 80px 0;
    position: relative;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    position: relative;
}

.consultation-left {
    max-width: 600px;
}

.consultation-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.consultation-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    line-height: 1.7;
}

.consultation-right {
    display: flex;
    align-items: center;
}

.btn-consultation {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 61, 92, 0.3);
    position: relative;
    overflow: hidden;
}


.btn-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 61, 92, 0.4);
}

.btn-consultation span {
    position: relative;
    z-index: 1;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Smooth parallax for top banner - Fixed position */
.top-banner.parallax-section {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

/* Hero section */
.hero-section {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* About Section */
.about-section,
.services-section,
.culture-section,
.careers-section {
    background: var(--color-white);
    position: relative;
    margin-top: 0;
}

.about-section:nth-child(even),
.services-section:nth-child(even),
.culture-section:nth-child(even) {
    background: var(--color-light-gray);
}

/* Services Slider Section */
.services-section {
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.services-slider-container {
    max-width: 1400px;
    margin: 20px auto 0;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-slider {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 350px;
}

.service-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    height: 100%;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.service-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.service-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.service-slide-text h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.service-slide-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 132, 158, 0.3);
}

.btn-service i {
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(5px);
}

.service-slide-image {
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(0, 61, 92, 0.15); */
    position: relative;
}

.service-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.2) 0%, rgba(0, 132, 158, 0.2) 100%);
    z-index: 1;
}

.service-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.service-slide:hover .service-slide-image img {
    transform: scale(1.05);
}

/* Competencies Grid */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.competency-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--color-light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.competency-item:hover {
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 61, 92, 0.1);
    transform: translateX(5px);
}

.competency-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.competency-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
}

/* Industries List */
.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 132, 158, 0.3);
}

.industry-tag i {
    font-size: 1rem;
}

/* Services Slider Navigation */
.services-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.service-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-nav-btn::before {
    display: none;
}

.service-nav-btn.active::before {
    display: none;
}

.service-nav-btn:hover {
    border-color: #0d9488;
    background: #f0fdfa;
}

.service-nav-btn.active {
    border-color: #0d9488;
    background: linear-gradient(135deg, #003d5c 0%, #0d9488 100%);
}

.nav-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b7280;
    transition: color 0.3s ease;
}

.service-nav-btn.active .nav-number {
    color: white;
}

.nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
}

.service-nav-btn.active .nav-title {
    color: white;
}

/* About Section - Card Style with varied heights and bottom images */
.about-section {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.about-card {
    background: var(--color-white);
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-card:hover {
    box-shadow: 0 16px 32px rgba(0, 61, 92, 0.2);
    transform: translateY(-10px);
}

.about-card-tall {
    min-height: 550px;
}

.about-card-short {
    min-height: 450px;
}

.about-card-content {
    padding: 40px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.about-card-content h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-card-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 24px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.about-card:hover .read-more {
    color: var(--color-teal);
}

.about-card:hover .read-more i {
    transform: translateX(8px);
}

.about-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    order: 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.about-card:hover .about-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.05);
}

/* Fade in up animation with staggered delays */
.fade-in-up:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in-up:nth-child(4) {
    transition-delay: 0.4s;
}

/* Other grids */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card,
.culture-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before,
.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before,
.culture-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon,
.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon,
.culture-card:hover .culture-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-icon i,
.culture-icon i {
    font-size: 36px;
    color: var(--color-white);
}

.service-card h3,
.culture-card h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-card p,
.culture-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Careers Section - Split Screen Design */
.careers-section {
    padding: 80px 20px;
}

.careers-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-content-block {
    margin-bottom: 80px;
}

.career-content-block:last-of-type {
    margin-bottom: 0;
}

.career-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 61, 92, 0.1);
}

.career-reverse .career-split-layout {
    direction: rtl;
}

.career-reverse .career-text-side {
    direction: ltr;
}

.career-text-side {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.career-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    width: fit-content;
}

.career-block-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.career-block-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.career-subsection {
    margin-top: 35px;
}

.career-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.career-intro-text {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.career-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.career-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
}

.career-benefits-list li:last-child {
    border-bottom: none;
}

.career-benefits-list i {
    font-size: 1.2rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.career-benefits-list span {
    font-weight: 500;
}

.career-highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    box-shadow: 0 8px 25px rgba(0, 61, 92, 0.12);
    transform: translateX(8px);
}

.highlight-item > i {
    font-size: 2rem;
    color: var(--color-accent);
    min-width: 40px;
    margin-top: 5px;
}

.highlight-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.highlight-content p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
}

.btn-career {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-career:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 132, 158, 0.3);
}

.btn-career i {
    transition: transform 0.3s ease;
}

.btn-career:hover i {
    transform: translateX(5px);
}

.career-image-side {
    position: relative;
    overflow: hidden;
}

.career-image-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.career-content-block:hover .career-image-side img {
    transform: scale(1.05);
}

.career-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.3) 0%, rgba(0, 132, 158, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.career-content-block:hover .career-image-overlay {
    opacity: 1;
}

/* Culture Slider Section */
.culture-section {
    padding: 80px 20px;
}

.culture-slider-container {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.culture-slider {
    position: relative;
    overflow: visible;
    /* fixed desktop height to ensure uniform slide sizing */
    min-height: var(--fixed-slider-height);
}

.culture-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.culture-slide.active {
    opacity: 1;
    visibility: visible;
    /* keep relative so active slide defines content flow on small screens */
    position: relative;
}

.culture-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 100%;
    padding: 20px 0;
}

.culture-slide-text h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.culture-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 30px;
}

/* Culture Items (How We Do) */
.culture-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 30px 0;
}

.culture-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.culture-item:hover {
    background: var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.culture-item > i {
    font-size: 2rem;
    color: var(--color-accent);
    min-width: 40px;
    margin-top: 5px;
}

.culture-item-content h4 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.culture-item-content p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* RISE Values Grid */
.rise-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.rise-value-item {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    text-align: center;
}

.rise-value-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(0, 132, 158, 0.15);
    transform: translateY(-5px);
}

.rise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.rise-value-item:hover .rise-icon {
    transform: rotate(360deg) scale(1.1);
}

.rise-icon i {
    font-size: 1.8rem;
    color: var(--color-white);
}

.rise-value-item h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.rise-value-item p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Equity Highlights */
.equity-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin: 30px 0; */
}

.equity-item {
    display: flex;
    gap: 18px;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.equity-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(0, 132, 158, 0.12);
    transform: translateX(8px);
}

.equity-item > i {
    font-size: 2rem;
    color: var(--color-accent);
    min-width: 45px;
    margin-top: 5px;
}

.equity-content h4 {
    font-size: 1.15rem;
    color: var(--color-dark);
    /* margin-bottom: 8px; */
    font-weight: 600;
}

.equity-content p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* Culture Button */
.btn-culture {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-culture:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 132, 158, 0.3);
}

.btn-culture i {
    transition: transform 0.3s ease;
}

.btn-culture:hover i {
    transform: translateX(5px);
}

/* Culture Slide Image */
.culture-slide-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.culture-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.3) 0%, rgba(0, 132, 158, 0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.culture-slide-image:hover::before {
    opacity: 1;
}

.culture-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.culture-slide-image:hover img {
    transform: scale(1.05);
}

/* Culture Slider Navigation */
.culture-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.culture-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.culture-nav-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.culture-nav-btn.active::before {
    transform: scaleX(1);
}

.culture-nav-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 132, 158, 0.15);
}

.culture-nav-btn.active {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(0, 132, 158, 0.05) 0%, rgba(0, 184, 184, 0.05) 100%);
}

.culture-nav-btn .nav-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    z-index: 1;
}

.culture-nav-btn .nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    z-index: 1;
}

/* Culture Progress Bar */
.culture-progress-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 50px 0 0;
    padding: 0 20px;
}

.culture-progress-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.culture-progress-arrow:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.culture-progress-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--color-border);
    background: var(--color-light-gray);
}

.culture-progress-arrow:disabled:hover {
    transform: none;
    background: var(--color-light-gray);
    color: var(--color-dark);
}

.culture-progress-arrow i {
    font-size: 16px;
}

.culture-progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.culture-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.culture-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-teal) 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.culture-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.culture-progress-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--color-dark);
    min-width: 50px;
    flex-shrink: 0;
}

.progress-current {
    font-size: 1.3rem;
    color: var(--color-accent);
}

.progress-separator {
    font-size: 1rem;
    color: var(--color-gray);
}

.progress-total {
    font-size: 1rem;
    color: var(--color-gray);
}

/* Clientele Section */
.clientele-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    text-align: center;
}

.clientele-section .section-title {
    color: var(--color-white);
}

.clientele-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.clientele-content {
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    /* font-size: 42px; */
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
    text-justify: inter-word;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section .section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: var(--color-white);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-teal);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    /* font-size: 48px; */
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-item {
    padding: 40px 30px;
    background: var(--color-light-gray);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    background: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 132, 158, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-icon i {
    font-size: 36px;
    color: var(--color-white);
}

.service-item h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-item p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(190deg, #00849e 0%, #003d4d 50%, #001a23 100%);
    color: #b0bec5;
    padding: 60px 20px 30px;
    position: relative;
}



.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    background: #ffffff;
    /* padding: 10px; */
    border-radius: 50%;
    display: block;
    /* margin: 0 auto; */
}

/* Footer - when showing only background image and centered logo */
.footer-only-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 60px 20px;
    text-align: center;
}

.footer-only-image .footer-logo {
    margin-bottom: 18px;
}

.footer-only-image .footer-bottom {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-teal);
}

.footer-col h4 a {
    color: var(--color-teal);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-col h4 a:hover {
    opacity: 0.75;
    /* text-decoration: underline; */
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0bec5;
    text-decoration: none;
    transition: all var(--transition-speed);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--color-teal);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--color-teal);
    width: 20px;
}

.footer-contact li a {
    color: #b0bec5 !important;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all var(--transition-speed);
}

.footer-social a:hover {
    background: var(--color-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-text {
        max-width: 90%;
        padding: 40px 45px;
    }

    .anniversary-badge {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
    }

    .anniversary-number {
        font-size: 20px;
    }

    .anniversary-label {
        font-size: 11px;
    }
}

/* Hide mobile sidebar logo on desktop */
.mobile-sidebar-logo {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    /* Prevent body scroll when mobile menu is active */
    body.mobile-menu-active {
        overflow: hidden;
    }

    /* Hide top-header when menu is active - multiple methods for compatibility */
    body.mobile-menu-active .top-header {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    body:has(.nav-menu.active) .top-header {
        display: none !important;
    }

    /* Sidebar Menu for Mobile - Opens from Left (inline-start) */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        flex-direction: column;
        background: #ffffff;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        padding: 0;
        overflow-y: auto;
        z-index: 9999;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu .mobile-sidebar-logo {
        display: block;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile sidebar logo */
    .mobile-sidebar-logo {
        display: none;
        width: 100%;
        text-align: center;
        padding: 20px 0 15px 0;
        /* background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); */
        border-bottom: 2px solid #e8e8e8;
        list-style: none;
    }

    .mobile-sidebar-logo img {
        max-width: 150px;
        height: auto;
        display: inline-block;
    }

    /* Overlay for sidebar */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        /* background: rgba(0, 0, 0, 0.6); */
        z-index: -1;
        backdrop-filter: blur(2px);
    }

    /* Close button styling - make it visible with background */
    .mobile-menu-toggle.active {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10001;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }

    .nav-item > a {
        width: 100%;
        padding: 16px 24px;
        justify-content: space-between;
        color: #2c3e50;
        background: #ffffff;
        transition: all 0.3s ease;
        font-weight: 500;
        font-size: 15px;
    }

    .nav-item > a:hover {
        background: var(--color-light-gray);
        color: var(--color-accent);
        padding-left: 28px;
    }

    .nav-item > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f5f7fa;
        margin: 0;
        padding: 0;
        border: none;
        border-top: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.dropdown-open .dropdown-menu {
        max-height: 500px;
        border-top: 1px solid #e0e0e0;
    }

    .dropdown-menu a {
        padding: 12px 24px 12px 44px;
        font-size: 14px;
        background: #f5f7fa;
        transition: all 0.3s ease;
        color: #5a6c7d;
        font-weight: 400;
        position: relative;
    }

    .dropdown-menu a::before {
        content: '→';
        position: absolute;
        left: 24px;
        color: var(--color-accent);
        opacity: 0;
        transition: opacity 0.3s ease, left 0.3s ease;
    }

    .dropdown-menu a:hover {
        background: #ffffff;
        color: var(--color-accent);
        padding-left: 44px;
    }

    .dropdown-menu a:hover::before {
        opacity: 1;
        left: 28px;
    }

    .nav-item.cta {
        border-bottom: none;
        padding: 0;
        margin-top: auto;
    }

    .nav-item.cta a {
        background: var(--color-accent) !important;
        color: white !important;
        margin: 20px;
        width: calc(100% - 40px);
        text-align: center;
        display: none !important;
        padding: 14px 24px !important;
        font-size: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 168, 194, 0.3);
        font-weight: 600;
    }

    .nav-item.cta a:hover {
        background: #008ca0 !important;
        padding-left: 24px !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 168, 194, 0.4);
    }

    /* Top Header Responsive */
    .top-header {
        font-size: 11px;
        padding: 8px 0;
    }

    .top-header-content {
        flex-direction: row;
        gap: 10px;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }



    .social-links {
        gap: 8px;
        flex-shrink: 0;
        display: flex;
    }

    .social-links a {
        width: 26px;
        height: 26px;
    }

    .social-links i {
        font-size: 11px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-text {
        padding: 30px 25px;
        border-radius: 16px;
        /* background: rgba(0, 26, 46, 0.85); */
    }

    .btn-hero {
        padding: 15px 35px;
        font-size: 15px;
        width: 100%;
    }

    .anniversary-badge {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        gap: 8px;
    }

    .anniversary-icon {
        width: 28px;
        height: 28px;
    }

    .anniversary-icon i {
        font-size: 14px;
    }

    .anniversary-number {
        font-size: 18px;
    }

    .anniversary-label {
        font-size: 10px;
    }

    .stat-number {
        font-size: 48px;
    }

    .slider-controls {
        bottom: 30px;
        gap: 15px;
    }
       .anniversary-badge {
        /* bottom: 10px; */
        right: 10px;
        left: auto;
        /* padding: 6px 12px;
        gap: 6px; */
        /* border-radius: 30px;
        max-width: calc(100% - 20px);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px); */
        /* top: unset; */
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .stats-section .section-title,
    .section-title {
        font-size: 32px;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Top Banner Responsive */
    .top-banner {
        padding: 60px 0;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-description {
        font-size: 16px;
    }

    .banner-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-banner-primary,
    .btn-banner-secondary {
        width: 100%;
        text-align: center;
    }

    /* Consultation Banner Responsive */
    .consultation-banner {
        padding: 50px 0;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .consultation-left {
        max-width: 100%;
    }

    .consultation-title {
        font-size: 28px;
    }

    .consultation-subtitle {
        font-size: 16px;
    }

    .btn-consultation {
        width: 100%;
    }

    .banner-image {
        order: -1;
    }

    .consultation-content {
        flex-direction: column;
        text-align: center;
    }

    .consultation-text h3 {
        font-size: 22px;
    }

    .about-grid,
    .services-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }

    /* Careers Section Responsive */
    .careers-container {
        padding: 0 15px;
    }

    .career-content-block {
        margin-bottom: 50px;
    }

    .career-split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .career-reverse .career-split-layout {
        direction: ltr;
    }

    .career-text-side {
        padding: 40px 25px;
        order: 2;
    }

    .career-image-side {
        order: 1;
        min-height: 300px;
    }

    .career-block-title {
        font-size: 1.8rem;
    }

    .career-block-text {
        font-size: 1rem;
    }

    .career-subtitle {
        font-size: 1.3rem;
    }

    .career-benefits-list li {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .highlight-item {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
    }

    .highlight-item > i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .highlight-content strong {
        font-size: 1rem;
    }

    .highlight-content p {
        font-size: 0.9rem;
    }

    .btn-career {
        width: 100%;
        justify-content: center;
    }

    /* Services Slider Responsive */
    .services-slider-container {
        margin: 40px auto 0;
        padding: 0 15px;
    }

    .services-slider {
        min-height: auto;
        height: auto;
    }

    .service-slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-slide-text h3 {
        font-size: 1.8rem;
    }

    .service-slide-text p {
        font-size: 1rem;
    }

    .btn-service {
        width: 100%;
        justify-content: center;
    }

    .service-slide-image {
        height: 300px;
        order: -1; /* Image appears first on mobile */
    }

    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .competency-item {
        padding: 12px 16px;
    }

    .competency-item i {
        font-size: 1.3rem;
    }

    .competency-item span {
        font-size: 0.9rem;
    }

    .industries-list {
        gap: 10px;
        margin: 20px 0;
    }

    .industry-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .industry-tag i {
        font-size: 0.9rem;
    }

    .services-slider-nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .service-nav-btn {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 20px;
        gap: 15px;
    }

    .nav-number {
        font-size: 1.3rem;
    }

    .nav-title {
        font-size: 0.9rem;
    }

    /* Culture Slider Responsive */
    .culture-slider-container {
        margin: 40px auto 0;
        padding: 0 15px;
    }

    .culture-slider {
        min-height: auto;
        height: auto;
    }

    .culture-slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .culture-slide-text h3 {
        font-size: 1.8rem;
    }

    .culture-intro {
        font-size: 1rem;
    }

    .btn-culture {
        width: 100%;
        justify-content: center;
    }

    .culture-slide-image {
        height: 300px;
        order: -1;
    }

    .culture-items {
        gap: 18px;
    }

    .culture-item {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
    }

    .culture-item > i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .culture-item-content h4 {
        font-size: 1.1rem;
    }

    .culture-item-content p {
        font-size: 0.9rem;
    }

    .rise-values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .rise-value-item {
        padding: 20px;
    }

    .rise-icon {
        width: 60px;
        height: 60px;
    }

    .rise-icon i {
        font-size: 1.5rem;
    }

    .rise-value-item h4 {
        font-size: 1.1rem;
    }

    .rise-value-item p {
        font-size: 0.85rem;
    }

    .equity-highlights {
        gap: 15px;
    }

    .equity-item {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
    }

    .equity-item > i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .equity-content h4 {
        font-size: 1.05rem;
    }

    .equity-content p {
        font-size: 0.9rem;
    }

    .culture-slider-nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .culture-nav-btn {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 20px;
        gap: 15px;
    }

    .culture-nav-btn .nav-number {
        font-size: 1.3rem;
    }

    .culture-nav-btn .nav-title {
        font-size: 0.9rem;
    }

    .culture-progress-container {
        margin: 30px auto 0;
        max-width: 100%;
        gap: 15px;
        padding: 0 10px;
    }

    .culture-progress-arrow {
        width: 40px;
        height: 40px;
    }

    .culture-progress-arrow i {
        font-size: 14px;
    }

    .culture-progress-wrapper {
        gap: 15px;
    }

    .culture-progress-bar {
        height: 5px;
    }

    .progress-current {
        font-size: 1.2rem;
    }

    .progress-separator,
    .progress-total {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Top Header - Stack on very small screens */
    .top-header {
        padding: 6px 0;
    }

    .contact-info {
        flex-direction: row;
        gap: 8px;
        font-size: 11px;
    }

    .social-links a {
        width: 26px;
        height: 26px;
    }

    .social-links i {
        font-size: 11px;
    }

    /* Mobile menu narrower */
    .nav-menu {
        width: 280px;
        max-width: 90%;
    }

    .nav-item > a {
        padding: 16px 20px;
        font-size: 14px;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    /* Logo smaller */
    .logo img {
        height: 50px;
    }

    .btn-consultation {
        margin: 8px 20px;
        width: calc(100% - 40px);
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-text {
        padding: 20px;
    }

    /* Section titles smaller */
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Banner */
    .banner-title {
        font-size: 24px;
    }

    .banner-description {
        font-size: 14px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===========================
   INTERSECTION OBSERVER ANIMATIONS
   =========================== */

/* Base animation states - elements start hidden */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade In Animation */
.fade-in-animation {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-animation.is-visible {
    opacity: 1;
}

/* Slide Up Animation */
.slide-up-animation {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up-animation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Left Animation */
.slide-left-animation {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left-animation.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right Animation */
.slide-right-animation {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right-animation.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In Animation */
.scale-in-animation {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in-animation.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays for child elements */
.stagger-animation > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-animation > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-animation > *:nth-child(8) { transition-delay: 0.8s; }

/* Section headers animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* About cards specific animations */
.about-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.about-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Improve about card image loading */
.about-image {
    overflow: hidden;
}

.about-image img {
    transition: transform 0.5s ease-out;
}

.about-card:hover .about-image img {
    transform: scale(1.05);
}

/* Services section animations */
.services-section .service-slide-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-section .service-slide.active .service-slide-content > * {
    opacity: 1;
    transform: translateY(0);
}

.services-section .service-slide.active .service-slide-text {
    transition-delay: 0.1s;
}

.services-section .service-slide.active .service-slide-image {
    transition-delay: 0.2s;
}

/* Culture section animations */
.culture-slide-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.culture-slide.active .culture-slide-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Career section animations */
.career-content-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-content-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Banner content animation */
.banner-content {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Footer animation */
.footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive animations - reduce motion on mobile */
@media (max-width: 768px) {
    /* Reduce animation distances for mobile */
    .animate-on-scroll,
    .slide-up-animation,
    .slide-left-animation,
    .slide-right-animation,
    .scale-in-animation {
        transform: translateY(20px);
    }

    .slide-up-animation.is-visible,
    .slide-left-animation.is-visible,
    .slide-right-animation.is-visible {
        transform: translateY(0);
    }

    /* Reduce delays on mobile for faster animations */
    .stagger-animation > * {
        transition-delay: 0s !important;
    }

    .about-card,
    .career-content-block,
    .competency-item,
    .industry-tag,
    .culture-item,
    .rise-value-item,
    .equity-item,
    .highlight-item,
    .career-benefits-list li {
        transition-delay: 0s !important;
    }

    /* Faster animations on mobile */
    .fade-in-animation,
    .slide-up-animation,
    .slide-left-animation,
    .slide-right-animation,
    .scale-in-animation {
        transition-duration: 0.5s;
    }

    /* Fix viewport height issues on mobile browsers */
    .hero-section,
    .top-banner {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    /* Ensure smooth scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .fade-in-animation,
    .slide-up-animation,
    .slide-left-animation,
    .slide-right-animation,
    .scale-in-animation,
    .section-header,
    .about-card,
    .career-content-block,
    .footer {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

/* Hover Effects */
a, button {
    cursor: pointer;
}

/* Selection Color */
::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-accent);
    color: var(--color-white);
}

h3 {
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #003d5c !important;
    margin-bottom: 20px !important;
}

.stamp-with-gradient {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 150px;
    height: 150px;
    /* background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 50%, #6b7280 100%); */
    border-radius: 50%;
}

.stamp-with-gradient img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    opacity: 0.9;
}
