:root {
    --primary-color: #2c3e50;
    --accent-color: #e60050;
    --secondary-accent: #f4b942;
    --font-sans: 'Nunito Sans', 'Dosis', 'Quicksand', 'Josefin Sans', 'Merriweather', sans-serif;
    --font-body: 'Lora', serif;
    --font-heading: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--primary-color);
    line-height: 1.7;
    background: linear-gradient(to bottom right, #fff3e0, #fffdf7);
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    /* min-height: 100vh; */
}

header#hero {
    background: linear-gradient(to right, #fff3e0, #ffe0ec);
    text-align: center;
    padding: 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--accent-color);
}

header#hero img {
  width: 50%;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
}

/* For tablets (iPads) */
@media (max-width: 991px) {
  header#hero img {
    width: 70%;
  }
}

/* For mobile phones */
@media (max-width: 576px) {
  header#hero img {
    width: 100%;
  }
}


header#hero h1 {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

header#hero h1 span {
    color: var(--primary-color);
}

header#hero .event-meta {
    font-size: 1.1rem;
    color: #444;
    margin-top: 0.5rem;
}

.event-details{
    font-size: 1.3rem;
}
section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

section h2 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.8rem;
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--secondary-accent);
    padding-bottom: 0.3rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.speaker-card {
    background: #fffdfd;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.speaker-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.speaker-card p {
    font-size: 1rem;
    color: #555;
}

form {
    display: grid;
    
}

form label {
    font-weight: 600;
   
}

form input,
form select,
form textarea {
    padding: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    width: 100%;
}

form button {
    background: #050651;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #e60050;
}

#contact p,
footer p {
    margin-bottom: 0.5rem;
}

#contact a {
    color: var(--accent-color);
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.95rem;
    color: #666;
    background: #fff9f9;
    border-top: 2px solid var(--secondary-accent);
    margin-top: 3rem;
}

.choice-btn {
    display: inline-block;
    border: 1px solid #050651;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 10px 5px 0 0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, color 0.2s;
    color: #2c3e50;
}

.choice-btn input[type="checkbox"] {
    display: none;
}

.choice-btn.selected {
    background-color: #050651;
    color: #fff;
}
/* Thank You Page */
body.thankyou-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(to bottom right, #fff3e0, #fffdf7);
    animation: bgFadeIn 1.2s ease-in-out;
}

.thankyou-container {
    background-color: #ffffffdd;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    animation: fadeSlideUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.thankyou-container img {
    width: 250px;
    animation: zoomIn 1s ease-out forwards;
    opacity: 0;
    transform: scale(0.8);
    margin-bottom: 20px;
}

.thankyou-container h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    animation: fadeIn 1.4s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.thankyou-container p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    animation: fadeIn 1.4s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

a.button {
    display: inline-block;
    text-decoration: none;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s ease;
    animation: fadeIn 1.4s ease-out forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

a.button:hover {
    background-color: #050651;
    color: #fff;
}

/* Animations */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bgFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/*Loader*/
#submitBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background-color: #e60050;
  color: white;
  border-radius: 4px;
}

#submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

