html {
    overflow-x: hidden;
}

:root {
    --bg-color: #050505;
    --card-bg: #0f0f0f;
    --card-border: #1f1f1f;
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --text-main: #ffffff;
    --text-secondary: #a1a1aa;
    --nav-bg: rgba(5, 5, 5, 0.95);
    --shadow: none;
    --btn-white-bg: #ffffff;
    --btn-white-text: #000000;
}

body.light-mode {
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --card-border: #e2e8f0;
    --text-main: #111827;
    --text-secondary: #4b5563;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --btn-white-bg: #111827;
    --btn-white-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: transparent;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.ball {
    position: absolute;
    width: 20vmin;
    height: 20vmin;
    border-radius: 50%;
    backface-visibility: hidden;
    animation: move linear infinite;
    opacity: 0.6;
}
   /* --- PRELOADER CONTAINER --- */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #050505; /* Dark background */
            z-index: 99999;
            display: flex;
            flex-direction: column; /* Stack items vertically */
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }
        p {
            text-align: justify !important;
        }

        /* --- S
        QUARE LOADER CSS --- */
        .loader {
            width: 65px;
            aspect-ratio: 1;
            position: relative;
            margin-bottom: 30px; /* Space between loader and text */
        }

        .loader:before,
        .loader:after {
            content: "";
            position: absolute;
            border-radius: 50px;
            box-shadow: 0 0 0 3px inset #fff;
            animation: l4 2.5s infinite;
        }

        .loader:after {
            animation-delay: -1.25s;
        }

        @keyframes l4 {
            0% { inset: 0 35px 35px 0; }
            12.5% { inset: 0 35px 0 0; }
            25% { inset: 35px 35px 0 0; }
            37.5% { inset: 35px 0 0 0; }
            50% { inset: 35px 0 0 35px; }
            62.5% { inset: 0 0 0 35px; }
            75% { inset: 0 0 35px 35px; }
            87.5% { inset: 0 0 35px 0; }
            100% { inset: 0 35px 35px 0; }
        }

        /* --- TYPING TEXT ANIMATION --- */
        .loader-text {
            color: #ffffff;
            font-family: 'Courier New', Courier, monospace; /* Monospace for "terminal" look */
            font-size: 1.2rem;
            font-weight: 600;
            letter-spacing: 2px;
            overflow: hidden; /* Ensures the content is not revealed until the animation */
            border-right: 3px solid #8b5cf6; /* Purple Cursor */
            white-space: nowrap; /* Keeps the content on a single line */
            margin: 0 auto;
            /* Typing animation */
            animation: 
                typing 2.5s steps(30, end),
                blink-caret .75s step-end infinite;
            
            /* Start with 0 width */
            width: 0;
            /* Fill forwards to keep the text visible after typing */
            animation-fill-mode: forwards; 
        }

        /* The typing effect */
        @keyframes typing {
            from { width: 0 }
            to { width: 23ch; } /* Fits "Accessing AxionByte" */
        }

        /* The blinking cursor effect */
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: #8b5cf6; }
        }

        /* Helper Classes */
        body.loading-active {
            overflow: hidden;
        }

        .preloader-hidden {
            opacity: 0;
            visibility: hidden;
        }
.ball:nth-child(odd) { color: #8b5cf6; }
.ball:nth-child(even) { color: #a855f7; }

.ball:nth-child(1) {
    top: 77%; left: 88%;
    animation-duration: 40s; animation-delay: -3s;
    transform-origin: 16vw -2vh;
    box-shadow: 40vmin 0 5.7vmin currentColor;
}
.ball:nth-child(2) {
    top: 42%; left: 2%;
    animation-duration: 53s; animation-delay: -29s;
    transform-origin: -19vw 21vh;
    box-shadow: -40vmin 0 5.2vmin currentColor;
}
.ball:nth-child(3) {
    top: 28%; left: 18%;
    animation-duration: 49s; animation-delay: -8s;
    transform-origin: -22vw 3vh;
    box-shadow: 40vmin 0 5.2vmin currentColor;
}
.ball:nth-child(4) {
    top: 50%; left: 79%;
    animation-duration: 26s; animation-delay: -21s;
    transform-origin: -17vw -6vh;
    box-shadow: 40vmin 0 5.3vmin currentColor;
}
.ball:nth-child(5) {
    top: 46%; left: 15%;
    animation-duration: 36s; animation-delay: -40s;
    transform-origin: 4vw 0vh;
    box-shadow: -40vmin 0 6.0vmin currentColor;
    color: #c084fc;
}
.ball:nth-child(6) {
    top: 77%; left: 16%;
    animation-duration: 31s; animation-delay: -10s;
    transform-origin: 18vw 4vh;
    box-shadow: 40vmin 0 5.2vmin currentColor;
}
.ball:nth-child(7) {
    top: 22%; left: 17%;
    animation-duration: 55s; animation-delay: -6s;
    transform-origin: 1vw -23vh;
    box-shadow: -40vmin 0 5.7vmin currentColor;
    color: #e879f9;
}
.ball:nth-child(8) {
    top: 41%; left: 47%;
    animation-duration: 43s; animation-delay: -28s;
    transform-origin: 25vw -3vh;
    box-shadow: 40vmin 0 5.2vmin currentColor;
    color: #d946ef;
}

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

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

.btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-white {
    background-color: var(--btn-white-bg);
    color: var(--btn-white-text);
    border: 1px solid var(--btn-white-bg);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--primary);
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    z-index: 1001;
}

.logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
#text{
    text-align: center !important;
}
.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    animation: slideIn 0.3s ease;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

@keyframes slideIn {
    from {
        width: 0;
        left: 0;
    }
    to {
        width: 100%;
    }
}

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

#theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    padding: 5px;
}

#theme-toggle:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-main), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#typing-text {
    position: relative;
}

#typing-text::after {
    content: '|';
    color: #8b5cf6;
    animation: blink 1s infinite;
    font-weight: normal;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background: none;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-content p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    text-align: center;
    text-align-last: center;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

#about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: var(--shadow);
    text-align: left;
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.about-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#about .about-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--text-main);
    text-align: left !important;
}

#about .about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left !important;
}

#services {
    padding: 100px 0;
}

.services-header-tag {
    display: block;
    margin: 0 auto 20px auto;
    width: fit-content;
    padding: 8px 20px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--primary);
    font-size: 0.9rem;
}

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

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: var(--shadow);
    text-align: left;
}

.service-card:hover {
    border-color: var(--primary-dark);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    border: 1px solid var(--card-border);
    margin-bottom: 25px;
}

#services .service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-main);
    text-align: left !important;
}

#services .service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left !important;
}

#portfolio {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-focus-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    z-index: 1;
}

.portfolio-focus-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(40px);
    opacity: 0.6;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.team-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 10px;
    align-items: flex-start !important;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-card {
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: auto !important;
    align-self: flex-start !important;
    min-height: 0 !important;
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center center;
    border-bottom: 1px solid var(--card-border);
}

#portfolio .team-content {
    padding: 25px;
    text-align: left !important;
}

#portfolio .team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-main);
    text-align: left !important;
}

#portfolio .team-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    text-align: left !important;
}

#portfolio .team-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 48px;
    text-align: left !important;
}

.team-tags {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

body.light-mode .team-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(139, 92, 246, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.prev-btn { left: -70px; }
.next-btn { right: -70px; }

#contact {
    padding: 80px 0;
    margin-bottom: 50px;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

.contact-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-text p {
    color: var(--text-secondary);
}

/* Call Us Card Styles */
.contact-card-container {
    flex: 1.2;
    background-color: #8b5cf6;
    border-radius: 10px;
    padding: 40px;
    min-width: 280px;
    position: relative;
    margin-right: 20px;
}

.contact-support-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-options {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-option-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 140px;
    color: white;
}

.contact-option-box i {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-option-box h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-option-box p {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 15px;
    text-align: center;
    text-align-last: center;
}

.contact-btn-white {
    background: white;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 30px 0;
    background: var(--bg-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-logo div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #d8b4fe;
}

footer .footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 300px;
    text-align: left !important;
    text-align-last: left !important;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-main);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-main);
}

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

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.contact-info-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}


@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        border-top: 1px solid var(--card-border);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .nav-actions .btn-outline {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        padding: 0 10px;
        font-size: 1rem;
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    #about, #services, #portfolio, #contact {
        padding: 50px 0;
    }

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

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

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

    .footer-logo div, .footer-social, .contact-info-item {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto 20px auto;
    }

    .contact-layout {
        flex-direction: column;
        gap: 30px;
    }

    .contact-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .contact-text p {
        text-align: center;
    }
    
    .contact-text {
        padding-right: 0;
    }

    .contact-card-container {
        width: 100%;
        padding: 15px 15px;
        height: auto;
    }

    .contact-options {
        flex-direction: column;
        gap: 10px;
        margin-top: 35px;
    }

    .contact-option-box {
        padding: 15px;
    }

    .contact-option-box i {
        font-size: 1rem;
    }

    .contact-option-box h4 {
        font-size: 0.85rem;
    }

    .contact-option-box p {
        margin-bottom: 8px;
    }
    
    .contact-support-label {
        font-size: 0.8rem;
        top: 15px;
    }

    .portfolio-focus-wrapper {
        max-width: 90%;
    }

    .prev-btn {
        left: -10px;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
    }

    .next-btn {
        right: -10px;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
    }

    .team-card img {
        height: 200px;
    }

    .team-content {
        padding: 15px;
    }

    .team-name {
        font-size: 1.25rem;
    }

    .team-role {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .team-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
        min-height: auto;
    }

    .team-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .team-tags {
        margin-bottom: 15px;
    }
}



.contact-form-card {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    flex: 1.2;
    min-width: 280px;
}

.contact-form-card .about-card {
    background-color: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.contact-form-card .about-card:hover {
    transform: none;
    border-color: transparent;
}

.contact-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.contact-form-row input {
    flex: 1;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5); 
    color: #ffffff !important;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 15px;
}

.contact-form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 0;
}

.contact-form-buttons .btn {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.95rem;
}

.contact-form-card .btn-primary {
    background-color: #ffffff;
    color: #8b5cf6;
    border: 1px solid #ffffff;
    font-weight: 700;
}

.contact-form-card .btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.contact-form-card .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.contact-form-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .contact-form-card {
        margin-left: 0;
        width: 100%;
        padding: 5px 0;
        min-width: 0 !important;
    }
    p {
        text-align: justify !important;
    }

    .contact-form-card input[type="text"],
    .contact-form-card input[type="email"],
    .contact-form-card textarea {
        margin-bottom: 6px;
        padding: 8px 12px;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form-card textarea {
        min-height: 100px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-option-box {
        min-width: 100%;
    }
}