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

body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1A2E; /* Dark Blue/Black */
    color: #000; /* White */
    line-height: 1.6;
    overflow-x: hidden;
}
.text-primary{
  color: #00A3E0;
}

a {
  color: #00A3E0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1A1A2E 0%, #0f1433 100%);
    position: relative;
    overflow: hidden;
}

.header img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.90);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #00A3E0; /* Blue */
    text-shadow: 0 0 20px rgba(0, 163, 224, 0.25);
}

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

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

.user-menu__button {
    background: transparent;
    border: 0;
    color: #00A3E0;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.25rem;
}

.user-menu { position: relative; }
.user-menu__dropdown {
    position: absolute;
    right: 0;
    top: 110%;
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    display: none;
    z-index: 1001;
}

.user-menu__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    color: #0a0a0a;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.user-menu__item:hover { background: #f7f9fc; }
.user-menu__logout { color: #E63946; }

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00A3E0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00A3E0;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 80px
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.date-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #cccccc;
}

.date-location i {
    color: #00A3E0;
    font-size: 1.5rem;
}

.cta-button {
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    color: white;
    border: none;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

/* Add decorative line between sections */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    border-radius: 2px;
}

section:last-child::after {
    display: none;
}

section.header {
    padding: 5rem 0 0 0 !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #00A3E0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    border-radius: 2px;
}

/* Welcome Section */
.welcome {
    background: #1A1A2E;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.speaker-photo {
    text-align: center;
}

.speaker-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #00A3E0;
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.25);
}

.welcome-text h3 {
    font-size: 2rem;
    color: #00A3E0;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.welcome-message {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #000;
}

.join-button {
    background: transparent;
    color: #00A3E0;
    border: 2px solid #00A3E0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-button:hover {
    background: #00A3E0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.25);
}

/* Theme Section */
.theme {
    background: #f7f9fc;
}

.theme-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e6e9ef;
}

.theme-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e6e9ef;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.theme-card h3 {
    font-size: 1.5rem;
    color: #1A1A2E;
    margin-bottom: 1rem;
}

.theme-card p {
    color: #333333;
    line-height: 1.6;
}

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

/* Important Dates Section */
.important-dates {
    background: #f7f9fc;
}

.dates-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dates-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
}

.dates-table th {
    background: linear-gradient(135deg, #00A3E0, #F1C40F);
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.dates-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e6e9ef;
    color: #0a0a0a;
    font-size: 1.1rem;
}

.dates-table tr:hover {
    background: #f2f5fa;
}

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

/* Get More Section */
.get-more {
    background: #f7f9fc;
}

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

.more-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e6e9ef;
}

.more-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e6e9ef;
}

.more-image {
    height: 250px;
    overflow: hidden;
}

.more-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-card:hover .more-image img { transform: none; }

.more-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.5rem;
    color: #1A1A2E;
}

.more-card p {
    padding: 0 1.5rem 1.5rem;
    color: #333333;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #1A1A2E;
    background-image: url('public/images/contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item i {
    color: #00A3E0;
    font-size: 1.5rem;
    width: 30px;
}

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

.social-link {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border: 2px solid #00A3E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00A3E0;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover { background: #FFFFFF; color: #00A3E0; transform: none; box-shadow: none; }

/* Footer */
.footer {
    background: #1A1A2E;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #2a315a;
}

.footer p {
    color: #A8DADC; /* Green (soft) for footer text */
}

/* Form styles (used on Login, Register, Program pages) */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #ffffff;
    color: #000;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4A90E2;
    color: white;
}

.btn-primary:hover {
    background: #357ABD;
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 1px solid #333;
}

.btn-secondary:hover {
    background: #333;
}

/* Light section variant to add contrast within the overall dark theme */
.light-section {
    background: #f7f9fc;
    color: #0a0a0a;
}

.light-section .section-title {
    color: #0a0a0a;
}

.light-section .section-title::after {
    background: linear-gradient(135deg, #7B68EE, #4A90E2);
}

/* Light cards for contrast */
.card--light,
.light-section .theme-card,
.light-section .more-card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    color: #0a0a0a;
}

.card--light h3,
.light-section .theme-card h3,
.light-section .more-card h3 {
    color: #0a0a0a;
}

.card--light p,
.light-section .theme-card p,
.light-section .more-card p {
    color: #333333;
}

.light-section .card-icon { /* keep accent */
    background: linear-gradient(135deg, #7B68EE, #4A90E2);
}

/* Important dates table in light section */
.light-section .dates-table {
    background: #ffffff;
}

.light-section .dates-table th {
    background: linear-gradient(135deg, #7B68EE, #4A90E2);
    color: #ffffff;
}

.light-section .dates-table td {
    color: #0a0a0a;
    border-bottom: 1px solid #e6e9ef;
}

.light-section .dates-table tr:hover {
    background: #f2f5fa;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
th {
    background-color: #f2f2f2;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

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

    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .speaker-img {
        width: 250px;
        height: 250px;
    }

    .theme-cards {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .dates-table th,
    .dates-table td {
        padding: 1rem;
        font-size: 1rem;
    }

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

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

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

    .container {
        padding: 0 15px;
    }

    .theme-card,
    .more-card {
        margin: 0 10px;
    }
}

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

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
