:root {
    /* Professional Color Palette */
    --primary-dark: #1a1a2e;
    --primary-navy: #16213e;
    --accent-gold: #d4af37;
    --accent-blue: #0066cc;
    --accent-teal: #008B8B;

    /* Neutral Palette */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e8eaed;
    --gray: #5f6368;
    --dark-gray: #202124;
    --charcoal: #2c3e50;

    /* Semantic Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #5f6368;
    --text-tertiary: #80868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #dadce0;
    --border-light: #e8eaed;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #16213e 0%, #0f4c75 100%);
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #c9a84e 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(22, 33, 62, 0.95) 0%, rgba(15, 76, 117, 0.95) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container-width: 1280px;
    --section-spacing: 120px;
    --card-radius: 16px;
    --button-radius: 8px;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */

header.header-modern {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    backdrop-filter: none;
    border: none;
    height: auto;
}

.nav-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    max-width: 1280px;
    margin: 0 auto;
    width: 90%;
}

header.scrolled {
    top: 12px;
}

header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 10, 0.06);
    padding: 10px 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--accent-blue);
}

/* ============================================
   BUTTONS
============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--button-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(22, 33, 62, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(22, 33, 62, 0.25);
}

.btn-secondary {
    background: var(--white);
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* ============================================
   HERO SECTION MODERN
============================================ */

.hero-modern {
    padding: 160px 0 120px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 102, 204, 0.05);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent-blue), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.125rem 2.75rem;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(0, 102, 204, 0.02);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.trust-lbl {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-divider {
    height: 40px;
    width: 1px;
    background: var(--border-light);
}

.hero-visual-area {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 10, 40, 0.12);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.visual-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.img-main {
    width: 100%;
    border-radius: 40px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-stat-modern {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.08);
    color: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.icon-stat-modern.icon-gold {
    background: rgba(212, 175, 55, 0.1);
    color: #b8860b;
    border-color: rgba(212, 175, 55, 0.15);
}

.icon-stat-modern svg {
    width: 100%;
    height: 100%;
}

.floating-stat {
    position: absolute;
    background: #ffffff;
    padding: 18px 28px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 5, 20, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.stat-top {
    top: 20%;
    right: -40px;
}

.stat-bottom {
    bottom: 20%;
    left: -40px;
    animation-delay: -2s;
}

.icon-stat {
    font-style: normal;
    font-size: 20px;
}

.floating-stat span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   TRUST MARQUEE MODERN
============================================ */

.trust-marquee-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.trust-label {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.marquee-wrapper {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.3;
    transition: all 0.4s ease;
    cursor: default;
    user-select: none;
    white-space: nowrap;
}

.marquee-item:hover {
    opacity: 0.8;
    color: var(--accent-blue);
}

.logo-symbol {
    font-size: 24px;
    color: var(--accent-blue);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 40px));
    }
}

/* Pause animation on hover for better accessibility/UX */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    color: var(--accent-blue);
}

/* ============================================
   SECTION STYLES
============================================ */

.section-padding {
    padding: var(--section-spacing) 0;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.section-head p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SERVICES MODERN
============================================ */

.services-modern {
    padding: var(--section-spacing) 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.mesh-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.section-head-modern {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 204, 0.05);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}

.modern-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
}

.section-head-modern h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--accent-blue), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.modern-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 60px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 10, 40, 0.05);
    border-color: rgba(0, 102, 204, 0.1);
}

.card-count {
    position: absolute;
    top: 60px;
    right: 60px;
    font-size: 13px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: 0.1em;
}

.card-icon-box {
    position: relative;
    width: 72px;
    height: 72px;
}

.icon-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.06);
    border-radius: 20px;
    transform: rotate(-10deg);
}

.icon-blob.bg-blue {
    background: rgba(0, 210, 255, 0.08);
}

.icon-blob.bg-teal {
    background: rgba(0, 184, 148, 0.08);
}

.icon-blob.bg-gold {
    background: rgba(212, 175, 55, 0.08);
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.icon-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.modern-svg-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(0, 102, 204, 0.2));
    transition: all 0.4s ease;
}

.modern-card:hover .modern-svg-icon {
    color: var(--text-primary);
    transform: scale(1.1);
}

.card-title-area {
    margin-bottom: 24px;
}

.title-line {
    width: 50px;
    height: 4px;
    background: var(--accent-blue);
    margin-top: 15px;
    border-radius: 100px;
    transition: width 0.4s ease;
}

.modern-card:hover .title-line {
    width: 70px;
}

.modern-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.modern-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

.tag-list {
    display: flex;
    gap: 12px;
    list-style: none;
}

.tag-list li {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    background: #f4f4f4;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modern-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modern-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.arrow-svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   PROJECTS SECTION
============================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.project-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.project-img {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-img::after {
    opacity: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 2.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS / FEEDBACK
============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    font-size: 6rem;
    color: rgba(0, 102, 204, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-card p {
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ============================================
   Q&A / ACCORDION
============================================ */

.qa-container {
    max-width: 880px;
    margin: 0 auto;
}

.qa-item {
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition-base);
    background: var(--white);
}

.qa-trigger {
    width: 100%;
    padding: 1.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.qa-trigger:hover {
    color: var(--accent-blue);
}

.qa-trigger::after {
    content: '+';
    font-size: 1.75rem;
    color: var(--accent-blue);
    font-weight: 400;
    transition: var(--transition-base);
}

.qa-item.active .qa-trigger::after {
    content: '−';
}

.qa-item.active {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.qa-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-secondary);
}

.qa-content p {
    padding: 0 2.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
============================================ */

#contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
}

.contact-wrapper h2 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    display: grid;
    gap: 1.75rem;
    text-align: left;
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--button-radius);
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-base);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* ============================================
   WHY CHOOSE VYBIX MODERN
============================================ */

.why-modern {
    background: #ffffff;
    position: relative;
}

.why-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-card-v2 {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 60px;
    transition: all 0.4s ease;
}

.why-card-v2:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 10, 40, 0.05);
}

.why-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.why-icon-v2 {
    width: 64px;
    height: 64px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 204, 0.05);
}

.why-card-v2:hover .why-icon-v2 {
    background: var(--accent-blue);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.1);
}

.why-icon-v2.icon-blue {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.05);
}

.why-icon-v2.icon-teal {
    color: #00b894;
    background: rgba(0, 184, 148, 0.05);
}

.why-icon-v2.icon-purple {
    color: #6c5ce7;
    background: rgba(108, 92, 231, 0.05);
}

.why-icon-v2 svg {
    width: 32px;
    height: 32px;
}

.why-card-v2 h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.why-card-v2 p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .why-grid-v2 {
        grid-template-columns: 1fr;
    }

    .why-card-v2 {
        padding: 40px;
    }
}

/* ============================================
   FINAL CTA MODERN
============================================ */

.final-cta-modern {
    padding: 100px 0;
    background: #ffffff;
}

.cta-box-modern {
    background: #000c28;
    border-radius: 48px;
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.cta-inner {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
}

.cta-label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.cta-box-modern h2 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 32px;
    font-weight: 800;
}

.cta-box-modern p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.cta-btns-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.cta-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 102, 204, 0.3);
    top: -300px;
    right: -200px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    bottom: -200px;
    left: -100px;
}

@media (max-width: 768px) {
    .cta-box-modern {
        padding: 80px 30px;
        border-radius: 32px;
    }
}

/* ============================================
   FOOTER
============================================ */

footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-logo {
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: var(--light-gray);
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-sitemap {
    display: flex;
    gap: 2rem;
}

.footer-sitemap a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-sitemap a:hover {
    color: var(--white);
}

/* ============================================
   ANIMATIONS
============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal */
.hero-content,
.hero-visual,
.section-head,
.service-card,
.project-card,
.qa-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-content {
    animation-delay: 0.1s;
}

.hero-visual {
    animation-delay: 0.3s;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* ============================================
   ACCESSIBILITY
============================================ */

.btn:focus,
.qa-trigger:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

* {
    scroll-margin-top: 100px;
}

/* ============================================
   SERVICE PAGES COMPONENTS
============================================ */

.service-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.service-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.bg-light {
    background-color: var(--bg-secondary);
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.2;
    line-height: 1;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.why-item h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

/* ============================================
   UTILITIES
============================================ */
.text-white {
    color: var(--white) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

/* Responsive adjustments for service components */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE DESIGN (EXISTING)
============================================ */

@media (max-width: 1024px) {

    .hero-grid,
    .services-grid,
    .projects-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-head {
        margin-bottom: 60px;
    }

    header {
        height: 72px;
    }

    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-grid {
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links {
        display: none;
    }
}

/* ============================================
   SERVICE LISTING (LARGE)
============================================ */

.services-grid-large {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.service-item-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.service-item-large.reverse {
    direction: rtl;
}

.service-item-large.reverse .service-info-large {
    direction: ltr;
}

.service-image {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.service-item-large:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-info-large h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-info-large p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-features li {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.service-features li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: 700;
}

/* ============================================
   FAQ (LARGE)
============================================ */

.qa-container-large {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-large {
    margin-bottom: 4rem;
}

.faq-item-large h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.faq-item-large p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.faq-item-large a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   BLOG GRID
============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-info {
    padding: 2.5rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.blog-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-info p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ============================================
   CONTACT
============================================ */

.contact-card {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* ============================================
   PORTFOLIO EXTRA
============================================ */

.tech-tags-small {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-tags-small li {
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE (NEW)
============================================ */

@media (max-width: 992px) {

    .service-item-large,
    .service-item-large.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2.5rem;
    }
}

/* ============================================
   SERVICE INTERNAL PAGES MODERN
============================================ */

.service-hero-modern {
    padding: 180px 0 100px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-hero-modern .container {
    position: relative;
    z-index: 5;
}

.service-hero-modern h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.service-hero-modern p.lead {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.service-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.service-visual-img {
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.service-text-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.service-text-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card-v3 {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 50px 40px;
    border-radius: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-v3:hover {
    border-color: var(--accent-blue);
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 5, 20, 0.1);
}

.feature-card-v3:hover .icon-stat-modern {
    background: var(--accent-blue);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

.feature-card-v3 h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card-v3 p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.process-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.process-step-v2 {
    position: relative;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
}

.process-step-v2:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 5, 20, 0.06);
}

.step-num-v2 {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: block;
}

.process-step-v2 h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.process-step-v2 p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .feature-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-visual-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .feature-grid-modern {
        grid-template-columns: 1fr;
    }

    .process-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WHO WE WORK WITH MODERN
============================================ */

.partners-section {
    padding: 120px 0;
    background: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.partner-card-v2 {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-card-v2:hover {
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 10, 40, 0.05);
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.partner-icon-box {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.partner-card-v2 h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.partner-card-v2 p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card-v2 {
        padding: 30px;
    }
}

/* ============================================
   TECH STACK MODERN
============================================ */

.tech-ecosystem {
    padding: 120px 0;
    background: #050505;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.tech-ecosystem .section-head-modern h2 {
    color: #ffffff;
}

.tech-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.tech-box-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.tech-box-v2:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-blue);
    transform: scale(1.02);
}

.tech-box-v2 h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-blue);
    margin-bottom: 24px;
    font-weight: 800;
}

.tech-list-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item-v2 {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
    .tech-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DETAILED Q&A MODERN
============================================ */

.faq-modern-section {
    padding: 120px 0;
    background: #ffffff;
}

.faq-grid-v2 {
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-v2 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-trigger-v2 {
    width: 100%;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-trigger-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.faq-plus-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.4s ease;
}

.faq-plus-icon::before,
.faq-plus-icon::after {
    content: '';
    position: absolute;
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-plus-icon::before {
    width: 14px;
    height: 2px;
}

.faq-plus-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item-v2.active {
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 10, 40, 0.05);
}

.faq-item-v2.active .faq-plus-icon {
    transform: rotate(45deg);
}

.faq-content-v2 {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-inner-v2 {
    padding: 0 40px 40px 40px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item-v2.active .faq-content-v2 {
    max-height: 500px;
}

/* ============================================
   SECTION HEAD MODIFIERS
============================================ */

.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 900px;
}

.section-head-left h2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(2rem, 5vw, 3.8rem) !important;
}

.section-head-left h2::before {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    margin-bottom: 20px;
}

.section-head-clean {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
    position: relative;
}

.section-head-clean .modern-badge {
    background: var(--bg-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-primary);
}

.section-head-clean h2 {
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.05em !important;
    margin-top: 20px;
}

/* ============================================
   ULTRA MODERN SPLIT HEADER
============================================ */

.header-split-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    margin-bottom: 80px;
    align-items: flex-end;
}

.hsm-left {
    position: relative;
}

.hsm-left .modern-badge {
    display: inline-block;
    background: var(--accent-blue);
    color: #fff;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    border-radius: 2px;
}

.hsm-left h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin: 0;
}

.hsm-left h2 .highlight-gradient {
    display: block;
    margin-top: 10px;
}

.hsm-right {
    padding-bottom: 10px;
}

.hsm-right p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    border-left: 1px solid var(--border-light);
    padding-left: 30px;
}

@media (max-width: 1024px) {
    .header-split-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hsm-right p {
        border-left: none;
        padding-left: 0;
    }
}

/* ============================================
   COMPACT ENGINEERING CARDS (BENTO STYLE)
============================================ */

.services-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.compact-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.compact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 5, 20, 0.05);
    border-color: var(--accent-blue);
}

.compact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--accent-blue);
    border: 1px solid rgba(0, 102, 204, 0.05);
    transition: all 0.4s ease;
}

.compact-card:hover .compact-icon-box {
    background: var(--accent-blue);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

.compact-card h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.compact-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.compact-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compact-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(0, 102, 204, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.compact-arrow {
    width: 18px;
    height: 18px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.compact-card:hover .compact-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .services-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-compact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT US MODERN STYLES
============================================ */

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card-v2 {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card-v2:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 5, 20, 0.05);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.vision-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.philosophy-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.phil-card-v2 {
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 48px;
    border: 1px solid var(--border-light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phil-card-v2:hover {
    transform: translateY(-12px);
    border-color: var(--accent-blue);
    box-shadow: 0 40px 80px rgba(0, 5, 20, 0.08);
}

.phil-icon-box-v2 {
    width: 64px;
    height: 64px;
    background: rgba(0, 102, 204, 0.05);
    color: var(--accent-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.phil-card-v2:hover .phil-icon-box-v2 {
    background: var(--accent-blue);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.1);
}

.phil-card-v2 h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.phil-card-v2 p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Home About Mini */
.home-about-section {
    padding: 120px 0;
    background: #ffffff;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-about-visual {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-vision-grid,
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG DETAIL PAGES
============================================ */

.blog-post-section {
    padding: 120px 0;
    background: #ffffff;
}

.post-container {
    max-width: 860px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 60px;
}

.post-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin: 24px 0;
}

.post-meta-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-meta-premium span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-visual-premium {
    margin-bottom: 60px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.post-visual-premium img {
    width: 100%;
    display: block;
}

.post-body-premium {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.post-body-premium p {
    margin-bottom: 30px;
}

.post-body-premium h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 60px 0 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.post-body-premium .lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ============================================
   BLOG MODERN STYLES
============================================ */

.blog-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.blog-card-v2 {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card-v2:hover {
    transform: translateY(-12px);
    border-color: var(--accent-blue);
    box-shadow: 0 40px 80px rgba(0, 5, 20, 0.08);
}

.blog-img-v2 {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card-v2:hover .blog-img-v2 img {
    transform: scale(1.1);
}

.blog-content-v2 {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag-v2 {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-secondary);
    color: var(--accent-blue);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.blog-card-v2 h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-card-v2 p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.blog-footer-v2 {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.read-more-btn:hover {
    color: var(--accent-blue);
}

.read-more-btn:hover::after {
    width: calc(100% - 30px);
}

.read-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-v2:hover .read-more-btn svg {
    transform: translateX(6px);
}

/* ============================================
   FAQ CATEGORIES
============================================ */

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.faq-cat-btn {
    padding: 12px 24px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}


/* ============================================
   SEO & UTILITY CLASSES
============================================ */
.img-rounded-full {
    width: 100%;
    border-radius: 40px;
}

.badge-spaced {
    margin-bottom: 20px;
    display: inline-block;
}

.heading-hero-dynamic {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-lead-lg {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.text-lead-md {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.ml-30 {
    margin-left: 30px;
}

.mt-1rem {
    margin-top: 1rem;
}

.mb-24 {
    margin-bottom: 24px;
}

.justify-center {
    justify-content: center;
}

.bg-secondary {
    background: var(--bg-secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   PREMIUM FOOTER
============================================ */
.footer-premium {
    background: #0b0f19;
    color: #94a3b8;
    padding: 80px 0 30px;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.footer-cta h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 800;
}

.footer-cta p {
    color: #94a3b8;
    margin: 0;
    font-size: 16px;
}

.footer-newsletter-form {
    display: flex;
    gap: 12px;
}

.footer-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 24px;
    border-radius: 100px;
    color: #ffffff;
    width: 320px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.footer-input:focus {
    border-color: var(--accent-blue);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.footer-grid-premium {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: #94a3b8;
    margin: 24px 0 32px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.social-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-box:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.social-icon-box svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-nav-col h4 {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    font-weight: 800;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 16px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--accent-blue);
    margin-top: 4px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .footer-top-row {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .footer-newsletter-form {
        width: 100%;
    }

    .footer-input {
        width: 100%;
        flex-grow: 1;
    }

    .footer-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-grid-premium {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */

/* Testimonials Section - Simple SEO-First Grid */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-light);
    width: 100%;
    min-height: 250px;
    flex-shrink: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--accent-blue);
    font-size: 1.1rem;
    border: 2px solid var(--accent-blue);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
}