:root {
    --navy-blue: #07346b;
    --navy-dark: #061a36;
    --tech-blue: #0b5ea8;
    --cyan: #18aee2;
    --cyan-hover: #0b8fc1;
    --signal-cyan: #5ad7ff;
    --bg-light: #f4f8fb;
    --surface: #ffffff;
    --surface-soft: #eef6fb;
    --text-dark: #1f334a;
    --text-light: #ffffff;
    --text-muted: #5e7288;
    --border-color: #d9e7f1;
    
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(24, 174, 226, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(24, 174, 226, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
}

.text-dark h2 { color: var(--navy-blue); }
.text-dark p { color: var(--text-muted); }

.text-light h2 { color: var(--text-light); }
.text-light p { color: rgba(255, 255, 255, 0.8); }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(6, 26, 54, 0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(6, 26, 54, 0.12);
    padding: 0.7rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--cyan);
}

.nav-btn {
    padding: 0.6rem 1.5rem !important;
    color: var(--text-light) !important;
}

.nav-btn-outline {
    padding: 0.5rem 1.5rem !important;
    color: var(--navy-blue) !important;
    margin-left: 0.5rem;
}

.nav-btn-outline:hover {
    color: #ffffff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--navy-blue);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--tech-blue) 100%);
    color: var(--text-light);
    box-shadow: 0 10px 24px rgba(24, 174, 226, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--cyan-hover) 0%, var(--navy-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24, 174, 226, 0.36);
}

.btn-white {
    background-color: #ffffff;
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--cyan);
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(6, 26, 54, 0.94) 0%, rgba(7, 52, 107, 0.86) 52%, rgba(6, 26, 54, 0.78) 100%),
        url('../images/hero_bg.png') center/cover no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    margin-left: max(2rem, calc((100vw - 1200px) / 2));
}

/* Background Sphere/Spotlight Effect & Floating Particles */
.hero::before, .features::before, .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dos capas de puntos para efecto de profundidad (Parallax) */
    background-image: 
        radial-gradient(rgba(90, 215, 255, 0.12) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.04) 2px, transparent 2px);
    background-size: 30px 30px, 60px 60px;
    z-index: 1;
    pointer-events: none;
    animation: floatUp 20s linear infinite;
}

.hero::after, .features::after, .footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Puntos de color cian brillante cuando pasas el mouse */
    background-image: 
        radial-gradient(rgba(90, 215, 255, 0.7) 1px, transparent 1px),
        radial-gradient(rgba(24, 174, 226, 0.38) 2px, transparent 2px);
    background-size: 30px 30px, 60px 60px;
    z-index: 1;
    pointer-events: none;
    
    /* Máscara de esfera que sigue al mouse */
    -webkit-mask-image: radial-gradient(
        circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        black 0%,
        transparent 100%
    );
    mask-image: radial-gradient(
        circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        black 0%,
        transparent 100%
    );
    
    transition: -webkit-mask-image 0.1s ease, mask-image 0.1s ease;
    animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
    0% { background-position: 0px 0px, 0px 0px; }
    100% { background-position: 0px -150px, 0px -300px; } /* Múltiplos de 30 y 60 para loop perfecto */
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--signal-cyan);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.32;
    z-index: 0;
    transition: transform 0.2s ease-out;
}

.hero-glow-left {
    top: -100px;
    left: -100px;
}

.hero-glow-right {
    bottom: -100px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 680px;
    margin: 0;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
    max-width: 680px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(90, 215, 255, 0.25);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-number,
.stat-symbol {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
}

.stat-symbol {
    color: var(--signal-cyan);
    margin-left: 0.15rem;
}

.stat-pill p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    margin-top: 0.15rem;
}


/* Generic Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
}

/* Services Section */
.services {
    padding: 7rem 0;
    background:
        radial-gradient(circle at top left, rgba(24, 174, 226, 0.12), transparent 35%),
        var(--bg-light);
    position: relative;
    overflow: hidden;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    background-color: var(--surface);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 14px 34px rgba(6, 26, 54, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 174, 226, 0.12), transparent 48%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(6, 26, 54, 0.12);
    border-color: var(--cyan);
}

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

.service-index {
    position: absolute;
    right: 1.6rem;
    top: 1.4rem;
    color: rgba(7, 52, 107, 0.12);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.service-image {
    position: relative;
    z-index: 1;
    height: 185px;
    margin: -1.5rem -1.5rem 1.8rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy-dark);
    border: 1px solid rgba(24, 174, 226, 0.22);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--tech-blue);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

.service-link i {
    transition: transform 0.2s ease;
}

/* Process Section */
.process {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background: #ffffff;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(90, 215, 255, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(7, 52, 107, 0.06) 1px, transparent 1px);
    background-size: auto, 64px 64px;
}

.process-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-kicker::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--cyan);
}

.process-copy h2 {
    color: var(--navy-blue);
    font-size: 2.6rem;
    line-height: 1.12;
    margin-bottom: 1.2rem;
}

.process-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.process-step {
    position: relative;
    min-height: 190px;
    padding: 1.6rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(6, 26, 54, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
}

.process-step span {
    display: inline-block;
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.process-step h3 {
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Team Section */
.team {
    padding: 6rem 0;
    background:
        linear-gradient(180deg, var(--surface) 0%, #f8fbfd 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.team-card {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    background: rgba(238, 246, 251, 0.72);
}

.team-img {
    width: 160px;
    height: 160px;
    border-radius: 18px;
    background-color: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--cyan);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(6, 26, 54, 0.12);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-card h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.team-role {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features (Why Choose Us) */
.features {
    padding: 7rem 0;
    background:
        linear-gradient(135deg, rgba(7, 52, 107, 0.98) 0%, rgba(6, 26, 54, 0.98) 100%),
        url('../images/hero_bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(90, 215, 255, 0.1) 0%, transparent 60%);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(90, 215, 255, 0.2);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--signal-cyan), transparent);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-card:hover::after {
    transform: translateX(0);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--tech-blue);
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 7rem 0;
    background:
        linear-gradient(135deg, rgba(244, 248, 251, 0.96), rgba(238, 246, 251, 0.94)),
        radial-gradient(circle at 85% 10%, rgba(24, 174, 226, 0.18), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(7, 52, 107, 0.12), transparent 28%),
        var(--bg-light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 52, 107, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(7, 52, 107, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
    max-width: 1120px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 253, 0.9));
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 24px 56px rgba(6, 26, 54, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-blue), var(--cyan), var(--signal-cyan));
}

.contact-form-heading {
    margin-bottom: 2rem;
}

.contact-form-heading h3 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    line-height: 1.18;
    margin-bottom: 0.75rem;
}

.contact-form-heading p {
    color: var(--text-muted);
    max-width: 620px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.9rem;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: transparent;
    color: var(--text-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.input-wrap:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(24, 174, 226, 0.12);
    transform: translateY(-2px);
}

.input-wrap i {
    position: absolute;
    left: 1rem;
    color: var(--cyan);
    font-size: 1rem;
    z-index: 1;
}

.textarea-wrap {
    align-items: flex-start;
}

.textarea-wrap i {
    top: 1.1rem;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-ops-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 2rem;
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(6, 26, 54, 0.94), rgba(7, 52, 107, 0.9)),
        url('../images/hero_bg.png') center/cover no-repeat;
    box-shadow: 0 24px 56px rgba(6, 26, 54, 0.16);
}

.contact-ops-card::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 28px solid rgba(90, 215, 255, 0.12);
}

.contact-ops-card span {
    display: inline-flex;
    color: var(--signal-cyan);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}

.contact-ops-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.9rem;
}

.contact-ops-card p {
    color: rgba(255, 255, 255, 0.76);
    max-width: 330px;
}

/* Service Detail Page */
.service-detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    padding: 9rem 0 5rem;
    background:
        linear-gradient(90deg, rgba(6, 26, 54, 0.96), rgba(7, 52, 107, 0.86)),
        url('../images/hero_bg.png') center/cover no-repeat;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 18%, rgba(90, 215, 255, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(90, 215, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(90, 215, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

.service-detail-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 4rem;
    align-items: center;
}

.service-detail-copy h1 {
    color: #ffffff;
    font-size: 3.8rem;
    line-height: 1.08;
    margin: 1rem 0 1.2rem;
}

.service-detail-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--signal-cyan);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1.2rem;
}

.service-detail-image {
    border: 1px solid rgba(90, 215, 255, 0.28);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.service-detail-image img {
    width: 100%;
    display: block;
}

.service-detail-body {
    padding: 6rem 0;
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-detail-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.4rem;
    box-shadow: 0 18px 42px rgba(6, 26, 54, 0.08);
}

.service-detail-card h2 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.detail-list {
    display: grid;
    gap: 1rem;
}

.detail-list div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.detail-list i {
    color: var(--cyan);
}

.accent-card {
    background:
        linear-gradient(135deg, rgba(6, 26, 54, 0.96), rgba(7, 52, 107, 0.94)),
        url('../images/hero_bg.png') center/cover no-repeat;
}

.accent-card h2,
.accent-card p {
    color: #ffffff;
}

.accent-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.4rem;
}

.detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--signal-cyan);
    font-weight: 800;
    text-decoration: none;
}

.project-gallery {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 7rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(24, 174, 226, 0.14), transparent 30%),
        #ffffff;
}

.project-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 52, 107, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(7, 52, 107, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}

.project-gallery .container {
    position: relative;
    z-index: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(6, 26, 54, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 26px 58px rgba(6, 26, 54, 0.13);
}

.project-image {
    height: 210px;
    overflow: hidden;
    background: var(--navy-dark);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--navy-blue);
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.project-content span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: var(--tech-blue);
    font-weight: 800;
    font-size: 0.9rem;
}

.project-content span i {
    transition: transform 0.2s ease;
}

.project-card:hover .project-content span i {
    transform: translateX(5px);
}

.project-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 9rem 0 5rem;
    background:
        linear-gradient(90deg, rgba(6, 26, 54, 0.96), rgba(7, 52, 107, 0.86)),
        url('../images/hero_bg.png') center/cover no-repeat;
}

.project-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(90, 215, 255, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(90, 215, 255, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(90, 215, 255, 0.055) 1px, transparent 1px);
    background-size: auto, 58px 58px, 58px 58px;
}

.project-detail-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.project-detail-layout h1 {
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 1.08;
    margin: 1rem 0;
}

.project-detail-layout p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.project-featured-image {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(90, 215, 255, 0.28);
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.34);
}

.project-featured-image img {
    display: block;
    width: 100%;
}

.evidence-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: #ffffff;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.evidence-item {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 230px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--navy-dark);
    box-shadow: 0 18px 42px rgba(6, 26, 54, 0.08);
}

.evidence-item img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.evidence-item span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    background: rgba(6, 26, 54, 0.82);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
}

.evidence-item:hover img {
    transform: scale(1.06);
}

.project-summary {
    padding: 0 0 6rem;
    background: #ffffff;
}

.project-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.4rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(6, 26, 54, 0.96), rgba(7, 52, 107, 0.94)),
        url('../images/hero_bg.png') center/cover no-repeat;
    color: #ffffff;
}

.project-summary-card h2 {
    margin-bottom: 0.75rem;
}

.project-summary-card p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
}

.compact-footer {
    padding: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.92);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(6, 26, 54, 0.06);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateX(8px);
    border-color: var(--cyan);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--navy-blue);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--cyan);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background:
        linear-gradient(135deg, rgba(6, 26, 54, 0.98), rgba(7, 52, 107, 0.96)),
        url('../images/hero_bg.png') center/cover no-repeat;
    padding: 5rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.logo-footer {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--cyan);
    transform: translateX(3px);
}

.footer-contact p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--cyan);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 3.8rem;
    }
    .hero .container {
        margin-left: auto;
    }
    .hero-content {
        max-width: 720px;
        text-align: center;
        margin: 0 auto;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .process-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .service-detail-layout,
    .service-detail-grid,
    .project-grid,
    .project-detail-layout,
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-copy h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.4s ease-in-out;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-btn {
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .stat-pill {
        text-align: center;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .process-copy h2 {
        font-size: 2rem;
    }
    .team-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 2.5rem 1.5rem;
    }
    .contact-form-heading h3 {
        font-size: 1.45rem;
    }
    .contact-ops-card {
        min-height: auto;
    }
    .contact-ops-card strong {
        font-size: 1.6rem;
    }
    .service-card {
        padding: 2.2rem;
    }
    .service-image {
        height: 160px;
        margin: -0.8rem -0.8rem 1.5rem;
    }
    .service-detail-hero {
        padding: 8rem 0 4rem;
    }
    .service-detail-copy h1 {
        font-size: 2.25rem;
    }
    .service-detail-card {
        padding: 1.6rem;
    }
    .project-image {
        height: 180px;
    }
    .project-gallery {
        padding: 4.5rem 0 5rem;
    }
    .project-detail-layout h1 {
        font-size: 2.25rem;
    }
    .project-summary-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.6rem;
    }
    .section-header h2 {
        font-size: 2.1rem;
    }
}


