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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    padding-top: 80px; /* Add padding to prevent navbar overlap */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 120px; /* More padding for mobile navbar */
    }
    
    .navbar {
        min-height: 80px; /* Ensure navbar has enough height on mobile */
    }
    
    .navbar-brand {
        font-size: 1.2rem; /* Smaller text on mobile */
    }
    
    .navbar-logo {
        height: 30px; /* Smaller logo on mobile */
    }
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-logo img {
    max-height: 120px;
    width: auto;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.event-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-details i {
    margin-right: 0.5rem;
    color: #ffd700;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 20px;
}

/* About Section */
.about-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-card i {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Agenda Section */
.agenda-day {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.agenda-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.agenda-day h3 {
    color: #0d6efd;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.agenda-list {
    list-style: none;
    padding: 0;
}

.agenda-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.agenda-list li:last-child {
    border-bottom: none;
}

.agenda-list strong {
    color: #0d6efd;
    font-weight: 600;
}

/* Speakers Section */
.speaker-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.speaker-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.speaker-card:hover img {
    border-color: #0a58ca;
    transform: scale(1.05);
}

.speaker-card h5 {
    margin-top: 1rem;
    font-weight: 600;
    color: #333;
}

.speaker-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Venue Section */
.venue-info {
    padding: 2rem;
}

.venue-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.venue-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.venue-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.venue-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

.venue-details p {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.venue-details i {
    margin-right: 0.5rem;
    color: #0d6efd;
}

/* Registration Section */
.registration-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.registration-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.registration-form .form-control,
.registration-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.registration-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

footer h5 {
    color: #0d6efd;
    font-weight: 600;
}

/* Agenda Timeline Styles */
.agenda-day {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.agenda-timeline {
    position: relative;
    padding-left: 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-item .time {
    min-width: 180px;
    font-weight: bold;
    color: #0d6efd;
    font-size: 0.9rem;
    padding-right: 20px;
    border-right: 3px solid #0d6efd;
    display: flex;
    align-items: center;
}

.timeline-item .content {
    flex: 1;
    padding-left: 20px;
    line-height: 1.6;
}

.timeline-item .content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item .time {
        min-width: auto;
        border-right: none;
        border-bottom: 2px solid #0d6efd;
        padding-right: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .timeline-item .content {
        padding-left: 0;
    }
}

/* Participant Items */
.participant-item {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.participant-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Partnership Cards */
.partnership-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.partnership-card i {
    color: #0d6efd;
    margin-bottom: 20px;
}

.partnership-card h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Secretariat Cards */
.secretariat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secretariat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.secretariat-card i {
    color: #0d6efd;
    margin-bottom: 20px;
}

.secretariat-card h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 2px dashed #0d6efd;
}

.contact-info i {
    color: #0d6efd;
    margin-right: 10px;
}

/* Secretariat Info */
.secretariat-info {
    text-align: center;
    margin-bottom: 40px;
}

/* Partnership Intro */
.partnership-intro {
    text-align: center;
    margin-bottom: 40px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Alert styling */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2c3e50) !important;
}

footer h5 {
    color: #0d6efd;
    font-weight: 600;
}

.footer-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Modal enhancements */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Form enhancements */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Button enhancements */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #145a32);
}

.btn-light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c3e50;
}

/* Success Metrics Styling */
.metric-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.metric-number {
    font-size: 72px;
    font-weight: 900;
    color: #0d6efd;
    margin-bottom: 15px;
    line-height: 1;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.metric-label {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Responsive adjustments for metrics */
@media (max-width: 768px) {
    .metric-number {
        font-size: 56px;
    }
    
    .metric-label {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .metric-number {
        font-size: 48px;
    }
    
    .metric-label {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .registration-form {
        padding: 2rem;
    }
    
    .about-card,
    .agenda-day,
    .speaker-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.page-header-logo {
    max-height: 80px;
    width: auto;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-header-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Secretariat Page Styles */
.secretariat-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0d6efd;
    margin-top: 20px;
}

.secretariat-highlight h4 {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 20px;
}

.secretariat-highlight ul li {
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.secretariat-highlight ul li:last-child {
    border-bottom: none;
}

.secretariat-highlight ul li:hover {
    background-color: #e9ecef;
    padding-left: 10px;
}

/* Full width image styling */
.secretariat-full-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.secretariat-full-image:hover {
    transform: scale(1.02);
}

/* About Page Large Logo */
.about-main-logo {
    max-height: 200px;
    width: auto;
    opacity: 0.95;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.about-main-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

/* Form Validation */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}
