/* ==========================================================================
   UNIMATE SOLUTIONS - STYLESHEET
   Aesthetics: Future Cyber-Dark Theme, Glassmorphism, Neon Cyan & Navy Accents
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN SYSTEM */
:root {
    /* Color Palette */
    --color-bg-darker: #050811;
    --color-bg-dark: #0a1128;
    --color-bg-card: rgba(10, 25, 47, 0.4);

    --color-primary: #00F2FE;
    /* Neon Cyan */
    --color-secondary: #00C2CB;
    /* Vibrant Teal */
    --color-accent: #0b2545;
    /* Deep Navy */
    --color-accent-glow: rgba(0, 242, 254, 0.15);

    --color-text-white: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dark: #1e293b;

    /* Grid Background */
    --bg-grid-color: rgba(0, 242, 254, 0.02);

    /* Social Brand Colors */
    --color-fb: #1877f2;
    --color-tiktok: #fe2c55;
    --color-tiktok-cyan: #25f4ee;
    --color-youtube: #ff0000;
    --color-insta: #e1306c;
    --color-linkedin: #0077b5;

    /* Font Families */
    --font-heading: 'Outfit', 'Noto Sans Sinhala', 'Inter', sans-serif;
    --font-body: 'Inter', 'Noto Sans Sinhala', sans-serif;

    /* Transition Speed */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Light Theme Variables */
.light-theme {
    --color-bg-darker: #f8fafc;
    --color-bg-dark: #f1f5f9;
    --color-bg-card: rgba(255, 255, 255, 0.75);

    --color-primary: #0ea5e9;
    /* Modern Sky Blue */
    --color-secondary: #0284c7;
    /* Slate-sky teal */
    --color-accent: #cbd5e1;
    /* Light border slate */
    --color-accent-glow: rgba(14, 165, 233, 0.08);

    --color-text-white: #0f172a;
    /* Deep Slate for text */
    --color-text-muted: #475569;
    /* Muted Slate */

    --bg-grid-color: rgba(14, 165, 233, 0.04);
}

/* Smooth transitions for theme switching */
body,
#main-header,
footer,
.lang-switcher-container,
.theme-toggle-btn,
.form-group input,
.form-group select,
.form-group textarea,
.milestones,
.milestone-number,
.milestone-label,
.about-paragraph,
.section-title,
.section-subtitle,
.detail-text a,
.detail-text span,
.logo-text,
.back-to-top {
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-bg-darker);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: 9999;
    box-shadow: 0 0 8px var(--color-primary);
    transition: width 0.1s ease-out;
}

/* Interactive Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
}

.glow-1 {
    top: 5%;
    left: -100px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    animation: floating-glow 15s infinite ease-in-out alternate;
}

.glow-2 {
    top: 50%;
    right: -100px;
    background: radial-gradient(circle, #7000ff 0%, transparent 70%);
    animation: floating-glow 20s infinite ease-in-out alternate-reverse;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--bg-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Animations Keyframes */
@keyframes floating-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.2);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes orbit-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-ccw {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Container Structure */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

section {
    padding: 120px 0;
    position: relative;
}

/* 3. BUTTONS & UTILITIES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-bg-darker);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(0, 242, 254, 0.05);
    color: var(--color-primary);
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.btn-secondary:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.1);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, #a55eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-subtext {
    font-weight: 600;
    color: var(--color-primary);
}

/* Language switching opacity animation state */
.lang-switching {
    opacity: 0 !important;
    transform: translateY(4px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 18px;
    font-weight: 800;
}

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

.header-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 20px auto 0;
    border-radius: 2px;
}

.header-underline.left-aligned {
    margin: 20px 0 0 0;
}

/* 4. HEADER & NAV BAR */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(5, 8, 17, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.08);
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

#main-header.scrolled .header-container {
    padding: 10px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(0, 242, 254, 0.2);
    transition: var(--transition-smooth);
}

.logo-container:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--color-text-white);
    letter-spacing: -0.03em;
}

.logo-subtext {
    font-weight: 400;
    color: var(--color-primary);
    margin-left: 2px;
}

/* Nav Menu Desktop */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--color-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    padding: 0;
}

.theme-toggle-btn:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

/* Light Theme overrides for switcher */
.light-theme .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(14, 165, 233, 0.2);
    color: var(--color-primary);
}

.light-theme .theme-toggle-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.light-theme .theme-toggle-btn .sun-icon {
    display: block;
}

.light-theme .theme-toggle-btn .moon-icon {
    display: none;
}

/* Language Switcher button styles */
.lang-switcher-container {
    display: flex;
    align-items: center;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 3px 8px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-primary);
}

.lang-btn.active {
    background: rgba(0, 242, 254, 0.12);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.08);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 10px;
    margin: 0 2px;
    user-select: none;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hamburger Menu Drawer Trigger */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    z-index: 1100;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
    position: absolute;
}

.hamburger-menu .bar:nth-child(1) {
    top: 0;
}

.hamburger-menu .bar:nth-child(2) {
    top: 8px;
}

.hamburger-menu .bar:nth-child(3) {
    top: 16px;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-primary);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-primary);
}

/* 5. HERO SECTION */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text-white);
    margin-bottom: 20px;
    min-height: 36px;
}

.typing-highlight {
    color: var(--color-primary);
    font-weight: 700;
    border-right: 2px solid var(--color-primary);
    padding-right: 4px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--color-primary);
    }
}

.hero-description {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 620px;
    line-height: 1.8;
}

.hero-description.sinhala-lead {
    font-family: var(--font-heading);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Orbiting Visual Graphics */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.interactive-visual-container {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s infinite ease-in-out;
}

.core-node {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-bg-darker);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px var(--color-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
}

.center-node-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(0, 242, 254, 0.15);
    border-radius: 50%;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: orbit-cw 20s linear infinite;
    z-index: 5;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation: orbit-ccw 30s linear infinite;
    z-index: 4;
}

.orbit-node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.orbit-node:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--color-primary);
    background: var(--color-primary);
    color: var(--color-bg-darker);
    border-color: var(--color-primary);
}

.node-web {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node-mobile {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.node-db {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.node-design {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.orbit-node::before {
    content: attr(data-tip);
    position: absolute;
    bottom: 52px;
    background: rgba(5, 8, 17, 0.95);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--color-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.orbit-node:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* 6. SERVICES SECTION */
.services-section {
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, rgba(10, 25, 47, 0.3) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 242, 254, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.06);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-bg-darker);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    transform: scale(1.05) rotate(3deg);
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card-description {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
}

.service-features li {
    font-size: 13px;
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 900;
}

/* 7. ABOUT SECTION */
.about-section {
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.3) 0%, var(--color-bg-darker) 100%);
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.about-card {
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.about-card-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 60%);
    filter: blur(40px);
    opacity: 0.15;
    z-index: 1;
}

.logo-badge {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card h3 {
    font-size: 26px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.about-card-slogan {
    font-size: 15px;
    color: var(--color-primary);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 24px;
}

.accent-line {
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 auto 20px;
}

.about-card-english {
    font-size: 13px;
    color: var(--color-text-muted);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-paragraph {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-paragraph.text-highlight {
    font-size: 17px;
    color: var(--color-text-white);
    border-left: 3px solid var(--color-primary);
    padding-left: 18px;
    font-weight: 500;
}

.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 28px;
}

.milestone-item {
    display: flex;
    flex-direction: column;
}

.milestone-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.milestone-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 8. TEAM SECTION (ALL VISIBLE GRID WITH HOVER HIGHLIGHTING) */
.team-section {
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, rgba(10, 25, 47, 0.4) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    transition: var(--transition-smooth);
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px 16px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* One-to-one hover highlighting: dim other cards when grid is hovered */
.team-grid:hover .team-card {
    opacity: 0.35;
    transform: scale(0.95);
    filter: blur(1.5px);
}

/* Highlight the active card */
.team-grid .team-card:hover {
    opacity: 1 !important;
    transform: scale(1.08) translateY(-10px) !important;
    filter: blur(0) !important;
    border-color: rgba(0, 242, 254, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.18) !important;
}

.member-avatar-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-svg {
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: var(--transition-smooth);
}

.team-card:hover .avatar-svg {
    transform: scale(1.06) rotate(2deg);
}

.member-avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.15;
    transition: var(--transition-smooth);
    z-index: 1;
}

.team-card:hover .member-avatar-glow {
    opacity: 0.45;
    width: 95px;
    height: 95px;
}

.bg-cyan {
    background-color: var(--color-primary);
}

.bg-blue {
    background-color: #7000ff;
}

.bg-pink {
    background-color: var(--color-tiktok);
}

.bg-purple {
    background-color: var(--color-secondary);
}

.bg-green {
    background-color: #00ff66;
}

.member-details {
    width: 100%;
}

.member-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--color-text-white) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-role {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.member-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.member-socials a {
    font-size: 16px;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.member-socials a:hover {
    opacity: 1;
    transform: scale(1.2);
    color: var(--color-primary);
}

/* 9. TECH STACK SECTION */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.tech-item {
    background: rgba(10, 25, 47, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    border-color: rgba(0, 242, 254, 0.15);
    background: rgba(10, 25, 47, 0.5);
    transform: scale(1.03);
}

.tech-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.tech-item:hover .tech-glow {
    opacity: 0.08;
}

.glow-html {
    top: -40px;
    left: -40px;
    background: #e34c26;
}

.glow-react {
    bottom: -40px;
    right: -40px;
    background: #61dbfb;
}

.glow-mobile {
    top: -40px;
    right: -40px;
    background: #02569b;
}

.glow-node {
    bottom: -40px;
    left: -40px;
    background: #3c873a;
}

.glow-database {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #00f2fe;
}

.glow-design {
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    background: #ff7262;
}

.tech-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.tech-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.tech-item p {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.tech-item::after {
    content: attr(data-tech);
    position: absolute;
    bottom: 8px;
    right: 14px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

.tech-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* 10. REVIEWS SECTION / SLIDESHOW CAROUSEL */
.reviews-section {
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.4) 0%, var(--color-bg-darker) 100%);
}

.feedback-slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 25, 47, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.06);
    border-radius: 24px;
    padding: 60px 80px 50px 80px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feedback-slides-wrapper {
    position: relative;
    height: 220px;
}

.feedback-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.feedback-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.feedback-icon-quote {
    font-size: 80px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -30px;
    height: 40px;
}

.feedback-comment {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-white);
    margin-bottom: 24px;
    font-style: italic;
}

.feedback-comment.sinhala-quote {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.8;
    font-style: normal;
}

.feedback-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feedback-author-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feedback-author-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.rating-stars {
    color: #ffb800;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Slider Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(5, 8, 17, 0.7);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.carousel-control:hover {
    background: var(--color-primary);
    color: var(--color-bg-darker);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots-container .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots-container .dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--color-primary);
}

/* 11. CONTACT SECTION */
.contact-section {
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, #050811 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-desc {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.1);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.detail-text h5 {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.detail-text a,
.detail-text span {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-white);
}

.detail-text a:hover {
    color: var(--color-primary);
}

/* Social Channels */
.social-channels h5 {
    font-size: 13px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-weight: 600;
}

.social-links-container {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: var(--color-fb);
    color: var(--color-fb);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.35);
}

.social-link.tiktok:hover {
    background: rgba(254, 44, 85, 0.05);
    border-color: var(--color-tiktok);
    color: var(--color-tiktok);
    box-shadow:
        -2px -2px 10px rgba(37, 244, 238, 0.3),
        2px 2px 10px rgba(254, 44, 85, 0.3);
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.08);
    border-color: var(--color-insta);
    color: var(--color-insta);
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.35);
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.08);
    border-color: var(--color-linkedin);
    color: var(--color-linkedin);
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.35);
}

.social-tooltip {
    position: absolute;
    bottom: -32px;
    background: var(--color-bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: var(--transition-fast);
}

.social-link:hover .social-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphic Contact Form */
.contact-form-container {
    display: flex;
    justify-content: flex-end;
}

.glass-form {
    background: rgba(10, 25, 47, 0.45);
    border: 1px solid rgba(0, 242, 254, 0.08);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.glass-form h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.glass-form p {
    color: var(--color-text-muted);
    font-size: 13px;
    margin-bottom: 32px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(5, 8, 17, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(5, 8, 17, 0.7);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.08);
}

.form-group select option {
    background-color: var(--color-bg-darker);
    color: var(--color-text-white);
}

.submit-btn {
    width: 100%;
    border: none;
    display: flex;
    gap: 8px;
}

.submit-arrow {
    transition: var(--transition-fast);
}

.submit-btn:hover .submit-arrow {
    transform: translateX(4px);
}

/* Alert response formatting */
.form-alert-box {
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
    text-align: center;
}

.form-alert-box.success {
    display: block;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.form-alert-box.error {
    display: block;
    background: rgba(254, 44, 85, 0.1);
    border: 1px solid var(--color-tiktok);
    color: #ff8093;
}

/* 12. FOOTER SECTION */
footer {
    background-color: #03050a;
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-text-white);
    padding-left: 4px;
}

.footer-copyright {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* 13. EXTRA INTERACTIVE FEATURES */
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
}

.back-to-top.visible {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-primary);
    color: var(--color-bg-darker);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    transform: translateY(-3px);
}

/* 14. SCROLL TRIGGER ANIMATION PRESETS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger animation appearance */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* 15. RESPONSIVE MEDIA QUERIES */

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image-container {
        order: 2;
    }

    .about-content {
        order: 1;
        text-align: center;
    }

    .header-underline.left-aligned {
        margin: 20px auto 0;
    }

    .about-paragraph.text-highlight {
        border-left: none;
        border-top: 2px solid var(--color-primary);
        border-bottom: 2px solid var(--color-primary);
        padding: 16px 0;
    }

    .contact-form-container {
        justify-content: center;
    }

    .glass-form {
        max-width: 100%;
    }

    .feedback-slideshow-container {
        padding: 50px 40px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Navbar styling on Mobile (Slide Out Drawer) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 8, 17, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0, 242, 254, 0.1);
        padding: 100px 40px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .light-theme .nav-menu {
        background: rgba(248, 250, 252, 0.96);
        border-left-color: rgba(14, 165, 233, 0.15);
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
    }

    .nav-link {
        font-size: 18px;
        display: block;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    /* Typography adjust */
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
        min-height: 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links ul {
        grid-template-columns: 1fr;
    }

    .feedback-slides-wrapper {
        height: 280px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .milestones {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .glass-form {
        padding: 30px 20px;
    }

    .feedback-slideshow-container {
        padding: 40px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        display: none;
    }

    /* Scaling header for extremely small mobile viewports (e.g. 320px - 360px) */
    .logo-text {
        font-size: 15px;
    }

    .logo-subtext {
        display: none;
        /* Saves substantial horizontal space */
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .lang-switcher-container {
        padding: 2px 4px;
    }

    .lang-btn {
        padding: 3px 5px;
        font-size: 9px;
    }

    .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }

    .theme-toggle-btn svg {
        width: 15px;
        height: 15px;
    }

    /* Layout shift & dynamic height fix for bilingual typist subtitle */
    .hero-subtitle {
        font-size: 18px;
        min-height: 80px;
    }

    /* Interactive visual scaling to prevent horizontal overflow */
    .interactive-visual-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .orbit-1 {
        width: 160px;
        height: 160px;
    }

    .orbit-2 {
        width: 240px;
        height: 240px;
    }

    .orbit-node {
        width: 36px;
        height: 36px;
    }

    .core-node {
        width: 76px;
        height: 76px;
    }

    .center-node-img {
        width: 64px;
        height: 64px;
    }
}

/* Light Theme Component Overrides */
.light-theme footer {
    background-color: #0f172a;
}

.light-theme footer .footer-links a,
.light-theme footer .footer-tagline,
.light-theme footer .footer-copyright p {
    color: #94a3b8;
}

.light-theme footer .logo-text {
    color: #ffffff;
}

.light-theme .lang-switcher-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(14, 165, 233, 0.2);
}

.light-theme .orbit-node {
    background: rgba(255, 255, 255, 0.9);
}

.light-theme .about-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.08);
}

.light-theme .tech-item {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(14, 165, 233, 0.08);
}

.light-theme .tech-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(14, 165, 233, 0.2);
}

.light-theme .feedback-slideshow-container {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(14, 165, 233, 0.08);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.04);
}

.light-theme .glass-form {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.06);
}

.light-theme .form-group input,
.light-theme .form-group select,
.light-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 165, 233, 0.15);
    color: #0f172a;
}

.light-theme .form-group input:focus,
.light-theme .form-group select:focus,
.light-theme .form-group textarea:focus {
    background: #ffffff;
    border-color: var(--color-primary);
}

.light-theme .form-group input::placeholder,
.light-theme .form-group textarea::placeholder {
    color: #475569;
}

.light-theme .back-to-top {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 165, 233, 0.3);
}

.light-theme #main-header.scrolled {
    background: rgba(248, 250, 252, 0.85);
    border-bottom-color: rgba(14, 165, 233, 0.1);
}

.light-theme .team-card {
    border-color: rgba(14, 165, 233, 0.08);
}

.light-theme .team-card:hover {
    border-color: rgba(14, 165, 233, 0.25) !important;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1) !important;
}

.light-theme .avatar-svg path[fill="#03050a"] {
    fill: #ffffff !important;
}

/* Team card cursor pointers */
.team-card {
    cursor: pointer;
}

/* Responsive adjustment for switcher alignment */
@media (max-width: 768px) {
    .nav-actions {
        gap: 12px;
    }
}