:root{
    --brand-cyan: #00d4ff;
    --brand-pink: #ff3aa6;
    --bg-deep: #0b1020;
    --accent-blue: #2563eb;
    --accent-purple: #a788dc;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --card-bg: rgba(15, 23, 42, 0.7);
}

* {
    font-family: 'Inter', sans-serif;
}

html,body{
    height:100%;
    background: #0f172a;
    color: var(--text-primary);
}

.container, .container-fluid {
    max-width: 1400px;
}

/* Autofill fix for Chrome on dark forms */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;

    background-color: transparent !important;
    background-image: none !important;

    -webkit-text-fill-color: #fff !important;

    transition: background-color 9999s ease-out 0s;
}

/* --------------------- NAV --------------------- */
.custom-nav{
    background: rgba(7, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px 0;
}

.navbar .nav-link{
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 12px;
    transition: all 0.3s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover{
    color: var(--text-primary);
}

.navbar .nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    transition: .3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{
    width: 100%;
}

.brand-text{
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-main{
    height: 60px;
    width: 60px;
}

/* --------------------- HERO --------------------- */
.hero-section{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

/* Background image */


/* Dark vignette for contrast */
.hero-vignette{
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 50% 20%, rgba(4,10,24,.15) 0%, rgba(4,10,24,.55) 50%, rgba(4,10,24,.85) 100%);
}

/* Animated neon gradient wash */
.hero-glow::before,
.hero-glow::after{
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(40% 40% at 20% 60%, rgba(0,212,255,.35) 0%, transparent 60%),
    radial-gradient(45% 45% at 80% 40%, rgba(255,58,166,.35) 0%, transparent 65%);
    mix-blend-mode: screen;
    animation: floatGlow 18s ease-in-out infinite;
}

.hero-glow::after{
    animation-delay: -9s;
    filter: blur(12px);
}

@keyframes floatGlow{
    0%{ transform: translate3d(0,0,0) scale(1); }
    50%{ transform: translate3d(-3%, -2%, 0) scale(1.05); }
    100%{ transform: translate3d(0,0,0) scale(1); }
}

/* Subtle rotating wave discs */
.rings{
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 40% 55%, rgba(0,212,255,.18) 1px, transparent 2px) 0 0/22px 22px,
    radial-gradient(circle at 60% 45%, rgba(255,58,166,.18) 1px, transparent 2px) 11px 11px/22px 22px;
    opacity: .25;
    animation: ringsSpin 40s linear infinite;
}

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

/* Canvas for moving nodes & connecting lines */
#nodes-canvas{
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .55;
}

.hero-content{
    position: relative;
    z-index: 1;
    padding-top: 5rem;
}

.hero-title{
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -.5px;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
    margin-bottom: 1.5rem;
}

.hero-title .grad{
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle{
    /*max-width: 680px;*/
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-pill{
    border-radius: 999px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary{
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover{
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.btn-outline-light{
    border-color: rgba(255,255,255,.4);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover{
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255,255,255,.8);
}

.hero-scroll-indicator{
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
}

.scroll-arrow{
    width: 22px;
    height: 22px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    animation: scrollDown 1.6s infinite;
}

@keyframes scrollDown{
    0%{ opacity: 1; transform: translateY(0) rotate(45deg); }
    50%{ opacity: .45; transform: translateY(10px) rotate(45deg); }
    100%{ opacity: 1; transform: translateY(0) rotate(45deg); }
}

/* --------------------- SECTIONS --------------------- */
.section-padding{
    padding: 100px 0;
}

.section-title{
    color: var(--text-primary);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle{
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Services Section */
.service-card{
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(6px);
}

.service-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.service-icon{
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-card h3{
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p{
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link{
    color: var(--brand-cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover{
    color: var(--brand-pink);
    gap: 0.75rem;
}

/* About Section */
.about-content {
    padding-left: 2rem;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-feature-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.stats-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Technologies Section */
#technologies {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

#technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
}

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

#technologies .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#technologies .section-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Tech grid layout */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    justify-content: center;
}

/* Tech card styling */
.tech-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
    background-size: 400%;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card:hover::before {
    opacity: 1;
    animation: animate-border 3s linear infinite;
}

@keyframes animate-border {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.tech-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    filter: grayscale(0.3) brightness(1.2);
}

.tech-card:hover .tech-logo {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.15);
}

.tech-name {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.tech-card:hover .tech-name {
    color: #fff;
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

/* Floating icons animation */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 16px;
    opacity: 0;
    color: #6366f1;
}

.tech-card:hover .floating-icon {
    animation: float 5s linear infinite;
}
.legal-section {
    background: var(--bg-deep);
    min-height: 100vh;
    padding: 100px 0 60px;
}

.legal-section h1 {
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--brand-cyan);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 2rem;
}

.legal-section h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h5 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.address-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #technologies .section-title {
        font-size: 2.4rem;
    }

    #technologies .section-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }

    .tech-card {
        padding: 20px 15px;
    }

    .tech-logo {
        height: 50px;
    }
}

@media (max-width: 576px) {
    #technologies {
        padding: 60px 0;
    }

    #technologies .section-title {
        font-size: 2rem;
    }

    #technologies .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .tech-card {
        padding: 15px 10px;
    }

    .tech-logo {
        height: 40px;
    }

    .tech-name {
        font-size: 0.85rem;
    }
}

/* Testimonials */
.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.1);
    height: 100%;
    backdrop-filter: blur(6px);
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: "";
    font-size: 4rem;
    color: var(--brand-cyan);
    opacity: 0.3;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-cyan);
}

.client-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.client-info p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section{
    background: radial-gradient(120% 120% at 50% 0%, rgba(0,212,255,.1) 0, rgba(255,58,166,.1) 40%, transparent 70%), #0f172a;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.cta-title{
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text{
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-light{
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-weight: 600;
}

.btn-light:hover{
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer{
    background: #0a0e1a;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer h5{
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links, .footer-contact{
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a{
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a:hover{
    color: var(--brand-cyan);
    gap: 0.75rem;
}

.footer-contact li{
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact li i{
    color: var(--brand-cyan);
    width: 20px;
}

.footer-about{
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.social-links{
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.social-links a:hover{
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
}

.language-option {
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 3px;
    padding: 5px;
    display: flex;
    align-items: center;
}

.language-option:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.fi {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 18px;
}
.legal-section {
    background: var(--bg-deep);
    min-height: 100vh;
    padding: 100px 0 60px;
}

.legal-section h1 {
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--brand-cyan);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 2rem;
}

.legal-section h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h5 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.address-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Navigation */
.custom-nav {
    /*background: rgba(11, 16, 32, 0.95);*/
    backdrop-filter: blur(10px);
    /*padding: 1rem 0;*/
    transition: all 0.3s ease;
}

.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.footer-about {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    color: #fff;
    transform: translateY(-3px);
}

.footer h5 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

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

.footer-links i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--brand-cyan);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .service-card, .testimonial-card, .stats-container {
        padding: 1.5rem;
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-consent-overlay.show {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-consent-banner {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-consent-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-consent-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.cookie-consent-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cookie-consent-text p {
    margin-bottom: 1rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-btn-accept {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    color: white;
}

.cookie-btn-accept:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cookie-settings {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.cookie-setting {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-setting label {
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cookie-setting input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

.setting-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-left: 2rem;
}

.setting-required {
    color: var(--brand-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    .cookie-consent-banner {
        padding: 2rem 1.5rem;
        margin: 10px;
        width: 95%;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        min-width: auto;
        width: 100%;
    }

    .cookie-consent-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
/* Modern Navigation Styles */
/* Modern Navigation Styles */
.modern-nav {
    position: fixed; /* make it independent of flow */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* ensure it stays on top */
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hide on scroll */
.modern-nav.scrolled {
    transform: translateY(-100%); /* actually moves it up */
    background: rgba(8, 12, 24, 0.98);
    padding: 8px 0;
}

.navbar .nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 4px;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
    border-radius: 8px;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{
    width: 80%;
}
/* ==============================
   SERVICES DROPDOWN UNDERLINE
   ============================== */

/* Remove Bootstrap’s default arrow */
#servicesDropdown::after {
    content: none !important;
}

/* Underline base */
#servicesDropdown::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* Underline on hover, active, open dropdown */
/*#servicesDropdown:hover::before,*/
#servicesDropdown.active::before,
#servicesDropdown.show::before,
#servicesDropdownContainer.show #servicesDropdown::before {
    width: 80%;
}
body.services-page #servicesDropdown::before {
    width: 80%;
}

@media (hover: hover) {
    #servicesDropdown:hover::before {
        width: 80%;
    }
}



/* ==============================
   ARROW
   ============================== */

.dropdown-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-left: 6px;
}

/* Hover rotation (DESKTOP only) */
@media (hover: hover) {
    #servicesDropdownContainer:hover .dropdown-arrow {
        transform: rotate(225deg);
    }
}

/* Open state (Bootstrap) */
#servicesDropdownContainer.show .dropdown-arrow {
    transform: rotate(225deg);
}

#servicesDropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* Temporary force-hide for Services dropdown while we close it via JS */
.force-hide-services-dropdown #servicesDropdownContainer .dropdown-menu,
.force-hide-services-dropdown #servicesDropdownContainer.show .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Modern Dropdown Styles */
.modern-dropdown {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block !important;
    position: absolute;
}

/* Force consistent dropdown gap below Services link */
#servicesDropdownContainer .modern-dropdown {
    top: 100%; /* dropdown starts just below the nav item */
    margin-top: 6px; /* adjust this gap as needed */
}

/* Show dropdown on hover */
.dropdown:hover .modern-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-dropdown .dropdown-item {
    color: var(--text-secondary);
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
    display: block;
}

.modern-dropdown .dropdown-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--brand-cyan);
    padding-left: 25px;
}

.dropdown-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--brand-cyan);
    padding-left: 25px;
}


#servicesDropdown:focus,
#servicesDropdown:focus-visible,
#servicesDropdown:active {
    border-bottom: none !important;
    outline: none;
}
#servicesDropdown:focus::after,
#servicesDropdown:focus-visible::after,
#servicesDropdown:active::after {
    opacity: 0;
    width: 0;
}


/* Brand Text */
.brand-text {
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.brand-text::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.navbar-brand:hover .brand-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logo-main {
    height: 60px;
    width: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-main {
    transform: rotate(5deg) scale(1.05);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-option {
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.language-option:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.fi {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-dropdown {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 8px;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none !important;
    }

    .dropdown.show .modern-dropdown {
        display: block !important;
    }

    .navbar .nav-link {
        margin: 4px 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        padding: 8px 0;
    }

    .modern-dropdown {
        min-width: auto;
        width: 100%;
    }
}
/* Advanced Technologies Section */
/* Modern Tech Section */
.modern-tech-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a253c 100%);
    position: relative;
    overflow: hidden;
}

.modern-tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(255, 58, 166, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.modern-tech-section .container {
    position: relative;
    z-index: 1;
}

.tech-badge {
    display: block; /* Changed from inline-block to block */
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content; /* Added to center the badge */
    margin-left: auto; /* Added to center the badge */
    margin-right: auto; /* Added to center the badge */
}

.section-title {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Category Filters */
.tech-categories-modern {
    margin-bottom: 3rem;
}

.category-filters-modern {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-filter-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.category-filter-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-filter-modern.active {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.category-filter-modern i {
    font-size: 0.8rem;
}

/* Modern Tech Carousel */
.tech-carousel-modern {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.tech-carousel-container-modern {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.tech-carousel-track-modern {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem;
}

/* Modern Tech Card - Smaller Size */
.tech-card-modern {
    min-width: 160px;
    flex-shrink: 0;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.tech-card-modern.hidden {
    display: none;
}

.tech-card-inner-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: center;
}

.tech-glow-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card-modern:hover .tech-card-inner-modern {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-card-modern:hover .tech-glow-modern {
    opacity: 1;
}

.tech-icon-modern {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-card-modern:hover .tech-icon-modern {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.tech-icon-modern img {
    width: 30px;
    height: 30px;
    filter: grayscale(0.3) brightness(1.2);
    transition: all 0.3s ease;
}

.tech-card-modern:hover .tech-icon-modern img {
    filter: grayscale(0) brightness(1.5);
    transform: scale(1.1);
}

.tech-content-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-content-modern h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.tech-content-modern p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.8;
    min-height: 1.2rem;
}

/* Tech Usage Tags */
.tech-usage-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.usage-tag {
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Usage Tag Colors */
.usage-tag.frontend {
    background: rgba(0, 123, 255, 0.15);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.usage-tag.backend {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.usage-tag.database {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.usage-tag.ai-ml {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.usage-tag.devops {
    background: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

.usage-tag.automation {
    background: rgba(253, 126, 20, 0.15);
    color: #fd7e14;
    border: 1px solid rgba(253, 126, 20, 0.3);
}

.usage-tag.web {
    background: rgba(32, 201, 151, 0.15);
    color: #20c997;
    border: 1px solid rgba(32, 201, 151, 0.3);
}

.usage-tag.api {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.usage-tag.enterprise {
    background: rgba(102, 16, 242, 0.15);
    color: #6610f2;
    border: 1px solid rgba(102, 16, 242, 0.3);
}

.usage-tag.cloud {
    background: rgba(32, 201, 151, 0.15);
    color: #20c997;
    border: 1px solid rgba(32, 201, 151, 0.3);
}

.usage-tag.container {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.usage-tag.iac {
    background: rgba(214, 51, 132, 0.15);
    color: #d63384;
    border: 1px solid rgba(214, 51, 132, 0.3);
}

.usage-tag.cicd {
    background: rgba(253, 126, 20, 0.15);
    color: #fd7e14;
    border: 1px solid rgba(253, 126, 20, 0.3);
}

.usage-tag.deep-learning {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.usage-tag.vision {
    background: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

.usage-tag.workflow {
    background: rgba(32, 201, 151, 0.15);
    color: #20c997;
    border: 1px solid rgba(32, 201, 151, 0.3);
}

.usage-tag.integration {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
    border: 1px solid rgba(13, 202, 240, 0.3);
}

.usage-tag.cache {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Hover effects for usage tags */
.tech-card-modern:hover .usage-tag {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tech-card-modern:hover .usage-tag.frontend {
    background: rgba(0, 123, 255, 0.25);
}

.tech-card-modern:hover .usage-tag.backend {
    background: rgba(40, 167, 69, 0.25);
}

.tech-card-modern:hover .usage-tag.database {
    background: rgba(255, 193, 7, 0.25);
}

.tech-card-modern:hover .usage-tag.ai-ml {
    background: rgba(220, 53, 69, 0.25);
}

.tech-card-modern:hover .usage-tag.devops {
    background: rgba(111, 66, 193, 0.25);
}

.tech-card-modern:hover .usage-tag.automation {
    background: rgba(253, 126, 20, 0.25);
}

/* Modern Carousel Navigation */
.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-filters-modern {
        gap: 0.5rem;
    }

    .category-filter-modern {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .tech-carousel-modern {
        gap: 1rem;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .tech-card-modern {
        min-width: 140px;
    }

    .tech-card-inner-modern {
        padding: 1rem 0.8rem;
    }

    .tech-icon-modern {
        width: 40px;
        height: 40px;
    }

    .tech-icon-modern img {
        width: 25px;
        height: 25px;
    }

    .tech-content-modern h4 {
        font-size: 0.9rem;
    }

    .tech-content-modern p {
        font-size: 0.75rem;
    }

    .usage-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .category-filters-modern {
        flex-direction: column;
        align-items: center;
    }

    .category-filter-modern {
        width: 200px;
        justify-content: center;
    }

    .tech-carousel-track-modern {
        gap: 1rem;
    }

    .tech-card-modern {
        min-width: 130px;
    }

    .tech-usage-modern {
        gap: 0.2rem;
    }

    .usage-tag {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }
}

/* Compliance Section */
/* Compliance Section - Fully Responsive */
.compliance-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a253c 100%);
    position: relative;
    overflow: hidden;
}

.compliance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 70% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 30% 80%, rgba(255, 58, 166, 0.05) 0%, transparent 50%);
    z-index: 0;
}

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

.compliance-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compliance-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Compliance Features */
.compliance-features {
    margin-bottom: 3rem;
}

.compliance-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.compliance-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.compliance-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Compliance Visual */
.compliance-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-badge {
    position: absolute;
    top: 20%;
    left: 10%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.badge-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Protection Shield */
.protection-shield {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.shield-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.shield-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.shield-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: ripple 3s linear infinite;
}

.ring-1 {
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    animation-delay: 0s;
}

.ring-2 {
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    animation-delay: 1s;
}

.ring-3 {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Compliance Stats */
.compliance-stats {
    position: absolute;
    bottom: 10%;
    right: 10%;
    display: flex;
    gap: 2rem;
    z-index: 2;
}

.compliance-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.compliance-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.compliance-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    justify-content: center;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--text-primary);
}

.trust-badge i {
    font-size: 1.2rem;
    color: var(--brand-cyan);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .compliance-visual {
        height: 550px;
    }

    .protection-shield {
        width: 220px;
        height: 220px;
    }

    .shield-icon {
        width: 140px;
        height: 140px;
        font-size: 3.5rem;
    }
}

/* Tablet and Small Desktop (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .compliance-visual {
        height: 450px;
        margin-top: 2rem;
    }

    .protection-shield {
        width: 180px;
        height: 180px;
    }

    .shield-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .security-badge {
        top: 15%;
        left: 5%;
        padding: 1.25rem;
    }

    .compliance-stats {
        bottom: 5%;
        right: 5%;
        gap: 1.5rem;
    }

    .compliance-stats .stat-item {
        min-width: 90px;
        padding: 0.875rem;
    }

    .compliance-stats .stat-number {
        font-size: 1.6rem;
    }

    .trust-badges {
        gap: 1.5rem;
    }

    .trust-badge {
        min-width: 180px;
        padding: 0.875rem 1.25rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .compliance-section .row {
        flex-direction: column;
    }

    .compliance-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .compliance-text {
        margin-left: auto;
        margin-right: auto;
    }

    .compliance-features {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .compliance-feature {
        text-align: left;
    }

    .compliance-actions {
        justify-content: center;
    }

    .compliance-visual {
        height: 400px;
        margin-top: 0;
    }

    .security-badge {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 2rem;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .protection-shield {
        margin: 2rem 0;
    }

    .compliance-stats {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 2rem;
        gap: 1rem;
    }

    .compliance-stats .stat-item {
        flex: 1;
        min-width: 110px;
        max-width: 130px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .compliance-visual {
        height: 350px;
    }

    .protection-shield {
        width: 150px;
        height: 150px;
    }

    .shield-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }

    .security-badge {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .badge-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .compliance-stats {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .compliance-stats .stat-item {
        min-width: 100px;
        padding: 0.75rem;
    }

    .compliance-stats .stat-number {
        font-size: 1.5rem;
    }

    .compliance-stats .stat-label {
        font-size: 0.75rem;
    }

    .trust-badges {
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .trust-badge {
        min-width: 160px;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (575px and below) */
@media (max-width: 575px) {
    .compliance-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }

    .compliance-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .compliance-features {
        margin-bottom: 2rem;
    }

    .compliance-feature {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .compliance-feature:hover {
        transform: translateY(-5px);
    }

    .feature-icon {
        align-self: center;
        margin-bottom: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .feature-content h4 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    .compliance-actions {
        flex-direction: column;
        align-items: center;
    }

    .compliance-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .compliance-visual {
        height: 300px;
    }

    .protection-shield {
        width: 130px;
        height: 130px;
    }

    .shield-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .shield-glow {
        animation: pulse 3s ease-in-out infinite;
    }

    .ring {
        border-width: 1px;
    }

    .security-badge {
        padding: 0.875rem;
    }

    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .badge-title {
        font-size: 1rem;
    }

    .compliance-stats {
        gap: 0.5rem;
    }

    .compliance-stats .stat-item {
        min-width: 85px;
        padding: 0.6rem;
    }

    .compliance-stats .stat-number {
        font-size: 1.3rem;
    }

    .compliance-stats .stat-label {
        font-size: 0.7rem;
    }

    .trust-badges {
        gap: 0.8rem;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }

    .trust-badge {
        min-width: 140px;
        padding: 0.75rem;
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .trust-badge i {
        font-size: 1.1rem;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .compliance-visual {
        height: 280px;
    }

    .protection-shield {
        width: 120px;
        height: 120px;
    }

    .shield-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .compliance-stats .stat-item {
        min-width: 75px;
        padding: 0.5rem;
    }

    .compliance-stats .stat-number {
        font-size: 1.2rem;
    }

    .trust-badge {
        min-width: 130px;
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .compliance-feature {
        padding: 1rem;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .compliance-stats {
        flex-direction: column;
        align-items: center;
    }

    .compliance-stats .stat-item {
        width: 120px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .trust-badge {
        width: 200px;
        max-width: none;
    }
}
/* Modern Compact Process Section */
.modern-process-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a253c 100%);
    position: relative;
    overflow: hidden;
}

.modern-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 58, 166, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.modern-process-section .container {
    position: relative;
    z-index: 1;
}

.process-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Process Flow Wrapper */
.process-flow-wrapper {
    padding: 2rem 0;
    margin-top: 1rem;
    overflow: hidden;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    position: relative;
    width: 100%;
}

.process-item {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

/* Process Card - Made smaller for desktop */
.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    width: 170px;
    height: 176px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    flex-shrink: 0;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}

.process-card:hover::before {
    left: 100%;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.process-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-number {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.7;
}

/* Step Content */
.step-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
}

/* Step Connector - Made smaller */
.step-connector {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    position: relative;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
    opacity: 0.4;
    position: relative;
    overflow: hidden;
}

.connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.connector-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    font-size: 0.6rem;
    animation: bounceArrow 2s infinite;
}

/* Desktop arrow (right) */
.desktop-arrow {
    display: block;
}

.mobile-arrow {
    display: none;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    40% {
        transform: translateY(-50%) translateX(3px);
    }
    60% {
        transform: translateY(-50%) translateX(1px);
    }
}

/* Hover effects on connector */
.process-item:hover .connector-line {
    opacity: 0.7;
}

.process-item:hover .connector-line::after {
    animation-duration: 1s;
}

.process-item:hover .connector-arrow {
    color: var(--brand-pink);
    animation-duration: 1s;
}

/* Responsive Design for Smaller Laptop Screens */
@media (max-width: 1400px) {
    .process-card {
        width: 160px;
        height: 150px;
        padding: 1.125rem;
    }

    .connector-line {
        width: 35px;
    }

    .step-icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 1200px) {
    .process-card {
        width: 150px;
        height: 140px;
        padding: 1rem;
    }

    .connector-line {
        width: 25px;
    }

    .connector-arrow {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .step-number {
        font-size: 1.2rem;
    }

    .step-content h4 {
        font-size: 0.85rem;
    }

    .step-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 1100px) {
    .process-card {
        width: 140px;
        height: 176px;
        padding: 0.875rem;
    }

    .connector-line {
        width: 20px;
    }

    .step-connector {
        padding: 0 0.5rem;
    }

    .step-header {
        margin-bottom: 0.5rem;
    }
}

/* Mobile Styles - Reset to original larger sizes */
@media (max-width: 992px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 0;
        flex-wrap: wrap;
    }

    .process-item {
        flex-direction: column;
        margin-bottom: 0;
    }

    .step-connector {
        padding: 1rem 0;
        height: 40px;
    }

    .connector-line {
        width: 2px;
        height: 40px;
    }

    .connector-line::after {
        animation: flowLineVertical 3s linear infinite;
    }

    @keyframes flowLineVertical {
        0% {
            top: -100%;
        }
        100% {
            top: 100%;
        }
    }

    .connector-arrow {
        position: absolute;
        right: auto;
        left: 50%;
        top: 100%;
        transform: translateX(-50%) translateY(-50%);
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    /* Hide desktop arrow, show mobile arrow */
    .desktop-arrow {
        display: none;
    }

    .mobile-arrow {
        display: block;
    }

    @keyframes bounceArrow {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(3px);
        }
        60% {
            transform: translateX(-50%) translateY(1px);
        }
    }

    /* Reset to original mobile sizes */
    .process-card {
        width: 200px;
        height: 217px;
        padding: 1.5rem;
        margin-top: 0;
    }

    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .step-header {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .process-card {
        width: 160px;
        height: 190px;
        padding: 1rem;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-number {
        font-size: 1.3rem;
    }

    .step-content h4 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.8rem;
    }

    .process-flow-wrapper {
        padding: 1rem 0;
    }
}

/* Animation on scroll */
.process-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.process-item.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    #servicesDropdown {
        justify-content: center;
        width: 100%;
    }
}

@media (hover: none) {
    .navbar .nav-link:hover {
        background: transparent !important;
    }
    body.services-page #servicesDropdown {
        background: rgba(255, 255, 255, 0.05);
    }
}