:root {
    --primary-color: #8a2be2;
    --secondary-color: black;
    --accent-color: #00bfa6;
    --text-color: white;
    --light-bg: #171f2e;
    --nav-height: 80px;
    --hero-padding: clamp(2rem, 5vw, 4rem);
    --section-padding: clamp(3rem, 8vw, 6rem);
}

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

body {
  background-color: #000204;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background: rgba(23, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    
}

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

}

.logo {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: clamp(14px, 2vw, 16px);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #8a2be2;
}

/* Login Button in Navigation */
.login-btn {
    background-color: #8a2be2 !important;
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.login-btn:hover {
    background-color: transparent !important;
    border-color: #c99af5 !important;
    transform: translateY(-2px);
}

.login-btn i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6c63ff0d 0%, #2f2e410d 100%);
}

.hero-content {
    color: white;
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cta-button {
    padding: 15px 30px;
    background:purple;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: poppins;
    
}
.cta-button:hover {
    background-color: #f0f0f0; 
    transform: scale(1.05); 
}

.cta-button a {
    color: rgb(12, 1, 1);
    text-decoration: none;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Admin Button */
.admin-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: var(--light-bg);
    text-decoration: none;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: black;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.floating-cube {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(45deg);
}

@keyframes float {
    0%, 100% {
        transform: rotateX(45deg) rotateY(45deg) translateY(0);
    }
    50% {
        transform: rotateX(45deg) rotateY(225deg) translateY(-20px);
    }
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-button {
    padding: 1rem 2rem;
    background:purple;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: poppins;
}

.submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links */
.footer-links {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .login-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

/* Responsive Typography */
html {
    font-size: 16px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.mobile-menu-btn i {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

/* Navigation Responsive Styles */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 15px;
    }

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

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(23, 31, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }

    .nav-links.active li {
        opacity: 1;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links a {
        padding: 12px;
        width: 100%;
        display: block;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        font-size: 16px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .login-btn {
        margin-top: 10px !important;
        width: 100% !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-content {
        padding: 0 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .mobile-menu-btn i {
        font-size: 20px;
    }

    .nav-links {
        padding: 15px;
    }

    .nav-links a {
        padding: 10px;
        font-size: 15px;
    }
}

/* Landscape Mode */
@media (max-height: 480px) and (orientation: landscape) {
    .nav-links {
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-links::-webkit-scrollbar {
        width: 5px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-links a {
        border-width: 0.5px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-links.active,
    .nav-links li {
        animation: none;
        transition: none;
    }
}

/* Services Section Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card i {
        font-size: 2rem;
    }
}

/* About Section Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .about-text, .about-image {
        width: 100%;
    }

    .about-text {
        text-align: center;
    }

    .floating-cube {
        margin: 0 auto;
    }
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

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

/* Tablet Specific Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-card {
        padding: 2rem;
    }

    .about-content {
        gap: 4rem;
    }
}

/* Large Desktop Adjustments */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

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

    .services-grid {
        gap: 3rem;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }

    .hero-content {
        padding: 20px;
    }

    .nav-links {
        top: 60px;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-cube {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    }
}

/* Print Styles */
@media print {
    .hero-background,
    .floating-cube,
    .nav-links,
    .cta-button,
    .contact-form {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    .hero-content,
    .about-content,
    .services {
        page-break-inside: avoid;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #171f2e;
        --text-color: #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }

    .nav-links a:hover {
        background: none;
    }

    .cta-button:hover {
        transform: none;
    }
}

/* Container Width Control */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-content {
        padding: 10px;
    }

    .hero-content {
        padding: 30px 15px;
    }

    .services-grid {
        padding: 15px;
    }

    .contact-form {
        padding: 15px;
    }
}
.mine{
    font-family: poppins;
}
.dna-container {
    position: relative;
    width: 300px;
    height: 400px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dna-helix {
    position: relative;
    width: 100px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotateHelix 8s linear infinite;
}

.strand {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0066ff, #00ffff);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.strand-1 {
    left: 0;
    animation: waveStrand1 2s ease-in-out infinite;
}

.strand-2 {
    right: 0;
    animation: waveStrand2 2s ease-in-out infinite;
}

.base-pair {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 255, 0.6);
    transform-style: preserve-3d;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

@keyframes rotateHelix {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes waveStrand1 {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.5);
    }
}

@keyframes waveStrand2 {
    0%, 100% {
        transform: scaleX(1.5);
    }
    50% {
        transform: scaleX(1);
    }
}

/* Glow effect on hover */
.dna-container:hover .strand {
    filter: brightness(1.3);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8);
}

.dna-container:hover .base-pair {
    filter: brightness(1.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #000000, #2a0033); /* Black to dark violet gradient */
}

.content, nav, footer {
    position: relative;
    z-index: 1;
}
/* Translucent Navigation Bar Styles */
nav {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(136, 0, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(136, 0, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: rgba(136, 0, 255, 0.9);
    text-shadow: 0 0 10px rgba(136, 0, 255, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: rgba(136, 0, 255, 0.6);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: rgba(136, 0, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(136, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(136, 0, 255, 0.3);
    border-color: rgba(136, 0, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(136, 0, 255, 0.3);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Scroll effect */
nav.scroll-down {
    transform: translateY(-100%);
}

nav.scroll-up {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }
}/* Translucent Services Section */
.services {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 0, 255, 0.1);
    border-radius: 20px;
    margin: 2rem auto;
    padding: 3rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(136, 0, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(136, 0, 255, 0.1);
    box-shadow: 0 0 30px rgba(136, 0, 255, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: rgba(136, 0, 255, 0.8);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Translucent Contact Section */
.contact {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 0, 255, 0.1);
    border-radius: 20px;
    margin: 2rem auto;
    padding: 3rem 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(136, 0, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(136, 0, 255, 0.5);
    box-shadow: 0 0 20px rgba(136, 0, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-button {
    background: rgba(136, 0, 255, 0.2);
    color: white;
    border: 1px solid rgba(136, 0, 255, 0.3);
    border-radius: 10px;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-form .submit-button:hover {
    background: rgba(136, 0, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(136, 0, 255, 0.3);
}

/* Hover effects for form elements */
.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(136, 0, 255, 0.3);
}

/* Placeholder styles */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Media Queries */
@media (max-width: 768px) {
    .services,
    .contact {
        margin: 1rem;
        padding: 2rem 1rem;
    }

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

    .contact-form {
        padding: 0 1rem;
    }
}

