/* VAB Website - Advanced Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --light-accent: #63b3ed;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #495057;
    --success-color: #38a169;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    --gradient-light: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-700);
    font-size: 1.1rem;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

/* Advanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mega Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1.5rem 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

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

/* Mega Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.mega-menu-item:hover {
    background: var(--gray-100);
}

.mega-menu-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mega-menu-content h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.mega-menu-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Simple Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 0.8rem;
    transform: translateY(10px);
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--gray-100);
    color: var(--accent-color);
}

.dropdown-link i {
    color: var(--accent-color);
    width: 20px;
}

/* CTA Button */
.nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.8rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.5);
}

.nav-cta-outline {
    background: transparent;
    color: var(--primary-color, #3182ce) !important;
    padding: 0.8rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color, #3182ce);
    transition: var(--transition);
}

.nav-cta-outline:hover {
    background: var(--primary-color, #3182ce);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 50%, #edf2f7 100%);
    padding-top: 80px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(49, 130, 206, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(99, 179, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(49, 130, 206, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 130, 206, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1.hero-title-single {
    white-space: nowrap;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(49, 130, 206, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.stat-text {
    text-align: left;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.5);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1s;
}

.hero-float-card.card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 2s;
}

.float-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.float-content h4 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.float-content p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Certifications Banner */
.certifications-banner {
    background: var(--primary-color);
    padding: 1.5rem 0;
    overflow: hidden;
}

.cert-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.cert-item i {
    background: #fff;
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.cert-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-500);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
}

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

.service-card p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.service-link:hover {
    gap: 12px;
}

/* Strategic Talent Deployment Highlight */
.staff-aug-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.staff-aug-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.staff-aug-content h2 {
    margin-bottom: 1.5rem;
}

.staff-aug-content h2 span {
    color: var(--accent-color);
}

.staff-aug-content > p {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.aug-features {
    display: grid;
    gap: 1.5rem;
}

.aug-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.aug-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.aug-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.aug-feature p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

.staff-aug-image {
    position: relative;
}

.staff-aug-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.aug-stat-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.aug-stat-card.stat-1 {
    top: 10%;
    left: -40px;
}

.aug-stat-card.stat-2 {
    bottom: 15%;
    right: -40px;
    animation-delay: 1.5s;
}

.aug-stat-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

.aug-stat-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Clients Section */
.clients-section {
    background: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.client-card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.client-card:hover {
    background: #fff;
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.client-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.client-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Why Choose Us */
.why-section {
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    background-size: 100px;
}

.why-section .section-header h2,
.why-section .section-header p {
    color: #fff;
}

.why-section .section-badge {
    background: rgba(255,255,255,0.1);
    color: var(--light-accent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.why-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.why-icon.cert-img {
    width: 90px;
    height: 90px;
    padding: 10px;
}

.why-icon.cert-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-card h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.why-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transition: var(--transition);
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(26, 54, 93, 0.98), rgba(26, 54, 93, 0.8));
    padding-bottom: 2rem;
}

.industry-card h4 {
    color: #fff;
    font-size: 1.1rem;
}

.industry-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.industry-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    border-color: transparent;
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-date {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.blog-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info span {
    display: block;
    font-size: 0.85rem;
}

.author-info .author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-info .read-time {
    color: var(--gray-500);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand .logo-text {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.footer-brand p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

/* Page Hero */
.page-hero {
    background: var(--gradient-primary);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    background-size: 80px;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.breadcrumb a:hover {
    color: #fff;
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
}

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

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* 3-up variant — used when there are exactly 3 leadership cards */
.team-grid.team-grid-3up {
    grid-template-columns: repeat(3, 1fr);
    max-width: 880px;
    margin: 0 auto;
    gap: 2rem;
}

@media (max-width: 768px) {
    .team-grid.team-grid-3up {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* Placeholder when a leadership photo file isn't available yet */
.team-image.team-image-placeholder {
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    position: relative;
}

.team-image.team-image-placeholder::after {
    content: attr(data-name);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.team-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Career Section */
.career-grid {
    display: grid;
    gap: 1.5rem;
}

.career-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.career-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.career-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.career-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.career-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.career-meta i {
    color: var(--accent-color);
}

/* Whitepaper Section */
.whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.whitepaper-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.whitepaper-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.whitepaper-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whitepaper-image i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.whitepaper-content {
    padding: 1.5rem;
}

.whitepaper-category {
    display: inline-block;
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.whitepaper-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.whitepaper-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
}

.download-btn:hover {
    gap: 12px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gray-200);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

.timeline-content {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 24px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transform: rotate(-45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.product-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.product-features i {
    color: var(--success-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .staff-aug-grid {
        grid-template-columns: 1fr;
    }

    .staff-aug-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whitepaper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .services-grid,
    .blog-grid,
    .why-grid,
    .industries-grid,
    .products-grid,
    .whitepaper-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Hero Section - Stunning Design */
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero h1 br {
        display: none;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1rem;
        justify-content: flex-start;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Hide orbital system on mobile, show simplified version */
    .orbital-system {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 30px;
    }

    .career-card {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .career-meta {
        justify-content: center;
    }

    /* Mobile Transformation Section */
    .transformation-section {
        padding: 2.5rem 0;
    }

    .transformation-header {
        margin-bottom: 2rem;
    }

    .rotating-text-container {
        flex-direction: column;
        gap: 0;
    }

    .static-text,
    .rotating-words .word {
        font-size: 2rem;
    }

    .rotating-words {
        min-width: 180px;
        height: 1.2em;
    }

    .transformation-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Mobile Trust Section */
    .trust-story-section {
        padding: 2.5rem 0;
    }

    .cert-grid {
        gap: 1rem;
    }

    .cert-card {
        padding: 1rem;
    }

    .cert-logo {
        width: 60px;
        height: 60px;
    }

    .trust-summary-card {
        padding: 1.25rem;
    }

    .trust-cta {
        flex-direction: column;
        align-items: center;
    }

    .trust-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Mobile Staff Aug Section */
    .staff-aug-grid {
        gap: 2rem;
    }

    .staff-aug-image {
        display: none;
    }

    .aug-features {
        gap: 1rem;
    }

    .aug-feature {
        padding: 1rem;
        background: rgba(255,255,255,0.5);
        border-radius: 12px;
    }

    /* Mobile Why Section */
    .why-grid {
        gap: 1rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ================================
   Get Started Modal
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
    color: #fff;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.modal-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.modal-form {
    padding: 2rem;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-form .form-group {
    margin-bottom: 0;
}

.modal-form .form-group.full-width {
    grid-column: span 2;
}

.modal-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.modal-form label i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.1);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: var(--gray-500);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.modal-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-footer-text i {
    color: var(--success-color);
}

/* Modal Success State */
.modal-success {
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38a169, #48bb78);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-success h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-success p {
    color: var(--gray-700);
    margin-bottom: 2rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
        border-radius: 20px;
    }

    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 20px 20px 0 0;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-form {
        padding: 1.5rem;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-form .form-group.full-width {
        grid-column: span 1;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

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

    .section-header p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .mosaic-card {
        height: 180px;
    }

    .mosaic-large {
        height: 250px;
    }

    .overlay-content h3 {
        font-size: 1.1rem;
    }

    .mosaic-large .overlay-content h3 {
        font-size: 1.3rem;
    }

    .transformation-links {
        gap: 0.3rem;
    }

    .transform-link {
        padding: 0.75rem;
    }

    .transform-link span {
        font-size: 0.9rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        padding: 1.25rem;
    }

    .blog-card .blog-content {
        padding: 1rem;
    }

    .blog-card h3 {
        font-size: 1rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        gap: 2rem;
    }
}

/* Mobile Navigation */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.nav-menu.active .nav-item {
    width: 100%;
}

.nav-menu.active .nav-link {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.nav-menu.active .mega-menu,
.nav-menu.active .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    grid-template-columns: 1fr;
    min-width: 100%;
}

.nav-menu.active .nav-item:hover .mega-menu,
.nav-menu.active .nav-item:hover .dropdown {
    display: grid;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Trust & Certifications Section - Compact Grid
   ================================ */
.trust-story-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.trust-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.trust-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.trust-header p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* 2x2 Certification Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cert-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.cert-icon.iso-quality {
    background: linear-gradient(135deg, #3182ce, #2c5282);
}

.cert-icon.iso-security {
    background: linear-gradient(135deg, #38a169, #276749);
}

.cert-icon.cmmi {
    background: linear-gradient(135deg, #805ad5, #553c9a);
}

.cert-icon.pci {
    background: linear-gradient(135deg, #dd6b20, #c05621);
}

.cert-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 8px;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-info {
    flex: 1;
}

.cert-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.cert-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
}

/* Trust Summary - Fixed Text Visibility */
.trust-summary {
    margin-top: 2.5rem;
    text-align: center;
}

.trust-summary-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 50px rgba(26, 54, 93, 0.25);
}

@media (max-width: 768px) {
    .trust-summary-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

.summary-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.summary-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.summary-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.trust-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Animation classes */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Trust card visible state */
.trust-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Typing effect for headers */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Glow effect on hover for trust content */
.trust-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color), var(--accent-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-content {
    position: relative;
}

.trust-content:hover::before {
    opacity: 0.1;
}

/* Floating animation for trust icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.trust-icon {
    animation: float 3s ease-in-out infinite;
}

.trust-card:nth-child(2) .trust-icon { animation-delay: 0.5s; }
.trust-card:nth-child(3) .trust-icon { animation-delay: 1s; }
.trust-card:nth-child(4) .trust-icon { animation-delay: 1.5s; }
.trust-card:nth-child(5) .trust-icon { animation-delay: 2s; }

/* Counter animation for certification numbers */
.cert-counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
}

/* Badge shine effect */
.trust-badge {
    position: relative;
    overflow: hidden;
}

.trust-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Progress bar animation */
.trust-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.trust-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

.trust-card.visible .trust-progress-bar {
    width: 100%;
}

/* ================================
   Orbital Animation System - Clean Design (2 Orbits)
   ================================ */
.orbital-system {
    position: relative;
    width: 580px;
    height: 580px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .orbital-system {
        width: 480px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .orbital-system {
        width: 340px;
        height: 340px;
        margin-top: 2rem;
    }
}

/* Central Logo */
.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(49, 130, 206, 0.3), 0 0 100px rgba(49, 130, 206, 0.1);
    border: 3px solid rgba(49, 130, 206, 0.1);
}

@media (max-width: 768px) {
    .orbital-center {
        width: 80px;
        height: 80px;
    }
}

.orbital-center img {
    width: 65%;
    height: auto;
    object-fit: contain;
}

.center-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.15) 0%, transparent 70%);
    animation: centerGlow 4s ease-in-out infinite;
}

@keyframes centerGlow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.center-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(49, 130, 206, 0.3);
    animation: centerPulse 3s ease-out infinite;
}

@keyframes centerPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Orbit Rings */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(49, 130, 206, 0.15);
}

/* Orbit 1 - Inner (Services) */
.orbit-1 {
    width: 280px;
    height: 280px;
    animation: rotateOrbit 80s linear infinite;
}

.orbit-1 .orbit-ring {
    border: 2px solid rgba(49, 130, 206, 0.12);
}

@media (max-width: 768px) {
    .orbit-1 { width: 180px; height: 180px; }
}

/* Orbit 2 - Outer (Products) */
.orbit-2 {
    width: 480px;
    height: 480px;
    animation: rotateOrbit 120s linear infinite reverse;
}

.orbit-2 .orbit-ring {
    border: 2px dashed rgba(49, 130, 206, 0.1);
}

@media (max-width: 1200px) {
    .orbit-2 { width: 420px; height: 420px; }
}

@media (max-width: 768px) {
    .orbit-2 { width: 300px; height: 300px; }
}

@keyframes rotateOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit Items - Cleaner Design */
.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Counter-rotate items to keep them upright */
.orbit-1 .orbit-item {
    animation: counterRotate1 80s linear infinite;
}

.orbit-2 .orbit-item {
    animation: counterRotate2 120s linear infinite reverse;
}

@keyframes counterRotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes counterRotate2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item:hover {
    z-index: 20;
}

.orbit-item:hover .orbit-icon {
    transform: scale(1.2);
    box-shadow: 0 10px 35px rgba(49, 130, 206, 0.4);
}

/* Bigger Icon Design */
.orbit-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(49, 130, 206, 0.15);
}

@media (max-width: 768px) {
    .orbit-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Clean Labels */
.orbit-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-700);
    background: white;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .orbit-item span {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Orbit 1 - 4 items (Services) evenly spaced */
.orbit-1 .item-1 { top: -26px; left: 50%; margin-left: -26px; }
.orbit-1 .item-2 { top: 50%; right: -26px; margin-top: -26px; }
.orbit-1 .item-3 { bottom: -26px; left: 50%; margin-left: -26px; }
.orbit-1 .item-4 { top: 50%; left: -26px; margin-top: -26px; }

/* Orbit 2 - 4 items (Products) evenly spaced */
.orbit-2 .item-1 { top: -26px; left: 50%; margin-left: -26px; }
.orbit-2 .item-2 { top: 50%; right: -26px; margin-top: -26px; }
.orbit-2 .item-3 { bottom: -26px; left: 50%; margin-left: -26px; }
.orbit-2 .item-4 { top: 50%; left: -26px; margin-top: -26px; }

/* Tooltip - Cleaner */
.orbit-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.orbit-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -38px;
}

/* Color Accents for Orbit 1 (Services) */
.orbit-1 .item-1 .orbit-icon { color: #e53e3e; border-color: rgba(229, 62, 62, 0.25); }
.orbit-1 .item-2 .orbit-icon { color: #ed8936; border-color: rgba(237, 137, 54, 0.25); }
.orbit-1 .item-3 .orbit-icon { color: #3182ce; border-color: rgba(49, 130, 206, 0.25); }
.orbit-1 .item-4 .orbit-icon { color: #805ad5; border-color: rgba(128, 90, 213, 0.25); }

/* Color Accents for Orbit 2 (Products) */
.orbit-2 .item-1 .orbit-icon { color: #e53e3e; border-color: rgba(229, 62, 62, 0.25); }
.orbit-2 .item-2 .orbit-icon { color: #38a169; border-color: rgba(56, 161, 105, 0.25); }
.orbit-2 .item-3 .orbit-icon { color: #d53f8c; border-color: rgba(213, 63, 140, 0.25); }
.orbit-2 .item-4 .orbit-icon { color: #ed8936; border-color: rgba(237, 137, 54, 0.25); }

/* Subtle Floating Particles */
.orbital-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbital-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 10s ease-in-out infinite;
}

.orbital-particles span:nth-child(1) { top: 15%; left: 25%; animation-delay: 0s; }
.orbital-particles span:nth-child(2) { top: 25%; right: 20%; animation-delay: 2s; }
.orbital-particles span:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 4s; }
.orbital-particles span:nth-child(4) { top: 55%; right: 30%; animation-delay: 6s; }
.orbital-particles span:nth-child(5) { bottom: 35%; left: 35%; animation-delay: 8s; }
.orbital-particles span:nth-child(6) { top: 75%; right: 40%; animation-delay: 3s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-15px) scale(1.3);
        opacity: 0.5;
    }
}

/* Pause animation on hover - smooth */
.orbital-system:hover .orbit {
    animation-play-state: paused;
}

.orbital-system:hover .orbit-item {
    animation-play-state: paused;
}

/* Remove cluttered connection lines */
.orbital-center::before {
    display: none;
}

/* Hero image section replacement */
.hero-image {
    display: none;
}

/* Make sure orbital system shows in hero */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .orbital-system {
        order: -1;
    }
}

/* ================================
   Digital Transformation Mosaic Section
   ================================ */
.transformation-section {
    padding: 3.25rem 0 3.5rem;
    background: #ffffff;
}

.transformation-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Rotating Text Animation */
.rotating-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.static-text {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 300;
    color: var(--dark-color);
    font-family: 'Georgia', serif;
    line-height: 1.2;
}

.rotating-words {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 240px;
    height: 1.3em;
    overflow: visible;
}

.rotating-words .word {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    line-height: 1.2;
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.rotating-words .word.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-words .word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.transformation-subtitle {
    font-size: 0.95rem;
    color: var(--gray-700);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Mosaic Grid Layout */
.mosaic-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: 1080px;
    margin: 0 auto;
    height: 440px;
    border-radius: 14px;
    overflow: hidden;
}

/* Large card spans 2 rows */
.mosaic-large {
    grid-row: span 2;
}

/* Mosaic Card Styles */
.mosaic-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #0a0e1a;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-card:hover img {
    transform: scale(1.06);
}

/* Overlay Styles — lighter so the image stays visible */
.mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(
        to top,
        rgba(10, 14, 26, 0.85) 0%,
        rgba(10, 14, 26, 0.45) 35%,
        rgba(10, 14, 26, 0.1) 65%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.mosaic-card:hover .mosaic-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 14, 26, 0.9) 0%,
        rgba(10, 14, 26, 0.55) 50%,
        rgba(10, 14, 26, 0.2) 100%
    );
}

.overlay-content h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    letter-spacing: -0.005em;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.mosaic-large .overlay-content h3 {
    font-size: 1.7rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease 0.1s;
    max-width: 250px;
}

.mosaic-large .overlay-content p {
    font-size: 0.9rem;
    max-width: 320px;
}

.mosaic-card:hover .overlay-content p {
    opacity: 1;
    transform: translateY(0);
}

.mosaic-card:hover .overlay-content h3 {
    transform: translateY(-5px);
}

/* Overlay Icon */
.overlay-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.8) rotate(-20deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.mosaic-card:hover .overlay-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Transformation Quick Links */
.transformation-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.transform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    text-decoration: none;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.transform-link span {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.transform-link i {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.transform-link:hover {
    color: var(--accent-color);
}

.transform-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

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

.transform-link:hover::after {
    width: 60%;
}

/* Responsive Mosaic */
@media (max-width: 992px) {
    .mosaic-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 0.5rem;
    }

    .mosaic-large {
        grid-row: span 1;
        grid-column: span 2;
    }

    .mosaic-card {
        height: 250px;
    }

    .mosaic-large {
        height: 350px;
    }

    .transformation-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .transformation-section {
        padding: 3rem 0;
    }

    .mosaic-grid {
        grid-template-columns: 1fr;
    }

    .mosaic-large {
        grid-column: span 1;
    }

    .mosaic-card {
        height: 220px;
    }

    .mosaic-large {
        height: 300px;
    }

    .transformation-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .overlay-content h3 {
        font-size: 1.3rem;
    }

    .mosaic-large .overlay-content h3 {
        font-size: 1.5rem;
    }

    .mosaic-overlay {
        padding: 1.5rem;
    }
}

/* ================================
   Hero — Full-bleed banner slideshow
   Only addition kept on top of the original zip styles.
   ================================ */
.hero.hero--banners {
    position: relative;
    width: 100%;
    padding: 0;
    padding-top: 80px;
    min-height: auto;
    background: #ffffff;
    overflow: hidden;
    display: block;
}

.hero.hero--banners .hero-bg-pattern,
.hero.hero--banners .hero-grid {
    display: none;
}

.hero.hero--banners .hero-banner-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1370 / 600;
    max-height: calc(100vh - 80px);
}

.hero.hero--banners .hero-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.hero--banners .hero-banner-slide.active {
    opacity: 1;
}

.hero.hero--banners .hero-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .hero.hero--banners .hero-banner-track {
        aspect-ratio: 1370 / 600;
    }
}

/* ================================
   Core Team page
   ================================ */

/* Featured CEO section */
.team-featured-section {
    padding: 3.5rem 0 1.5rem;
    background: #ffffff;
}

.team-featured {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
}

.team-featured-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
}

.team-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-featured-media.is-placeholder::after {
    content: 'Founder & CEO';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-featured-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-color, #3182ce);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.team-featured-name {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-color, #1a365d);
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0 0 0.85rem;
}

.team-featured-bio {
    font-size: 0.95rem;
    color: var(--gray-700, #4a5568);
    line-height: 1.7;
    margin: 0 0 1rem;
    max-width: 560px;
}

.team-featured-bio:last-of-type {
    margin-bottom: 1.5rem;
}

.team-featured-quote {
    margin: 0;
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--accent-color, #3182ce);
    background: linear-gradient(90deg, rgba(49, 130, 206, 0.06) 0%, rgba(49, 130, 206, 0) 100%);
    border-radius: 0 8px 8px 0;
    max-width: 560px;
}

.team-featured-quote-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--accent-color, #3182ce);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.team-featured-quote p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--primary-color, #1a365d);
    line-height: 1.55;
    font-style: italic;
    font-weight: 500;
}

@media (max-width: 768px) {
    .team-featured {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 460px;
    }
    .team-featured-media {
        max-width: 280px;
        margin: 0 auto;
    }
    .team-featured-content {
        align-items: center;
        text-align: center;
    }
    .team-featured-bio {
        text-align: center;
    }
}

/* Sub-header above the rest of the team */
.team-subheader {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto 2rem;
}

.team-subheader h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-500, #718096);
    margin: 0;
    flex-shrink: 0;
}

.team-subheader-rule {
    flex: 1;
    height: 1px;
    background: rgba(10, 14, 26, 0.1);
}

/* Team grid */
.gallery-section {
    padding: 2.5rem 0 4.5rem;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

.gallery-grid.team-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem 1rem;
}

/* 4-up team grid with clear breathing room between cards */
.gallery-grid.team-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem 1.5rem;
}

/* 3-up variant (overrides team-grid-4 when both classes are present) */
.gallery-grid.team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
    margin: 0 auto;
}

/* Each item becomes a visible card with padding + border + hover lift */
.team-grid-4 .gallery-item {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(10, 14, 26, 0.08);
    border-radius: 16px;
    padding: 0.85rem 0.85rem 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

/* "Click to view" hint on hover (skipped on placeholder cards) */
.team-grid-4 .gallery-item:not(.is-placeholder)::after {
    content: 'Click to view';
    position: absolute;
    top: 1.1rem;
    left: 50%;
    transform: translate(-50%, -8px);
    padding: 0.35rem 0.75rem;
    background: rgba(10, 14, 26, 0.85);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    z-index: 2;
}

.team-grid-4 .gallery-item:not(.is-placeholder):hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.team-grid-4 .gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(49, 130, 206, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.team-grid-4 .gallery-item.is-placeholder:hover {
    transform: none;
    border-color: rgba(10, 14, 26, 0.08);
    box-shadow: none;
}

.team-grid-4 .gallery-item img,
.team-grid-4 .gallery-item.is-placeholder::before {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    box-shadow: none;
    object-position: center 20%;
}

.team-grid-4 .gallery-caption {
    margin: 0.85rem 0 0.1rem;
    padding: 0 0.15rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color, #1a365d);
    line-height: 1.35;
}

.team-grid-4 .gallery-item:hover .gallery-caption {
    color: var(--accent-color, #3182ce);
}

@media (max-width: 992px) {
    .gallery-grid,
    .gallery-grid.team-grid-5,
    .gallery-grid.team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid,
    .gallery-grid.team-grid-5,
    .gallery-grid.team-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* View all team button */
.team-view-all-wrap {
    margin-top: 2.5rem;
    text-align: center;
}

.team-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary-color, #1a365d);
    color: #ffffff;
    border: 1px solid var(--primary-color, #1a365d);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-view-all-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.team-view-all-btn:hover {
    background: transparent;
    color: var(--primary-color, #1a365d);
}

.team-view-all-btn:hover i {
    transform: translateX(4px);
}

/* Back-link on the team page */
.team-page-back {
    padding-top: 2.5rem;
}

.team-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700, #4a5568);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-back-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.team-back-link:hover {
    color: var(--accent-color, #3182ce);
}

.team-back-link:hover i {
    transform: translateX(-4px);
}

.team-all-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.team-all-section:last-of-type {
    padding-bottom: 4.5rem;
}

.gallery-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
}

/* Image wrapper — uses ::before for the image background */
.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.45s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team-5 grid uses square portrait crops */
.team-grid-5 .gallery-item img,
.team-grid-5 .gallery-item.is-placeholder::before {
    aspect-ratio: 1 / 1;
}

.team-grid-5 .gallery-caption {
    font-size: 0.78rem;
    margin-top: 0.7rem;
    line-height: 1.35;
}

.gallery-item:hover img {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.gallery-caption {
    margin-top: 0.85rem;
    padding: 0 0.15rem;
    color: var(--primary-color, #1a365d);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    text-align: left;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    color: var(--accent-color, #3182ce);
}

/* Placeholder state when no image file exists yet */
.gallery-item.is-placeholder {
    cursor: default;
}

.gallery-item.is-placeholder::before {
    content: attr(data-caption);
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-item.is-placeholder:hover {
    transform: none;
}

.gallery-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.gallery-note code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.78rem;
}

/* ===== Lightbox ===== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 24, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    animation: gallery-lightbox-fade 0.25s ease;
}

.gallery-lightbox[hidden] {
    display: none;
}

@keyframes gallery-lightbox-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.gallery-lightbox-figure {
    margin: 0;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-figure figcaption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.06);
}

.gallery-lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
}

.gallery-lightbox-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.7rem;
}

.gallery-lightbox-prev:hover {
    transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.7rem;
}

.gallery-lightbox-next:hover {
    transform: translateY(-50%) scale(1.06);
}

@media (max-width: 560px) {
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}

/* ================================
   Team Profile Modal
   ================================ */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: team-modal-fade 0.25s ease;
}

.team-modal[hidden] {
    display: none;
}

@keyframes team-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.team-modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    width: 100%;
    max-width: 880px;
    max-height: 88vh;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: team-modal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes team-modal-pop {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.team-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(10, 14, 26, 0.15);
    background: #ffffff;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary-color, #1a365d);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.team-modal-close:hover {
    background: var(--primary-color, #1a365d);
    color: #ffffff;
    border-color: var(--primary-color, #1a365d);
    transform: scale(1.06);
}

.team-modal-media {
    position: relative;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    overflow: hidden;
    min-height: 100%;
}

.team-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.team-modal-media-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
}

.team-modal-content {
    padding: 2rem 2rem 2rem;
    overflow-y: auto;
    max-height: 88vh;
}

.team-modal-eyebrow {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--accent-color, #3182ce);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.team-modal-name {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--primary-color, #1a365d);
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.team-modal-bio p {
    font-size: 0.92rem;
    color: var(--gray-700, #4a5568);
    line-height: 1.65;
    margin: 0 0 0.75rem;
}

.team-modal-bio p:last-child {
    margin-bottom: 1.1rem;
}

.team-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.team-modal-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--gray-700, #4a5568);
    background: rgba(49, 130, 206, 0.08);
    border: 1px solid rgba(49, 130, 206, 0.18);
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.team-modal-quote {
    margin: 0 0 1.2rem;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid var(--accent-color, #3182ce);
    background: linear-gradient(90deg, rgba(49, 130, 206, 0.06) 0%, rgba(49, 130, 206, 0) 100%);
    border-radius: 0 6px 6px 0;
}

.team-modal-quote-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--accent-color, #3182ce);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.team-modal-quote p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--primary-color, #1a365d);
    line-height: 1.55;
    font-style: italic;
    font-weight: 500;
}

.team-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    background: #0a66c2;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.team-modal-link i {
    font-size: 0.85rem;
}

.team-modal-link:hover {
    background: #084d92;
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .team-modal-card {
        grid-template-columns: 1fr;
        max-height: 92vh;
    }

    .team-modal-media {
        min-height: 240px;
        max-height: 280px;
    }

    .team-modal-content {
        padding: 1.5rem 1.25rem 1.5rem;
    }
}

/* ================================
   Life at VAB page
   ================================ */
.life-intro-section {
    padding: 3rem 0 2.5rem;
    background: #ffffff;
}

.life-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.life-intro-item {
    text-align: left;
    padding: 0.5rem 0;
}

.life-intro-num {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-color, #3182ce);
    letter-spacing: 0.22em;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.life-intro-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color, #1a365d);
    margin: 0 0 0.4rem;
    letter-spacing: -0.005em;
}

.life-intro-item p {
    font-size: 0.85rem;
    color: var(--gray-700, #4a5568);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .life-intro {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.life-gallery-section {
    padding: 2.5rem 0 4.5rem;
    background: #ffffff;
}

.life-subheader {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto 1.75rem;
}

.life-subheader h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-500, #718096);
    margin: 0;
    flex-shrink: 0;
}

.life-subheader-rule {
    flex: 1;
    height: 1px;
    background: rgba(10, 14, 26, 0.1);
}

/* Mixed-size gallery — 4 cols, wide slots span 2 cols */
.life-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

.life-card {
    position: relative;
    margin: 0;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
}

.life-card.life-card-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
}

.life-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.life-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.life-card.is-placeholder {
    cursor: default;
}

.life-card.is-placeholder::after {
    content: attr(data-caption);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
}

.life-card.is-placeholder:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.life-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.1rem 1rem 0.9rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.life-card:hover .life-caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .life-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .life-card.life-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .life-gallery {
        grid-template-columns: 1fr;
    }
    .life-card.life-card-wide {
        grid-column: span 1;
    }
}

/* Lightbox */
.life-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(8, 12, 24, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    animation: life-fade 0.25s ease;
}

.life-lightbox[hidden] {
    display: none;
}

@keyframes life-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.life-lightbox-figure {
    margin: 0;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}

.life-lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.life-lightbox-figure figcaption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.life-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.life-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.06);
}

/* Product card image placeholder (shows when src missing) */
.product-image.product-image-fallback {
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    position: relative;
    min-height: 200px;
}

.product-image.product-image-fallback::before {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 1rem;
    pointer-events: none;
}

/* When the image successfully loads, it stacks above the ::before label */
.product-image.product-image-fallback img {
    position: relative;
    z-index: 1;
}

/* ================================
   Client Logo Wall (Our Global Clients)
   ================================ */
.clients-grid.clients-logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
}

.client-logo-tile {
    background: #ffffff;
    border: 1px solid rgba(10, 14, 26, 0.08);
    border-radius: 12px;
    padding: 1.4rem 1.2rem;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.35s ease;
}

.client-logo-tile:hover {
    border-color: rgba(49, 130, 206, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.client-logo-tile img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .clients-grid.clients-logo-wall {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .clients-grid.clients-logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .client-logo-tile {
        height: 90px;
        padding: 1rem 0.85rem;
    }
}

/* ================================
   COMPREHENSIVE MOBILE RESPONSIVE PASS
   Covers all sections built in this redesign for ≤768px and ≤480px.
   ================================ */

/* Mobile nav: tap-to-expand replaces hover */
@media (max-width: 992px) {
    /* Hide all dropdowns by default in the mobile drawer */
    .nav-menu.active .nav-item .dropdown,
    .nav-menu.active .nav-item .mega-menu {
        display: none !important;
    }
    /* Show only when item has .is-open class (toggled by JS on tap) */
    .nav-menu.active .nav-item.is-open .dropdown,
    .nav-menu.active .nav-item.is-open .mega-menu {
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0.25rem 0 0.5rem 0.75rem !important;
        background: transparent !important;
    }
    /* Submenu items get visible tap targets */
    .nav-menu.active .dropdown-link,
    .nav-menu.active .mega-menu-item {
        display: flex !important;
        align-items: center;
        gap: 0.65rem;
        padding: 0.75rem 0.75rem !important;
        font-size: 0.88rem;
        color: var(--gray-700);
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    .nav-menu.active .dropdown-link:last-child,
    .nav-menu.active .mega-menu-item:last-child {
        border-bottom: none;
    }
    .nav-menu.active .mega-menu-icon {
        flex-shrink: 0;
    }
    /* Chevron flip on open */
    .nav-menu.active .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    .nav-menu.active .nav-link .fa-chevron-down {
        transition: transform 0.25s ease;
        margin-left: auto;
    }
    .nav-menu.active .nav-item.is-open > .nav-link .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Tighter container on small screens */
@media (max-width: 640px) {
    .container,
    .nav-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Hero banner slideshow stays full-bleed; aspect handled by .hero--banners rules */

    /* Solutions / Expertise mosaic */
    .transformation-section {
        padding: 2.25rem 0 2.5rem;
    }
    .transformation-header {
        margin-bottom: 1.25rem;
    }
    .static-text,
    .rotating-words .word {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }
    .rotating-words {
        min-width: 180px;
    }
    .rotating-text-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .transformation-subtitle {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 6px;
    }
    .mosaic-large {
        grid-row: auto;
        grid-column: auto;
    }
    .mosaic-card {
        min-height: 200px;
    }
    .mosaic-overlay {
        padding: 1.1rem;
    }
    .overlay-content h3,
    .mosaic-large .overlay-content h3 {
        font-size: 1.05rem;
    }
    .overlay-content p,
    .mosaic-large .overlay-content p {
        font-size: 0.75rem;
        max-width: none;
    }
    .transformation-links {
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .transform-link {
        padding: 0.6rem 0.75rem;
    }

    /* Trust / Certifications strip */
    .trust-story-section {
        padding: 2.5rem 0 2.25rem;
    }
    .cert-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.25rem 0;
    }
    .cert-cell {
        border-right: 1px solid rgba(10, 14, 26, 0.06);
        border-bottom: 1px solid rgba(10, 14, 26, 0.06);
        padding: 1rem 0.75rem;
    }
    .cert-cell:nth-child(2n) {
        border-right: none;
    }
    .cert-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .trust-outro {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    /* Why companies choose us */
    .why-section {
        padding: 2rem 0 2.25rem;
    }
    .why-header {
        margin-bottom: 1.25rem;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-card {
        border-right: 1px solid rgba(10, 14, 26, 0.1);
        border-bottom: 1px solid rgba(10, 14, 26, 0.1);
        padding: 1.1rem 0.9rem 1rem;
    }
    .why-card:nth-child(2n) {
        border-right: none;
    }
    .why-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* Critical Niche Experts / Talent */
    .staff-aug-section {
        padding: 2.25rem 0 2.5rem;
    }
    .staff-aug-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .staff-aug-feature {
        border-right: 1px solid rgba(10, 14, 26, 0.1);
        border-bottom: 1px solid rgba(10, 14, 26, 0.1);
    }
    .staff-aug-feature:nth-child(2n) {
        border-right: none;
    }
    .staff-aug-feature:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .staff-aug-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Services (Comprehensive Tech Solutions) */
    .services-section {
        padding: 2.25rem 0 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.1) !important;
    }
    .service-card:last-child {
        border-bottom: none !important;
    }
    .services-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Clients logo wall */
    .clients-section {
        padding: 2rem 0 2.25rem;
    }
    .clients-grid.clients-logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .client-logo-tile {
        height: 90px;
        padding: 0.85rem;
    }

    /* CTA section */
    .cta-section {
        padding: 2.5rem 0;
    }
    .cta-content h2 {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }
    .cta-content p {
        font-size: 0.9rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* Featured CEO card (Leadership page) */
    .team-featured {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 420px;
    }
    .team-featured-media {
        max-width: 240px;
        margin: 0 auto;
    }
    .team-featured-content {
        align-items: flex-start;
        text-align: left;
    }
    .team-featured-quote {
        max-width: none;
    }

    /* Life at VAB intro */
    .life-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .life-intro-section {
        padding: 2rem 0 1.5rem;
    }
    .life-gallery-section {
        padding: 1.75rem 0 3rem;
    }

    /* Page hero (about, gallery, team, life-at-vab, products) */
    .page-hero {
        padding: 6rem 0 2.5rem;
    }
    .page-hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    /* Team modal — already responsive at 720px but tighten further */
    .team-modal {
        padding: 1rem;
    }
    .team-modal-content {
        padding: 1.25rem 1rem 1.25rem;
    }
    .team-modal-name {
        font-size: 1.35rem;
    }
    .team-modal-bio p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Hero rotating headline */
    .static-text,
    .rotating-words .word {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
    }
    .rotating-words {
        min-width: 150px;
    }

    /* Single-col fallback for cert and team grids */
    .cert-strip,
    .why-grid,
    .staff-aug-grid {
        grid-template-columns: 1fr;
    }
    .cert-cell,
    .why-card,
    .staff-aug-feature {
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.08) !important;
    }
    .cert-cell:last-child,
    .why-card:last-child,
    .staff-aug-feature:last-child {
        border-bottom: none !important;
    }

    /* Clients logo wall: 2-col but tighter */
    .client-logo-tile {
        height: 78px;
        padding: 0.7rem;
    }

    /* Tighten the page hero header on very small screens */
    .page-hero {
        padding: 5.5rem 0 2rem;
    }
}

/* Prevent horizontal scroll across any screen size */
html, body {
    overflow-x: hidden;
}

/* ================================
   MOBILE-FIRST FULL OVERHAUL (≤640px)
   Strong overrides that make every section sit cleanly on a phone.
   ================================ */
@media (max-width: 640px) {

    /* === Container & body === */
    .container,
    .nav-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    section {
        overflow: hidden;
    }

    /* === Navigation === */
    .navbar {
        height: auto;
    }
    .nav-container {
        height: 64px;
    }
    .logo img {
        height: 36px;
    }
    .nav-menu.active {
        top: 64px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    /* === Hero banner — keep natural 1370:600 wide aspect so banners stay whole === */
    .hero.hero--banners {
        padding-top: 64px;
    }
    .hero.hero--banners .hero-banner-track {
        aspect-ratio: 1370 / 600 !important;
        min-height: 160px;
        max-height: none !important;
    }
    .hero.hero--banners .hero-banner-slide img {
        object-fit: cover !important;
        object-position: center !important;
    }

    /* === Page hero === */
    .page-hero {
        padding: 5rem 0 1.75rem !important;
        text-align: center;
    }
    .page-hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem;
    }
    .page-hero p {
        font-size: 0.9rem !important;
    }
    .breadcrumb {
        font-size: 0.75rem !important;
        justify-content: center;
    }

    /* === Universal single column (only for non-swipeable sections) === */
    .cert-strip,
    .cert-grid,
    .blog-grid,
    .products-grid,
    .whitepaper-grid,
    .life-intro,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
        height: auto !important;
    }

    /* === Horizontal swipe carousels for multi-card sections === */
    .mosaic-grid,
    .why-grid,
    .staff-aug-grid,
    .services-grid,
    .industries-grid {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        height: auto !important;
        gap: 0.75rem !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 1rem 0.75rem;
        margin: 0 -1rem;
        border-radius: 0;
        scrollbar-width: none;
        border: none !important;
        background: transparent !important;
    }
    .mosaic-grid::-webkit-scrollbar,
    .why-grid::-webkit-scrollbar,
    .staff-aug-grid::-webkit-scrollbar,
    .services-grid::-webkit-scrollbar,
    .industries-grid::-webkit-scrollbar {
        display: none;
    }

    /* Each card becomes a snap-point taking ~82% of viewport with equal height */
    .mosaic-grid > *,
    .why-grid > *,
    .staff-aug-grid > *,
    .services-grid > *,
    .industries-grid > * {
        flex: 0 0 82% !important;
        scroll-snap-align: center;
        max-width: 82%;
        border-right: 1px solid rgba(10, 14, 26, 0.1) !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.1) !important;
        border-radius: 12px !important;
    }

    /* Mosaic cards: all forced equal — large card behaves identically to others */
    .mosaic-card,
    .mosaic-large,
    .mosaic-card.mosaic-large {
        flex: 0 0 82% !important;
        max-width: 82%;
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
        grid-column: auto !important;
        grid-row: auto !important;
        background: #0a0e1a;
    }

    /* Make sure the image inside each mosaic card respects the equal box */
    .mosaic-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* === Transformation links: one horizontal line with underlines === */
    .transformation-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding-top: 1.25rem !important;
        margin-top: 1.5rem !important;
        border-top: 1px solid rgba(10, 14, 26, 0.1);
        overflow-x: auto;
        scrollbar-width: none;
    }
    .transformation-links::-webkit-scrollbar {
        display: none;
    }
    .transform-link {
        flex: 0 0 auto !important;
        flex-direction: row !important;
        width: auto !important;
        padding: 0.25rem 0.1rem !important;
        border-right: none !important;
        border-bottom: 1px solid currentColor !important;
        justify-content: flex-start !important;
        gap: 0.3rem;
    }
    .transform-link span {
        font-size: 0.7rem !important;
        font-weight: 600;
        white-space: nowrap;
    }
    .transform-link i {
        display: none !important;
    }


    /* === Team grids: 2 columns on mobile (headshots stay compact) === */
    .gallery-grid,
    .gallery-grid.team-grid-3,
    .gallery-grid.team-grid-4,
    .gallery-grid.team-grid-5,
    .team-grid,
    .team-grid.team-grid-3up,
    .life-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        max-width: 100% !important;
    }

    .mosaic-large,
    .life-card.life-card-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* === Section padding compact === */
    .transformation-section,
    .trust-story-section,
    .why-section,
    .staff-aug-section,
    .services-section,
    .clients-section,
    .life-intro-section,
    .life-gallery-section,
    .cta-section,
    .section {
        padding-top: 2rem !important;
        padding-bottom: 2.25rem !important;
    }

    /* === Editorial section headers === */
    .transformation-header,
    .trust-intro-wrap,
    .why-header,
    .staff-aug-header,
    .services-header,
    .clients-header,
    .section-header {
        margin-bottom: 1.5rem !important;
        text-align: center;
    }
    .trust-title,
    .why-title,
    .staff-aug-title,
    .services-title,
    .clients-title,
    .section-header h2 {
        font-size: 1.4rem !important;
        line-height: 1.25;
    }
    .trust-lede,
    .why-lede,
    .staff-aug-lede,
    .services-lede,
    .clients-lede,
    .section-header p {
        font-size: 0.85rem !important;
        padding: 0;
        max-width: 100%;
    }

    /* === Solutions mosaic === */
    .static-text,
    .rotating-words .word {
        font-size: 1.5rem !important;
    }
    .rotating-words {
        min-width: 130px !important;
        height: 1.2em !important;
    }
    .rotating-text-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    .transformation-subtitle {
        font-size: 0.85rem !important;
        padding: 0;
    }
    .mosaic-card {
        min-height: 220px;
        border-radius: 10px;
    }
    .mosaic-grid {
        border-radius: 10px;
    }
    .overlay-content h3,
    .mosaic-large .overlay-content h3 {
        font-size: 1.05rem !important;
    }
    .overlay-content p,
    .mosaic-large .overlay-content p {
        font-size: 0.78rem !important;
        max-width: none !important;
    }
    .mosaic-overlay {
        padding: 1.1rem !important;
    }
    .transformation-links {
        flex-direction: column;
        gap: 0.4rem;
        padding-top: 1.25rem;
        margin-top: 1.5rem;
    }
    .transform-link {
        padding: 0.55rem 0.5rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.08);
        width: 100%;
        justify-content: space-between;
    }

    /* === Trust certification strip === */
    .cert-strip {
        padding: 1rem 0 !important;
        border-radius: 0;
    }
    .cert-cell {
        flex-direction: row !important;
        text-align: left !important;
        gap: 0.85rem !important;
        padding: 0.85rem 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.08) !important;
    }
    .cert-cell:last-child {
        border-bottom: none !important;
    }
    .cert-logo-wrap {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0;
        margin: 0 !important;
    }
    .cert-id {
        font-size: 0.85rem !important;
    }
    .cert-tag {
        font-size: 0.55rem !important;
    }

    /* === Why / Talent / Services cards === */
    .why-card,
    .staff-aug-feature,
    .service-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 14, 26, 0.1) !important;
        padding: 1.1rem 1rem !important;
    }
    .why-card:last-child,
    .staff-aug-feature:last-child,
    .service-card:last-child {
        border-bottom: none !important;
    }
    .why-card h4,
    .staff-aug-feature h4,
    .service-card h3 {
        font-size: 1rem !important;
    }
    .why-card p,
    .staff-aug-feature p,
    .service-card p {
        font-size: 0.82rem !important;
    }
    .staff-aug-footer,
    .services-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem !important;
        margin-top: 1.25rem !important;
    }

    /* === Clients logo wall === */
    .clients-grid.clients-logo-wall {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    .client-logo-tile {
        height: 72px !important;
        padding: 0.65rem !important;
        border-radius: 8px !important;
    }

    /* === CTA === */
    .cta-content h2 {
        font-size: 1.5rem !important;
    }
    .cta-content p {
        font-size: 0.88rem !important;
        margin-bottom: 1.25rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.8rem 1.4rem !important;
        font-size: 0.85rem !important;
    }

    /* === Featured CEO === */
    .team-featured-section {
        padding: 2rem 0 1.25rem !important;
    }
    .team-featured {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        max-width: 100% !important;
    }
    .team-featured-media {
        max-width: 220px !important;
        margin: 0 auto !important;
    }
    .team-featured-content {
        text-align: left;
    }
    .team-featured-name {
        font-size: 1.4rem !important;
    }
    .team-featured-bio {
        font-size: 0.88rem !important;
    }

    /* === Team grid cards (2-column on mobile) === */
    .team-grid-4 .gallery-item {
        padding: 0.55rem !important;
        border-radius: 12px !important;
    }
    .team-grid-4 .gallery-caption {
        font-size: 0.72rem !important;
        margin-top: 0.55rem !important;
        line-height: 1.3 !important;
    }
    .team-grid-4 .gallery-caption span {
        font-size: 0.62rem !important;
    }

    /* about.html .team-card mobile sizing (different class from team-grid-4) */
    .team-grid .team-card {
        border-radius: 12px;
    }
    .team-grid .team-image {
        height: 200px;
    }
    .team-grid .team-info {
        padding: 1rem 0.9rem;
    }
    .team-grid .team-info h4 {
        font-size: 0.95rem;
    }
    .team-grid .team-info p {
        font-size: 0.78rem;
    }

    /* Team page sub-headers ("Leadership", "Team members", "Core players") */
    .team-subheader,
    .life-subheader {
        margin-bottom: 1.25rem !important;
        gap: 0.85rem !important;
    }
    .team-subheader h3,
    .life-subheader h3 {
        font-size: 0.65rem !important;
    }

    /* Back link on team.html */
    .team-page-back {
        padding-top: 1.25rem;
    }
    .team-back-link {
        font-size: 0.72rem !important;
        padding: 0.5rem 0;
    }

    /* View all team button */
    .team-view-all-wrap {
        margin-top: 1.75rem !important;
    }
    .team-view-all-btn {
        padding: 0.7rem 1.4rem !important;
        font-size: 0.72rem !important;
    }

    /* Gallery section padding (used for Core players + team pages) */
    .gallery-section,
    .team-all-section {
        padding: 1.5rem 0 1.75rem !important;
    }

    /* Click-to-view hint is too small on mobile — hide it */
    .team-grid-4 .gallery-item:not(.is-placeholder)::after {
        display: none !important;
    }

    /* === Life at VAB === */
    .life-intro-item h3 {
        font-size: 1rem !important;
    }
    .life-intro-item p {
        font-size: 0.82rem !important;
    }
    .life-card,
    .life-card.life-card-wide {
        aspect-ratio: 16 / 11 !important;
    }
    .life-caption {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.78rem !important;
        padding: 0.9rem 0.85rem 0.75rem !important;
    }

    /* === Product cards === */
    .product-card {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    .product-image {
        height: 180px;
    }
    .product-content {
        padding: 1.25rem !important;
    }
    .product-content h3 {
        font-size: 1.2rem !important;
    }
    .product-features li {
        font-size: 0.82rem !important;
    }

    /* === Team modal === */
    .team-modal {
        padding: 0.75rem !important;
    }
    .team-modal-card {
        grid-template-columns: 1fr !important;
        max-height: 90vh !important;
        border-radius: 12px;
    }
    .team-modal-media {
        height: 220px;
        min-height: 0 !important;
        max-height: none;
    }
    .team-modal-content {
        padding: 1.25rem !important;
    }
    .team-modal-close {
        top: 0.65rem !important;
        right: 0.65rem !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 1.3rem !important;
    }

    /* === Footer === */
    .footer {
        padding: 2.25rem 0 0 !important;
    }
    .footer-grid {
        gap: 1.5rem !important;
    }
    .footer-brand p {
        font-size: 0.85rem;
    }
    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
    }
    .footer-links li a {
        font-size: 0.82rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.65rem;
        text-align: center;
        font-size: 0.78rem;
        padding: 1.25rem 0;
    }

    /* === Buttons / touch targets === */
    .btn {
        padding: 0.75rem 1.3rem !important;
        font-size: 0.85rem !important;
        min-height: 44px;
    }
    .nav-link {
        min-height: 44px;
    }
}

/* ================================
   TABLET TUNING (641–991px)
   ================================ */
@media (min-width: 641px) and (max-width: 991px) {
    .mosaic-grid {
        grid-template-columns: 1fr 1fr !important;
        height: auto !important;
    }
    .mosaic-large {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
        min-height: 280px;
    }
    .why-grid,
    .staff-aug-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .cert-strip {
        grid-template-columns: repeat(4, 1fr);
    }
    .clients-grid.clients-logo-wall {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid.team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .life-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================
   Team members — compact, borderless tiles
   (distinct from Leadership which uses team-grid-4 card style)
   ================================ */
.gallery-grid.team-grid-compact {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem 1rem;
    max-width: 1080px;
    margin: 0 auto;
}

.team-grid-compact .gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.team-grid-compact .gallery-item:hover {
    transform: translateY(-3px);
    border: none;
    box-shadow: none;
    background: transparent;
}

.team-grid-compact .gallery-item::before,
.team-grid-compact .gallery-item::after {
    display: none !important;
}

.team-grid-compact .gallery-item img {
    width: 110px;
    height: 110px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid rgba(10, 14, 26, 0.08);
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.team-grid-compact .gallery-item:hover img {
    border-color: var(--accent-color, #3182ce);
    box-shadow: 0 8px 22px rgba(49, 130, 206, 0.18);
}

.team-grid-compact .gallery-item.is-placeholder::before {
    content: attr(data-caption);
    display: flex !important;
    width: 110px;
    height: 110px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: none;
}

.team-grid-compact .gallery-caption {
    margin-top: 0.6rem;
    padding: 0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary-color, #1a365d);
    line-height: 1.35;
}

.team-grid-compact .gallery-item:hover .gallery-caption {
    color: var(--accent-color, #3182ce);
}

/* Visual separator between Leadership group and Team group */
.team-all-section + .team-all-section .team-subheader {
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .gallery-grid.team-grid-compact {
        grid-template-columns: repeat(4, 1fr);
    }
    .team-grid-compact .gallery-item img,
    .team-grid-compact .gallery-item.is-placeholder::before {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 640px) {
    .gallery-grid.team-grid-compact {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem 0.6rem !important;
    }
    .team-grid-compact .gallery-item img,
    .team-grid-compact .gallery-item.is-placeholder::before {
        width: 80px !important;
        height: 80px !important;
    }
    .team-grid-compact .gallery-caption {
        font-size: 0.7rem !important;
        margin-top: 0.5rem !important;
    }
}

/* ================================
   Team members — MOBILE ONLY override
   On desktop these cards use the regular team-grid-4 style (same as Leadership).
   On mobile they become compact circular avatars + reordered to interleave girls.
   ================================ */
@media (max-width: 640px) {
    /* Compact circular avatar layout */
    .gallery-grid.team-grid-mobile-circles {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem 0.6rem !important;
    }
    .team-grid-mobile-circles .gallery-item {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-shadow: none !important;
    }
    .team-grid-mobile-circles .gallery-item:hover {
        transform: translateY(-3px) !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .team-grid-mobile-circles .gallery-item::before,
    .team-grid-mobile-circles .gallery-item::after {
        display: none !important;
    }
    .team-grid-mobile-circles .gallery-item img {
        width: 84px !important;
        height: 84px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
        border: 2px solid rgba(10, 14, 26, 0.08) !important;
        background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
    }
    .team-grid-mobile-circles .gallery-item:hover img {
        border-color: var(--accent-color, #3182ce) !important;
    }
    .team-grid-mobile-circles .gallery-caption {
        margin-top: 0.55rem !important;
        padding: 0 !important;
        font-size: 0.7rem !important;
        font-weight: 500 !important;
        text-align: center !important;
        color: var(--primary-color, #1a365d) !important;
        line-height: 1.3 !important;
    }

    /* Reorder: interleave girls (Sameeksha, Sravani, Keerthana) into the middle */
    /* Source HTML order: dinesh, gireesh, hariprasad, jithendra, karthik, manoj, nagaraju, sameeksha, sravani, keerthana */
    /* Mobile visual order: dinesh, gireesh, hariprasad, sameeksha, karthik, sravani, manoj, keerthana, jithendra, nagaraju */
    .team-grid-mobile-circles .gallery-item[data-member="dinesh"]     { order: 1; }
    .team-grid-mobile-circles .gallery-item[data-member="gireesh"]    { order: 2; }
    .team-grid-mobile-circles .gallery-item[data-member="hariprasad"] { order: 3; }
    .team-grid-mobile-circles .gallery-item[data-member="sameeksha"]  { order: 4; }
    .team-grid-mobile-circles .gallery-item[data-member="karthik"]    { order: 5; }
    .team-grid-mobile-circles .gallery-item[data-member="sravani"]    { order: 6; }
    .team-grid-mobile-circles .gallery-item[data-member="manoj"]      { order: 7; }
    .team-grid-mobile-circles .gallery-item[data-member="keerthana"]  { order: 8; }
    .team-grid-mobile-circles .gallery-item[data-member="jithendra"]  { order: 9; }
    .team-grid-mobile-circles .gallery-item[data-member="nagaraju"]   { order: 10; }
}

/* ================================
   Life at VAB - 1 large left + 2 stacked right
   ================================ */
.life-gallery.life-gallery-3 {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 1rem !important;
    max-width: 1080px;
    margin: 0 auto;
    height: 540px;
}

.life-gallery-3 .life-card {
    aspect-ratio: auto !important;
    height: 100% !important;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    display: block;
    position: relative;
}

/* First card → left, spans both rows (the big one) */
.life-gallery-3 .life-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}
/* Second card → top right */
.life-gallery-3 .life-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
/* Third card → bottom right */
.life-gallery-3 .life-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* Nudge image up slightly inside the "Together" card */
.life-gallery-3 .life-card:nth-child(3) img {
    object-position: center 15% !important;
}

.life-gallery-3 .life-card img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    display: block;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.life-gallery-3 .life-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.life-gallery-3 .life-card:hover img {
    transform: scale(1.04);
}

/* Caption overlay (bottom of card) */
.life-gallery-3 .life-caption {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    padding: 1.1rem 1rem 0.9rem !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%) !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: left !important;
    pointer-events: none;
}

@media (max-width: 768px) {
    .life-gallery.life-gallery-3 {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        height: auto !important;
        max-width: 460px;
        gap: 1rem !important;
    }
    .life-gallery-3 .life-card,
    .life-gallery-3 .life-card:nth-child(1),
    .life-gallery-3 .life-card:nth-child(2),
    .life-gallery-3 .life-card:nth-child(3) {
        grid-column: 1 !important;
        grid-row: auto !important;
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
    }
    .life-gallery-3 .life-caption {
        font-size: 0.8rem !important;
        padding: 0.9rem 0.85rem 0.75rem !important;
    }
}

/* ================================
   Critical Niche Experts — clean mobile carousel
   (final override — wins over all earlier conflicting rules)
   ================================ */
@media (max-width: 640px) {
    .staff-aug-section {
        padding: 2rem 0 2.25rem !important;
        overflow: hidden;
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
        border-top: 1px solid rgba(10, 14, 26, 0.06);
        border-bottom: 1px solid rgba(10, 14, 26, 0.06);
    }

    /* Hide the decorative radial-gradient blob — it bleeds as a visible edge on mobile */
    .staff-aug-section::before,
    .staff-aug-section::after {
        display: none !important;
    }

    /* Center the whole staff-aug content cleanly */
    .staff-aug-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }

    .staff-aug-header {
        text-align: center !important;
        padding: 0 !important;
        margin: 0 auto 1.25rem !important;
        max-width: 100% !important;
    }

    .staff-aug-footer {
        text-align: center !important;
        align-items: center !important;
    }
    .staff-aug-footnote {
        text-align: center !important;
        max-width: 100% !important;
    }

    .staff-aug-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        height: auto !important;
        width: 100% !important;
        max-width: none !important;
        gap: 0.9rem !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .staff-aug-feature {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 1.1rem 1.1rem !important;
        background: #ffffff !important;
        border: 1px solid rgba(10, 14, 26, 0.08) !important;
        border-radius: 14px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
        display: block !important;
        position: relative;
        overflow: hidden;
    }

    /* Hide the original accent top-line (uses ::before) — looks odd here */
    .staff-aug-feature::before {
        display: none !important;
    }

    /* Number label at top */
    .staff-aug-num {
        font-size: 0.55rem !important;
        font-weight: 700 !important;
        color: var(--accent-color, #3182ce) !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 0.5rem !important;
        font-variant-numeric: tabular-nums;
    }

    /* Icon */
    .staff-aug-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
        margin: 0 0 0.55rem !important;
        border: 1px solid rgba(10, 14, 26, 0.15) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        color: var(--primary-color, #1a365d) !important;
    }

    /* Title */
    .staff-aug-feature h4 {
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        color: var(--primary-color, #1a365d) !important;
        margin: 0 0 0.35rem !important;
        line-height: 1.25;
        letter-spacing: -0.005em;
    }

    /* Description — clamp to 3 lines */
    .staff-aug-feature p {
        font-size: 0.74rem !important;
        line-height: 1.5 !important;
        color: var(--gray-700, #4a5568) !important;
        margin: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Footer (note + CTA) below the carousel */
    .staff-aug-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
        margin-top: 1.5rem !important;
        padding: 0 !important;
        border-top: 1px solid rgba(10, 14, 26, 0.08);
        padding-top: 1rem !important;
    }

    .staff-aug-footnote {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }

    .staff-aug-cta {
        font-size: 0.7rem !important;
        padding-bottom: 2px !important;
    }
}

/* ================================
   Products page - smaller card buttons
   ================================ */
.product-content .btn {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    border-radius: 40px;
}

.product-content .btn i {
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .product-content .btn {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.75rem !important;
    }
}


/* ================================
   Products page - align buttons to bottom of every card
   ================================ */
.products-grid {
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    flex-shrink: 0;
}

.product-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* The inline-styled <div> wrapping the two buttons becomes the last child of .product-content;
   push it to the bottom so buttons align across cards regardless of description/feature length */
.product-content > div:last-child {
    margin-top: auto !important;
}

/* ================================
   Service card image thumbnail (for cloud, security, etc.)
   ================================ */
.service-card .service-card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

@media (max-width: 640px) {
    .service-card .service-card-image {
        height: 120px;
        border-radius: 10px;
    }
}
