:root {
    /* Deep Space Color Palette (2025 Trend) */
    --primary-color: #00f2ea;
    /* Neon Cyan */
    --primary-dark: #00b8b0;
    --secondary-color: #ff0055;
    /* Neon Pink Accent */
    --bg-dark: #0a0e12;
    --bg-darker: #050709;

    --text-dark: #ffffff;
    --text-light: #a0aab5;
    --white: #ffffff;
    --off-white: #f0f4f8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f2ea 0%, #008c82 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 242, 234, 0.15) 0%, transparent 70%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Lexend', sans-serif;

    /* Spacing & Layout */
    --section-spacing: 6rem;
    --container-width: 1400px;
    /* Wider container for modern feel */
    --card-radius: 24px;
    --pill-radius: 100px;

    /* Glassmorphism 2.0 */
    --glass-bg: rgba(20, 25, 30, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: blur(20px);

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 242, 234, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
    animation: pulse-bg 15s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 10% 10%;
        /* Subtle movement */
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mouse Gradient Background */
/* Mouse Gradient Background */
.mouse-follower {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 140, 130, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    /* Bring in front of body background */
    transition: transform 0.1s cubic-bezier(0.075, 0.82, 0.165, 1);
    mix-blend-mode: multiply;
}

/* Ensure content sits above the mouse follower */
section,
footer {
    position: relative;
    z-index: 2;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Montserrat needs bold weight */
    line-height: 1.2;
    /* Adjusted line height */
    color: var(--text-dark);
    /* Removed uppercase transformation for a cleaner look, kept bold */
    letter-spacing: -0.02em;
    /* Tighter tracking for Montserrat */
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons (Pill Shape) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.8rem;
    border-radius: var(--pill-radius);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 140, 130, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 140, 130, 0.3);
}

/* Glass Card Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--card-radius);
}

/* Header */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: var(--container-width);
    z-index: 1000;
    padding: 1rem 2rem;
    border-radius: 16px;
    /* Slightly less rounded for a tech look, or keep pill? Let's go with a softer rect */
    border-radius: 100px;
    background: rgba(10, 14, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    background: rgba(10, 14, 18, 0.95);
    padding: 0.8rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 242, 234, 0.05);
    top: 10px;
    width: 95%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 40px;
    width: auto;
    /* filter: brightness(0) invert(1); Removed: using correct dark mode asset */
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
}

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

/* 
.logo img {
    height: 40px;
    width: auto;
} 
*/

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.link-item {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: var(--pill-radius);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
}

.link-item:hover {
    color: var(--primary-color);
    background: rgba(0, 140, 130, 0.06);
    opacity: 1;
    transform: translateY(-1px);
}

.link-item.active {
    color: var(--primary-color);
    font-weight: 600;
    opacity: 1;
}

.btn-contact {
    padding: 0.6rem 1.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--pill-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* Mobile Menu Button */
/* Mobile Menu Button - Animated Hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    /* Changed from space-around for specific gap control */
    gap: 6px;
    width: 32px;
    height: 32px;
    z-index: 1001;
    /* Above overlay */
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Hamburger Animation States */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding-top: 200px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 234, 0.3);
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    max-width: 90%;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    color: var(--bg-dark);
    padding: 1.2rem 3rem;
    border-radius: var(--pill-radius);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.btn-explore:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.6);
}

.btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    flex: 1;
    position: relative;
    /* Glass card backing for image */
}

.hero-image img {
    border-radius: var(--card-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 140, 130, 0.15);
    animation: float 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: var(--card-radius);
    z-index: 1;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Common Section Styles */
.section-title {
    font-size: 4rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-title.text-left {
    text-align: left;
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
    border: var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
    background: rgba(20, 25, 30, 0.8);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: rotate(10deg);
    box-shadow: 0 0 20px var(--primary-color);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    border: var(--glass-border);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    height: 320px;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
    /* Frame the image */
    background: rgba(255, 255, 255, 0.02);
    /* Subtle inner frame bg */
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    /* Show full screenshot */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    /* Smooth corners for the screenshot */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Side-by-Side Specifics */
.portfolio-img.side-by-side {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.portfolio-img.side-by-side img {
    width: calc(50% - 0.5rem);
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

.portfolio-content {
    padding: 2.5rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--glass-bg);
    /* Glass cards for team */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    background: rgba(20, 25, 30, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
}

.team-role {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--card-radius);
    border: var(--glass-border);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(20, 25, 30, 0.8);
    border-color: var(--primary-color);
}

.quote-icon {
    font-family: serif;
    font-size: 6rem;
    color: var(--secondary-color);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1.2rem;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #1a1f22, #111416);
    color: var(--white);
    padding: 6rem 0 2rem;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    height: 60px;
    /* Matched previous inline style */
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

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

/* Links */
.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #9ca3af;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Contact List */
.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #9ca3af;
}

.contact-icon {
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-list a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #6b7280;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    header {
        width: 95%;
        padding: 0.8rem 1.2rem;
        top: 14px;
        border-radius: 24px;
    }

    header.scrolled {
        width: 98%;
        top: 5px;
        border-radius: 0 0 24px 24px;
        /* More traditional sticky feel on scroll for mobile? Or keep floating? 
           Let's keep floating but closer. */
        border-radius: 20px;
    }

    .nav-links {
        display: flex;
        /* Hidden by default state controlled via CSS transform/opacity for better anim */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        /* Behind hamburger button (1001) */

        /* Animation State: Hidden */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

        gap: 2rem;
        padding-bottom: 4rem;
        /* Offset for visual balance */
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .link-item {
        font-size: 1.8rem;
        font-weight: 600;
        padding: 0.5rem 1rem;
        color: var(--text-dark);
    }

    .link-item:hover {
        color: var(--primary-color);
        background: transparent;
        transform: scale(1.05);
    }

    .btn-contact {
        margin-top: 1rem;
        padding: 1rem 3rem;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

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

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-desc {
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Utility to prevent scrolling when mobile menu is open */

/* Modern Contact Form */
.modern-form .form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 140, 130, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Select Styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .glass-card {
        padding: 2rem !important;
    }
}

/* Mouse Follower (Spotlight) */
.mouse-follower {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: screen;
    left: -100px;
    /* Hide initially */
    top: -100px;
}

/* Hide cursor on touch devices */
@media (hover: none) {
    .mouse-follower {
        display: none;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    /* Encircle the logo roughly */
    height: 140%;
    opacity: 0.5;
}

@keyframes spin {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}