:root {
    --primary: #0a2540;
    --primary-light: #0d3259;
    --blue: #0088cc;
    --blue-light: #00b4d8;
    --blue-glow: rgba(0, 136, 204, 0.4);
    --dark: #060d17;
    --text: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --off-white: #f7fafc;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 8px 30px rgba(0, 136, 204, 0.25)
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition)
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.text-center {
    text-align: center
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.highlight-white {
    color: var(--blue-light)
}

#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.loader-ring {
    width: 60px;
    height: 60px;
    position: relative
}

.loader-ring div {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite
}

.loader-ring div:nth-child(2) {
    animation-delay: -0.45s;
    border-top-color: var(--blue-light);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%
}

.loader-ring div:nth-child(3) {
    animation-delay: -0.9s;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg)
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.btn-glow {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    box-shadow: 0 4px 20px var(--blue-glow)
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px var(--blue-glow)
}

.btn-outline-hero {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(4px)
}

.btn-outline-hero:hover {
    background: white;
    color: var(--primary);
    border-color: white
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px
}

#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition)
}

#main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding-bottom: 2px
}

.logo-text-wrapper {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px
}

.logo-drone {
    color: var(--blue)
}

.logo-smile {
    color: #1a1a1a
}

.logo-smile-svg {
    width: 100%;
    height: 14px;
    margin-top: -2px
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    position: relative
}

.nav-link:hover {
    color: var(--blue);
    background: rgba(0, 136, 204, 0.06)
}

.nav-link.active {
    color: var(--blue)
}

.btn-nav {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600
}

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-blue)
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    margin: 5px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition)
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 13, 23, 0.75) 0%, rgba(10, 37, 64, 0.65) 50%, rgba(0, 136, 204, 0.3) 100%)
}

#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -1px
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px
    }

    100% {
        opacity: 0;
        top: 24px
    }
}

.hero-scroll-indicator p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.85s forwards
}

.delay-1 {
    animation-delay: 0.15s
}

.delay-2 {
    animation-delay: 0.3s
}

.delay-3 {
    animation-delay: 0.45s
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.trust-bar {
    background: var(--primary);
    padding: 20px 0;
    border-bottom: 3px solid var(--blue)
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 0
}

.trust-item i {
    color: var(--blue-light);
    font-size: 1.1rem
}

.section {
    padding: 100px 0
}

.section-header {
    margin-bottom: 64px
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 180, 216, 0.1));
    color: var(--blue);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px
}

.light-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--blue-light)
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 16px
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto
}

.services-section {
    background: var(--off-white)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px
}

.service-card {
    position: relative;
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius);
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition)
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s
}

.service-card:hover .card-glow {
    opacity: 0.15
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.08), rgba(0, 180, 216, 0.08));
    border-radius: 20px;
    font-size: 2rem;
    color: var(--blue);
    transition: var(--transition)
}

.service-card:hover .icon-box {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    transform: scale(1.05)
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.card-link:hover {
    gap: 12px;
    color: var(--primary)
}

.portfolio-section {
    background: var(--white)
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 380px 280px;
    gap: 20px
}

.portfolio-large {
    grid-row: span 2
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease
}

.portfolio-item:hover img {
    transform: scale(1.08)
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 64, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: white;
    transition: var(--transition)
}

.portfolio-tag {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.8
}

.portfolio-placeholder {
    background: linear-gradient(135deg, var(--off-white), #edf2f7);
    border: 2px dashed var(--border)
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    gap: 12px
}

.placeholder-content i {
    opacity: 0.3;
    color: var(--blue)
}

.placeholder-content h3 {
    color: var(--text-light);
    font-size: 1.1rem
}

.placeholder-content p {
    font-size: 0.85rem
}

.process-section {
    background: var(--primary)
}

.process-section .section-header h2 {
    color: white
}

.process-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6)
}

.process-section .section-tag {
    background: rgba(0, 136, 204, 0.2);
    color: var(--blue-light)
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--blue), var(--blue-light));
    opacity: 0.3
}

.process-step {
    text-align: center;
    position: relative
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-light);
    border: 2px solid rgba(0, 136, 204, 0.3);
    border-radius: 50%;
    background: var(--primary-light);
    position: relative;
    z-index: 1;
    transition: var(--transition)
}

.process-step:hover .step-number {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--blue-glow)
}

.step-content h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px
}

.step-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.6
}

.about-section {
    background: var(--off-white)
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center
}

.about-text .section-tag {
    margin-bottom: 16px
}

.about-text h2 {
    margin-bottom: 20px
}

.about-description {
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.8
}

.about-features {
    display: grid;
    gap: 20px
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 180, 216, 0.1));
    border-radius: 12px;
    color: var(--blue);
    font-size: 1.1rem
}

.feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light)
}

.stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.stat-card {
    background: white;
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition)
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg)
}

.stat-card.accent {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border: none;
    color: white
}

.stat-card.accent p {
    color: rgba(255, 255, 255, 0.8)
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: inline
}

.stat-card.accent .stat-number {
    color: white
}

.stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    display: inline
}

.stat-card.accent .stat-plus {
    color: white
}

.stat-card p {
    font-size: 0.85rem;
    margin-top: 8px;
    color: var(--text-light);
    line-height: 1.4
}

.testimonials-section {
    background: var(--white)
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.testimonial-card {
    background: var(--off-white);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition)
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.stars {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    gap: 4px
}

.testimonial-card>p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.7
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem
}

.testimonial-author h4 {
    font-size: 0.9rem;
    color: var(--primary)
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light)
}

.contact-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6)
}

.contact-section .section-header h2 {
    color: white
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start
}

.contact-info-panel h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px
}

.contact-info-panel>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 0.95rem
}

.contact-details {
    display: grid;
    gap: 20px;
    margin-bottom: 32px
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px
}

.detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    font-size: 1.1rem
}

.contact-detail-item h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 2px
}

.contact-detail-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem
}

.contact-social {
    display: flex;
    gap: 12px
}

.contact-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition)
}

.contact-social a:hover {
    background: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--blue-glow)
}

.contact-form {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: var(--radius)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form-group {
    margin-bottom: 20px
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition)
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4)
}

.form-group select {
    color: rgba(255, 255, 255, 0.6)
}

.form-group select option {
    color: var(--text);
    background: white
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px var(--blue-glow)
}

footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--blue), var(--blue-light))
}

.footer-col ul {
    display: grid;
    gap: 10px
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition)
}

.footer-col ul li a:hover {
    color: var(--blue-light);
    padding-left: 6px
}

.footer-brand .logo-container {
    width: fit-content
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5)
}

.footer-contact-list {
    gap: 12px !important
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5)
}

.footer-contact-list li i {
    color: var(--blue-light);
    width: 16px
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition)
}

.footer-social a:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-3px)
}

.footer-bottom {
    padding: 24px 0;
    text-align: center
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35)
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    z-index: 999;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6)
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4)
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7)
    }
}

#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible
}

#back-to-top:hover {
    background: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue)
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0)
}

@media (max-width:1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:768px) {
    .hamburger {
        display: block
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: 0.4s ease;
        z-index: 10000;
        /* Increased z-index to ensure it sits above everything, including hero overlays and cursors */
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        padding: 40px 20px;
    }

    .nav-links.active {
        right: 0
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links .nav-link {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }

    .nav-links .btn-nav {
        display: inline-block;
        margin-top: 10px;
        padding: 14px 32px;
        font-size: 1rem;
        box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    }

    .hero-content h1 {
        font-size: 2.2rem
    }

    .hero-subtitle {
        font-size: 1rem
    }

    .trust-container {
        flex-direction: column;
        gap: 10px
    }

    .trust-item {
        font-size: 0.8rem
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto
    }

    .portfolio-large {
        grid-row: span 1
    }

    .process-timeline {
        grid-template-columns: 1fr
    }

    .process-timeline::before {
        display: none
    }

    .testimonials-slider {
        grid-template-columns: 1fr
    }

    .stats-panel {
        grid-template-columns: 1fr 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-scroll-indicator {
        display: none
    }
}

@media (max-width:480px) {
    .section {
        padding: 64px 0
    }

    .section-header h2 {
        font-size: 1.8rem
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center
    }

    .btn {
        width: 100%;
        justify-content: center
    }

    .stats-panel {
        grid-template-columns: 1fr
    }
}

.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden
}

.page-hero-short {
    min-height: 40vh
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 13, 23, 0.85) 0%, rgba(10, 37, 64, 0.75) 50%, rgba(0, 136, 204, 0.35) 100%)
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white
}

.page-hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 16px
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    position: relative;
    overflow: hidden
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    opacity: 0.3
}

.cta-banner h2 {
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto
}

.service-detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--border)
}

.service-detail:last-child {
    border-bottom: none
}

.service-detail.reverse {
    direction: ltr
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.08), rgba(0, 180, 216, 0.08));
    border-radius: 24px;
    font-size: 2.5rem;
    color: var(--blue);
    transition: var(--transition)
}

.service-detail:hover .service-detail-icon {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-blue)
}

.service-detail-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px
}

.service-detail-content>p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text)
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text)
}

.service-features li i {
    color: var(--blue);
    font-size: 0.8rem
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px
}

.portfolio-full-grid .portfolio-large {
    grid-column: span 2;
    grid-row: span 2
}

.portfolio-full-grid .portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer
}

.portfolio-full-grid .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease
}

.portfolio-full-grid .portfolio-item:hover img {
    transform: scale(1.08)
}

body {
    animation: pageFadeIn 0.4s ease-out
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width:768px) {
    .page-hero {
        min-height: 40vh
    }

    .page-hero-short {
        min-height: 35vh
    }

    .service-detail {
        grid-template-columns: 1fr;
        text-align: center
    }

    .service-detail-icon {
        margin: 0 auto
    }

    .service-features {
        grid-template-columns: 1fr
    }

    .portfolio-full-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px
    }

    .portfolio-full-grid .portfolio-large {
        grid-column: span 1;
        grid-row: span 1
    }

    .cta-banner {
        padding: 56px 0;
        position: relative;
        z-index: 50;
    }

    .cta-banner .btn {
        position: relative;
        z-index: 100;
        display: inline-flex;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    z-index: 10000;
    transition: none;
    box-shadow: 0 0 8px var(--blue-glow)
}

.cursor-drone {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    width: 48px;
    height: 48px;
    top: -24px;
    left: -24px;
    transition: opacity 0.3s;
    filter: drop-shadow(0 4px 12px rgba(0, 136, 204, 0.4));
    animation: droneFloat 3s ease-in-out infinite
}

.cursor-drone svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.cursor-drone .propeller {
    transform-origin: center;
    animation: propellerSpin 0.15s linear infinite
}

.cursor-flash {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(0, 136, 204, 0.15) 50%, transparent 70%);
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.2s ease, transform 0.2s ease
}

.cursor-flash.active {
    opacity: 1;
    transform: scale(1);
    animation: cameraFlash 0.6s ease-out forwards
}

@keyframes droneFloat {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-4px)
    }
}

@keyframes propellerSpin {
    0% {
        transform: scaleX(1)
    }

    25% {
        transform: scaleX(0.1)
    }

    50% {
        transform: scaleX(1)
    }

    75% {
        transform: scaleX(0.1)
    }

    100% {
        transform: scaleX(1)
    }
}

@keyframes cameraFlash {
    0% {
        opacity: 0.8;
        transform: scale(0.5)
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2)
    }

    100% {
        opacity: 0;
        transform: scale(1.5)
    }
}

@media (max-width:768px) {

    .cursor-drone,
    .cursor-flash {
        display: none !important
    }
}

@media (hover:none) {

    .cursor-drone,
    .cursor-flash {
        display: none !important
    }
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1)
}

.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    font-size: 0.95rem
}

.lightbox-caption h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20001
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg)
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20001
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2)
}

.lightbox-prev {
    left: 20px
}

.lightbox-next {
    right: 20px
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 2px
}

.img-skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 25%, #edf2f7 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

.img-skeleton img {
    opacity: 0;
    transition: opacity 0.5s ease
}

.img-skeleton.loaded img {
    opacity: 1
}

.img-skeleton.loaded {
    background: none;
    animation: none
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.dark-mode-toggle {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text);
    transition: var(--transition);
    margin-right: 8px
}

.dark-mode-toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(0, 136, 204, 0.06)
}

.dark-mode-toggle .fa-sun {
    display: none
}

html.dark {
    --primary: #e2e8f0;
    --primary-light: #cbd5e0;
    --dark: #f7fafc;
    --text: #cbd5e0;
    --text-light: #a0aec0;
    --white: #0d1117;
    --off-white: #161b22;
    --border: #2d3748
}

html.dark body {
    background: #0d1117;
    color: #cbd5e0
}

html.dark #main-header {
    background: rgba(13, 17, 23, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06)
}

html.dark #main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3)
}

html.dark .nav-link {
    color: #e2e8f0
}

html.dark .nav-link:hover {
    color: var(--blue-light);
    background: rgba(0, 136, 204, 0.1)
}

html.dark .logo-smile {
    color: #e2e8f0 !important
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
    color: #e2e8f0
}

html.dark .service-card {
    background: #161b22;
    border-color: #2d3748
}

html.dark .service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4)
}

html.dark .services-section {
    background: #0d1117
}

html.dark .section-tag {
    background: rgba(0, 136, 204, 0.15)
}

html.dark .dark-mode-toggle {
    border-color: #2d3748;
    color: #e2e8f0
}

html.dark .dark-mode-toggle .fa-moon {
    display: none
}

html.dark .dark-mode-toggle .fa-sun {
    display: inline;
    color: #fbbf24
}

html.dark footer {
    background: #060d17
}

html.dark .contact-form input,
html.dark .contact-form select,
html.dark .contact-form textarea {
    background: #161b22;
    border-color: #2d3748;
    color: #e2e8f0
}

html.dark .contact-form label {
    color: #a0aec0
}

html.dark .contact-info-panel {
    background: #161b22;
    border-color: #2d3748
}

html.dark .contact-info-panel h3,
html.dark .contact-info-panel h4 {
    color: #e2e8f0
}

html.dark .about-description {
    color: #a0aec0
}

html.dark .portfolio-placeholder {
    background: linear-gradient(135deg, #161b22, #1a2332);
    border-color: #2d3748
}

html.dark .img-skeleton {
    background: linear-gradient(135deg, #1a2332 25%, #2d3748 50%, #1a2332 75%);
    background-size: 200% 100%
}

html.dark .hamburger span {
    background: #e2e8f0
}

html.dark .testimonial-card {
    background: #161b22;
    border-color: #2d3748
}

body {
    opacity: 1;
    transition: opacity 0.3s ease
}

body.page-exit {
    opacity: 0
}

.team-section {
    background: var(--bg-alt)
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px
}

.team-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 136, 204, 0.12)
}

.team-photo {
    position: relative;
    padding: 40px 40px 20px
}

.team-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.25);
    transition: var(--transition)
}

.team-card:hover .team-photo img {
    box-shadow: 0 12px 40px rgba(0, 136, 204, 0.35);
    transform: scale(1.03)
}

.team-role-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px
}

.team-info {
    padding: 8px 28px 32px
}

.team-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--primary)
}

.team-title {
    display: block;
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 14px
}

.team-info p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-light)
}

@media (max-width:992px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto
    }
}

html.dark .team-card {
    background: #161b22;
    border-color: rgba(255, 255, 255, 0.06)
}

html.dark .team-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4)
}

html.dark .team-section {
    background: #0d1117
}

.privacy-content h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border)
}

.privacy-content p {
    margin-bottom: 14px;
    line-height: 1.8;
    color: var(--text)
}

.privacy-content ul {
    margin-bottom: 16px;
    padding-left: 24px
}

.privacy-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text)
}

.privacy-content a {
    color: var(--blue);
    text-decoration: underline
}

.privacy-content a:hover {
    color: var(--blue-light)
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 136, 204, 0.2);
    padding: 20px 0;
    z-index: 15000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1)
}

.cookie-banner.visible {
    transform: translateY(0)
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0
}

.cookie-banner-text a {
    color: var(--blue-light);
    text-decoration: underline
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main)
}

.cookie-btn-accept {
    background: var(--blue);
    color: white
}

.cookie-btn-accept:hover {
    background: var(--blue-light);
    transform: translateY(-1px)
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.cookie-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: white
}

@media (max-width:768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center
    }
}

/* === DARK MODE COMPREHENSIVE FIX V14 === */
html.dark .cta-banner {
    background: linear-gradient(135deg, #0c1929, #162237);
    border-top: 1px solid rgba(0, 136, 204, 0.2);
    border-bottom: 1px solid rgba(0, 136, 204, 0.2)
}

html.dark .cta-banner h2 {
    color: #f0f4f8 !important
}

html.dark .cta-banner p {
    color: #a0b4c8 !important
}

html.dark .values-section,
html.dark .section[style*='off-white'],
html.dark section[style*='background: var(--off-white)'] {
    background: #111820 !important
}

html.dark .value-card,
html.dark .values-card {
    background: #161b22;
    border: 1px solid #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3)
}

html.dark .value-card h3,
html.dark .values-card h3,
html.dark .value-card h4,
html.dark .values-card h4 {
    color: #e2e8f0 !important
}

html.dark .value-card p,
html.dark .values-card p {
    color: #a0aec0 !important
}

html.dark .value-icon,
html.dark .value-card .icon-box {
    background: rgba(0, 136, 204, 0.15) !important;
    color: #4fc3f7 !important
}

html.dark .feature-item {
    background: #161b22;
    border: 1px solid #2d3748
}

html.dark .feature-item h4 {
    color: #e2e8f0 !important
}

html.dark .feature-item p {
    color: #a0aec0 !important
}

html.dark .feature-icon {
    background: rgba(0, 136, 204, 0.15) !important;
    color: #4fc3f7 !important
}

html.dark .stat-card {
    background: #161b22;
    border: 1px solid #2d3748
}

html.dark .stat-card.accent {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15), rgba(0, 136, 204, 0.05));
    border-color: rgba(0, 136, 204, 0.3)
}

html.dark .stat-number {
    color: #f0f4f8 !important
}

html.dark .stat-card p {
    color: #a0aec0 !important
}

html.dark .stats-panel {
    background: transparent
}

html.dark .section-subtitle {
    color: #a0aec0 !important
}

html.dark .section-header p {
    color: #a0aec0 !important
}

html.dark .about-text p,
html.dark .about-content p {
    color: #a0aec0 !important
}

html.dark .team-info p {
    color: #a0aec0 !important
}

html.dark .team-title {
    color: #4fc3f7 !important
}

html.dark .team-role-badge {
    background: rgba(0, 136, 204, 0.2);
    color: #4fc3f7
}

html.dark .testimonial-card p {
    color: #cbd5e0 !important
}

html.dark .testimonial-card .stars {
    color: #fbbf24
}

html.dark .testimonial-author {
    color: #a0aec0
}

html.dark .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent) !important
}

html.dark .portfolio-overlay h3 {
    color: #f0f4f8 !important
}

html.dark .portfolio-overlay p {
    color: #cbd5e0 !important
}

html.dark .portfolio-tag {
    background: rgba(0, 136, 204, 0.3);
    color: #4fc3f7
}

html.dark .trust-bar {
    background: #111820;
    border-top: 1px solid #2d3748;
    border-bottom: 1px solid #2d3748
}

html.dark .trust-item {
    color: #a0aec0
}

html.dark .trust-item i {
    color: #4fc3f7
}

html.dark .card-link {
    color: #4fc3f7 !important
}

html.dark .card-link:hover {
    color: #00b4d8 !important
}

html.dark .service-card p {
    color: #a0aec0 !important
}

html.dark .service-card h3 {
    color: #e2e8f0 !important
}

html.dark .icon-box {
    background: rgba(0, 136, 204, 0.15) !important;
    color: #4fc3f7 !important
}

html.dark .icon-box i {
    color: #4fc3f7 !important
}

html.dark .btn-outline-hero {
    border-color: rgba(255, 255, 255, 0.3);
    color: #e2e8f0
}

html.dark .btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1)
}

html.dark .hero-badge {
    background: rgba(0, 136, 204, 0.2);
    color: #4fc3f7;
    border: 1px solid rgba(0, 136, 204, 0.3)
}

html.dark .page-hero-overlay {
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0.4), rgba(13, 17, 23, 0.85)) !important
}

html.dark footer p,
html.dark footer span,
html.dark .footer-col p {
    color: #718096 !important
}

html.dark footer h4 {
    color: #e2e8f0 !important
}

html.dark footer a {
    color: #a0aec0 !important
}

html.dark footer a:hover {
    color: #4fc3f7 !important
}

html.dark .footer-social a {
    color: #a0aec0 !important;
    border-color: #2d3748 !important
}

html.dark .footer-social a:hover {
    color: #4fc3f7 !important;
    border-color: #4fc3f7 !important;
    background: rgba(0, 136, 204, 0.1) !important
}

html.dark .footer-brand p {
    color: #718096 !important
}

html.dark .scroll-progress {
    background: #0088cc
}

html.dark .nav-links {
    background: #0d1117
}

html.dark .lightbox-overlay {
    background: rgba(0, 0, 0, 0.95)
}

html.dark .privacy-content,
html.dark .privacidade-content {
    background: #161b22;
    color: #cbd5e0
}

html.dark .privacy-content h2,
html.dark .privacy-content h3 {
    color: #e2e8f0
}

html.dark .privacy-content p,
html.dark .privacy-content li {
    color: #a0aec0
}

html.dark .whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3)
}

html.dark .contact-section {
    background: #0d1117
}

html.dark ::placeholder {
    color: #718096 !important
}

html.dark .form-status {
    color: #a0aec0
}

/* Nav links transparent bg in dark mode */
html.dark .nav-link {
    background: transparent !important
}

html.dark .nav-links li {
    background: transparent !important
}

html.dark .nav-links {
    background: transparent !important
}

html.dark .main-nav {
    background: transparent !important
}

/* === NAV TRANSPARENCY FIX V2 === */
html.dark .nav-link,
html.dark .nav-link:hover,
html.dark .nav-link:focus,
html.dark .nav-link.active,
html.dark .nav-links li,
html.dark .nav-links li:hover,
html.dark .nav-links li.active {
    background: transparent !important;
    box-shadow: none !important;
}

/* === DARK MODE PROCESS SECTION FORCE FIX V3 === */
html.dark body .section.process-section,
html.dark .process-section,
html.dark section.process-section {
    background-color: #0d1117 !important;
    background: #0d1117 !important;
}

html.dark .process-section h2,
html.dark .process-section h3,
html.dark .process-section h4 {
    color: #e2e8f0 !important;
}

html.dark .process-section p {
    color: #a0aec0 !important;
}

/* === SERVICE DETAIL IMAGES === */
.service-detail-img {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15)
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease
}

.service-detail:hover .service-detail-img img {
    transform: scale(1.05)
}

@media(max-width:768px) {
    .service-detail-img {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
        max-height: 260px
    }
}

html.dark .service-detail-img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4)
}

html.dark .service-detail {
    background: transparent !important;
    border-color: #2d3748 !important
}

html.dark .service-detail-content h2 {
    color: #e2e8f0 !important
}

html.dark .service-detail-content p {
    color: #a0aec0 !important
}

html.dark .service-features li {
    color: #a0aec0 !important
}

html.dark .service-features .fa-check {
    color: #4fc3f7 !important
}

/* === FIX SERVICE CARD LINKS === */
.service-card {
    position: relative;
    z-index: 1;
}

.card-glow {
    pointer-events: none !important;
    z-index: 0;
}

.card-link {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    text-decoration: none !important;
}

/* Ensure link covers more space if needed, or just make it clickable */
.service-card:hover .card-link {
    color: var(--blue-light);
}

/* Fix mobile touch target size */
@media (max-width: 768px) {
    .card-link {
        padding: 12px 0;
        display: block;
        width: 100%;
    }
}

/* === SERVICE CARD BUTTON STYLE === */
.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0088cc, #005f8f);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 100;
    /* FORCE CLICKABLE - ABOVE OVERLAYS */
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #009ceb, #0077b3);
}

.btn-card i {
    transition: transform 0.3s ease;
}

.btn-card:hover i {
    transform: translateX(4px);
}

/* Ensure card glow doesn't interfere */
.card-glow {
    pointer-events: none !important;
}

html.dark .btn-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* === FIX CTA BANNER CLICKABILITY GLOBALLY === */
.cta-banner {
    position: relative;
    z-index: 50;
}

.cta-banner .btn {
    position: relative;
    z-index: 100;
    display: inline-flex;
    pointer-events: auto;
}

/* =========================================
   3D Visualizer (model-viewer)
   ========================================= */

.model-viewer-wrapper {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background: #111827;
    /* Dark fallback */
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: #1a2a3a;
    --postal-code: none;
    /* Hide default poster if wanted */
}

/* Custom Progress Bar inside model-viewer */
model-viewer>.progress-bar {
    display: block;
    width: 33%;
    height: 4px;
    max-height: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    transition: visibility 0.3s;
}

model-viewer>.progress-bar.hide {
    visibility: hidden;
    transition: visibility 0.3s;
}

model-viewer>.progress-bar>.update-bar {
    background: linear-gradient(90deg, #00b4d8, #0088cc);
    width: 0%;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

/* Custom Interaction Prompt */
.fullscreen-btn {
    display: none;
    /* Can customize standard prompt here */
}

/* Custom Fullscreen Button */
.ds-fullscreen-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 42, 58, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.ds-fullscreen-button:hover {
    background: var(--blue-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

/* For Fullscreen mode model-viewer */
:fullscreen model-viewer,
::backdrop model-viewer {
    height: 100vh;
    width: 100vw;
}