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

:root {
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-accent: #2563eb;
    --border-color: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(45deg, #2563eb, #7c3aed);
    --gradient-accent: linear-gradient(45deg, #f59e0b, #ef4444);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-accent: #60a5fa;
    --border-color: #475569;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --card-bg: #1e293b;
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-secondary: linear-gradient(45deg, #3b82f6, #8b5cf6);
    --gradient-accent: linear-gradient(45deg, #f59e0b, #ef4444);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-accent);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-accent);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--text-accent);
    color: white;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 20px 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* Home Section */
#home {
    background: var(--gradient-primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 20px 20px;
}

.hero-content {
    z-index: 2;
    margin-bottom: 3rem;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    position: relative;
    z-index: 100;
    margin-bottom: 2rem;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.6);
    background: linear-gradient(45deg, #f59e0b, #dc2626);
}

.cta-button i {
    font-size: 1.1rem;
}

/* Events Carousel */
.events-carousel {
    position: relative;
    margin-top: 2rem;
    width: 90%;
    max-width: 800px;
    z-index: 1;
    align-self: center;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 300px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 40px 30px 25px;
}

.slide-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.5;
}

.slide-content .date {
    font-size: 0.9rem;
    color: #fbbf24;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-accent);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--text-accent);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--card-bg);
    color: var(--text-primary);
}

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

.contact-form button {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid var(--border-color);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close:hover {
    color: #ef4444;
}

.recent-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.recent-event {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.recent-event:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
}

.recent-event img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.event-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.event-date {
    font-size: 0.8rem;
    color: var(--text-accent);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--navbar-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

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

    .nav-actions {
        order: -1;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-content {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-slide {
        height: 220px;
    }

    .slide-content {
        padding: 25px 20px 20px;
    }

    .slide-content h3 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .recent-event {
        flex-direction: column;
        text-align: center;
    }

    .recent-event img {
        width: 100%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 0.9rem;
        gap: 8px;
        margin-bottom: 1rem;
    }

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

    .carousel-slide {
        height: 180px;
    }

    .slide-content {
        padding: 20px 15px 15px;
    }

    .slide-content h3 {
        font-size: 1rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.theme-toggle:focus,
.cta-button:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form button:focus {
    outline: 2px solid var(--text-accent);
    outline-offset: 2px;
}

.success-message {
    font-weight: 500;
    padding: 10px;
    border-radius: 4px;
    background-color: #e6ffee;
    border: 1px solid #00cc66;
}

.event-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
}

.event-popup-overlay.show {
    display: flex;
}

.event-popup-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    width: 90%;
    height: auto;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease-in-out;
}

.event-popup-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.event-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: black;
    font-size: 18px;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .event-popup-box {
        max-width: 480px;
        max-height: 80vh;
        border-radius: 12px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.tech-section {
    /* background-color: var(--bg-secondary); */
    background-color: var(--bg-primary);

    padding: 5rem 0;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.tech-content {
    display: flex;
    gap: 3rem;
    position: relative;
}


.tech-content::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
    opacity: 0.5;
}

.tech-text {
    flex: 1;
    padding-right: 3rem;
}


.tech-text-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
    opacity: 0.5;
}

.tech-text-section {
    margin-bottom: 2rem;
}

.tech-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 1rem;
}

.tech-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.tech-stats-container {
    flex: 1;
    padding-left: 3rem;
}

.tech-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: all 0.3s ease;
}

.tech-stat:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.tech-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
}

.tech-stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive  */
@media (max-width: 900px) {
    .tech-content {
        flex-direction: column;
    }

    .tech-content::after {
        display: none;
    }

    .tech-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .tech-stats-container {
        padding-left: 0;
    }

    .tech-text-divider {
        margin: 1.5rem 0;
    }
}

@media (max-width: 500px) {
    .tech-stats-grid {
        grid-template-columns: 1fr;
    }

    .tech-main-title {
        font-size: 2rem;
    }

    .tech-subtitle {
        font-size: 1.3rem;
    }

    .tech-stat {
        padding: 1.5rem;
    }
}


/* Team Section */
.teams-container {
    display: grid;
    gap: 3rem;
}

.team-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-accent);
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.member-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
}

.member-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.member-card {
    width: 300px;
    background-color: var(--card-bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: none;
    /* Hide all initially */
}

.member-card.visible {
    display: block;
}

.view-more-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #2563eb; 
  color: white;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background-color: #1d4ed8; 
}

#vanta-bg {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}


#vanta-bg {
  background-color: #2c62ec;
  height: 100vh;
  width: 100%;
}


