:root {
    --bg-dark: #0a0f1c;
    --bg-darker: #05080f;
    --text-light: #e0e6ed;
    --text-muted: #94a3b8;
    --accent-cyan: #2BBFF3;
    --accent-blue: #1A9ED0;
    --accent-gradient: linear-gradient(135deg, #2BBFF3, #1A9ED0);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;

    /* Light Theme Variables */
    --light-bg: #DBF5FA;
    --text-on-light: #0a0f1c;
    --text-muted-on-light: #475569;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.mobile-only {
    display: none;
}

.pc-only {
    display: inline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.logo img {
    height: 48px;
    /* Increased for visibility */
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 240, 255, 0.2));
    display: block;
    /* Ensure it behaves well */
}

.logo span {
    display: none;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    /* Reduced gap to fit more items */
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    min-width: max-content;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    color: var(--accent-cyan) !important;
}

.btn-nav:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-slider {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    flex: 0 0 100%;
    background: radial-gradient(circle at 70% 30%, rgba(43, 89, 255, 0.15) 0%, transparent 50%);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg, transparent 0, transparent 148px, rgba(0, 240, 255, 0.25) 150px, transparent 152px),
        repeating-linear-gradient(0deg, transparent 0, transparent 148px, rgba(0, 240, 255, 0.25) 150px, transparent 152px);
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
    mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

.hero-slide.active {
    z-index: 2;
}

/* Radar Scan for Hero Slide */
.hero-slide::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.4), transparent);
    z-index: 9;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}

.hero-slide.active::after {
    animation: radar-scan-hero 3s infinite linear;
    opacity: 1;
}

@keyframes radar-scan-hero {
    0% {
        top: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.slide-1 {
    background-image: linear-gradient(rgba(10, 15, 28, 0.4), rgba(10, 15, 28, 0.4)), url('images/slide_img/slid_img_1_1920X1080.png');
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background-image: linear-gradient(rgba(10, 15, 28, 0.4), rgba(10, 15, 28, 0.4)), url('images/slide_img/slide_img_2.png');
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background-image: linear-gradient(rgba(10, 15, 28, 0.4), rgba(10, 15, 28, 0.4)), url('images/slide_img/slide_img_4.png');
    background-size: cover;
    background-position: center;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-dark);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent-cyan);
    width: 30px;
    border-radius: 10px;
}

/* Glowing Nodes & Circuits Layer - More Intense */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.4) 0%, transparent 12%),
        radial-gradient(circle at 80% 40%, rgba(0, 240, 255, 0.4) 0%, transparent 10%),
        radial-gradient(circle at 40% 70%, rgba(0, 240, 255, 0.4) 0%, transparent 15%),
        radial-gradient(circle at 70% 80%, rgba(0, 240, 255, 0.4) 0%, transparent 12%);
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
    animation: circuit-pulse 6s ease-in-out infinite alternate;
}

@keyframes circuit-pulse {
    0% {
        opacity: 0.4;
        filter: blur(1px) brightness(0.8);
    }

    100% {
        opacity: 0.8;
        filter: blur(0px) brightness(1.2);
    }
}

@keyframes floor-flow {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 0 0, 0 100px;
    }
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.hero-content {
    width: 50%;
    max-width: 650px;
    z-index: 10;
    flex-shrink: 0;
}

.hero-text-box {
    position: relative;
    padding: 3rem;
    background: rgba(10, 15, 28, 0.55);
    backdrop-filter: blur(15px);
    /* Sci-Fi Chamfered Shape */
    clip-path: polygon(0% 20px, 20px 0%,
            calc(100% - 50px) 0%, 100% 50px,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            50px 100%, 0% calc(100% - 50px));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s ease;
}

/* Diagonal Scanline Pattern inside the box */
.hero-text-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px);
    pointer-events: none;
    z-index: -1;
}

/* The Accent HUD Tabs (Top and Bottom) */
.hero-text-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 100px;
    height: 4px;
    transition: 0.5s;
}

.hero-text-box-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    transition: 0.5s;
}

/* Slide Specific HUD Themes */
/* Slide 1: Cyan */
.slide-1 .hero-text-box {
    background: rgba(6, 18, 25, 0.55);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1), 0 0 30px rgba(0, 240, 255, 0.1);
}

.slide-1 .hero-text-box::after {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* Slide 2: Green */
.slide-2 .hero-text-box {
    background: rgba(6, 25, 14, 0.55);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.1), 0 0 30px rgba(0, 255, 136, 0.1);
}

.slide-2 .hero-text-box::after {
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
}

/* Slide 3: Purple/Red (Report) */
.slide-3 .hero-text-box {
    background: rgba(20, 6, 25, 0.55);
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.1), 0 0 30px rgba(168, 85, 247, 0.1);
}

.slide-3 .hero-text-box::after {
    background: #a855f7;
    box-shadow: 0 0 15px #a855f7;
}

/* Slide 4: Case Story (Black/Cyan) */
.slide-4 {
    background: #000;
}

.slide-4 .hero-text-box {
    background: rgba(10, 15, 28, 0.65);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1), 0 0 30px rgba(0, 240, 255, 0.1);
}

.slide-4 .hero-text-box::after {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* Slide 4 specific layout for larger image */
.slide-4 .hero-content {
    width: 40%;
}

.slide-4 .hero-visual {
    width: 60%;
}

.slide-4 .hero-image {
    width: 750px;
    max-width: 95%;
    max-height: 85vh;
    animation: none;
    /* Removed floating animation for better readability */
}

@media (max-width: 1200px) {
    .slide-4 .hero-image {
        width: 600px;
    }
}

@media (max-width: 992px) {

    .slide-4 .hero-content,
    .slide-4 .hero-visual {
        width: 100%;
    }

    .slide-4 .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 2rem;
    }

    .slide-4 .hero-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(43, 89, 255, 0.2);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(43, 89, 255, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-subtitle strong {
    color: var(--accent-cyan);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.feature-item .icon {
    display: flex;
    align-items: center;
    color: var(--accent-cyan);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 0 20px rgba(43, 89, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(43, 89, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #2BBFF3;
    color: #2BBFF3;
}

.btn-secondary:hover {
    background: rgba(43, 191, 243, 0.1);
    color: #2BBFF3;
    border-color: #2BBFF3;
}

.hero-phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.hero-phone-badge a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.hero-phone-badge span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.phone-icon-box {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Abstract Tech Visual */
.hero-visual {
    width: 50%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.2);
    position: absolute;
    animation: rotate 20s linear infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-image {
    position: relative;
    width: 450px;
    /* Fixed width for consistency */
    max-width: 100%;
    height: auto;
    max-height: 75vh;
    z-index: 5;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
}

.tech-circle.small {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(43, 89, 255, 0.3);
    animation: rotate 15s linear infinite reverse;
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections General */
.section {
    padding: 6rem 5%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2BBFF3;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Why Section */
.why-section {
    background: #f8f9fa;
    padding: 8rem 5%;
}

.why-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 2rem;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2BBFF3;
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.feature-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .why-content {
        gap: 1rem;
    }

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .feature-image {
        display: none;
        /* Hide image on mobile */
    }

    .feature-text {
        padding: 0;
        /* Remove parent padding to allow h3 to fill top */
        border: 1px solid #dee2e6;
        /* Clear 1px border for light background */
        border-radius: 12px;
        background: #ffffff;
        overflow: hidden;
        /* Ensure rounded corners clip the h3 bg */
    }

    .feature-text h3 {
        text-align: center;
        font-size: 1.25rem;
        margin-bottom: 0;
        background: #2BBFF3;
        color: #0a0f1c;
        /* Dark text for better contrast on cyan */
        padding: 1rem 1.5rem;
        border-radius: 12px 12px 0 0;
        /* Round top-left and top-right */
    }

    .feature-text p {
        text-align: left;
        /* Changed from right to left */
        font-size: 1rem;
        line-height: 1.6;
        padding: 1.5rem;
        color: #444;
        /* Add padding back for the content area */
    }
}

/* Cases Section */
.cases-section {
    background: #000;
    padding: 8rem 5%;
}

.cases-section .section-title {
    color: #2BBFF3;
}

.cases-section .section-subtitle {
    color: #94a3b8;
}

.cases-content {
    max-width: 1000px;
    margin: 2rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.cases-content:hover .case-main-img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .cases-section {
        padding: 5rem 5%;
    }
}

.alert-box p {
    margin-bottom: 0;
    color: #ffcccb;
}

.alert-box strong {
    color: #ff4d4d;
    font-size: 1.3rem;
    display: block;
    margin-top: 1rem;
}

/* Diagnosis Section */
.diagnosis-section {
    background: var(--bg-dark);
}

.diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .diagnosis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .diagnosis-grid {
        grid-template-columns: 1fr;
    }
}

.diagnosis-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.diagnosis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 300px;
    overflow: hidden;
    background: #f0f4f8;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.theme-red .card-content {
    background: #E54B64;
}

.theme-blue .card-content {
    background: #0056A4;
}

.theme-orange .card-content {
    background: #F58220;
}

.theme-green .card-content {
    background: #4CAF50;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff !important;
}

.card-content p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 0;
    color: #fff !important;
}

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

/* Service Section */
.service-section {
    background: var(--bg-darker);
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}



.step-card {
    flex: 1;
    min-width: 280px;
    height: 400px;
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    /* Changed from light grey to transparent */
    transition: 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #2BBFF3;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-card>* {
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000000;
    /* Font changed to black */
    background: rgba(255, 255, 255, 0.85);
    width: fit-content;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: auto;
}

.step-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #000000;
}

.step-card p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-lg {
    font-size: 1.1rem;
    color: #fff;
    background: rgba(43, 89, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(43, 89, 255, 0.3);
}

/* Tech Section */
.tech-section {
    background: radial-gradient(circle at 30% 70%, rgba(43, 89, 255, 0.1) 0%, transparent 50%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 1rem;
    margin-top: 5rem;
    overflow: visible;
}

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.tech-card {
    background: #ffffff;
    border-radius: 4px;
    /* Sharper corners as in reference */
    overflow: visible;
    /* Allow badge to overflow */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* .tech-img removed as requested */

.tech-step-badge {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    width: 80px;
    height: 80px;
    background: #FF6B4A;
    /* Coral color as in reference circle */
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    z-index: 5;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

.tech-info {
    padding: 3rem 1.5rem 2rem;
    /* Restored padding as badge is now outside */
    text-align: center;
    flex-grow: 1;
    background: #ffffff;
    /* White background for text area as requested */
}

/* Tech Card Theme Overrides - Reduced Saturation & Transparency */
.theme-red .tech-info {
    background: rgba(229, 75, 100, 0.8);
    color: #ffffff;
}

.theme-blue .tech-info {
    background: rgba(0, 86, 164, 0.8);
    color: #ffffff;
}

.theme-orange .tech-info {
    background: rgba(245, 130, 32, 0.8);
    color: #ffffff;
}

.theme-green .tech-info {
    background: rgba(76, 175, 80, 0.8);
    color: #ffffff;
}

.theme-red .tech-step-badge {
    background: #ffffff;
    color: #E54B64;
    border-color: #E54B64;
    transition: 0.3s;
}

.theme-blue .tech-step-badge {
    background: #ffffff;
    color: #0056A4;
    border-color: #0056A4;
    transition: 0.3s;
}

.theme-orange .tech-step-badge {
    background: #ffffff;
    color: #F58220;
    border-color: #F58220;
    transition: 0.3s;
}

.theme-green .tech-step-badge {
    background: #ffffff;
    color: #4CAF50;
    border-color: #4CAF50;
    transition: 0.3s;
}

/* Hover: Badge takes theme background color */
.theme-red:hover .tech-step-badge {
    background: #E54B64;
    color: #ffffff;
}

.theme-blue:hover .tech-step-badge {
    background: #0056A4;
    color: #ffffff;
}

.theme-orange:hover .tech-step-badge {
    background: #F58220;
    color: #ffffff;
}

.theme-green:hover .tech-step-badge {
    background: #4CAF50;
    color: #ffffff;
}

.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: inherit;
    text-transform: uppercase;
}

.tech-desc {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-detail {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #000000;
    font-weight: 500;
}



/* Strength Section - Redesigned to horizontal layout */
.strength-section {
    background: #f3ece3 !important;
    /* Light cream background */
    padding: 8rem 5%;
}

.strengths-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.strength-content {
    width: 100%;
}

.strength-content .section-title {
    color: #333;
}

.strength-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 0;
    padding: 0;
    list-style: none;
}

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

@media (max-width: 576px) {
    .strength-list {
        grid-template-columns: 1fr;
    }
}

.strength-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.strength-list .icon-circle {
    width: 130px;
    height: 130px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 2rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(43, 191, 243, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.1);
    border: 5px solid #ffffff;
}

.strength-list .icon-circle svg {
    width: 55px;
    height: 55px;
    stroke-width: 1.5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.strength-list li:hover .icon-circle {
    transform: translateY(-12px) rotate(5deg);
    box-shadow: 0 20px 45px rgba(43, 191, 243, 0.4);
}

.strength-list li:hover .icon-circle svg {
    transform: scale(1.1);
    transition: 0.4s ease;
}

.strength-list strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

.strength-list p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}





/* Customer Section */
.customer-section {
    background: var(--bg-darker);
}

.customer-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.customer-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    border-radius: 4px;
    /* Sharper corners like the reference image */
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #1A9ED0;
    /* Prominent blue top border */
}

.customer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.customer-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #000000;
    text-transform: uppercase;
}

.customer-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    color: #1A9ED0;
}

.card-icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5px;
}



/* Reservation Section - Split Layout */
.reservation-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
    background: #05080f;
}

.res-split-left,
.res-split-right {
    flex: 1;
    min-width: 350px;
    padding: 6rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-split-left {
    background: linear-gradient(rgba(10, 15, 28, 0.8), rgba(10, 15, 28, 0.8)),
        url('images/hero_bg_gov.png') center/cover;
    /* Falling back to existing image for texture */
    color: #ffffff;
    text-align: left;
}

.res-split-right {
    background: #1A9ED0;
    /* Vibrant blue from image */
    color: #ffffff;
}

.res-content-left,
.res-content-right {
    max-width: 500px;
    width: 100%;
}

.res-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.res-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.res-testimonial {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.res-avatar {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 3px solid #1A9ED0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.res-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.res-user-info strong {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-user-info span {
    font-size: 0.85rem;
    opacity: 0.6;
}

.res-promise-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.9;
}

.res-contact-box {
    margin-bottom: 3rem;
}

.res-phone {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.2rem;
}

.res-phone a {
    text-decoration: none;
    color: inherit;
}

.res-signature {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

/* Form Styling */
.res-form-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.res-form-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.res-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.res-input-group {
    flex: 1;
    margin-bottom: 1rem;
}

.res-form input,
.res-form select,
.res-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff !important;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 8px;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
}

.res-form select {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.2rem center / 1.2rem !important;
    padding-right: 3rem;
    cursor: pointer;
}

/* Fix for IE/Edge to hide default arrow */
.res-form select::-ms-expand {
    display: none;
}


.res-form input:focus,
.res-form select:focus,
.res-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(26, 158, 208, 0.1);
}


.res-form textarea {
    height: 120px;
    resize: none;
}

.res-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 2rem;
}

.res-submit-btn {
    background: #19395F;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem 6rem;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.res-submit-btn:hover {
    background: #ffffff;
    color: #1A9ED0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #ffffff;
}

.res-social {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.res-social span {
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.res-social a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.res-social a:hover {
    background: #ffffff;
    color: #1A9ED0;
}

@media (max-width: 768px) {
    .res-form-row {
        flex-direction: column;
        gap: 0;
    }

    .res-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}


.footer-logo span {
    display: none;
}



.footer-info {
    text-align: right;
    line-height: 1.6;
}

.footer-company-details {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-company-details p {
    margin-bottom: 0.3rem;
}

.footer-company-details strong {
    color: var(--text-light);
    font-size: 1rem;
}

.footer-links {
    margin: 0.5rem 0 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.copyright {
    color: #555;
    font-size: 0.8rem;
}

/* Update mobile footer */
@media (max-width: 1100px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-info,
    .footer-links {
        text-align: center;
        justify-content: center;
    }
}

/* --- Light Theme Overrides for Content Sections --- */
.why-section,
.diagnosis-section,
.service-section,
.tech-section,
.strength-section,
.customer-section,
.contact-section {
    background: var(--light-bg) !important;
    color: var(--text-on-light);
}

/* White Background Override for Alternating Sections */
#diagnosis,
#technology,
.customer-section {
    background: #ffffff !important;
}

/* Text & Headings on Light Background */
.why-section .section-title,
.diagnosis-section .section-title,
.service-section .section-title,
.tech-section .section-title,
.strength-section .section-title,
.customer-section .section-title,
.contact-section .section-title {
    color: var(--text-on-light);
}

.why-section .section-subtitle,
.diagnosis-section .section-subtitle,
.service-section .section-subtitle,
.tech-section .section-subtitle,
.strength-section .section-subtitle,
.customer-section .section-subtitle,
.contact-section .section-subtitle {
    color: var(--accent-blue);
    font-weight: 500;
}

.why-content p {
    color: var(--text-muted-on-light);
}

.why-content strong {
    color: var(--text-on-light);
}

/* Cards on Light Background */
.step-card {
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.tech-card,
.customer-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    /* Fixed: Added for absolute positioning of badge */
    overflow: visible;
    /* Fixed: Ensure badge is not clipped */
}

.step-card:hover {
    background-color: transparent;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #2BBFF3;
}

.tech-card:hover,
.customer-card:hover {
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

/* Inner Text of Cards */
.step-card h3,
.tech-card h3,
.customer-card h3,
.security-promise h3 {
    color: var(--text-on-light);
}

.step-card p,
.customer-list li,
.contact-info p,
.security-promise p {
    color: var(--text-muted-on-light);
}

.tech-detail {
    color: #000000 !important;
}

.step-number {
    color: #000000;
}

.tech-step {
    color: rgba(0, 0, 0, 0.15);
}

.customer-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Alert Box Update */
.alert-box {
    background: #fff0f0;
    border-color: #ffcccc;
}

.alert-box p {
    color: #d32f2f;
}

.alert-box strong {
    color: #b71c1c;
}

/* Contact Form Overrides */
.contact-section {
    background: var(--light-bg) !important;
}

.contact-form-wrapper {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Tech Grid Text */
.tech-desc {
    color: #ffffff !important;
}

/* List Items */
.strength-list strong {
    color: var(--text-on-light);
}

.strength-list p {
    color: var(--text-muted-on-light);
}

/* Info Box */
.info-box {
    background: #ffffff;
    border: 1px solid var(--accent-blue);
}


/* Mobile Responsive */
@media (max-width: 1100px) {
    .navbar {
        justify-content: space-between;
    }

    .logo {
        position: relative;
        z-index: 1002;
    }

    .section {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        /* Reset PC left positioning */
        transform: none;
        /* Reset PC transform */
        width: 70%;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .btn-nav {
        width: 80%;
        text-align: center;
        padding: 1rem;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
        /* Reduced top padding */
        position: relative;
    }

    .hero-slider {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        flex-direction: column !important;
        padding: 100px 5% 40px;
        /* Increased top padding to clear navbar */
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        background-position: center center !important;
    }

    .hero-content {
        width: 77% !important;
        max-width: 380px;
        margin: 0 auto 2rem;
        text-align: left;
        /* Changed from center to left */
    }

    .hero-text-box {
        padding: 1.2rem !important;
        background: rgba(10, 15, 28, 0.5) !important;
        backdrop-filter: blur(8px) !important;
        /* Smaller padding for mobile */
        clip-path: polygon(0% 15px, 15px 0%,
                calc(100% - 30px) 0%, 100% 30px,
                100% calc(100% - 15px), calc(100% - 15px) 100%,
                30px 100%, 0% calc(100% - 30px)) !important;
        /* Adjusted chamfer size */
    }

    .slide-1 .hero-text-box {
        background: rgba(6, 18, 25, 0.5) !important;
    }

    .slide-2 .hero-text-box {
        background: rgba(6, 25, 14, 0.5) !important;
    }

    .slide-3 .hero-text-box {
        background: rgba(25, 22, 6, 0.5) !important;
    }

    .slide-4 .hero-text-box {
        background: rgba(20, 6, 25, 0.5) !important;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-visual {
        display: none !important;
    }

    /* Slider Controls Mobile */
    .slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.3);
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 15px;
    }

    .hero-features {
        display: none;
    }

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

    .hero-buttons .btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }

    .hero-phone-badge {
        display: flex;
        width: 100%;
        padding: 0.8rem;
        justify-content: center;
        gap: 10px;
        margin-bottom: 0.8rem;
        background: rgba(0, 240, 255, 0.1);
    }

    .hero-phone-badge span {
        font-size: 1.4rem !important;
    }

    .phone-icon-box {
        width: 32px;
        height: 32px;
    }

    /* Grid & Flex Layouts */
    .strength-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }

    .strength-list li {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.8rem;
    }

    .strength-list .icon-circle {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
        border-width: 2px !important;
    }

    .strength-list .icon-circle svg {
        width: 28px;
        height: 28px;
    }

    .strength-info strong {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 4px;
    }

    .strength-info p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .customer-grid {
        gap: 1.5rem;
    }

    .customer-card {
        min-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .customer-card .card-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .customer-card .card-icon svg {
        width: 48px;
        height: 48px;
    }

    .customer-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .customer-info p {
        font-size: 0.9rem;
    }

    /* Reservation Section Tweak */
    .reservation-section {
        flex-direction: column;
    }

    .res-split-left,
    .res-split-right {
        min-height: auto;
        padding: 4rem 5%;
    }

    .res-phone {
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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


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

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Container Spacing */
    .container {
        margin-top: 30px;
    }

    .mobile-only {
        display: inline;
    }

    .pc-only {
        display: none !important;
    }

    /* Diagnosis Card Horizontal on Mobile */
    .diagnosis-grid {
        gap: 0.1rem !important;
    }

    .diagnosis-card {
        flex-direction: row !important;
        min-height: 120px !important;
        height: auto !important;
        gap: 0;
    }

    .card-img {
        width: 120px !important;
        height: 120px !important;
        flex-shrink: 0;
    }

    .card-img img {
        object-fit: cover !important;
    }

    .card-content {
        padding: 1rem !important;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: center !important;
    }

    .card-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    .card-content p {
        font-size: 0.85rem !important;
    }

    /* Stack Diagnosis CTA buttons on mobile */
    .cta-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        padding: 0 5%;
    }

    .cta-group .btn {
        width: 100%;
    }

    .process-steps {
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    /* Service Step Card Horizontal on Mobile */
    .step-card {
        flex-direction: row !important;
        height: auto !important;
        min-height: auto !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 0.5rem !important;
        margin-bottom: 1rem;
    }

    .step-number {
        margin-bottom: 0 !important;
        flex-shrink: 0;
        font-size: 1.2rem !important;
        padding: 0.3rem 0.8rem !important;
    }

    .step-content {
        flex: 1;
        padding: 0.8rem !important;
        display: flex;
        flex-direction: column;
    }

    .step-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 4px !important;
    }

    .step-card p {
        font-size: 0.85rem !important;
    }

    .tech-grid {
        gap: 0.2rem !important;
    }

    /* Tech Card Horizontal on Mobile */
    .tech-card {
        flex-direction: row !important;
        height: auto !important;
        align-items: center !important;
        padding: 0.5rem !important;
        gap: 0;
        position: relative !important;
    }

    .tech-img {
        display: none !important;
    }

    .tech-step-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 65px !important;
        height: 65px !important;
        margin: 0 0.8rem !important;
        flex-shrink: 0;
        border-width: 2px !important;
        font-size: 0.7rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .tech-info {
        padding: 0.8rem !important;
        text-align: left !important;
        background: transparent !important;
        flex: 1;
    }

    .tech-info h3 {
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }

    .tech-desc {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
        font-weight: 600;
    }

    .tech-detail {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        opacity: 0.9;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Mobile Tech Card Themes */
    .theme-red.tech-card {
        background: #E54B64 !important;
        color: #ffffff !important;
    }

    .theme-blue.tech-card {
        background: #0056A4 !important;
        color: #ffffff !important;
    }

    .theme-orange.tech-card {
        background: #F58220 !important;
        color: #ffffff !important;
    }

    .theme-green.tech-card {
        background: #4CAF50 !important;
        color: #ffffff !important;
    }

    .tech-card .tech-step-badge {
        background: #ffffff !important;
        border-width: 4px !important;
    }

    .theme-red .tech-step-badge {
        border-color: #E54B64 !important;
        color: #E54B64 !important;
    }

    .theme-blue .tech-step-badge {
        border-color: #0056A4 !important;
        color: #0056A4 !important;
    }

    .theme-orange .tech-step-badge {
        border-color: #F58220 !important;
        color: #F58220 !important;
    }

    .theme-green .tech-step-badge {
        border-color: #4CAF50 !important;
        color: #4CAF50 !important;
    }

    .tech-card h3,
    .tech-card .tech-desc,
    .tech-card .tech-detail {
        color: #ffffff !important;
    }

    .res-promise-quote {
        font-size: 1.1rem !important;
    }

    .res-form-row {
        margin-bottom: 0 !important;
    }

    .res-submit-btn {
        width: 100% !important;
    }
}

/* Radar Scan Effect for Tech Cards */
/* .tech-card overflow: hidden removed to allow badge to show */

.tech-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.4), transparent);
    z-index: 10;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}

.tech-card:hover::after {
    animation: radar-scan 1.5s infinite linear;
    opacity: 1;
}

@keyframes radar-scan {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Scroll Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.diagnosis-grid .diagnosis-card:nth-child(1) {
    transition-delay: 0.1s;
}

.diagnosis-grid .diagnosis-card:nth-child(2) {
    transition-delay: 0.2s;
}

.diagnosis-grid .diagnosis-card:nth-child(3) {
    transition-delay: 0.3s;
}

.diagnosis-grid .diagnosis-card:nth-child(4) {
    transition-delay: 0.4s;
}

.process-steps .step-card:nth-child(1) {
    transition-delay: 0.1s;
}

.process-steps .step-card:nth-child(2) {
    transition-delay: 0.3s;
}

.process-steps .step-card:nth-child(3) {
    transition-delay: 0.5s;
}

.tech-grid .tech-card:nth-child(1) {
    transition-delay: 0.1s;
}

.tech-grid .tech-card:nth-child(2) {
    transition-delay: 0.2s;
}

.tech-grid .tech-card:nth-child(3) {
    transition-delay: 0.3s;
}

.tech-grid .tech-card:nth-child(4) {
    transition-delay: 0.4s;
}

.customer-grid .customer-card:nth-child(1) {
    transition-delay: 0.1s;
}

.customer-grid .customer-card:nth-child(2) {
    transition-delay: 0.3s;
}

/* Floating Quick Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.floating-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-contact.active .floating-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    transform-origin: right center;
}

.float-item:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: scale(1.05);
}

.float-call svg {
    color: #00ff88;
}

.float-reserve svg {
    color: var(--accent-cyan);
}

.float-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(43, 89, 255, 0.4);
    transition: 0.3s;
    animation: pulse-glow 2s infinite;
}

.float-main-btn:hover {
    transform: scale(1.1);
}

.floating-contact.active .float-main-btn {
    transform: rotate(45deg);
    background: #ff4d4d;
    animation: none;
    box-shadow: 0 4px 20px rgba(255, 77, 77, 0.4);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 89, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(43, 89, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(43, 89, 255, 0);
    }
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .float-main-btn {
        width: 50px;
        height: 50px;
    }
}