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

:root {
    --primary-color: #4294CE;
    --primary-dark: #357ab8;
    --secondary-color: #E98E3B;
    --accent-color: #E98E3B;
    --dark-bg: #414042;
    --dark-card: #5a5a5c;
    --text-light: #F1F2F2;
    --text-gray: #d1d1d2;
    --gradient-1: linear-gradient(135deg, #4294CE 0%, #357ab8 100%);
    --gradient-2: linear-gradient(135deg, #E98E3B 0%, #d97a2a 100%);
    --gradient-3: linear-gradient(135deg, #4294CE 0%, #E98E3B 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 800;
}

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

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

.nav-menu a:hover {
    color: var(--text-light);
}

.nav-menu a:not(.btn-appointment)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-appointment):hover::after {
    width: 100%;
}

.btn-appointment {
    background: var(--gradient-2);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 142, 59, 0.3);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 142, 59, 0.4);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

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

.btn-primary {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 102, 241, 0.4);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Services Section */
.services {
    background: rgba(30, 41, 59, 0.5);
}

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

.service-card {
    background: var(--dark-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
}

/* Mentors Section */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.mentor-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mentor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.mentor-image {
    width: 100%;
    height: 280px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mentor-placeholder {
    font-size: 5rem;
    font-weight: 800;
    color: white;
}

.mentor-info {
    padding: 1.5rem;
}

.mentor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.mentor-designation {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.mentor-company {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.mentor-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    background: rgba(30, 41, 59, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: rgba(15, 23, 42, 0.8);
}

.appointment-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 102, 241, 0.3);
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-gray);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-form {
        padding: 2rem 1.5rem;
    }

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

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

/* Events, Activities, News Sections */
.events {
    background: rgba(30, 41, 59, 0.3);
}

.activities {
    background: rgba(15, 23, 42, 0.5);
}

.news {
    background: rgba(30, 41, 59, 0.3);
}

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

.content-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.content-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-info {
    padding: 1.5rem;
}

.content-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.content-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-date,
.event-venue {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.text-muted {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}