:root {
    --bg-color: #050a14; /* Siyah/Çok koyu lacivert yapıldı, böylece sekmelerde beyazlık çıkmaz */
    --text-color: #333333;
    --accent-color: #e7232d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none; /* Mac ve iOS'teki ekranın dışına yaylanma (bounce) efektini kapatır */
}

body {
    background-color: var(--bg-color);
    overscroll-behavior: none; /* Yaylanmayı kapatır */
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* ========== HEADER & NAV ========== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease;
}

.main-header.scrolled-nav {
    background-color: rgba(5, 10, 20, 0.75) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled-nav .nav-link {
    color: #ffffff !important;
}

.main-header.scrolled-nav .nav-link:hover {
    color: #e7232d !important;
}

/* Make sure the text logo or SVG stays visible */
.main-header.scrolled-nav .brand-logo {
    /* Since the navbar is dark again, the logo doesn't need to change color */
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2.5rem;
    height: 90px;
    transition: height 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    overflow: hidden; /* For safe scaling */
}

.brand-logo {
    height: 85px; /* Biraz küçültüldü */
    width: auto;
    transition: opacity 0.3s;
    clip-path: inset(30% 0 30% 0); /* Alt ve üst kırpma aynı kaldı */
    transform: scale(1.3); /* Ölçek küçültüldü */
    transform-origin: left center;
}

.brand-logo:hover {
    opacity: 0.85;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    color: #fff;
}
/* scrolled-nav tamamen kaldirildi */

/* ========== HERO SECTION ========== */
.hero-wrapper {
    position: relative;
    height: 300vh;
}

.hero-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* --- YENİ HERO LAYOUT --- */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Her zaman duracak olan sadece navbar karartması (orta tamamen temiz, video net) */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 25%, transparent 50%, transparent 100%);
    pointer-events: none;
}

/* Video sonu yazılarla birlikte gelen alt karartma efekti */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 35%, transparent 70%);
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1; /* Video ile yazıların arasına girer */
}

.hero-reveal .hero-overlay::after {
    opacity: 1;
}

.split-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end; /* Yazıları ve tabloyu en alt tarafa hizalar */
    padding: 0 6%;
    padding-top: 80px;
    padding-bottom: 100px; /* En alttan boşluk */
}

.hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    z-index: 2;
    /* Kutulama veya background kalmadı, temiz. */
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 1 !important; /* Her zaman görünür olması için zorunlu (animasyondan etkilenmez) */
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
    animation: drop 2s infinite ease-in-out;
}

@keyframes drop {
    0% { top: -50%; }
    100% { top: 100%; }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    font-weight: 600;
}

.glow-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.about-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.glow-badge.logo-badge {
    padding: 8px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.haytek-logo-text {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff; /* Beyaz olarak güncellendi */
    text-transform: uppercase;
}

.glow-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.hero-title-mega.text-left {
    text-align: left;
    line-height: 1.1;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    margin: 0 0 20px;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.text-gradient-contrast {
    font-weight: 600;
    color: #fff;
}

.text-gradient-primary {
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #ff4d55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-left {
    text-align: left;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 0 35px 0;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-actions-left {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.btn-glow-primary {
    background: #e7232d;
    color: #fff;
    padding: 18px 44px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(231, 35, 45, 0.4);
    letter-spacing: 1px;
}

.btn-glow-primary:hover {
    background: #cc1b24;
    box-shadow: 0 0 45px rgba(231, 35, 45, 0.7);
    transform: translateY(-3px);
    color: #fff;
}

.btn-outline-light {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Vertical Stats Block for right side */
.hero-stats-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 50px;
    border-radius: 30px;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.stat-plus {
    font-size: 1.6rem;
    color: #e7232d;
}

.stat-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 400;
}

.stat-divider-vertical {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* Reveal Animation */
.hero-content-left, .hero-stats-right {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}
.hero-content-left { transform: translateX(-30px); }
.hero-stats-right { transform: translateX(30px); transition-delay: 0.3s; }

.hero-reveal .hero-content-left, 
.hero-reveal .hero-stats-right {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        padding-top: 100px;
        gap: 40px;
    }
    .hero-stats-right {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 30px;
        gap: 20px;
        justify-content: center;
    }
    .stat-divider-vertical {
        width: 1px;
        height: 40px;
    }
    .hero-actions-left {
        flex-direction: column;
    }
}

/* ========== MAIN CONTENT & SECTIONS ========== */
.main-content-wrapper {
    position: relative;
    background-color: #f8fafc;
    z-index: 20;
    padding-top: 0;
    color: #475569;
}

.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #475569;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: none;
    text-transform: uppercase;
}
.section-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ========== WHY US (NEDEN BİZ) SPLIT SECTION ========== */
.why-us-section {
    position: relative;
    z-index: 20;
    background-color: #ffffff;
}

.why-us-split {
    display: flex;
    gap: 60px;
    align-items: center;
}

.why-us-image {
    flex: 1;
    position: relative;
    border-radius: 8px; /* Sharper, more editorial */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    max-height: 550px;
    aspect-ratio: 4/5;
}

.why-us-image img,
.why-us-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.why-us-image:hover img,
.why-us-image:hover .why-us-video {
    transform: scale(1.05);
}

.why-us-content {
    flex: 1;
}

.why-us-list {
    margin-top: 30px;
}

.why-us-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
    padding: 0; 
    border-radius: 0;
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(15,23,42,0.05);
    padding-bottom: 30px;
}

.why-us-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.why-us-item:hover {
    transform: translateX(10px);
}

.why-us-icon {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--accent-color);
    border: none;
    border-radius: 0;
    display: block;
    flex-shrink: 0;
    transition: all 0.4s ease;
    opacity: 0.8;
}

.why-us-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1px;
}

.why-us-item:hover .why-us-icon {
    transform: scale(1.1);
    opacity: 1;
}

.why-us-text h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.why-us-item:hover .why-us-text h3 {
    color: var(--accent-color);
}

.why-us-text p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
}

@media (max-width: 992px) {
    .why-us-split {
        flex-direction: column;
    }
    .why-us-image, .why-us-content {
        width: 100%;
    }
}


/* ========== CINEMATIC TEXT REVEAL ========== */
.cinematic-reveal-wrapper {
    position: relative;
    height: 300vh; /* Scroll for 3 screen heights */
    background: #03060c;
}

.cinematic-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cinematic-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.cinematic-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    /* initial opacity for the whole text block */
    opacity: 0.1;
}

.reveal-line {
    color: transparent;
    background-image: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.1) 0%);
    -webkit-background-clip: text;
    background-clip: text;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.cinematic-desc {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0; /* Will fade in via JS or CSS */
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cinematic-reveal-wrapper.is-revealed .cinematic-desc {
    opacity: 1;
    transform: translateY(0);
}

.horizontal-scroll-wrapper {
    height: 350vh; /* Adjusts how long the sticky scroll lasts */
    position: relative;
    background: #03060c; /* Matches Advantages background */
}

/* ========== PREMIUM NEXT-GEN SERVICES SECTION ========== */
.premium-services {
    background: #03060c; /* Matches Advantages background */
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 0;
    overflow: hidden;
}

.premium-services .section-title {
    color: #ffffff;
}

.premium-services .section-desc {
    color: #94a3b8;
}

.premium-services .section-badge {
    border-color: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}
.premium-services .section-badge::before {
    background-color: var(--accent-color);
}

.premium-services-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
    padding-right: 2.5rem;
}

.premium-service-card {
    position: relative;
    border-radius: 24px;
    background: #1e293b;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 480px;
    width: 380px; /* Fixed width for horizontal scroll */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.ps-img-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.ps-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.premium-service-card:hover .ps-img-wrap img {
    transform: scale(1.1);
}
.ps-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(30,10,10,0.9) 0%, rgba(30,10,10,0.2) 60%, transparent 100%);
    transition: opacity 0.5s ease, background 0.5s ease;
    z-index: 2;
}

.premium-service-card:hover .ps-overlay {
    background: linear-gradient(to top, rgba(100,20,20,0.85) 0%, rgba(100,20,20,0.3) 60%, transparent 100%);
}

.ps-content {
    position: relative;
    z-index: 10;
    padding: 40px;
    color: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(120px); /* Push further down so only H3 is visible initially */
}

.premium-service-card:hover .ps-content {
    transform: translateY(0);
}

.ps-content h3 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 15px;
}

.ps-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.6s ease, background 0.6s ease;
}

.premium-service-card:hover .ps-content h3::after {
    width: 100%;
    background: #ffffff;
}

.ps-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.premium-service-card:hover .ps-content p {
    opacity: 1;
    transform: translateY(0);
}

.ps-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.ps-link span {
    display: none;
}

.premium-service-card:hover .ps-link {
    opacity: 1;
    transform: scale(1);
    border-color: #ffffff;
}

.ps-link:hover {
    background: #ffffff;
    color: #0f172a;
}

@media (max-width: 1024px) {
    .premium-service-card { width: 320px; }
}
@media (max-width: 768px) {
    .premium-service-card { width: 280px; height: 400px; }
    .ps-content { transform: translateY(0); }
    .ps-content p, .ps-link { opacity: 1; transform: translateY(0); }
}

/* ========== PREMIUM GLASSMORPHISM ACCORDION ========== */
.advantages-accordion-section {
    background-color: #03060c; /* Ultra dark, almost black for maximum contrast */
    padding: 100px 0;
    color: #ffffff;
}

.advantages-accordion-section .section-title {
    color: #ffffff;
    font-size: 2.5rem;
}

.advantages-accordion-section .section-desc {
    color: rgba(255,255,255,0.6);
}

.accordion-container {
    display: flex;
    width: 100%;
    height: 600px; /* Taller for a more majestic feel */
    gap: 20px;
    margin-top: 50px;
}

.accordion-item {
    position: relative;
    flex: 1;
    border-radius: 40px; /* Very rounded corners */
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex 1.5s ease-in-out; /* Ultra smooth and slower */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Active State */
.accordion-item:hover, 
.accordion-container:not(:hover) .accordion-item:first-child {
    flex: 8;
}

.accordion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3, 6, 12, 0.3) 0%, rgba(3, 6, 12, 0.9) 100%);
    transition: background 1.5s ease-in-out;
}

.accordion-item:hover .accordion-overlay,
.accordion-container:not(:hover) .accordion-item:first-child .accordion-overlay {
    background: linear-gradient(to bottom, rgba(3, 6, 12, 0.1) 0%, rgba(3, 6, 12, 0.6) 100%);
}

.accordion-glass-panel {
    position: absolute;
    bottom: 30px;
    left: 20px; /* Fixed left so it aligns with the icon when collapsed */
    height: 90px;
    width: 90px; /* Perfect circle when collapsed */
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle white */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 45px; /* Circle/Pill */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    padding: 10px;
    overflow: hidden;
    transition: width 1.5s ease-in-out, background 1.5s ease-in-out, border-color 1.5s ease-in-out;
}

.accordion-item:hover .accordion-glass-panel,
.accordion-container:not(:hover) .accordion-item:first-child .accordion-glass-panel {
    width: calc(100% - 40px);
    background: rgba(20, 25, 40, 0.6); /* Slightly darker/tinted when expanded */
    border-color: rgba(255, 255, 255, 0.2);
}

.acc-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(231, 35, 45, 0.9) 0%, rgba(153, 27, 27, 0.9) 100%);
    box-shadow: 0 5px 20px rgba(231, 35, 45, 0.4), inset 0 0 15px rgba(255,255,255,0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: transform 0.8s ease-in-out;
}

.accordion-item:hover .acc-icon,
.accordion-container:not(:hover) .accordion-item:first-child .acc-icon {
    transform: scale(1.05); /* Slight pop when active */
}

.acc-icon i, .acc-icon svg {
    font-size: 1.6rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke-width: 2px;
}

.acc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    min-width: 500px; /* Prevents text from squishing during animation */
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-in-out, transform 1s ease-in-out;
}

.accordion-item:hover .acc-content,
.accordion-container:not(:hover) .accordion-item:first-child .acc-content {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s; /* Delayed entry for the text */
}

.acc-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.acc-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 992px) {
    .accordion-container {
        flex-direction: column;
        height: 700px;
        gap: 15px;
    }
    .accordion-item {
        min-height: 110px;
    }
    .accordion-glass-panel {
        bottom: 50%; 
        transform: translateY(50%);
        left: 15px; 
        right: 15px;
        height: 75px;
        width: 75px; 
    }
    .acc-icon {
        width: 55px;
        height: 55px;
    }
    .acc-icon i, .acc-icon svg {
        font-size: 1.2rem;
    }
    .accordion-item:hover .accordion-glass-panel,
    .accordion-container:not(:hover) .accordion-item:first-child .accordion-glass-panel {
        width: calc(100% - 30px);
        height: 90px;
    }
    .acc-content {
        min-width: 0; 
        margin-left: 10px;
    }
    .acc-content h3 {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    .acc-content p {
        font-size: 0.85rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ========== TIMELINE SECTION (PREMIUM LIGHT THEME) ========== */
.timeline-section {
    background-color: #f8fafc; /* Premium soft light background */
    color: #0f172a;
    padding-top: 100px;
    padding-bottom: 20px;
}

.timeline-section .section-title {
    color: #0f172a;
}
.timeline-section .section-desc {
    color: #475569;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 120px; /* Increased to prevent pipe from overlapping the description text */
}

/* 3D Glowing PEX Pipe (Straight line for mobile, hidden on desktop) */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(to right, #7f1d1d 0%, #dc2626 15%, #fca5a5 35%, #ef4444 50%, #dc2626 70%, #f87171 85%, #7f1d1d 100%);
    border-radius: 20px;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3), inset -4px 0 8px rgba(0,0,0,0.4), inset 4px 0 8px rgba(255,255,255,0.6);
    z-index: 1;
    overflow: hidden;
}

/* Gray overlay to hide un-scrolled portions of the pipe */
.timeline-line::before {
    content: '';
    position: absolute;
    top: var(--scroll-progress, 0%);
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #1e293b 0%, #334155 15%, #94a3b8 35%, #475569 50%, #334155 70%, #64748b 85%, #1e293b 100%);
    z-index: 2;
}

/* Extra Neon Glow Layer */
.timeline-line .glow-effect {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    animation: pulse-glow-light 3s infinite alternate;
}

@keyframes pulse-glow-light {
    0% { opacity: 0.5; box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
    100% { opacity: 1; box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); }
}

/* DESKTOP SERPENTINE PIPE */
@media (min-width: 769px) {
    .timeline-line {
        display: none; /* Hide the straight line */
    }

    /* Base Loop */
    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        height: calc(100% + 60px); /* Span down to next step */
        width: 80px; /* Fixed width perfectly inside the padding corridor */
        border: 8px solid #334155; /* Default Gray */
        z-index: 1;
        transition: border-color 0.5s ease, filter 0.5s ease;
    }
    .timeline-step.active:not(:last-child)::after {
        border-color: #dc2626; /* PEX Red */
        filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.3));
    }

    /* Odd Steps (Child 3, 5: Card on Right, loop goes LEFT) */
    .timeline-step:nth-child(odd):not(:last-child)::after {
        right: calc(100% - 4px); /* Align border center to container centerline */
        border-right: none;
        border-radius: 200px 0 0 200px;
    }

    /* Even Steps (Child 2, 4, 6: Card on Left, loop goes RIGHT) */
    .timeline-step:nth-child(even):not(:last-child)::after {
        left: calc(100% - 4px); /* Align border center to container centerline */
        border-left: none;
        border-radius: 0 200px 200px 0;
    }

    /* Entry Line */
    .timeline-step:nth-child(2)::before {
        content: '';
        position: absolute;
        top: -80px;
        height: calc(50% + 80px);
        width: 8px;
        background: #334155;
        z-index: 1;
        transition: background 0.5s ease, box-shadow 0.5s ease;
        left: 100%;
        transform: translateX(-50%);
    }
    .timeline-step.active:nth-child(2)::before {
        background: #dc2626;
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    }

    /* Exit Line */
    .timeline-step:last-child::after {
        content: '';
        position: absolute;
        top: 50%;
        height: calc(50% + 200px);
        width: 8px;
        background: #334155;
        z-index: 1;
        transition: background 0.5s ease, box-shadow 0.5s ease;
    }
    .timeline-step.active:last-child::after {
        background: #dc2626;
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    }
    .timeline-step:last-child:nth-child(odd)::after { left: 0; transform: translateX(-50%); }
    .timeline-step:last-child:nth-child(even)::after { left: 100%; transform: translateX(-50%); }
}

.timeline-step {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
    padding-right: 60px;
    position: relative;
    margin-bottom: 60px;
}
.timeline-step:nth-child(odd) {
    justify-content: flex-start;
    left: 50%;
    padding-right: 0;
    padding-left: 60px;
}

/* Premium Light Ring Step Number on Pipe */
.step-number {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 3px solid rgba(226, 232, 240, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626; /* Deep red icon */
    font-size: 1.4rem;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08), inset 0 0 10px rgba(220, 38, 38, 0.1);
    transition: all 0.4s ease;
}

.timeline-step:nth-child(odd) .step-number {
    right: auto;
    left: -30px;
}

.timeline-step:hover .step-number {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4), inset 0 0 15px rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
    border-color: #ffffff;
}

/* Premium Light Cards */
.premium-card-light {
    position: relative;
    padding: 35px 40px;
    border-radius: 24px;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 15px 35px rgba(15,23,42,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 5;
    /* Fixed height ensures mathematically perfect alignment for the snaking pipe */
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-step:hover .premium-card-light {
    transform: translateY(-5px);
    border-color: rgba(226, 232, 240, 1);
    box-shadow: 0 25px 50px rgba(15,23,42,0.08), 0 0 20px rgba(239, 68, 68, 0.05);
}

.card-watermark {
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(226, 232, 240, 0.4); /* Faint gray */
    z-index: 0;
    pointer-events: none;
    transition: transform 0.5s ease, color 0.5s ease;
}

.timeline-step:hover .card-watermark {
    transform: scale(1.05) translate(-10px, -10px);
    color: rgba(239, 68, 68, 0.05); /* Faint red */
}

.card-content-wrap {
    position: relative;
    z-index: 1;
}

.premium-card-light h3 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.premium-card-light h3 .text-accent {
    color: var(--accent-color);
}

.premium-card-light p {
    color: #475569;
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-container {
        padding-left: 30px; /* Leave space for line on the left */
    }
    .timeline-line {
        left: 30px;
        transform: translateX(-50%);
    }
    .timeline-step, .timeline-step:nth-child(odd) {
        width: 100%;
        justify-content: flex-start;
        left: 0;
        padding-left: 70px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    .step-number, .timeline-step:nth-child(odd) .step-number {
        left: 30px;
        right: auto;
        transform: translate(-50%, -50%);
    }
    .timeline-step:hover .step-number {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ========== PROJECTS SECTION ========== */
.projects-section {
    background-color: #ffffff;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 350px;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    inset: auto 20px 20px 20px;
    padding: 20px;
    border-radius: 16px;
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}
.project-overlay h3 {
    color: #222222;
    margin-bottom: 5px;
}
.project-overlay p {
    color: #666666;
    font-size: 0.9rem;
}

/* ========== WORKS GALLERY SECTION ========== */
.works-gallery-section {
    background-color: #03060c;
    padding-top: 20px;
    padding-bottom: 80px;
}
.works-gallery-section .section-title {
    color: #ffffff;
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -1px;
}
.works-gallery-section .section-desc {
    color: #94a3b8;
}
.works-swiper {
    padding-bottom: 40px !important;
}
.work-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #1e293b;
    cursor: pointer;
    height: 400px;
}
.work-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.6s ease;
}
.work-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.work-gallery-item:hover img {
    transform: scale(1.05);
}
.work-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}
.work-gallery-item:hover .work-gallery-overlay {
    opacity: 1;
}
.work-gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.work-gallery-item:hover .work-gallery-overlay i {
    transform: translateY(0);
}
.works-next, .works-prev {
    color: var(--accent-color) !important;
    background: #fff;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.works-next:after, .works-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

/* ========== COUNTERS SECTION ========== */
.counters-section {
    background: linear-gradient(135deg, var(--accent-color), #ff4d55);
    border: none;
}
.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.counter-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}
.counter-label {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ========== BRANDS SECTION ========== */
.brands-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
}
.brands-title {
    text-align: center;
    color: #999999;
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.brand-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #666666;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
}
.brand-box:hover {
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ========== TESTIMONIALS SECTION (GLASSMORPHISM) ========== */
.testimonials-section {
    padding: 100px 0 20px 0;
}
.testimonials-section .section-title {
    color: #222222;
}

.testimonial-card.glass-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 24px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
}
.testimonial-card.glass-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.stars {
    color: #ffb400;
    font-size: 1rem;
    margin-bottom: 25px;
    display: flex;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    color: #475569;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #7f1d1d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.author-info h4 {
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-icon {
    color: #3b82f6; /* Blue verified badge */
    font-size: 0.9rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swiper-pagination-bullet {
    background: rgba(0,0,0,0.1);
}
.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background-color: #03060c; /* Now dark theme by default */
    padding: 20px 0 100px 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* Glass-card specific styles for FAQ */
.faq-item.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255,255,255,0.05);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 20px 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
}
.faq-item.active .faq-answer {
    padding-bottom: 24px;
}
.faq-answer p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* ========== BLOG SECTION ========== */
.blog-section {
    background-color: #ffffff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.blog-img {
    height: 200px;
    overflow: hidden;
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog-card:hover .blog-img img {
    transform: scale(1.05);
}
.blog-content {
    padding: 30px;
}
.blog-date {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}
.blog-content h3 {
    color: #222222;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}
.blog-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.blog-link:hover {
    color: var(--accent-color);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background-color: #0b0f19; /* Premium dark section */
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(231,35,45,0.5), transparent);
}
.cta-box {
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.cta-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}
.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 500px;
}
.cta-actions {
    display: flex;
    gap: 20px;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #e7232d 0%, #b91c24 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(231, 35, 45, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cta-btn-primary i {
    font-size: 1.2rem;
}
.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(231, 35, 45, 0.6);
    color: #ffffff;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cta-btn-outline i {
    font-size: 1.3rem;
}
.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #ffffff;
}

/* ========== CONTACT MAP SECTION ========== */
.contact-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-link-card .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-link-card .text-wrap h4 {
    margin: 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-link-card .text-wrap p {
    margin: 5px 0 0;
    color: #64748b;
}

/* ========== FOOTER ========== */
.main-footer {
    border-top: none;
    background: #050810;
    padding-top: 60px;
}
.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-color) !important;
}
.social-btn:hover {
    background: var(--accent-color) !important;
    transform: translateY(-3px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 15px;
}
.footer-col ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col ul a:hover {
    color: var(--accent-color);
}
.contact-list li {
    color: rgba(255,255,255,0.6);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid, .services-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-container {
        grid-template-columns: 1fr auto;
    }
    .nav-links, .nav-cta {
        display: none;
    }
    .hero-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 30px;
    }
    .section-title {
        font-size: 2.4rem;
    }
    .advantages-split {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .features-grid, .services-grid, .blog-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-container {
        padding: 60px 1.5rem;
    }
    .timeline-step, .timeline-step:nth-child(odd) {
        width: 100%;
        padding-left: 50px;
        justify-content: flex-start;
    }
    .timeline-line {
        left: 20px;
    }
    .step-number, .timeline-step:nth-child(odd) .step-number {
        left: -4px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-actions {
        flex-direction: column;
    }
}

/* ========== PREMIUM DETAIL SECTION ========== */
.premium-detail-section {
    padding: 120px 0;
    background-color: #fafcff;
    position: relative;
    overflow: hidden;
}

.premium-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.premium-detail-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
    line-height: 1.2;
}

.premium-detail-desc {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 25px;
}

.premium-feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: rgba(231, 35, 45, 0.2);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(231, 35, 45, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feature-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
}

.premium-detail-visuals {
    position: relative;
}

.main-visual-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.main-visual-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
}

.main-visual-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-visual-wrapper:hover .main-visual-img {
    transform: scale(1.05);
}

.floating-stat-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* ========== PREMIUM CTA SECTION ========== */
.premium-cta-section {
    padding: 60px 0 120px;
    background-color: #fafcff;
}

.premium-cta-card {
    background: linear-gradient(135deg, #050a14 0%, #1a0f14 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(5, 10, 20, 0.2);
}

.cta-bg-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231,35,45,0.15) 0%, rgba(231,35,45,0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    pointer-events: none;
}

.premium-cta-card .cta-content {
    position: relative;
    z-index: 2;
}

.premium-cta-card h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.premium-cta-card p {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent-color);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.premium-btn:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 35, 45, 0.2);
}

@media (max-width: 992px) {
    .premium-detail-grid {
        grid-template-columns: 1fr;
    }
    .floating-stat-box {
        left: 20px;
        bottom: -20px;
    }
}
@media (max-width: 768px) {
    .premium-detail-title {
        font-size: 2.2rem;
    }
    .premium-cta-card {
        padding: 60px 20px;
    }
    .premium-cta-card h2 {
        font-size: 2.2rem;
    }
}

/* ========== PREMIUM DETAIL PAGES V2 (BLOG & SERVICES) ========== */
.premium-page-wrapper {
    background-color: #0b0f19;
    color: #e2e8f0;
    min-height: 100vh;
    padding-top: 100px;
    font-family: 'Inter', sans-serif;
}

.premium-hero {
    position: relative;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.premium-hero-img-box {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.premium-hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.5s ease;
}

.premium-hero-img-box:hover img {
    transform: scale(1.05);
}

.premium-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px 40px;
    background: linear-gradient(to top, rgba(11, 15, 25, 1) 0%, rgba(11, 15, 25, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.premium-breadcrumb {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    max-width: 900px;
}

.premium-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
}

.premium-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.premium-article {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.premium-article h2, .premium-article h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 50px 0 25px 0;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
    line-height: 1.4;
}

.premium-article h2 { font-size: 2.2rem; }
.premium-article h3 { font-size: 1.8rem; }

.premium-article p {
    margin-bottom: 25px;
}

.premium-article .lead {
    font-size: 1.35rem;
    color: #f8fafc;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.7;
}

.premium-article blockquote {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    font-style: italic;
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.7;
}

.premium-article blockquote::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(231, 35, 45, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.premium-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.sidebar-glass-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-glass-card h4 i {
    color: var(--accent-color);
}

.sidebar-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-contact-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s;
}

.sidebar-contact-list li a:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

.sidebar-contact-list li a i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(231, 35, 45, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .premium-content-grid {
        grid-template-columns: 1fr;
    }
    .premium-sidebar {
        position: static;
        margin-top: 40px;
    }
}
@media (max-width: 768px) {
    .premium-hero-title {
        font-size: 2.2rem;
    }
    .premium-hero-img-box {
        height: 350px;
    }
    .premium-hero {
        padding: 20px;
    }
}


/* ========================================================= */
/*                   MOBILE RESPONSIVENESS OVERRIDES         */
/* ========================================================= */

/* Navbar & Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-nav-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-self: end;
}

@media (max-width: 992px) {
    /* Navbar Adjustments */
    .nav-links {
        display: none !important;
    }
    
    .nav-container {
        grid-template-columns: 1fr auto !important;
        padding: 0 1.5rem !important;
        display: flex !important;
        justify-content: space-between !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: inline-block;
    }
    
    .brand-logo {
        height: 70px !important;
        transform: none !important;
        clip-path: none !important;
        max-width: 100%;
        object-fit: contain;
    }

    /* Hero Section */
    .hero-title-mega.text-left {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        margin-bottom: 15px !important;
    }
    
    .hero-desc-left {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
    
    .btn-glow-primary, .btn-outline-light {
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .split-layout {
        padding-top: 80px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .hero-stats-right {
        padding: 20px !important;
        gap: 15px !important;
        border-radius: 20px !important;
    }

    .stat-val {
        font-size: 1.8rem !important;
    }
    
    .hero-section {
        height: 100vh !important;
    }
    
    #hero-video {
        transform: none !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    /* Horizontal Scroll Services reset */
    .horizontal-scroll-wrapper {
        height: auto !important; /* Cancel sticky height */
        background: #03060c !important;
    }
    
    .premium-services {
        position: relative !important;
        height: auto !important;
        padding: 60px 20px !important;
    }
    
    .premium-services-track {
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        gap: 20px !important;
        width: 100% !important;
        transform: none !important; /* Disable JS translation */
        padding-right: 0 !important;
    }
    
    .premium-service-card {
        width: 100% !important;
        height: 400px !important;
    }
    
    /* Cinematic Text */
    .cinematic-text {
        font-size: clamp(2.2rem, 6vw, 3rem) !important;
    }
    
    /* Footer */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .footer-legal {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    /* More specific small screen overrides */
    .section-title {
        font-size: 2.2rem !important;
    }
    
    .section-desc {
        font-size: 1rem !important;
    }
    
    .section-container {
        padding: 60px 1.5rem !important;
    }
    
    .why-us-split {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .why-us-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}
