/* Base Styles */
body {
    font-family: 'zolina', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

/* Colors */
:root {
    --primary-red: #d62828;
    --primary-darkblue: #003566;
    --primary-white: #ffffff;
    --primary-gray: #e9ecef;
    --secondary-blue: #0077b6;
}

/* Global Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background: var(--primary-red);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #a02020;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary-darkblue);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    font-family: 'rosica', serif;
}

nav .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Centered and small menu */
.navbar-nav {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    background-color: var(--primary-darkblue);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 1s forwards, fadeOut 1s 4s forwards;
    opacity: 0;
    z-index: 999;
}

/* When the menu is toggled and 'active' class is added */
.navbar-nav.active {
    display: block;
    opacity: 1;
}

/* Menu items */
.navbar-nav li {
    padding: 12px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid #ddd;
}

.navbar-nav li a {
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav li:hover {
    background-color: var(--primary-red);
}

.navbar-nav li a:hover {
    color: var(--primary-white);
    transform: scale(1.05);
}

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Hero Section Style */
.hero {
    position: relative;
    height: 100vh;
    background: url('images/african-american-businessman-using-laptop-cafe_1157-46908.jpg') no-repeat center center/cover;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    animation: zoomInBackground 10s infinite;
}

/* Overlay for Text Contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Content of the Hero Section */
.hero-content {
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.5s forwards;
}

/* Heading Animation */
.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s forwards 0.3s;
}

/* Paragraph Animation */
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s forwards 0.6s;
}

/* Call to Action (CTA) Button Styling */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.5s forwards 1s;
}

.cta-buttons a {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

/* Primary Button Style */
.btn-primary {
    background-color: #007ACC;
    color: white;
}

/* Secondary Button Style */
.btn-secondary {
    background-color: #FF6600;
    color: white;
}

/* Hover Effect for CTA Buttons */
.cta-buttons a:hover {
    background-color: #005fa3;
}

/* Keyframes for Fade-In & Slide-Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for Zoom-In Effect on Background */
@keyframes zoomInBackground {
    0% {
        background-size: 120%;
    }
    50% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

/* Media Queries for Responsiveness */


@media (max-width: 768px) {
    .hero {
        background-size: cover; /* Ensures image still covers but fits on smaller screens */
        background-attachment: scroll; /* Prevents the image from staying fixed on scroll */
    }
}

@media (max-width: 480px) {
    .hero {
        background-size: contain; /* Ensures the image is fully visible without cropping on extra small screens */
        background-attachment: scroll; /* Ensures no fixed background on mobile */
    }
}

/* For Extra Small Devices (Mobile Phones - Portrait Mode) */
@media (max-width: 480px) {
    .hero {
        background-size: contain; /* Ensures the image is fully visible without cropping on extra small screens */
        background-attachment: scroll; /* Ensures no fixed background on mobile */
        height: 50vh; /* Significantly reduce height for very small screens */

    }

    .hero-content h1 {
        font-size: 1.25rem; /* Smaller font size for heading */
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.85rem; /* Adjust font size for paragraphs */
        margin-bottom: 10px;
    }

    .cta-buttons a {
        font-size: 0.8rem; /* Smaller button text */
        padding: 8px 20px;
    }
}

/* Call to Action (CTA) Button Styling */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.5s forwards 1s;
}

.cta-buttons a {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

/* Primary Button Style */
.btn-primary {
    background-color: #007ACC;
    color: white;
}

/* Secondary Button Style */
.btn-secondary {
    background-color: #FF6600;
    color: white;
}

/* Hover Effect for CTA Buttons */
.cta-buttons a:hover {
    background-color: #005fa3;
}

/* Keyframes for Fade-In & Slide-Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for Zoom-In Effect on Background */
@keyframes zoomInBackground {
    0% {
        background-size: 120%;
    }
    50% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

/* Media Queries for Responsiveness */

/* For small devices like phones (Portrait Mode) */
@media (max-width: 768px) {
    .hero {
        background-size: cover;
        height: 80vh; /* Slightly reduce height for smaller screens */
        background-attachment: scroll; /* Disable parallax effect */
    }

    .hero-content h1 {
        font-size: 2rem; /* Reduce heading size for smaller screens */
    }

    .hero-content p {
        font-size: 1rem; /* Adjust paragraph size for mobile */
        margin-bottom: 20px;
    }

    .cta-buttons a {
        font-size: 0.9rem; /* Slightly reduce button size */
        padding: 10px 25px;
    }
}

/* For extra small devices (Mobile Phones - Landscape Mode) */
@media (max-width: 480px) {
    .hero {
        background-size: cover;
        height: 70vh; /* Further reduce height for very small screens */
    }

    .hero-content h1 {
        font-size: 1.5rem; /* Significantly reduce heading size */
    }

    .hero-content p {
        font-size: 0.9rem; /* Adjust font size for paragraphs */
        margin-bottom: 15px;
    }

    .cta-buttons a {
        font-size: 0.85rem; /* Further adjust button size */
        padding: 8px 20px;
    }
}


.btn-primary {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

.btn-primary:hover {
    background-color: #a02020;
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--primary-white);
}

.btn-secondary:hover {
    background-color: #005f8e;
}

/* Event Timer */
.event-timer {
    background: var(--primary-gray);
    color: var(--primary-darkblue);
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1.5s;
}

.event-timer h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.countdown div {
    background: var(--primary-white);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 30px 10px;
    animation: fadeInUp 1.5s;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-darkblue);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.card {
    background: var(--primary-white);
    border: 1px solid var(--primary-gray);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary-darkblue);
    margin-bottom: 8px;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* Footer */
footer {
    background-color: var(--primary-darkblue);
    color: var(--primary-white);
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1.5s;
}

footer .social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer .social-icons a {
    color: var(--primary-white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--primary-red);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .countdown {
        font-size: 1rem;
        gap: 10px;
    }

    .navbar-nav {
        width: 250px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--primary-darkblue);
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav.active {
        display: block;
    }

    nav .menu-toggle {
        display: block;
    }
}


/* Speakers Section */
#Speakers {
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 50px 15px;
}

#Speakers h2 {
    color: #1b365d; /* Dark blue for heading */
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Cards Container */
#Speakers .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Card Styles */
#Speakers .card {
    background-color: #ffffff; /* White background for cards */
    border: 1px solid #dee2e6; /* Light border for structure */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    width: 300px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Card Image */
#Speakers .card img {
    border: 4px solid #d9534f; /* Red border for images */
    border-radius: 50%; /* Circular image */
    margin-bottom: 15px;
}

/* Card Text */
#Speakers .card h5 {
    color: #1b365d; /* Dark blue for speaker name */
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: bold;
}

#Speakers .card p {
    color: #555; /* Subtle gray for titles */
    font-size: 1rem;
    margin: 0;
}

/* Hover Effects */
#Speakers .card:hover {
    transform: translateY(-10px); /* Lift card on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    #Speakers .cards {
        flex-direction: column;
        align-items: center;
    }

    #Speakers .card {
        width: 90%; /* Full width for smaller screens */
    }
}

/* Smooth Hover Transition */
#Speakers .card:hover img {
    border-color: #1b365d; /* Change border to dark blue on hover */
    transform: scale(1.1); /* Slight zoom effect */
    transition: transform 0.3s, border-color 0.3s;
}

/* Partners Section */
#partners {
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 50px 15px;
}

#partners h2 {
    color: #1b365d; /* Dark blue for heading */
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Logo Row */
#partners .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Spacing between logos */
}

/* Individual Logo Container */
#partners .col-md-3 {
    flex: 1 1 20%; /* Flexible layout for responsiveness */
    max-width: 200px; /* Limit maximum width of logos */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Logo Images */
#partners img {
    width: 100%;
    max-height: 150px; /* Limit maximum height for logos */
    object-fit: contain; /* Maintain aspect ratio */
    border: 2px solid #d9534f; /* Red border for logo images */
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s, border-color 0.3s;
}

/* Hover Effects */
#partners .col-md-3:hover {
    transform: translateY(-10px); /* Lift the logo container on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Add shadow on hover */
}

#partners img:hover {
    border-color: #1b365d; /* Change border to dark blue on hover */
    transform: scale(1.1); /* Slight zoom effect on logo */
}

/* Responsive Design */
@media (max-width: 768px) {
    #partners .col-md-3 {
        flex: 1 1 45%; /* Adjust width for smaller screens */
        max-width: 150px;
    }

    #partners img {
        max-height: 120px; /* Smaller logos on mobile */
    }
}

@media (max-width: 576px) {
    #partners .col-md-3 {
        flex: 1 1 90%; /* Stack logos on extra-small screens */
        max-width: 100px;
    }

    #partners img {
        max-height: 100px; /* Further reduce logo size */
    }
}
/* Featured Highlights Section */
#highlights {
    background-color: #ffffff; /* White background for clean look */
    padding: 50px 15px;
    text-align: center;
}

#highlights h2 {
    color: #1b365d; /* Dark blue heading */
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

#highlights .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Spacing between cards */
}

#highlights .card {
    background-color: #f8f9fa; /* Light grey card background */
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 300px; /* Limit card size */
}

#highlights .card:hover {
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Add shadow on hover */
}

#highlights .card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Maintain aspect ratio for images */
}

#highlights .card-body {
    padding: 15px;
}

#highlights .card-title {
    color: #1b365d; /* Dark blue for titles */
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#highlights .card-text {
    color: #555; /* Dark grey for text */
    font-size: 1rem;
}
/* Agenda Section Styles */
#agenda {
    text-align: center;
    padding: 50px 20px;
    background-color: #f1f1f1; /* Light background for section */
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Agenda Card */
.agenda-card {
    background-color: #ffffff; /* White background for the card */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: left;
    opacity: 0;
    transform: translateY(50px); /* Start from the bottom */
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: slideIn 1s forwards;
}

/* Card Hover Effect with Accent Colors */
.agenda-card:hover {
    transform: translateY(-10px);
    border-color: #2196f3; /* Blue border on hover */
    box-shadow: 0 8px 12px rgba(33, 150, 243, 0.2); /* Blue shadow on hover */
}

/* Agenda Card Heading (Blue) */
.agenda-card h3 {
    margin-top: 0;
    color: #2196f3; /* Blue color for headings */
    font-size: 1.5rem;
}

/* Agenda List */
.agenda-card ul {
    list-style-type: none;
    padding: 0;
}

.agenda-card li {
    margin-bottom: 15px;
}

/* Agenda Card Paragraph (Grey with a hint of red) */
.agenda-card p {
    color: #666666;
    line-height: 1.5;
    margin: 5px 0 0;
}

/* Keyframe Animations for Sliding from Four Angles */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(100px); /* Slide from the right */
    }
    25% {
        transform: translateY(100px); /* Slide from the bottom */
    }
    50% {
        transform: translateX(-100px); /* Slide from the left */
    }
    75% {
        transform: translateY(-100px); /* Slide from the top */
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0); /* Final position */
    }
}

/* Card Animation Delays for Staggered Entry */
.agenda-card:nth-child(1) {
    animation: slideIn 1s forwards;
}
.agenda-card:nth-child(2) {
    animation: slideIn 1.2s forwards;
}
.agenda-card:nth-child(3) {
    animation: slideIn 1.4s forwards;
}
.agenda-card:nth-child(4) {
    animation: slideIn 1.6s forwards;
}

/* Media Queries for Responsive Sweet Animations */

/* For Mobile Devices */
@media (max-width: 768px) {
    .agenda-card {
        width: 90%; /* Make the cards smaller for mobile */
        animation: mobileSlideIn 1s forwards;
    }

    @keyframes mobileSlideIn {
        0% {
            opacity: 0;
            transform: translateY(20px); /* Slide up from below */
        }
        100% {
            opacity: 1;
            transform: translateY(0); /* End at normal position */
        }
    }

    /* Mobile Staggered Animation */
    .agenda-card:nth-child(1) {
        animation: mobileSlideIn 1s forwards;
    }
    .agenda-card:nth-child(2) {
        animation: mobileSlideIn 1.2s forwards;
    }
    .agenda-card:nth-child(3) {
        animation: mobileSlideIn 1.4s forwards;
    }
    .agenda-card:nth-child(4) {
        animation: mobileSlideIn 1.6s forwards;
    }
}

/* For Desktop Devices */
@media (min-width: 769px) {
    .agenda-card {
        width: 300px; /* Ensure standard card size for desktop */
        animation: slideIn 1s forwards;
    }

    /* Slide-in animation with more angles for desktop */
    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translateX(100px); /* Start sliding from the right */
        }
        25% {
            transform: translateY(100px); /* Slide in from the bottom */
        }
        50% {
            transform: translateX(-100px); /* Slide in from the left */
        }
        75% {
            transform: translateY(-100px); /* Slide from the top */
        }
        100% {
            opacity: 1;
            transform: translateX(0) translateY(0); /* Final normal position */
        }
    }

    /* Desktop Staggered Animation */
    .agenda-card:nth-child(1) {
        animation: slideIn 1s forwards;
    }
    .agenda-card:nth-child(2) {
        animation: slideIn 1.2s forwards;
    }
    .agenda-card:nth-child(3) {
        animation: slideIn 1.4s forwards;
    }
    .agenda-card:nth-child(4) {
        animation: slideIn 1.6s forwards;
    }
}

/* General Styles for Timetable Section */
#timetable {
    padding: 30px;
    background-color: #f4f8fc;
    color: #020244;
    text-align: center;
}

/* Header Styling */
#timetable h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 15px;
}

#timetable h3 {
    font-size: 1.5rem;
    color: #090341;
    margin-bottom: 25px;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.card {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-in-out;
}

/* Card Title */
.card h4 {
    font-size: 1.8rem;
    color: #003366;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(255, 252, 252, 0.2);
}

/* Table Styles */
.timetable-table-container {
    display: none; /* Hidden by default */
    margin-top: 20px;
    overflow-x: auto;
    animation: fadeIn 1s ease-in-out;
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 1rem;
    text-align: center; /* Centered text */
}

.timetable-table th, .timetable-table td {
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    text-align: center; /* Centered text */
}

.timetable-table th {
    background-color: #003366;
    color: white;
}

.timetable-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover Effects on Table Rows */
.timetable-table tr:hover {
    background-color: #eef5ff;
    cursor: pointer;
}

/* Class for Discussion & Questions */
.discussion {
    background-color: #f3f3ef;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Class for Breaks (Tea & Lunch) */
.break {
    background-color: #030244;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
}

/* Day Header */
.day h4 {
    font-size: 2rem;
    color: #003366;
    margin-top: 40px;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin: 10px 0;
    }

    .timetable-table th, .timetable-table td {
        font-size: 0.9rem;
    }

    #timetable h2 {
        font-size: 2rem;
    }
}

.agenda-card {
    width: 30%;
    margin-right: 2%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.agenda-card:hover {
    transform: scale(1.03);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #e60a0a;
}

.agenda-content {
    display: none;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.agenda-content.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.toggle-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.toggle-btn.show i {
    transform: rotate(180deg);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .agenda-card {
        width: 100%;
        margin-bottom: 10px;
        padding: 15px;
    }

    .agenda-card h3 {
        font-size: 1.2rem;
    }
}

/* Highlight current day */
.highlight {
    border: 2px solid #ff0000;
}

/* Booking Section Styles */
#booking {
    background: #000769;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#booking h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-decoration-color: #f9f9f9;
}

#booking p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.book-now-btn {
    display: inline-block;
    background-color: #ff0000;
    color: #f6f7f8;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.book-now-btn:hover {
    background-color: #f10606;
}

/* Responsive Design */
@media (max-width: 600px) {
    #booking {
        padding: 30px 15px;
    }

    .book-now-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}

/* Speakers Section */
.speakers-container {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4;
    position: relative;
}

/* Slider Wrapper */
.slider-wrapper {
    width: 80%;
    overflow: hidden;
    margin: auto;
    position: relative;
}

/* Slider */
.slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

/* Individual Slide */
.slide {
    min-width: 280px;
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

/* Speaker Image */
.slide img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 4px solid #ddd;
}

/* Hover Effects */
.slide:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.left { left: 5%; }
.right { right: 5%; }

/* Responsive */
@media (max-width: 768px) {
    .slide { min-width: 220px; }
    .arrow { font-size: 18px; padding: 8px; }
}

   /* Booking Section */
        .booking-container {
            background: linear-gradient(135deg, #1e3c72, #f80419);
            text-align: center;
            padding: 60px 20px;
            border-radius: 15px;
            color: white;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        /* Animate when in view */
        .booking-container.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* Booking Content */
        .booking-content h2 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .booking-content p {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        /* Book Now Button */
        .book-now-btn {
            display: inline-block;
            padding: 12px 30px;
            font-size: 1.2rem;
            color: white;
            background: #ff9800;
            border-radius: 8px;
            text-decoration: none;
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
            box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
        }

        /* Hover Effects */
        .book-now-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(255, 152, 0, 0.5);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .booking-content h2 {
                font-size: 1.8rem;
            }
            .booking-content p {
                font-size: 1rem;
            }
            .book-now-btn {
                font-size: 1rem;
                padding: 10px 25px;
            }
        }
        .logo-container {
            display: flex;
            justify-content: center; /* Center the logo */
            align-items: center;
            justify-content: space-between; /* Push elements to opposite sides */
            padding: 10px 0; /* Add spacing */
        }
        
        .site-logo {
            max-width: 60px; /* Adjust size as needed */
            height: auto; /* Maintain aspect ratio */
        }

        .logo-container h1 {
            margin-left: auto; /* Pushes the H1 to the right */
            font-size: 18px; /* Adjust font size */
            justify-content: left; /* Center the logo */
            align-items: left;
        }
        
        @media screen and (max-width: 768px) {
            .logo-container h1 {
                margin-left: 0; /* Reset margin */
                font-size: 20px; /* Decrease font size for smaller screens */
                text-align: left; /* Center text */
                display: flex;
                justify-content: left; /* Center horizontally */
                align-items: center; /* Center vertically */
            }
        }
        /* Container to align logo and text properly */
.logo-container {
    display: flex;
    gap: 20px; /* Space between logo and text */
    overflow: hidden;
    width: 100%;
    max-width: 800px; /* Adjust based on your layout */
    position: relative;
}

/* Sliding text animation */
@keyframes slideText {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.animated-text {
    display: inline-block;
    white-space: nowrap;
    animation: slideText 9s linear infinite; /* Continuous smooth effect */
    font-size: 26px;
    font-weight: bold;
    color: #fafafa;
}

/* Wrapper to contain and hide overflowing text */
.text-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 500px; /* Ensures text stays within bounds */
    height: 50px; /* Keeps text within a set height */
    position: left;
}

/* 📱 Mobile Optimization */
@media screen and (max-width: 768px) {
    .logo-container {
        gap: 10px;
    }
    
    .animated-text {
        font-size: 20px; /* Smaller font for mobile */
        animation-duration: 10s; /* Slower animation for readability */
    }
    
    .text-wrapper {
        max-width: 100%; /* Full width on mobile */
        text-align: center; /* Center align text */
    }
}


/* Hero Section - Smaller & Centered */
.hero {
    position: relative;
    width: 60%; /* Adjust width to control left/right spacing */
    height: 20vh; /* Only 20% of screen height */
    margin: 5vh auto; /* Centers the hero with space above & below */
    background: url('images/Hrb.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2vw; /* Dynamic padding */
    border-radius: 15px; /* Optional: adds smooth edges */
}

/* Dark Overlay for Readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Keeps text readable */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px; /* Matches the hero section */
}

/* Content Styling */
.hero-content {
    max-width: 90%;
    z-index: 1;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Title */
.hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive text */
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(1, 1, 82, 0.7);
}

/* Description */
.hero p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 10px;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(3, 1, 107, 0.6);
}

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

/* Buttons */
.btn {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.btn-primary {
    background: #e63946;
    color: #fff;
}

.btn-primary:hover {
    background: #d62828;
}

.btn-secondary {
    background: rgba(1, 23, 83, 0.7);
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #e63946;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero {
        width: 80%; /* Wider on tablets */
        height: 25vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        width: 90%;
        height: 50vh;
        margin: 3vh auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 80%;
        font-size: 0.6rem;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Utility Classes */
.animate-fadeInUp {
    animation: fadeInUp 1.5s ease-out;
}

/* Section Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

/* Two-Column Layout */
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card Styling */
.p-6 {
    padding: 1.5rem;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Background Gradient */
.bg-gradient-to-r {
    background: linear-gradient(to right, #ebf8ff, #ffffff);
}

/* Hover Effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Typography */
.text-4xl {
    font-size: 2.25rem;
    font-weight: 800;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.leading-relaxed {
    line-height: 1.75;
}

.font-extrabold {
    font-weight: 800;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-gray-700 {
    color: #374151;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}
