* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a8a;
    --secondary: #1e40af;
    --accent: #3b82f6;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --dark-blue: #0f172a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 70px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.logo h1 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text);
}

.logo p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    white-space: nowrap;
    padding: 0.5rem 1rem;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.85)), url('../College.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Page Hero Section */
.page-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.85)), url('../../College.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-theme {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-theme h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--bg);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

.focus-card {
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.focus-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.focus-card p {
    opacity: 0.95;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-item p, .contact-item a {
    color: var(--muted);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text) 0%, #1a202c 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Menu Button */
.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.menu-btn:hover {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    z-index: 3000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.dropdown-menu.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    opacity: 1;
    transform: translateY(0);
}

.menu-section h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.menu-section ul {
    list-style: none;
    padding: 0;
}

.menu-section li {
    margin-bottom: 0.5rem;
}

.menu-section a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.menu-section a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}



/* Track Cards */
.track-card {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.track-card:hover::before {
    width: 8px;
}

.track-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.track-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.track-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    transition: transform 0.3s ease;
}

.track-card:hover .track-icon {
    transform: rotate(5deg) scale(1.1);
}

.track-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.track-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.track-description {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.track-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.track-topics li {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.track-topics li:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.deadline-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.deadline-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.submission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.author-section {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.author-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-section.optional {
    border-style: dashed;
    background: #fafbfc;
}

.add-author-btn {
    background: transparent;
    border: 2px dashed var(--primary);
    color: var(--primary);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.add-author-btn:hover {
    background: var(--primary);
    color: white;
}

.payment-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.qr-code {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        border-radius: 0;
        box-shadow: none;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dropdown-menu.active {
        display: block;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile navigation control */
.mobile-nav-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-nav-only {
        display: block !important;
    }
}

/* Desktop - hide mobile-only sections */
@media (min-width: 769px) {
    .mobile-nav-only {
        display: none !important;
    }
}

