/* ===============================================
   responsive.css - Ignite & Innovate 2025
   Pastel-Tinted Navbar + Vibrant Hero + Registration Form
   =============================================== */

/* 1) Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* 2) Navigation Bar (Pastel Tint) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #fff2f0, #ffe7e4);
    color: #ff6f61;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6f61;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.navbar ul li a {
    color: #ff6f61;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}
.navbar ul li a:hover {
    color: #333;  /* Slightly darker for hover */
    transform: scale(1.05);
}
/* Register Button in Navbar */
.register-btn {
    background: #ffcc00;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}
.register-btn:hover {
    background: #ffe066;
    transform: scale(1.05);
}

/* 3) Hero Section (Strong Brand Gradient) */
.hero {
    min-height: 40vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #ff9a8b, #ff6f61);
    color: #fff;
    padding: 50px;
    position: relative;
}
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.4;
}
/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.cta-btn, .cta-secondary {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
    font-size: 1rem;
}
/* Primary CTA: brand accent */
.cta-btn {
    background: #ff3b30;
    color: #fff;
}
.cta-btn:hover {
    background: #d63327;
    transform: translateY(-2px);
}
/* Secondary CTA: inverted style */
.cta-secondary {
    background: #fff;
    color: #ff3b30;
    border: 2px solid #ff3b30;
}
.cta-secondary:hover {
    background: #ff3b30;
    color: #fff;
    transform: translateY(-2px);
}

/* 4) Generic Sections */
section {
    padding: 60px 20px;
    text-align: center;
}
.about-section, .events-section {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin: 20px;
}

/* 5) Event Cards */
.events-section .event-card {
    display: inline-block;
    background: #ff6f61;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.events-section .event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* 6) NEW: Registration Page Styles */
.registration {
    max-width: 800px;
    background: #fff;
    padding: 40px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;  /* Align form text to left */
}
.registration h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff6f61;
}

/* Download Box for optional forms */
.download-box {
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.download-box h3 {
    margin-bottom: 8px;
    color: #333;
}
.download-box p {
    margin-bottom: 10px;
    color: #555;
}
.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
.download-links a {
    display: inline-block;
    background: #ff6f61;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.download-links a:hover {
    background: #d64c47;
}

/* Form Fieldset & Legend */
.registration form fieldset {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}
.registration form legend {
    font-weight: bold;
    color: #ff6f61;
    padding: 0 10px;
}

/* Labels & Inputs */
.registration label {
    display: block;
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}
.registration input[type="text"],
.registration input[type="email"],
.registration input[type="tel"],
.registration textarea,
.registration select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}
.registration input:focus,
.registration select:focus,
.registration textarea:focus {
    outline: none;
    border-color: #ff6f61;
    box-shadow: 0 0 4px rgba(255,111,97,0.3);
}

/* Hidden sections for dynamic event details */
.hidden {
    display: none;
}

/* Declaration checkbox */
.declaration-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Submit Button */
.submit-btn,
.registration button[type="submit"] {
    background: #ff6f61;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 10px;
}
.submit-btn:hover,
.registration button[type="submit"]:hover {
    background: #d64c47;
    transform: translateY(-2px);
}

/* 7) Responsive Breakpoints */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h2 {
        font-size: 1.4rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .about-section, .events-section {
        padding: 30px;
        margin: 20px;
    }
    .events-section .event-card {
        display: block;
        width: 90%;
        margin: 10px auto;
    }

    .cta-buttons {
        flex-direction: column;
    }
    .cta-btn, .cta-secondary {
        width: 100%;
        margin-top: 1rem;
    }

    /* Registration form adjustments for mobile */
    .registration {
        width: 90%;
        padding: 20px;
        margin: 30px auto;
    }
    .download-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* 8) Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}



/* 🔹 Infographic Styling */
.infographic-container {
    text-align: center;
    margin: 15px 0;
}

.infographic {
    width: 80%;
    max-width: 600px;
    height: auto;
}

/* 🔹 Animated SVG */
.pulse {
    animation: pulseAnimation 1.5s infinite alternate ease-in-out;
}

@keyframes pulseAnimation {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* 🔹 Schedule Styling */
.schedule {
    text-align: left;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.schedule h2 {
    color: #ff6f61;
    font-size: 24px;
    margin-bottom: 10px;
}

.schedule ul {
    list-style: none;
    padding: 0;
}

.schedule ul li {
    font-size: 18px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.schedule ul li::before {
    content: "⏰";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #ff6f61;
}

/* 🔹 Responsive Improvements */
@media (max-width: 768px) {
    .infographic {
        width: 100%;
    }

    .schedule {
        padding: 20px;
    }
}
