/* ======================== RESET & BASE ======================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #050E1A;
    --navy-800: #0A1F3D;
    --navy-700: #0D2847;
    --navy-600: #133B6B;
    --navy-500: #1A4D85;
    --blue-500: #3B82F6;
    --blue-400: #60A5FA;
    --indigo-500: #6366F1;
    --violet-500: #8B5CF6;
    --cyan-500: #06B6D4;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(5, 14, 26, 0.08);
    --shadow-md: 0 8px 30px rgba(5, 14, 26, 0.12);
    --shadow-lg: 0 20px 60px rgba(5, 14, 26, 0.18);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================== NAVIGATION ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: var(--transition);
}

.nav-logo:hover {
    opacity: 0.85;
}

.logo-icon {
    display: flex;
    color: var(--blue-400);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--blue-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-400);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--blue-500);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--blue-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ======================== HERO ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 14, 26, 0.85) 0%, rgba(10, 31, 61, 0.75) 50%, rgba(5, 14, 26, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--blue-400);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: var(--blue-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* ======================== SECTIONS ======================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* ======================== EXECUTIVE SUMMARY ======================== */
.section-summary {
    background: var(--gray-50);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.summary-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.summary-card-bar {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
    border-radius: 4px;
    margin-bottom: 24px;
}

.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 14px;
}

.summary-card p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ======================== ABOUT ======================== */
.section-about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(5, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    color: var(--white);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

.about-content .section-label {
    margin-bottom: 14px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
    font-size: 1rem;
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.competency-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.competency-card:hover {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.competency-icon {
    color: var(--blue-500);
    margin-bottom: 14px;
}

.competency-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.competency-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ======================== TECH STACK ======================== */
.section-tech {
    background: var(--navy-900);
    color: var(--white);
}

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

.section-tech .section-label {
    color: var(--blue-400);
}

.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-layer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-layer:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.tech-layer-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--layer-color);
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
}

.tech-layer-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.tech-layer-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.tech-layer-bar {
    width: 4px;
    height: 60px;
    background: var(--layer-color);
    border-radius: 4px;
    opacity: 0.6;
}

/* ======================== PROJECTS ======================== */
.section-projects {
    background: var(--gray-50);
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-reverse .project-image {
    order: 2;
}

.project-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.project-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(5, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    color: var(--blue-400);
    font-size: 1.5rem;
    font-weight: 800;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.project-content {
    padding: 0 8px;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-client {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 16px;
    font-weight: 500;
}

.project-content > p:nth-of-type(2) {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.highlight-marker {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
    margin-top: 7px;
}

.project-impact {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.impact-stat {
    display: flex;
    flex-direction: column;
}

.impact-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1;
}

.impact-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ======================== WHY CLOUDSPAN ======================== */
.section-why {
    background: var(--white);
}

.capability-matrix {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.matrix-header {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    background: var(--navy-800);
    color: var(--white);
    padding: 20px 28px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.matrix-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    transition: var(--transition);
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-row:hover {
    background: var(--gray-50);
}

.matrix-cell {
    padding-right: 16px;
}

.matrix-phase {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-800);
}

.phase-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--blue-500);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.matrix-row:nth-child(2) .phase-badge { background: var(--blue-500); }
.matrix-row:nth-child(3) .phase-badge { background: var(--indigo-500); }
.matrix-row:nth-child(4) .phase-badge { background: var(--violet-500); }
.matrix-row:nth-child(5) .phase-badge { background: var(--cyan-500); }

.matrix-capability {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.matrix-source {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ======================== DELIVERY ======================== */
.section-delivery {
    background: var(--gray-50);
}

.delivery-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 56px;
    flex-wrap: wrap;
    justify-content: center;
}

.delivery-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue-500);
    color: var(--blue-500);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.delivery-step:hover .step-number {
    background: var(--blue-500);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.step-content h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--gray-200));
    z-index: 1;
}

.delivery-step:last-child .step-connector {
    display: none;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-700);
    transition: var(--transition);
}

.compliance-badge:hover {
    border-color: var(--blue-500);
    color: var(--blue-500);
    box-shadow: var(--shadow-sm);
}

.compliance-badge svg {
    color: var(--blue-500);
}

/* ======================== CONTACT ======================== */
.section-contact {
    padding: 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 14, 26, 0.92), rgba(10, 31, 61, 0.88));
}

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

.contact-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.contact-item a, .contact-item span:last-child {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--blue-400);
}

/* ======================== FOOTER ======================== */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.5);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo svg {
    color: var(--blue-400);
}

.footer-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-company {
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ======================== SCROLL REVEAL ======================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ======================== RESPONSIVE ======================== */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

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

    .project-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-reverse .project-image {
        order: 0;
    }

    .project-image img {
        height: 300px;
    }

    .tech-layer {
        grid-template-columns: auto 1fr;
        gap: 16px;
        padding: 20px 24px;
    }

    .tech-layer-bar {
        display: none;
    }

    .matrix-header,
    .matrix-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .matrix-header {
        display: none;
    }

    .matrix-row {
        padding: 20px;
    }

    .matrix-cell {
        padding-right: 0;
    }

    .delivery-flow {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .delivery-step {
        max-width: 320px;
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        width: 100%;
    }

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

    .project-impact {
        gap: 20px;
        flex-wrap: wrap;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
    }

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

    .footer-company {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .summary-card,
    .competency-card {
        padding: 20px;
    }

    .impact-number {
        font-size: 1.25rem;
    }
}
