﻿
/* =========================================================
   1. GLOBAL / LAYOUT (Sticky Footer & Mobile Fixes)
========================================================= */

/* Force the browser to recognize the full screen height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* The ASP.NET Form becomes a flex container to push footer down */
#form1 {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% of the viewport height */
    margin: 0;
}

/* This class MUST be wrapped around your page content (everything between Header and Footer) */
.main-content {
    flex: 1 0 auto; /* This makes the content area grow to fill empty space */
}

/* Ensure images and containers stay within the phone screen width */
.container {
    max-width: 100vw;
    padding-right: 15px;
    padding-left: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    padding-top: 75px; /* Space for the fixed navbar */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #ffffff;
}

/* =========================================================
   2. SECTION STYLING
========================================================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0.4px;
}

.section-subtitle {
    color: #6c757d;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #0d47a1;
    margin: 20px auto 40px;
    border-radius: 10px;
}


/* =========================================================
   BUTTONS & CARDS
========================================================= */

.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0,0,0,0.15);
    }

.card-accent {
    position: relative;
}

    .card-accent::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #0d47a1, #42a5f5);
        border-radius: 14px 14px 0 0;
    }


.btn-primary {
    background-color: #0d47a1;
    border-color: #0d47a1;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #083781;
        border-color: #083781;
    }

/* =========================================================
   PAGE DECORATION
========================================================= */

.page-glow {
    background-color: #fdfeff;
    /* Dotted Matrix Background - feels like a high-tech blueprint */
    background-image: radial-gradient(#d1d9e6 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    min-height: 100vh;
}

    /* Floating "Energy" Blobs - adds variety without the "boring" same-ness */
    .page-glow::before, .page-glow::after {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        z-index: -1;
        filter: blur(80px);
        opacity: 0.4;
        pointer-events: none;
    }

    .page-glow::before {
        background: radial-gradient(circle, rgba(66, 165, 245, 0.2) 0%, transparent 70%);
        top: -100px;
        left: -100px;
        animation: moveGlow 15s infinite alternate;
    }

    .page-glow::after {
        background: radial-gradient(circle, rgba(13, 71, 161, 0.1) 0%, transparent 70%);
        bottom: -100px;
        right: -100px;
        animation: moveGlow 20s infinite alternate-reverse;
    }

@keyframes moveGlow {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 150px);
    }
}

/* Smooth movement of glow */
@keyframes glowShift {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
    }

    50% {
        background-position: 10% 15%, 90% 20%, 50% 85%;
    }

    100% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
    }
}

.page-fade {
    animation: pageFade 0.6s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   NAVBAR & OFFCANVAS
========================================================= */

/* --- Professional Solid Navbar --- */
.main-navigation {
    background-color: #ffffff !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #0d47a1; /* Strong blue accent line */
}

.brand-name {
    color: #0d47a1;
    font-weight: 800;
    font-size: 1.25rem;
}

/* --- Fixed Hamburger Icon --- */
/* We force the icon to be blue so it's visible on the white background */
.navbar-toggler {
    border: 2px solid #0d47a1 !important;
    background-color: transparent !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d47a1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- Desktop Links --- */
.main-navigation .nav-link {
    color: #444 !important;
    font-weight: 600;
    padding: 10px 20px !important;
    transition: color 0.3s;
}

    .main-navigation .nav-link:hover {
        color: #0d47a1 !important;
    }

/* --- The Mobile Sidebar (Solid & Bold) --- */
.mobile-sidebar {
    background-color: #0d47a1 !important; /* Solid blue background */
    color: white !important;
    width: 280px !important;
}

    .mobile-sidebar .offcanvas-title {
        color: white;
    }

    .mobile-sidebar .btn-close {
        filter: invert(1); /* Makes the close 'X' white */
    }

.sidebar-links a {
    display: block;
    padding: 20px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .sidebar-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

/* =========================================================
   REFINED TECH FOOTER
========================================================= */

.tech-footer {
    background-color: #0a1118 !important; /* Deep "Midnight" Tech Navy */
    border-top: 2px solid #0d47a1; /* Thin blue accent line */
    font-family: 'Inter', sans-serif;
}

/* Glow effect for the footer title */
.text-blue-glow {
    color: #42a5f5;
    text-shadow: 0 0 10px rgba(66, 165, 245, 0.3);
}

.footer-link {
    color: #8892b0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: #42a5f5 !important;
    }

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.text-secondary {
    color: #8892b0 !important; /* Muted tech grey */
}

/* =========================================================
   FOOTER PARTICLES EFFECT
========================================================= */

.tech-footer {
    position: relative;
    background-color: #0a1118 !important;
    overflow: hidden;
}

/* Floating Particles */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(66, 165, 245, 0.4); /* Blue particles */
    border-radius: 50%;
    filter: blur(1px);
    animation: floatParticle 15s infinite linear;
}

    /* Positioning particles at different spots and speeds */
    .particle:nth-child(1) {
        top: 20%;
        left: 10%;
        animation-duration: 12s;
    }

    .particle:nth-child(2) {
        top: 60%;
        left: 30%;
        width: 2px;
        height: 2px;
        animation-duration: 18s;
        opacity: 0.5;
    }

    .particle:nth-child(3) {
        top: 40%;
        left: 70%;
        animation-duration: 14s;
    }

    .particle:nth-child(4) {
        top: 80%;
        left: 50%;
        width: 3px;
        height: 3px;
        animation-duration: 20s;
    }

    .particle:nth-child(5) {
        top: 10%;
        left: 85%;
        animation-duration: 16s;
        opacity: 0.3;
    }

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* =========================================================
   HOME / HERO SECTION
========================================================= */

/* =========================================================
   HOME / HERO SECTION (Updated for No-Gap & Tech Theme)
========================================================= */

.home-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* Forces the section to start at the very top */
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Gradient Overlay for better text contrast */
.home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.8) 0%, rgba(10, 15, 25, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 850px; /* Increased slightly for technical impact */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* Fix for Mobile Gapping & Height */
@media (max-width: 768px) {
    .home-section {
        height: 75vh !important; /* Prevents overflow on smaller screens */
        padding-top: 70px; /* Bridges the gap with the mobile navbar */
    }

        .home-section h1 {
            font-size: 2.2rem !important; /* Smaller text for mobile */
            letter-spacing: 1px;
        }

        .home-section p {
            font-size: 0.95rem !important;
            padding: 0 10px;
        }
}

/* Animation Styles */
.home-section h1,
.home-section p,
.home-section .btn {
    animation: fadeUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0; /* Start hidden for animation */
}

.home-section p {
    animation-delay: 0.3s;
}

.home-section .btn {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Tech Button Styling for Home */
.btn-primary.btn-lg {
    background: #0d47a1;
    border: 1px solid #42a5f5;
    border-radius: 0; /* Sharp corners */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(66, 165, 245, 0.3);
}

    .btn-primary.btn-lg:hover {
        background: #42a5f5;
        box-shadow: 0 0 25px rgba(66, 165, 245, 0.6);
        transform: translateY(-2px);
    }

/* =========================================================
   ABOUT SECTION
========================================================= */

.tech-about {
    /* Deep dark blue base with radial highlights */
    background: radial-gradient(circle at 20% 30%, rgba(13, 71, 161, 0.4) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(66, 165, 245, 0.2) 0%, transparent 50%), #070a10;
    /* The Grid Pattern */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(66, 165, 245, 0.2);
    border-bottom: 1px solid rgba(66, 165, 245, 0.2);
    color: #ffffff !important; /* Force all text to white */
}

    /* Floating Glow Decoration */
    .tech-about::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        background: #0d47a1;
        filter: blur(120px);
        opacity: 0.3;
        top: 10%;
        right: 10%;
        z-index: 0;
    }

    /* Ensure content stays above effects */
    .tech-about .container {
        position: relative;
        z-index: 1;
    }

    /* Text & Headings */
    .tech-about h2,
    .tech-about h6,
    .tech-about p {
        color: #ffffff !important;
    }

.text-blue-glow {
    color: #42a5f5 !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(66, 165, 245, 0.6);
}

.tech-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    background: rgba(66, 165, 245, 0.15);
    color: #42a5f5;
    padding: 4px 12px;
    border-left: 3px solid #42a5f5;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Image Wrapper & Scan Effect */
.tech-image-wrapper {
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    background: rgba(255,255,255,0.02);
}

.tech-img-main {
    filter: saturate(0.8) contrast(1.1);
    border-radius: 4px !important;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: #42a5f5;
    font-family: monospace;
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid #42a5f5;
    z-index: 3;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(66, 165, 245, 0.4);
    box-shadow: 0 0 8px #42a5f5;
    z-index: 2;
    animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Mini Cards */
.tech-mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

    .tech-mini-card:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: #42a5f5;
        transform: translateY(-5px);
    }

.card-no {
    display: block;
    font-family: monospace;
    color: #42a5f5;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-60 {
    opacity: 0.6;
}

/* =========================================================
   SERVICES: CIRCUIT & PARTICLE BACKGROUND
========================================================= */
.bg-dark-tech {
    position: relative;
    background-color: #05080b;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

    /* The Circuit Pattern */
    .bg-dark-tech::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg, rgba(66, 165, 245, 0.05) 1px, transparent 1px), linear-gradient(rgba(66, 165, 245, 0.05) 1px, transparent 1px);
        background-size: 80px 80px;
        z-index: -1;
    }

    /* Running Particles (The "Current" in the circuit) */
    .bg-dark-tech::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 50%, #42a5f5 1px, transparent 1px);
        background-size: 80px 80px;
        animation: circuitRun 4s linear infinite;
        opacity: 0.3;
        z-index: -1;
    }

@keyframes circuitRun {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 80px 80px;
    }
}

/* Refined Pro Service Cards */
.service-tech-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 165, 245, 0.2) !important;
    border-top: 4px solid #42a5f5 !important; /* Tech Blue Accent */
    border-radius: 4px !important; /* Sharper corners for pro look */
    padding: 30px;
    margin: 40px 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

    .service-tech-card:hover {
        border-color: #42a5f5 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(13, 71, 161, 0.35);
    }

/* Image Wrapper with sharp border */
.tech-card-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid rgba(66, 165, 245, 0.3);
    background: #000;
}

    .tech-card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.6s ease;
        filter: saturate(0.7) brightness(0.8);
    }

.service-tech-card:hover .tech-card-img-wrapper img {
    filter: saturate(1) brightness(1);
    transform: scale(1.08);
}

/* Updated UI Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #0d47a1;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    border: 2px solid rgba(66, 165, 245, 0.4);
}

.carousel-indicators [data-bs-target] {
    width: 35px;
    height: 4px;
    background-color: #42a5f5;
    border-radius: 0;
}

/* Text Overrides */
.service-tech-card h4 {
    color: #42a5f5 !important;
    font-weight: 700;
    margin-top: 20px;
    text-transform: uppercase;
}

.service-tech-card p {
    color: #cbd5e1 !important;
    opacity: 0.95;
    line-height: 1.6;
}

.tech-subtitle {
    color: #42a5f5;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =========================================================
   HOW IT WORKS: NEURAL PULSE & PIPELINE (Full)
========================================================= */

.hiw-tech-section {
    background-color: #030507; /* Deep architectural black */
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

    /* 1. Neural Connection Nodes (The static dots) */
    .hiw-tech-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(rgba(66, 165, 245, 0.15) 1px, transparent 1px);
        background-size: 50px 50px;
        z-index: -1;
    }

/* 2. The Expanding Pulse Ripple (Reusing the bg-lines div) */
.hiw-bg-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vw;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    animation: hiwPulse 10s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes hiwPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* 3. The Dashed Pipeline with Arrowhead (Desktop) */
@media (min-width: 768px) {
    .hiw-pipeline {
        position: relative;
    }

        .hiw-pipeline::before {
            content: "";
            position: absolute;
            top: 35%; /* Center of the icon circles */
            left: 15%;
            width: 70%;
            height: 2px;
            border-top: 2px dashed rgba(66, 165, 245, 0.3);
            z-index: 1;
        }

        .hiw-pipeline::after {
            content: "";
            position: absolute;
            top: 35%;
            right: 14%;
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 12px solid #42a5f5; /* The Blue Arrow Point */
            transform: translateY(-50%);
            z-index: 2;
        }
}

/* 4. Step Content Styling */
.hiw-step {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.step-tag {
    display: inline-block;
    background: #42a5f5;
    color: #05080b;
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(66, 165, 245, 0.3);
}

/* 5. The Image Fix (Square to Round) */
.hiw-icon-circle {
    width: 115px;
    height: 115px;
    background: #ffffff;
    border: 4px solid #42a5f5;
    border-radius: 50%; /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden; /* This crops your square images */
    position: relative;
    transition: all 0.3s ease;
    z-index: 5;
}

    .hiw-icon-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Forces square to fill circle */
        object-position: center;
    }

/* Hover Effects */
.hiw-step:hover .hiw-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(66, 165, 245, 0.6);
    border-color: #ffffff;
}

.hiw-step:hover .step-tag {
    background: #ffffff;
    color: #0d47a1;
}

/* 6. Text & Headers */
.tech-subtitle {
    color: #42a5f5;
    letter-spacing: 5px;
    font-weight: 800;
    text-transform: uppercase;
}

.hiw-line-divider {
    width: 50px;
    height: 3px;
    background: #42a5f5;
    margin: 15px auto 0;
}

.text-light-muted {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 10px;
}

/* =========================================================
   TECH PROJECT GALLERY - GLASS & FILTERING
========================================================= */

/* 1. Main Card Container */
.tech-project-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px !important;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

    /* Hover Effect: Lift and Glow */
    .tech-project-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 20px 40px rgba(13, 71, 161, 0.12);
        border-color: rgba(66, 165, 245, 0.3) !important;
    }

/* 2. Image Wrapper & Hover Zoom */
.project-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.tech-project-card:hover .project-img {
    transform: scale(1.1);
}

/* 3. Blue Hover Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 71, 161, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-project-card:hover .project-overlay {
    opacity: 1;
}

/* 4. Tech Tags (Inside Overlay) */
.tech-tag-mini {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-right: 5px;
}

/* 5. Content Area */
.tech-project-card .card-body {
    padding: 25px;
    z-index: 2;
}

.tech-project-card h5 {
    color: #0d47a1;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.tech-project-card p {
    color: #555555 !important;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* 6. The "Scanning" Bottom Bar */
.tech-project-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d47a1, #42a5f5);
    transition: width 0.5s ease;
}

.tech-project-card:hover::after {
    width: 100%;
}

/* 7. Badge Styling */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
}

/* =========================================================
   CONTACT US PAGE - TECH TERMINAL STYLE
========================================================= */

/* 1. Header Section */
.contact-header h2 {
    color: #0d47a1;
    letter-spacing: -1px;
}

/* 2. The Glass Message Terminal (Form) */
.contact-glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 3. Tech Form Inputs */
.tech-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #0d47a1;
    margin-bottom: 8px;
    display: block;
}

.tech-input {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(13, 71, 161, 0.1) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    color: #333 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

    .tech-input:focus {
        background: #ffffff !important;
        border-color: #42a5f5 !important;
        box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.12) !important;
        transform: translateY(-1px);
    }

    .tech-input::placeholder {
        color: #aaa;
        font-size: 0.85rem;
    }

/* 4. Transmit (Submit) Button */
.btn-tech-submit {
    background: linear-gradient(135deg, #0d47a1 0%, #42a5f5 100%);
    color: white !important;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 16px !important;
    border-radius: 12px !important;
    border: none !important;
    text-transform: uppercase;
    transition: all 0.3s ease !important;
}

    .btn-tech-submit:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(13, 71, 161, 0.25);
        filter: brightness(1.1);
    }

    .btn-tech-submit:disabled {
        background: #d1d9e6 !important;
        color: #888 !important;
        cursor: not-allowed;
        transform: none;
    }

/* 5. Contact Info Panel (Right Side) */
.contact-info-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(66, 165, 245, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d47a1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.work-hour-item {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

    .work-hour-item:last-child {
        border-bottom: none;
    }

/* 6. Text Utilities */
.text-blue-glow {
    color: #0d47a1;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(66, 165, 245, 0.1);
}

.contact-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.95); /* Matches your dark tech theme */
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    animation: fadeInTech 0.5s ease-out;
}

@keyframes fadeInTech {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.text-blue-glow {
    color: #42a5f5;
    text-shadow: 0 0 10px rgba(66, 165, 245, 0.5);
}
/* =========================================================
   EMAIL & LINKS
========================================================= */

.email-link {
    color: #ffffff;
    text-decoration: none;
}

    .email-link:hover {
        text-decoration: underline;
        color: #bbdefb;
    }

/* =========================================================
   RESPONSIVE – MOBILE
========================================================= */

@media (max-width: 576px) {
    body {
        padding-top: 0 !important;
        font-size: 1.1rem;
        /* Fixes iPhone over-scrolling whitespace */
        overflow-x: hidden;
    }

    .offcanvas {
        width: 78vw !important;
        max-width: 280px;
    }

    .home-section {
        /* 1. Force the image to start at the absolute top of the screen */
        margin-top: -80px !important;
        /* 2. Increase padding to 'push' the text back down so it's not hidden */
        padding-top: 160px !important;
        height: 85vh !important;
        background-attachment: scroll !important;
        /* 3. 'top' ensures the image starts at the very top of the file */
        background-position: center top !important;
        background-size: cover !important;
    }

        .home-section h1 {
            font-size: 1.8rem;
        }
}

/* =========================================================
   RESPONSIVE – TABLET
========================================================= */

    @media (max-width: 768px) {

        body {
            padding-top: 105px;
            font-size: 1.15rem;
        }

        .offcanvas {
            max-width: 320px;
        }
    }
