/* =============================================
   XIOMI INVESTMENTS GROUP - ELEVATED STYLESHEET
   Design: Bold corporate with editorial refinement
   Typography: DM Serif Display + Plus Jakarta Sans
   ============================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
    --navy: #0c1a3e;
    --navy-dark: #060e24;
    --navy-mid: #152554;
    --navy-light: #1e3a7a;
    --red: #d4192c;
    --red-dark: #a81222;
    --red-glow: #ff2a40;
    --accent-gold: #c9a84c;
    --white: #ffffff;
    --off-white: #f5f6fa;
    --cream: #faf9f7;
    --gray-50: #f8f9fb;
    --gray-100: #eef0f4;
    --gray-200: #dde1e8;
    --gray-300: #c4c9d4;
    --gray-400: #8d95a5;
    --gray-500: #636b7f;
    --gray-600: #474f63;
    --gray-700: #2d3548;
    --gray-800: #1a2035;
    --gray-900: #0d1321;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'DM Serif Display', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(12, 26, 62, 0.06);
    --shadow-md: 0 8px 30px rgba(12, 26, 62, 0.1);
    --shadow-lg: 0 16px 50px rgba(12, 26, 62, 0.12);
    --shadow-xl: 0 24px 70px rgba(12, 26, 62, 0.16);
    --shadow-red: 0 8px 30px rgba(212, 25, 44, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-600);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-gray {
    background: var(--off-white);
}

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

.text-accent {
    color: var(--red);
    font-style: italic;
}

.text-muted {
    color: var(--gray-400);
    font-weight: 400;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h4, h5, h6 {
    font-family: var(--font-body);
    color: var(--navy);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.1rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
}

.section-tag::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--red);
}

.section-tag-light {
    color: var(--white);
}

.section-tag-light::before {
    background: rgba(255, 255, 255, 0.5);
}

.section-header {
    max-width: 660px;
    margin: 0 auto 72px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.85;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 0.8rem;
    transition: transform var(--transition);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
    border-color: var(--red-dark);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 17px 40px;
    font-size: 0.9375rem;
}

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

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--navy-dark);
    padding: 8px 0;
    font-size: 0.8rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.header-contact-info a,
.header-contact-info span {
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.header-contact-info a:hover {
    color: var(--white);
}

.header-contact-info i {
    color: var(--red);
    font-size: 0.7rem;
}

.header-social {
    display: flex;
    gap: 8px;
}

.header-social a {
    color: rgba(255, 255, 255, 0.6);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--red);
    color: var(--white);
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

.header.scrolled .header-top {
    margin-top: -50px;
}

.header.scrolled .navbar {
    box-shadow: 0 4px 30px rgba(12, 26, 62, 0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

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

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

.logo-light {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    padding: 10px 20px;
    border-radius: 100px;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--navy);
    background: var(--gray-50);
}

.nav-link.active {
    color: var(--red);
    background: rgba(212, 25, 44, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

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

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    max-height: 1000px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6, 14, 36, 0.92) 0%,
        rgba(12, 26, 62, 0.78) 40%,
        rgba(21, 37, 84, 0.65) 100%
    );
}

/* Grain texture on hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    color: var(--white);
    padding-top: 40px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.1;
}

.hero-content .text-accent {
    color: var(--red-glow);
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.85;
    font-weight: 400;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.hero-tag::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--red-glow);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Decorative geometric accent on hero */
.hero-geometric {
    position: absolute;
    right: 8%;
    bottom: 15%;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    z-index: 2;
    animation: heroRotate 30s linear infinite;
}

.hero-geometric::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(212, 25, 44, 0.15);
    border-radius: 50%;
}

.hero-geometric::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--red-glow);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--red-glow);
}

@keyframes heroRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-controls {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-prev,
.hero-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--red-glow);
    border-color: var(--red-glow);
    box-shadow: 0 0 12px rgba(255, 42, 64, 0.5);
    transform: scale(1.3);
}

/* ---------- MARQUEE BANNER ---------- */
.marquee-banner {
    background: var(--navy);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.marquee-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, transparent 5%, transparent 95%, var(--navy) 100%);
    z-index: 2;
    pointer-events: none;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 28px;
}

.marquee-dot {
    width: 5px !important;
    height: 5px;
    background: var(--red-glow) !important;
    border-radius: 50%;
    display: inline-block;
    padding: 0 !important;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 42, 64, 0.4);
}

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

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

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

.about-img-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.03);
}

.about-img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--red);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-red);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.75rem;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.about-img-secondary {
    position: relative;
    width: 52%;
    margin-top: -70px;
    margin-left: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Decorative line on about images */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--red);
    border-left: 3px solid var(--red);
    border-radius: 4px 0 0 0;
    opacity: 0.4;
    z-index: 5;
}

.about-image {
    position: relative;
}

.about-lead {
    font-size: 1.075rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 14px;
    line-height: 1.7;
}

.about-content > p {
    margin-bottom: 28px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
    background: var(--red);
    transform: rotate(-5deg) scale(1.05);
}

.about-feature h4 {
    margin-bottom: 3px;
    font-size: 0.975rem;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.about-mission {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 24px 28px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.about-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
}

.about-mission i {
    color: var(--red-glow);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.about-mission p {
    font-style: italic;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.8;
}

/* ---------- STATS ---------- */
.stats {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6, 14, 36, 0.94) 0%, rgba(12, 26, 62, 0.88) 100%);
}

.stats .container {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 24px 0;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--red-glow);
    margin-bottom: 18px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--navy));
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.service-card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: var(--shadow-red);
}

.service-card-body {
    padding: 30px 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
    margin-top: -52px;
    position: relative;
    box-shadow: 0 6px 20px rgba(12, 26, 62, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--red);
    transform: rotate(-5deg);
}

.service-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.25;
}

.service-card-body > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.75;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-list li i {
    color: var(--red);
    font-size: 0.7rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* ---------- BUTTON LINK ---------- */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
    margin-top: 14px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-link:hover {
    gap: 12px;
    color: var(--navy);
}

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

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

/* ---------- APPROACH ---------- */
.approach-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.pillar-card {
    background: var(--white);
    padding: 44px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.pillar-card:hover::after {
    transform: scaleX(1);
}

.pillar-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 26px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: var(--red);
    transform: scale(1.08);
}

.pillar-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.pillar-card:hover .pillar-number {
    background: var(--navy);
}

.pillar-card h3 {
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.925rem;
    color: var(--gray-500);
}

.process-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 44px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--navy));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 9px 22px;
    border-radius: 100px;
    margin-bottom: 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-red);
}

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

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

/* ---------- WHY CHOOSE US ---------- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content > p {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.85;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-feature {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: var(--transition);
}

.why-feature:hover {
    transform: translateX(6px);
}

.why-feature-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: var(--radius-md);
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
    background: var(--red);
    transform: rotate(-5deg) scale(1.05);
    box-shadow: var(--shadow-red);
}

.why-feature-text h4 {
    margin-bottom: 5px;
}

.why-feature-text p {
    font-size: 0.925rem;
    color: var(--gray-500);
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.why-us-img-accent {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--red);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    position: relative;
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6, 14, 36, 0.95) 0%, rgba(12, 26, 62, 0.88) 100%);
}

/* Grain on CTA */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.85;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
}

.contact-info-card {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 44px 32px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(212, 25, 44, 0.08);
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    background: rgba(212, 25, 44, 0.12);
    color: var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-item h4 {
    color: var(--white);
    font-size: 0.975rem;
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info-item a:hover {
    color: var(--white);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(12, 26, 62, 0.06);
}

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

/* ---------- PAGE BANNER (Inner Pages) ---------- */
.page-banner {
    position: relative;
    padding: 190px 0 90px;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6, 14, 36, 0.94) 0%, rgba(12, 26, 62, 0.85) 100%);
}

/* Grain on page banner */
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    margin-bottom: 14px;
}

.page-banner-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: var(--red-glow);
    font-size: 0.6rem;
}

.breadcrumb-current {
    color: var(--red-glow);
    font-weight: 600;
}

/* ---------- MISSION & VISION ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 52px 44px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--red);
}

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

.mv-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    background: var(--red);
    transform: scale(1.08);
}

.mv-card h3 {
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.mv-card p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.85;
}

/* ---------- SERVICE DETAIL (Services Page) ---------- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-content .section-tag {
    margin-bottom: 14px;
}

.service-detail-content .about-lead {
    margin-bottom: 14px;
}

.service-detail-content > p {
    margin-bottom: 26px;
    color: var(--gray-500);
}

.service-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.75;
}

.service-detail-list li i {
    color: var(--red);
    margin-top: 5px;
    flex-shrink: 0;
    font-size: 1rem;
}

.service-detail-list li strong {
    color: var(--navy);
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Accent corner on service images */
.service-detail-image::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 60%;
    height: 60%;
    border-bottom: 3px solid var(--red);
    border-right: 3px solid var(--red);
    border-radius: 0 0 var(--radius-lg) 0;
    opacity: 0.2;
    z-index: -1;
}

.service-detail-grid.reverse .service-detail-image::after {
    right: auto;
    left: -14px;
    border-right: none;
    border-left: 3px solid var(--red);
    border-radius: 0 0 0 var(--radius-lg);
}

/* ---------- CONTACT CARDS (Contact Page) ---------- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.contact-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: var(--red);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: var(--shadow-red);
}

.contact-card h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

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

.contact-card a {
    color: var(--red);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--navy);
}

/* ---------- CONTACT MAIN (Contact Page) ---------- */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-main-grid .contact-form {
    height: 100%;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 480px;
}

.contact-map iframe {
    display: block;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0.4;
}

.footer-main {
    padding: 84px 0 52px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 52px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 18px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.85;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 14px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.825rem;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
}

.footer-bottom-links a {
    font-size: 0.825rem;
}

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

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays for grid children */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }

.stats-grid .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .stat-item:nth-child(3) { transition-delay: 0.2s; }
.stats-grid .stat-item:nth-child(4) { transition-delay: 0.3s; }

.approach-pillars .pillar-card:nth-child(2) { transition-delay: 0.12s; }
.approach-pillars .pillar-card:nth-child(3) { transition-delay: 0.24s; }

.contact-cards-grid .contact-card:nth-child(2) { transition-delay: 0.1s; }
.contact-cards-grid .contact-card:nth-child(3) { transition-delay: 0.2s; }
.contact-cards-grid .contact-card:nth-child(4) { transition-delay: 0.3s; }

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

    .about-image {
        max-width: 600px;
    }

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

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .process-steps::before {
        display: none;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .why-us-image {
        max-width: 600px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

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

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

    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 48px;
        direction: ltr;
    }

    .service-detail-image::after {
        display: none;
    }

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

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

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

    .hero-geometric {
        display: none;
    }
}

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

    .header-top {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-slow);
        z-index: 998;
        gap: 8px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

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

    .hero {
        min-height: 580px;
        max-height: 780px;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 7vw, 3rem);
    }

    .hero-btns {
        flex-direction: column;
    }

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

    .approach-pillars {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

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

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

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .why-us-img-accent {
        display: none;
    }

    .about-image::before {
        display: none;
    }

    .service-detail-image img {
        height: 350px;
    }

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

    .page-banner {
        padding: 150px 0 70px;
    }
}

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

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

    .about-img-wrapper img {
        height: 300px;
    }

    .about-img-secondary {
        width: 65%;
        margin-top: -50px;
    }

    .hero-controls {
        bottom: 24px;
    }

    .mv-card {
        padding: 36px 28px;
    }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 36, 0.6);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}