/* ============================================ */
/* Solutions Group - Shared Styles             */
/* ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* ============================================ */
/* Navbar Glassmorphism Effect                 */
/* ============================================ */

#navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 158, 152, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

#navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(26, 158, 152, 0.3) 20%,
            rgba(43, 45, 107, 0.5) 50%,
            rgba(26, 158, 152, 0.3) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#navbar.scrolled::before {
    opacity: 1;
}

#navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
    box-shadow: 0 8px 32px rgba(43, 45, 107, 0.12);
}

/* Navbar Links */
.nav-link {
    position: relative;
    color: #374151;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2B2D6B, #1A9E98);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1A9E98;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dark Mode Navbar */
.dark-mode #navbar {
    background: linear-gradient(135deg, rgba(15, 16, 25, 0.95) 0%, rgba(18, 20, 30, 0.98) 100%);
    border-bottom: 1px solid rgba(26, 158, 152, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode #navbar::before {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(26, 158, 152, 0.5) 20%,
            rgba(26, 158, 152, 0.8) 50%,
            rgba(26, 158, 152, 0.5) 80%,
            transparent 100%);
}

.dark-mode #navbar.scrolled {
    background: linear-gradient(135deg, rgba(15, 16, 25, 0.98) 0%, rgba(18, 20, 30, 1) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 60px rgba(26, 158, 152, 0.1);
}

.dark-mode .nav-link {
    color: #e2e8f0;
}

.dark-mode .nav-link:hover {
    color: #1A9E98;
}

.dark-mode .nav-link::after {
    background: linear-gradient(90deg, #1A9E98, #3ed0cb);
}

/* ============================================ */
/* Animations                                  */
/* ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes preloaderFade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    75% {
        transform: translateY(10px) rotate(-1deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(0, -50px) rotate(180deg);
    }

    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

@keyframes blobMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================ */
/* Preloader                                   */
/* ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2B2D6B 0%, #1a1c40 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    animation: logoFloat 2s ease-in-out infinite;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(26, 158, 152, 0.6));
    width: 150px !important;
    height: 150px !important;
    object-fit: contain;
}

.preloader-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px solid #1A9E98;
    border-radius: 50%;
    animation: pulseRing 1.5s ease-out infinite;
}

/* ============================================ */
/* Navigation                                  */
/* ============================================ */

.nav-link {
    position: relative;
    color: #1e293b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2B2D6B, #1A9E98);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #1A9E98;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background-color: #ffffff !important;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-link {
    color: #1e293b;
    display: block;
}

.mobile-nav-link:hover {
    color: #1A9E98;
}

.dark-mode .mobile-menu {
    background-color: #1a1c2e !important;
}

.dark-mode .mobile-nav-link {
    color: #f0f0f0;
}

/* ============================================ */
/* Hero Headline Animation (Typewriter)        */
/* ============================================ */

#hero-headline {
    font-family: inherit;
    letter-spacing: 0.02em;
    visibility: hidden;
    opacity: 0;
}

#hero-headline.hero-ready {
    visibility: visible;
    opacity: 1;
}

#hero-headline.hero-decoded {
    animation: glowPulse 2s ease-in-out;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #1A9E98;
    margin-left: 5px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
    transition: opacity 0.5s ease;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 0 rgba(26, 158, 152, 0);
    }

    50% {
        text-shadow: 0 0 30px rgba(26, 158, 152, 0.5), 0 0 60px rgba(26, 158, 152, 0.3);
    }

    100% {
        text-shadow: 0 0 20px rgba(26, 158, 152, 0.2);
    }
}

/* ============================================ */
/* Scroll Reveal                               */
/* ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ============================================ */
/* 3D Tilt Effect                              */
/* ============================================ */

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

.tilt-card .tilt-content {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

/* ============================================ */
/* Floating Elements                           */
/* ============================================ */

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-circle {
    border-radius: 50%;
    background: linear-gradient(135deg, #1A9E98, #2B2D6B);
}

.shape-square {
    border-radius: 10px;
    background: linear-gradient(135deg, #2B2D6B, #1A9E98);
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(26, 158, 152, 0.3);
    background: none;
}

/* ============================================ */
/* Gradient Text                               */
/* ============================================ */

.gradient-text {
    background: linear-gradient(135deg, #2B2D6B 0%, #1A9E98 50%, #2B2D6B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* ============================================ */
/* Cursor Trail                                */
/* ============================================ */

.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 158, 152, 0.6), rgba(43, 45, 107, 0.6));
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: screen;
    display: none;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1A9E98;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
}

/* ============================================ */
/* Theme Toggle                                */
/* ============================================ */

.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B2D6B 0%, #1A9E98 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(43, 45, 107, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(43, 45, 107, 0.5);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

/* ============================================ */
/* Dark Mode                                   */
/* ============================================ */

.dark-mode {
    --bg-primary: #0f1019;
    --bg-secondary: #1a1c2e;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
}

.dark-mode body,
.dark-mode #app-wrapper {
    background-color: #0f1019;
    color: #f0f0f0;
}

.dark-mode section {
    background-color: #0f1019;
}

.dark-mode .service-card,
.dark-mode .process-card {
    background: linear-gradient(145deg, #1a1c2e, #252840);
    border-color: rgba(26, 158, 152, 0.2);
}

.dark-mode .service-card h3,
.dark-mode .process-card h3 {
    color: #f0f0f0;
}

.dark-mode .service-card p,
.dark-mode .process-card p {
    color: #a0a0a0;
}

.dark-mode h2 {
    color: #f0f0f0;
}

.dark-mode p {
    color: #a0a0a0;
}

/* ============================================ */
/* Parallax Background                         */
/* ============================================ */

.parallax-bg {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ============================================ */
/* Glow Effect                                 */
/* ============================================ */

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(26, 158, 152, 0.5), 0 0 40px rgba(26, 158, 152, 0.3);
}

/* ============================================ */
/* About Section Background                    */
/* ============================================ */

.about-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(26, 158, 152, 0.08) 0%,
            rgba(240, 248, 255, 1) 40%,
            rgba(43, 45, 107, 0.06) 100%);
}

.about-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(26, 158, 152, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(43, 45, 107, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.65;
    pointer-events: none;
    animation: blobMove 18s ease-in-out infinite;
}

.about-blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(26, 158, 152, 0.55), rgba(43, 45, 107, 0.35));
    top: -120px;
    left: -120px;
    animation-delay: 0s;
}

.about-blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(43, 45, 107, 0.45), rgba(26, 158, 152, 0.5));
    bottom: -120px;
    right: -120px;
    animation-delay: -5s;
}

.about-tech-icon {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
    animation: techFloat 15s ease-in-out infinite;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(26, 158, 152, 0.2), transparent);
    height: 1px;
    pointer-events: none;
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(26, 158, 152, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.dark-mode .about-bg-container {
    background: linear-gradient(135deg, #0f1019 0%, #151724 50%, #0f1019 100%);
}

.dark-mode .about-bg-container::before {
    background-image:
        linear-gradient(rgba(26, 158, 152, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 158, 152, 0.08) 1px, transparent 1px);
}

.dark-mode .about-blob {
    opacity: 0.3;
}

/* ============================================ */
/* Services Section Background                 */
/* ============================================ */

.services-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg,
            rgba(26, 158, 152, 0.1) 0%,
            rgba(245, 250, 255, 1) 50%,
            rgba(43, 45, 107, 0.08) 100%);
}

.services-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(26, 158, 152, 0.22) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 50%, rgba(43, 45, 107, 0.18) 0%, transparent 45%);
    pointer-events: none;
}

.dark-mode .services-bg-container {
    background: linear-gradient(160deg, #0a1515 0%, #12141e 50%, #0f1019 100%);
}

.dark-mode .services-bg-container::before {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(26, 158, 152, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 50%, rgba(43, 45, 107, 0.2) 0%, transparent 45%);
}

.services-bg-container>div {
    position: relative;
    z-index: 10;
}

/* ============================================ */
/* Why Choose Us Background                    */
/* ============================================ */

.why-us-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,
            rgba(43, 45, 107, 0.08) 0%,
            rgba(248, 252, 255, 1) 50%,
            rgba(26, 158, 152, 0.1) 100%);
}

.why-us-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(43, 45, 107, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(26, 158, 152, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.dark-mode .why-us-bg-container {
    background: linear-gradient(145deg, #0f1019 0%, #12141e 50%, #0a1515 100%);
}

.dark-mode .why-us-bg-container::before {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(43, 45, 107, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(26, 158, 152, 0.22) 0%, transparent 50%);
}

/* ============================================ */
/* Process Section Background                  */
/* ============================================ */

.process-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg,
            rgba(26, 158, 152, 0.1) 0%,
            rgba(250, 252, 255, 1) 50%,
            rgba(43, 45, 107, 0.08) 100%);
}

.process-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(26, 158, 152, 0.18) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(43, 45, 107, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.dark-mode .process-bg-container {
    background: linear-gradient(170deg, #0a1515 0%, #12141e 50%, #0f1019 100%);
}

.process-hexagon {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(26, 158, 152, 0.1), rgba(43, 45, 107, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    pointer-events: none;
    animation: floatShape 20s ease-in-out infinite;
}

.process-hexagon-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.process-hexagon-2 {
    bottom: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation-delay: -7s;
}

/* ============================================ */
/* CTA Section Background                      */
/* ============================================ */

.cta-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2B2D6B 0%, #1a1c40 50%, #1A9E98 100%);
}

.cta-aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 158, 152, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(43, 45, 107, 0.3) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
}

.cta-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200px 200px;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================ */
/* Partners Section                            */
/* ============================================ */

.partners-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
            rgba(248, 252, 255, 1) 0%,
            rgba(26, 158, 152, 0.05) 50%,
            rgba(248, 252, 255, 1) 100%);
}

.partners-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.partners-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(26, 158, 152, 0.3);
    top: -100px;
    left: 10%;
}

.partners-glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(43, 45, 107, 0.25);
    bottom: -80px;
    right: 15%;
}

.dark-mode .partners-bg-container {
    background: linear-gradient(180deg, #0f1019 0%, #12141e 50%, #0f1019 100%);
    position: relative;
}

.dark-mode .partners-bg-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(26, 158, 152, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(43, 45, 107, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

/* Dark mode - Partners section gradient shadows transparent */
.dark-mode #partners-marquee-wrapper .absolute.left-0,
.dark-mode #partners-marquee-wrapper .absolute.right-0 {
    background: transparent !important;
}

/* Dark mode - Partner cards with white background for logo visibility */
.dark-mode .partner-card {
    background: #ffffff !important;
    border: 1px solid rgba(26, 158, 152, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(26, 158, 152, 0.1);
}

.partners-marquee-wrapper {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.partners-marquee-wrapper.dragging {
    cursor: grabbing;
}

.partners-marquee {
    display: flex;
    gap: 1.5rem;
}

.partners-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
}

.partners-nav-btn.visible {
    opacity: 1;
}

.partners-nav-btn:hover {
    background: #1A9E98;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.partners-nav-btn.left {
    left: 10px;
}

.partners-nav-btn.right {
    right: 10px;
}

.partners-nav-btn svg {
    width: 20px;
    height: 20px;
}

.partner-card {
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* Contact Section Background                  */
/* ============================================ */

.contact-bg-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(43, 45, 107, 0.05) 0%,
            rgba(250, 252, 255, 1) 50%,
            rgba(26, 158, 152, 0.08) 100%);
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    animation: blobMove 20s ease-in-out infinite;
}

.contact-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(26, 158, 152, 0.3);
    top: 10%;
    left: -5%;
}

.contact-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(43, 45, 107, 0.25);
    bottom: 20%;
    right: -3%;
    animation-delay: -5s;
}

.contact-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(26, 158, 152, 0.2);
    top: 60%;
    left: 30%;
    animation-delay: -10s;
}

.contact-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(26, 158, 152, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 158, 152, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.dark-mode .contact-bg-container {
    background: linear-gradient(135deg, #0f1019 0%, #12141e 50%, #0a1515 100%);
}

/* Dark mode - Contact form cards */
.dark-mode .contact-bg-container .bg-white {
    background: linear-gradient(145deg, #1a1c2e, #252840) !important;
    border: 1px solid rgba(26, 158, 152, 0.2);
}

.dark-mode .contact-bg-container .bg-white h2,
.dark-mode .contact-bg-container .bg-white h3 {
    color: #f0f0f0 !important;
}

.dark-mode .contact-bg-container .bg-white label {
    color: #e2e8f0 !important;
}

.dark-mode .contact-bg-container .bg-white input,
.dark-mode .contact-bg-container .bg-white textarea {
    background: #0f1019 !important;
    border-color: rgba(26, 158, 152, 0.3) !important;
    color: #f0f0f0 !important;
}

.dark-mode .contact-bg-container .bg-white input::placeholder,
.dark-mode .contact-bg-container .bg-white textarea::placeholder {
    color: #6b7280 !important;
}

.dark-mode .contact-bg-container .bg-white input:focus,
.dark-mode .contact-bg-container .bg-white textarea:focus {
    border-color: #1A9E98 !important;
}

.dark-mode .contact-bg-container .bg-white button[type="submit"] {
    color: #ffffff !important;
}

.dark-mode .contact-bg-container .bg-white button[type="submit"] span {
    color: #ffffff !important;
}

.dark-mode .contact-bg-container .text-gray-600 {
    color: #a0a0a0 !important;
}

.dark-mode .contact-bg-container .text-navy-700 {
    color: #f0f0f0 !important;
}

.dark-mode .contact-bg-container .bg-teal-50 {
    background: rgba(26, 158, 152, 0.15) !important;
}

.dark-mode .contact-bg-container .text-teal-600 {
    color: #1A9E98 !important;
}

/* Dark mode - Social Media Buttons in Contact Page */
.dark-mode .contact-bg-container .bg-navy-50 {
    background: rgba(26, 158, 152, 0.15) !important;
}

.dark-mode .contact-bg-container .bg-navy-50.text-navy-700 {
    color: #1A9E98 !important;
}

.dark-mode .contact-bg-container .bg-blue-50 {
    background: rgba(59, 130, 246, 0.15) !important;
}

.dark-mode .contact-bg-container .text-blue-600 {
    color: #60a5fa !important;
}

.dark-mode .contact-bg-container .text-purple-600 {
    color: #c084fc !important;
}

.dark-mode .contact-bg-container .from-purple-100,
.dark-mode .contact-bg-container .to-pink-100 {
    --tw-gradient-from: rgba(192, 132, 252, 0.15) !important;
    --tw-gradient-to: rgba(244, 114, 182, 0.15) !important;
}

.dark-mode .contact-bg-container a[class*="bg-navy-50"]:hover,
.dark-mode .contact-bg-container a[class*="bg-blue-50"]:hover {
    color: #ffffff !important;
}

/* Social Button Specific Dark Mode Styles */
.dark-mode .contact-bg-container .social-btn {
    background: rgba(26, 158, 152, 0.15) !important;
    color: #1A9E98 !important;
    border: 1px solid rgba(26, 158, 152, 0.3);
}

.dark-mode .contact-bg-container .social-btn:hover {
    background: #1A9E98 !important;
    color: #ffffff !important;
    border-color: #1A9E98;
}

/* ============================================ */
/* Scroll to Top Button                        */
/* ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A9E98 0%, #2B2D6B 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 158, 152, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 158, 152, 0.5);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ============================================ */
/* Animation Classes                           */
/* ============================================ */

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============================================ */
/* Utility Classes                             */
/* ============================================ */

.counter {
    display: inline-block;
}

* {
    scroll-behavior: smooth;
}

/* ============================================ */
/* Language Dropdown                           */
/* ============================================ */

.lang-switcher {
    position: relative;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #2B2D6B;
    transition: all 0.3s ease;
}

.lang-switcher-btn:hover {
    background: #f8fafc;
    border-color: #1A9E98;
}

.lang-switcher-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.lang-switcher.open .lang-switcher-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lang-dropdown a:hover {
    background: #f1f5f9;
    color: #1A9E98;
}

.lang-dropdown a.active {
    background: linear-gradient(135deg, #2B2D6B 0%, #1A9E98 100%);
    color: white;
}

.lang-dropdown a svg {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark-mode .lang-switcher-btn {
    background: #1a1c2e;
    border-color: #2d3047;
    color: #f0f0f0;
}

.dark-mode .lang-switcher-btn:hover {
    border-color: #1A9E98;
}

.dark-mode .lang-dropdown {
    background: #1a1c2e;
    border-color: #2d3047;
}

.dark-mode .lang-dropdown a {
    color: #e2e8f0;
}

.dark-mode .lang-dropdown a:hover {
    background: #252840;
}

/* ============================================ */
/* Dark Mode - Navbar                          */
/* ============================================ */

.dark-mode #navbar {
    background: rgba(15, 16, 25, 0.95) !important;
    backdrop-filter: blur(10px);
}

.dark-mode .nav-link {
    color: #e2e8f0;
}

.dark-mode .nav-link:hover {
    color: #1A9E98;
}

/* Dark Mode - Mobile Menu Button (hamburger) */
.dark-mode #mobile-menu-btn svg {
    stroke: #e2e8f0;
}

.dark-mode #mobile-menu-btn:hover svg {
    stroke: #1A9E98;
}

/* Dark Mode - Navbar Logo White */
.dark-mode #navbar img {
    filter: brightness(0) invert(1);
}

/* ============================================ */
/* Mobile Navbar - Smaller Size                */
/* ============================================ */

@media (max-width: 768px) {
    #navbar .py-4 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    #navbar img {
        height: 2rem;
    }
}

/* ============================================ */
/* Mobile Menu - Close on Outside Click        */
/* ============================================ */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================ */
/* Dark Mode - Partner Logo Backgrounds        */
/* ============================================ */

.dark-mode .partner-logo-card {
    background: linear-gradient(145deg, #1a1c2e, #252840) !important;
    border-color: rgba(26, 158, 152, 0.2) !important;
}

.dark-mode .partner-logo-card img {
    filter: brightness(0.9) contrast(1.1);
}

/* Partner logo wrapper for dark mode */
.dark-mode .partner-logo-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 8px;
}

/* ============================================ */
/* Partners Marquee - Mobile Touch Support     */
/* ============================================ */

@media (max-width: 768px) {
    #partners-marquee-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #partners-marquee-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Mobile: animation runs by default, pauses on touch */
    #partners-marquee {
        animation: marquee 12s linear infinite;
    }

    #partners-marquee-wrapper.user-interacting #partners-marquee {
        animation-play-state: paused;
    }
}