:root {
    --primary-color: #7e54ff;
    --secondary-color: #6c43ff;
    --accent-color: #ff54b1;
    --background-color: #0a0a14;
    --dark-color: #050510;
    --light-color: #151525;
    --gray-color: #1a1a2a;
    --text-color: #e0e0e0;
    --border-color: #333333;
    --success-color: #4caf50;
    --error-color: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-cursor, .custom-cursor * {
    cursor: none !important;
}

body:not(.custom-cursor) {
    cursor: url('dna-cursor.svg'), auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
}

body:not(.custom-cursor) a,
body:not(.custom-cursor) button,
body:not(.custom-cursor) input[type="submit"],
body:not(.custom-cursor) .submit-button,
body:not(.custom-cursor) input[type="checkbox"],
body:not(.custom-cursor) select,
body:not(.custom-cursor) .step-icon,
body:not(.custom-cursor) nav ul li a,
body:not(.custom-cursor) .footer-links ul li a,
body:not(.custom-cursor) .social-icon {
    cursor: url('dna-cursor-pointer.svg'), pointer;
}

.cursor-glow {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    background: radial-gradient(circle, rgba(55, 199, 255, 0.5) 0%, rgba(55, 199, 255, 0) 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follow {
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    border: 3px solid rgba(55, 199, 255, 0.9);
    background-color: rgba(55, 199, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

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

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.dna-loader {
    position: relative;
    width: 100px;
    height: 200px;
}

.dna-loader-strand {
    position: absolute;
    width: 2px;
    height: 200px;
    background-color: rgba(0, 80, 180, 0.3);
    left: 30px;
    transform: rotate(5deg);
}

.dna-loader-strand:nth-child(2) {
    left: 70px;
    transform: rotate(-5deg);
}

.dna-loader-rung {
    position: absolute;
    width: 40px;
    height: 4px;
    left: 30px;
    background: linear-gradient(to right, #37c7ff, #ff8f30);
    box-shadow: 0 0 10px rgba(55, 199, 255, 0.5);
    transform-origin: center;
    animation: dnaLoaderSpin 1.5s infinite ease-in-out;
}

.dna-loader-rung:nth-child(3) { top: 10%; animation-delay: -0.2s; }
.dna-loader-rung:nth-child(4) { top: 20%; animation-delay: -0.4s; }
.dna-loader-rung:nth-child(5) { top: 30%; animation-delay: -0.6s; }
.dna-loader-rung:nth-child(6) { top: 40%; animation-delay: -0.8s; }
.dna-loader-rung:nth-child(7) { top: 50%; animation-delay: -1.0s; }
.dna-loader-rung:nth-child(8) { top: 60%; animation-delay: -1.2s; }
.dna-loader-rung:nth-child(9) { top: 70%; animation-delay: -1.4s; }
.dna-loader-rung:nth-child(10) { top: 80%; animation-delay: -1.6s; }
.dna-loader-rung:nth-child(11) { top: 90%; animation-delay: -1.8s; }

@keyframes dnaLoaderSpin {
    0%, 100% {
        transform: rotate(0deg) scaleX(1);
    }
    50% {
        transform: rotate(180deg) scaleX(0.6);
    }
}

.loader-text {
    position: absolute;
    bottom: -40px;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 2px;
    animation: loaderTextPulse 1.5s infinite;
}

@keyframes loaderTextPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.preloader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(55, 199, 255, 0.4) 0%, transparent 10%),
        radial-gradient(circle at 70% 60%, rgba(255, 143, 48, 0.4) 0%, transparent 10%),
        radial-gradient(circle at 40% 80%, rgba(55, 199, 255, 0.4) 0%, transparent 10%),
        radial-gradient(circle at 80% 40%, rgba(255, 143, 48, 0.4) 0%, transparent 10%);
    opacity: 0.2;
    filter: blur(2px);
    animation: preloaderParticleFloat 5s ease-in-out infinite alternate;
}

@keyframes preloaderParticleFloat {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 20px 20px, -20px 20px, 20px -20px, -20px -20px;
    }
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

header {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(126, 84, 255, 0.5);
}

.logo span {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 84, 177, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.about-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #050510 0%, #0c0c1a 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 80, 180, 0.08) 0%, rgba(10, 10, 20, 0) 70%);
    pointer-events: none;
}

.about-section .container {
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: var(--dark-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(126, 84, 255, 0.1);
    padding: 50px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 12px rgba(126, 84, 255, 0.4);
}

.about-section .subheading {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 0 8px rgba(126, 84, 255, 0.3);
}

.about-section .intro-text {
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-section p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, rgba(126, 84, 255, 0.1), rgba(126, 84, 255, 0.5), rgba(126, 84, 255, 0.1));
    margin: 40px 0;
    box-shadow: 0 0 10px rgba(126, 84, 255, 0.3);
}

.disease-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
    animation: fadeIn 0.8s ease;
}

.disease-list li {
    background: linear-gradient(145deg, #0f0f1f, var(--dark-color));
    border: 1px solid rgba(126, 84, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.disease-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(126, 84, 255, 0.4);
    border-color: rgba(126, 84, 255, 0.6);
}

.quality-note {
    background: linear-gradient(145deg, #0f0f1f, var(--dark-color));
    border: 1px solid rgba(126, 84, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease;
}

.quality-note p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c0c1a 0%, #050510 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(126, 84, 255, 0.12) 0%, rgba(10, 10, 20, 0) 70%);
    pointer-events: none;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

.team-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 12px rgba(126, 84, 255, 0.4);
}

.team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.team-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.team-card {
    flex: 0 0 250px;
    background: linear-gradient(145deg, var(--dark-color), #0f0f1f);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(126, 84, 255, 0.15);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Keep all other existing .team-card styles */

@media (max-width: 992px) {
    .team-row {
        gap: 30px;
    }
    .team-card {
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .team-row {
        gap: 20px;
    }
    .team-card {
        flex: 0 0 200px;
    }
}

@media (max-width: 576px) {
    .team-card {
        flex: 0 0 80%;
        max-width: 300px;
    }
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(126, 84, 255, 0.4);
    border-color: rgba(126, 84, 255, 0.5);
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(126, 84, 255, 0.4);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(126, 84, 255, 0.6);
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-shadow: 0 0 6px rgba(126, 84, 255, 0.3);
}

.team-card p {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: #ffffff;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.social-icon.github {
    transition-delay: 0.1s;
}

.social-icon.linkedin {
    transition-delay: 0.2s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(126, 84, 255, 0.5);
    transform: scale(1.1);
}

footer {
    background-color: var(--dark-color);
    color: var(--text-color);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(126, 84, 255, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(126, 84, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(126, 84, 255, 0.5);
}

.footer-logo span {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 84, 177, 0.5);
}

.footer-links, .footer-contact {
    margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(126, 84, 255, 0.3);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(224, 224, 224, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.footer-links ul li a:hover::before {
    width: 100%;
}

.footer-contact p {
    color: rgba(224, 224, 224, 0.7);
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(224, 224, 224, 0.4);
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .disease-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .about-section {
        padding-top: 150px;
    }

    .about-section h1 {
        font-size: 2.2rem;
    }

    .about-section .subheading {
        font-size: 1.5rem;
    }

    .about-section .intro-text,
    .about-section p,
    .quality-note p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 120px 0 50px;
    }

    .about-section h1 {
        font-size: 1.8rem;
    }

    .about-section .subheading {
        font-size: 1.3rem;
    }

    .team-section h2 {
        font-size: 1.6rem;
    }

    .team-card {
        padding: 15px;
    }

    .team-image {
        width: 100px;
        height: 100px;
    }

    .disease-list {
        grid-template-columns: 1fr;
    }
}
