/* Base variables and settings */
:root {
    --primary-color: #5E57FF;
    --secondary-color: #4b55c5;
    --dark-color: #0b0b14;
    --dark-secondary: #030932;
    --light-color: #ffffff;
    --text-color: #b5b9d1;
    --white: #ffffff;
    --gray: #575b71;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    letter-spacing: 1px;
    color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 20;
}

/* Common UI Elements */
.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    font-family: var(--heading-font);
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(90, 106, 255, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(90, 106, 255, 0.5);
}

.btn-secondary {
    background: rgba(90, 106, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(90, 106, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(90, 106, 255, 0.2);
    transform: translateY(-3px);
}

.btn-with-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-with-arrow i {
    transition: transform 0.3s ease;
}

.btn-with-arrow:hover i {
    transform: translateX(5px);
}

/* Header & Navigation */
header {
    width: 100%;
    background: var(--dark-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-icon {
    height: 40px;
    width: 40px;
    margin-right: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 0 8px rgba(90, 106, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 0 12px rgba(90, 106, 255, 0.4);
}

.nav-links ul {
    display: flex;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

#close-menu, #open-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    background: var(--dark-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.main-title {
    font-size: 10vw;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    letter-spacing: 0px;
    margin-bottom: 20px;
    position: relative;
    z-index: 50;
    margin-left: 0;
    text-shadow: 0 0 15px rgba(90, 106, 255, 0.6);
    max-width: 100%;
    color: rgba(255, 255, 255, 0.9);
    transform: perspective(500px) rotateX(10deg);
    transition: all 0.3s ease;
}

.main-title:hover {
    transform: perspective(500px) rotateX(5deg) translateY(-5px);
}

.hero-content p {
    font-size: 3vw;
    margin-bottom: 30px;
    color: white;
    font-weight: 500;
    text-align: center;
    margin-left: 0;
    z-index: 50;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* Sphere Container */
.sphere-container-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    transition: left 1.2s cubic-bezier(0.77,0,0.175,1), transform 1.2s cubic-bezier(0.77,0,0.175,1);
}

.sphere-container-fixed.move-right {
    left: 50%;
    width: 50vw;
}

.sphere-container {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    pointer-events: all;
    transform: translateZ(0);
}

/* Main Content Sections */
.content-sections {
    position: relative;
    z-index: 20;
}

/* Features Section */
.features {
    background-color: #0b0c15;
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(19, 20, 33, 0.8);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(90, 106, 255, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: rgba(90, 106, 255, 0.15);
    border-radius: 50%;
    color: #5a6aff;
    font-size: 28px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: #b5b9d1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #0a0b13;
    padding: 6rem 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 1;
    padding: 20px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-title::after {
    margin: 15px 0;
}

.about-content p {
    color: #b5b9d1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    padding: 20px;
}

.about-image img {
    width: 120%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(90, 106, 255, 0.2);
}

/* Achievements Section */
.achievements {
    background-color: #0b0c15;
    padding: 6rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: rgba(19, 20, 33, 0.8);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(90, 106, 255, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: rgba(90, 106, 255, 0.15);
    border-radius: 50%;
    color: #5a6aff;
    font-size: 28px;
}

.achievement-card h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.achievement-card p {
    color: #b5b9d1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section */
.team {
    background-color: #0b0c15;
    padding: 6rem 0;
}

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

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    width: 160px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    padding: 3px;
}

.member-avatar.cyan { border-color: #00FFF0; }
.member-avatar.green { border-color: #4BFF36; }
.member-avatar.blue { border-color: #5E57FF; }
.member-avatar.pink { border-color: #F23CA6; }
.member-avatar.purple { border-color: #A291E4; }
.member-avatar.yellow { border-color: #FAFF02; }

.member-avatar img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    
}

.team-member h3 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 2px;
}

.team-member h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 5px;
}

.team-member .role {
    color: #5a6aff;
    font-weight: 600;
    margin: 0 0 5px;
    font-size: 0.85rem;
}

.team-member .education {
    color: var(--text-color);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    background-color: #0b0c15;
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta p {
    color: #b5b9d1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background: var(--dark-color);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.contact-info .social-links a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info .social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(90, 106, 255, 0.4);
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--dark-secondary);
    color: var(--text-color);
    padding: 4rem 0 1rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .feature-grid, .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about .container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title::after {
        margin: 15px auto;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .main-title {
        font-size: 7rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    #open-menu {
        display: block;
    }
    
    #close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .team-grid {
        gap: 30px;
    }
    
    .team-member {
        width: 140px;
    }
    
    .member-avatar {
        width: 110px;
        height: 110px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 4.5rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-grid, .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
}