@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;700&display=swap');

:root {
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --primary-color: #58a6ff;
    --accent-color: #1f6feb;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --border-color: #30363d;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --heading-color: #ffffff;
}

:root.light-mode {
    --bg-color: #f6f8fa;
    --surface-color: #ffffff;
    --primary-color: #0969da;
    --accent-color: #218bff;
    --text-primary: #24292f;
    --text-secondary: #57606a;
    --border-color: #d0d7de;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
    --heading-color: #111111;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(31, 111, 235, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(88, 166, 255, 0.1), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #79c0ff;
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), #a371f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

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

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

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

.hero-wrapper {
    background: url('Delhi_Generated_pic.png') center/cover no-repeat;
    position: relative;
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-card p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(31, 111, 235, 0.4);
    background: #2b7cf5;
    color: white;
}

/* Sections */
section {
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Sponsors */
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.sponsor-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.sponsor-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.sponsor-placeholder {
    width: 100%;
    height: 80px;
    background: #30363d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Agenda Tables */
.agenda-wrapper {
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.agenda-header {
    background: rgba(31, 111, 235, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.agenda-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
}

.agenda-table th, .agenda-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.agenda-table th {
    background: rgba(255,255,255,0.02);
    font-weight: 600;
    color: #fff;
    width: 20%;
}

.agenda-table tr:last-child td {
    border-bottom: none;
}

.agenda-table tr:hover td {
    background: rgba(255,255,255,0.03);
}

.agenda-list {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.agenda-list li {
    margin-bottom: 0.3rem;
}

/* Parallel Sessions */
.parallel-sessions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.track-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.track-card:hover {
    transform: translateY(-5px);
    border-color: #a371f7;
}

.track-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.track-header h4 {
    color: #a371f7;
    margin-bottom: 0.5rem;
}

/* Fellowship Specific */
.fellowship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sponsors-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #a371f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    background: rgba(22, 27, 34, 0.9);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* Fellowship New Sections */
.distinguished-sponsors {
    margin-top: 5rem;
}

.distinguished-sponsors p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.distinguished-sponsors ul {
    list-style-type: none;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.distinguished-sponsors ul li {
    margin-bottom: 0.5rem;
}

.distinguished-sponsors ul li::before {
    content: '* ';
    color: var(--primary-color);
}

.sponsor-img-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.sponsor-img-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.sponsor-img-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 10px;
}

.sponsor-img-card img.avatar {
    border-radius: 50%;
}

.sponsor-img-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.sponsor-img-card p {
    color: #a371f7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Procedure Section */
.procedure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.procedure-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.procedure-card h3 {
    color: #2ea043;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.procedure-card p, .procedure-card ul {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.procedure-card ul {
    padding-left: 1.5rem;
}

.procedure-card ul li {
    margin-bottom: 0.8rem;
}

.procedure-card ul li::marker {
    color: #2ea043;
}

.btn-disabled {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #6e40c9;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
    cursor: not-allowed;
    text-align: center;
}

/* Coverage Section */
.coverage-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 4px solid #2ea043;
    border-radius: 10px;
    padding: 2rem;
}

.coverage-card h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.coverage-card p {
    color: var(--text-secondary);
}

.contact-text {
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Considerations Section */
.considerations-box {
    background: rgba(218, 54, 51, 0.05);
    border: 1px solid rgba(218, 54, 51, 0.2);
    border-radius: 10px;
    padding: 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.considerations-box ul {
    list-style: none;
    color: var(--text-secondary);
}

.considerations-box ul li {
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.considerations-box ul li:last-child {
    margin-bottom: 0;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 2rem;
}
.theme-toggle:hover {
    background: var(--surface-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .sponsors-4-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-card h1 { font-size: 2.5rem; }
    .parallel-sessions { grid-template-columns: 1fr; }
    .agenda-table th, .agenda-table td { display: block; width: 100%; }
    .agenda-table th { border-bottom: none; padding-bottom: 0.5rem; }
    .agenda-table td { padding-top: 0; padding-bottom: 1.5rem; }
    .nav-links { gap: 1rem; }
}
