/* ---------- CON UN CLIC REDESIGN ---------- */
/* Dark Tech / Glassmorphism Theme */

:root {
    /* Colors */
    --bg-main: #f4f7fe;
    --bg-secondary: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 1);

    --accent-primary: #0044ff;
    /* Neon Blue */
    --accent-secondary: #ff007b;
    /* Hot Pink */
    --accent-tertiary: #ffaa00;
    /* Yellow */

    --text-primary: #0f172a;
    --text-secondary: #475569;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-glow: linear-gradient(135deg, rgba(0, 68, 255, 0.4), rgba(255, 0, 123, 0.4));

    /* Metrics */
    --font-main: 'Outfit', sans-serif;
    --nav-height: 90px;
    --container-width: 1200px;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;

    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.text-center {
    text-align: center;
}

/* Typography Outputs */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.max-w-text {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2rem;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glow-text {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 68, 255, 0.2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* Background animated shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    animation: drift 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 234, 255, 0.35);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: rgba(255, 31, 109, 0.3);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(255, 183, 3, 0.3);
    top: 40%;
    left: 40%;
    animation-duration: 30s;
}

@keyframes drift {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(100px) scale(1.1);
    }
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.big-btn {
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* Navigation - Glassmorphism */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: height 0.4s ease, background 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--accent-primary);
    text-shadow: none;
}

.nav-links li a.active-nav {
    color: var(--accent-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.trust-item ion-icon {
    font-size: 2.2rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--gradient-brand);
    filter: blur(80px);
    opacity: 0.5;
    animation: pulseOrb 4s infinite alternate;
}

@keyframes pulseOrb {
    0% {
        transform: scale(0.9);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.main-tech-card {
    width: 320px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    position: absolute;
    top: 20%;
    right: 0;
    width: 180px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 8s ease-in-out infinite reverse;
}

.gradient-icon {
    font-size: 4rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.pulsar-icon {
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        filter: drop-shadow(0 0 0 rgba(0, 240, 255, 0));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.8));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(0, 240, 255, 0));
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About / Expertise grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* light shadow */
}

.hover-tilt:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 68, 255, 0.15);
}

.feature-card ion-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

/* Services Masonry Grid */
.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.glass-service {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.glass-service:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.glass-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.glass-service:hover::before {
    transform: scaleX(1);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(0, 68, 255, 0.08);
    /* slight primary tint */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 68, 255, 0.15);
}

.icon-wrap ion-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

/* Trusted By / Client Logos */
.client-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.client-logo-item {
    width: 180px;
    padding: 25px 20px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.client-logo-item:hover {
    transform: translateY(-5px);
}

.logo-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 10px;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
}

.client-logo-item:hover .logo-wrapper img {
    filter: grayscale(0%) opacity(1);
}

.text-fallback {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.client-logo-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* Testimonials */
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-glass {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-glass .review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.gradient-bg {
    background: var(--gradient-brand);
}

.stars {
    color: #fca311;
    font-size: 1rem;
}

/* Contact Section */
.glass-section {
    position: relative;
    padding: 100px 0;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 0, 123, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.contact-item {
    text-align: center;
}

.contact-item ion-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.2);
    border-color: rgba(255, 0, 85, 0.5);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--accent-primary);
}

/* Animation Classes for JavaScript */
.reveal-left,
.reveal-right,
.reveal-bottom,
.reveal-scale {
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    transform: translateX(-100px);
}

.reveal-right {
    transform: translateX(100px);
}

.reveal-bottom {
    transform: translateY(100px);
}

.reveal-scale {
    transform: scale(0.8);
}

.active.reveal-left,
.active.reveal-right,
.active.reveal-bottom {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

.active.reveal-scale {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Delay for Masonry items */
.services-masonry>div:nth-child(2) {
    transition-delay: 0.1s;
}

.services-masonry>div:nth-child(3) {
    transition-delay: 0.2s;
}

.services-masonry>div:nth-child(4) {
    transition-delay: 0.3s;
}

.services-masonry>div:nth-child(5) {
    transition-delay: 0.4s;
}

.services-masonry>div:nth-child(6) {
    transition-delay: 0.5s;
}

.services-masonry>div:nth-child(7) {
    transition-delay: 0.6s;
}

.services-masonry>div:nth-child(8) {
    transition-delay: 0.7s;
}

.services-masonry>div:nth-child(9) {
    transition-delay: 0.8s;
}

.trust-item:nth-child(1) {
    transition-delay: 0s;
}

.trust-item:nth-child(2) {
    transition-delay: 0.2s;
}

.trust-item:nth-child(3) {
    transition-delay: 0.4s;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    max-width: 800px;
    margin-right: 30px;
}

.cookie-content h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .features-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 400px;
    }

    .float-card-1 {
        display: none;
        /* Hide floating card on small screens */
    }

    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .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);
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Mobile dropdown: always visible, indented */
    .nav-dropdown .nav-dropdown-toggle {
        pointer-events: none;
    }

    .nav-dropdown .nav-dropdown-toggle ion-icon {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 10px 0 0 0;
        min-width: auto;
        text-align: center;
    }

    .nav-dropdown-menu li a {
        padding: 8px 0;
        font-size: 0.95rem;
        color: var(--text-secondary);
    }
}

/* ---------- Dropdown Menu ---------- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-toggle ion-icon {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
    margin-top: 1px;
}

.nav-dropdown:hover .nav-dropdown-toggle ion-icon,
.nav-dropdown:focus-within .nav-dropdown-toggle ion-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 68, 255, 0.12);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Invisible bridge to prevent menu from closing when moving mouse to it */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(0, 68, 255, 0.08), rgba(255, 0, 123, 0.08));
    color: var(--accent-primary);
    padding-left: 20px;
}

.nav-dropdown-menu li a.active-nav {
    background: linear-gradient(135deg, rgba(0, 68, 255, 0.12), rgba(255, 0, 123, 0.12));
    color: var(--accent-primary);
    font-weight: 700;
    border-bottom: none;
    padding-bottom: 10px;
}
/* ============================================
   PROFESSIONAL ENHANCEMENTS
   ============================================ */

/* ---------- Enhanced Footer ---------- */
.footer-pro {
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 247, 254, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 70px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 22px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2.5px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 45px;
    width: auto;
    margin-bottom: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 0, 123, 0.3);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.5;
}

.footer-contact-item ion-icon {
    font-size: 1.15rem;
    color: var(--accent-primary);
    margin-top: 2px;
    min-width: 20px;
}

.footer-contact-item a {
    color: var(--text-secondary);
}

.footer-contact-item a:hover {
    color: var(--accent-primary);
}

.footer-bottom-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-pro .legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-pro .legal-links a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-bottom-pro .legal-links a:hover {
    color: var(--accent-primary);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 550px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-pro {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: wpPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float ion-icon {
    color: #fff;
}

@keyframes wpPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
            0 0 0 18px rgba(37, 211, 102, 0);
    }
}

/* ---------- Scroll-to-top button ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 68, 255, 0.15);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 68, 255, 0.35);
    border-color: transparent;
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.7rem;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        left: 20px;
        font-size: 1.2rem;
    }
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    max-width: 700px;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 68, 255, 0.08);
    text-align: left;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent-secondary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(0, 68, 255, 0.1);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.25s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 68, 255, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
    font-family: var(--font-main);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox a {
    color: var(--accent-primary);
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    justify-content: center;
}

.form-status {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 10px;
}

.form-status.success {
    display: flex;
    background: rgba(67, 160, 71, 0.1);
    border: 1px solid rgba(67, 160, 71, 0.3);
    color: #2e7d32;
}

.form-status.error {
    display: flex;
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: #c62828;
}

@media (max-width: 600px) {
    .contact-form-wrapper {
        padding: 30px 22px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ---------- Utility: typo fix and reading improvements ---------- */
.review-text {
    font-style: italic;
}

/* Improved focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* Hide duplicate/legacy footer when new footer is present */
.footer-pro~.footer {
    display: none;
}
