/* --- General Styling & Variables --- */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-blue: #2c3e50;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --section-padding: 5rem 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #495057;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-blue);
}

.section-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.section-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    height: 90vh;
    min-height: 600px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-background,
.hero-overlay,
.hero-content {
    grid-area: 1 / 1 / 2 / 2;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: rgba(15, 23, 42, 0.7);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content.lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Speakers Section --- */
.speakers-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.speaker-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.speaker-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.speaker-card.card-body {
    padding: 1.5rem;
}

.speaker-card.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.speaker-card.card-text {
    color: var(--primary-color);
    font-weight: 500;
}

.modal-header {
    border-bottom: none;
}
.modal-footer {
    border-top: 1px solid #dee2e6;
}
.speaker-modal-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
}
.speaker-social-links a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: var(--secondary-color);
    transition: color 0.2s ease;
}
.speaker-social-links a:hover {
    color: var(--primary-color);
}


/* --- Vertical Timeline (Agenda) Section --- */
.timeline-section {
    padding: var(--section-padding);
}

.timeline {
    list-style: none;
    padding: 20px 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: #e9ecef;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:after,.timeline-item:before {
    content: " ";
    display: table;
}
.timeline-item:after {
    clear: both;
}

.timeline-item.timeline-panel {
    width: 45%;
    float: left;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

.timeline-item.timeline-panel:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 26px;
    right: -15px;
    border-top: 15px solid transparent;
    border-left: 15px solid #dee2e6;
    border-right: 0 solid #dee2e6;
    border-bottom: 15px solid transparent;
}

.timeline-item.timeline-panel:after {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 27px;
    right: -14px;
    border-top: 14px solid transparent;
    border-left: 14px solid var(--white);
    border-right: 0 solid var(--white);
    border-bottom: 14px solid transparent;
}

.timeline-item.timeline-inverted.timeline-panel {
    float: right;
}

.timeline-item.timeline-inverted.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline-item.timeline-inverted.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.2em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: var(--primary-color);
    z-index: 100;
    border-radius: 50%;
    font-weight: bold;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

.timeline-date {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* --- Countdown Section --- */
.countdown-section {
    padding: 4rem 0;
    background-color: var(--dark-blue);
    color: var(--white);
}
.countdown-section h2 {
    color: var(--white);
}
#countdown-timer {
    margin-top: 2rem;
}
.simply-section {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}
.simply-amount {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}
.simply-word {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
}
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}
.testimonial-card.quote-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}
.testimonial-card.quote-full {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}
.testimonial-card.reviewer-name {
    font-weight: 700;
    margin-bottom: 0;
}
.testimonial-card.reviewer-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* --- Venue Section --- */
.venue-section {
    padding: var(--section-padding);
}
.venue-section img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.venue-section iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.venue-section h3 {
    margin-bottom: 1rem;
}

/* --- Sponsors Section --- */
.sponsors-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}
.sponsor-tier-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
.sponsor-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.sponsor-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-blue);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0;
    text-align: center;
}
.footer p {
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
  .hero-content h1 {
        font-size: 2.5rem;
    }

  .timeline:before {
        left: 25px;
    }
  .timeline-item.timeline-panel {
        width: calc(100% - 65px);
        float: right;
    }
  .timeline-item.timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
  .timeline-item.timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
  .timeline-badge {
        left: 25px;
        margin-left: -25px;
    }
}
