/* CSS Custom Properties */
:root {
    --primary-color: #00feba;
    --secondary-color: #5b5ea6;
    --dark-color: #1e1e2f;
    --light-color: #ffffff;
    --text-light: #e0e0e0;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #00feba 0%, #5b5ea6 100%);
    --gradient-secondary: linear-gradient(135deg, #5b5ea6 0%, #1e1e2f 100%);
    --gradient-animated: linear-gradient(270deg, #00feba, #5b5ea6, #1e1e2f, #00feba);
    --shadow-light: 0 8px 32px rgba(0, 254, 186, 0.2);
    --shadow-dark: 0 8px 32px rgba(30, 30, 47, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-color);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

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

/* Animated Background */
.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-animated);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    opacity: 0.1;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tech Grid Background */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 254, 186, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 254, 186, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Navigation */
.glass-nav {
    background: rgba(30, 30, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 254, 186, 0.2);
    transition: var(--transition);
}

.navbar-brand .brand-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Floating Elements */
.floating-elements {
    position: relative;
    height: 400px;
}

.float-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 254, 186, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Buttons */
.btn-tech {
    background: var(--gradient-primary);
    border: none;
    color: var(--dark-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    color: var(--dark-color);
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn-tech:hover::before {
    left: 100%;
}

.btn-outline-tech {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-outline-tech:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Glass Cards */
.innovation-card,
.team-card,
.pillar-card,
.goal-card,
.info-card,
.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.innovation-card:hover,
.team-card:hover,
.pillar-card:hover,
.goal-card:hover,
.info-card:hover,
.category-card:hover {
    background: rgba(0, 254, 186, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.card-icon,
.pillar-icon,
.info-icon,
.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.innovation-card h3,
.team-card h3,
.pillar-card h3,
.goal-card h3,
.info-card h3,
.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    background: var(--gradient-secondary);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-animated);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    opacity: 0.1;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: rgba(0, 254, 186, 0.05);
    border-top: 1px solid rgba(0, 254, 186, 0.2);
    border-bottom: 1px solid rgba(0, 254, 186, 0.2);
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -3rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -3rem;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Team Cards */
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--dark-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    opacity: 0.8;
    line-height: 1.6;
}

/* Mission Cards */
.mission-card,
.vision-card,
.join-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
}

.mission-icon,
.vision-icon,
.feedback-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.mission-title,
.join-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-text,
.join-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Pillar Cards */
.pillar-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.pillar-card {
    position: relative;
}

/* Goal Cards */
.goal-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 2s ease;
}

/* Contact Form */
.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.form-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.form-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 254, 186, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-light);
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 254, 186, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

/* Map Section */
.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-animated);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    opacity: 0.1;
}

.map-content {
    text-align: center;
    z-index: 1;
}

.map-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feedback Page */
.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
}

.feedback-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feedback-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.google-form-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.feedback-iframe {
    border-radius: var(--border-radius);
    filter: invert(1) hue-rotate(180deg);
}

.form-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 254, 186, 0.3);
    border-radius: var(--border-radius);
    text-align: center;
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Options */
.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
}

/* Footer */
.footer {
    background: var(--gradient-secondary);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 254, 186, 0.2);
}

.footer-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 254, 186, 0.1);
    border: 1px solid rgba(0, 254, 186, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 254, 186, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .innovation-card,
    .team-card,
    .pillar-card,
    .goal-card,
    .info-card,
    .category-card {
        padding: 1.5rem;
    }
    
    .contact-form-card,
    .mission-card,
    .vision-card,
    .join-card,
    .feedback-card {
        padding: 2rem;
    }
}

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

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

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

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

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-neon {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 254, 186, 0.2);
}

.border-neon {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 254, 186, 0.3);
}