/* Modern Font and Styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

/* Remove any default margin or padding applied to all elements */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding/border are included in width/height */
}

/* Ensure no margin or padding on body or html */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove any default padding */
}

.hero-banner {
    width: 100vw; /* Full width of the viewport */
    padding: 0px 0; /* Adds spacing at the top and bottom */
    text-align: center; /* Centers the image horizontally */
    background-color: white; /* Optional background color */
}

.hero-banner-img {
    width: 60%; /* Image takes up 50% of the container width */
    max-width: 100%; /* Prevents the image from exceeding its container width */
    height: auto; /* Maintains aspect ratio */
    display: inline-block; /* Ensures the image is treated as a block element */
}



/* Base styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0047bb; /* Navbar background color */
    padding: 10px 20px;
    position: sticky; /* Make navbar sticky */
    top: 0; /* Stick to the top */
    z-index: 1000; /* Ensure the navbar stays above other content */
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    padding: 8px 16px;
    display: block;
}

.nav-links a:hover {
    background-color: #555;
}

/* Dropdown Menu Styling */
.dropdown-content {
    display: none; /* Hide dropdown by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0047bb; 
    padding: 10px;
    list-style: none;
    min-width: 180px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block; /* Show dropdown on hover (desktop) */
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
    }

    .nav-links li {
        width: 100%;
    }

    .navbar.active .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
        text-align: left;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none; /* Hide dropdown on mobile */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show dropdown when parent is active */
    }

    /* Hamburger menu */
    .navbar-toggle {
        display: block;
        background-color: #0047bb; 
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    .navbar-toggle:focus {
        outline: none;
    }

    .navbar-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: white;
    }
}

/* Laptop and desktop screens */
@media screen and (min-width: 769px) {
    .navbar-toggle {
        display: none;
    }
}








/* General styling for the section */
#about {
    background-color: #f9f9f9; /* Light background color */
    padding: 50px 20px; /* Add padding to top/bottom and sides */
    text-align: justify; /* Center the content */
}

/* About Section Title */
.about-section h2 {
    font-size: 2.5em; /* Large title font */
    color: #333; /* Dark color for the text */
    margin-bottom: 20px; /* Space below the title */
    font-family: 'Arial', sans-serif; /* Clean, readable font */
    font-weight: 700; /* Bold font */
}

/* About Section Paragraphs */
.about-section p {
    font-size: 1.2em; /* Slightly larger text for readability */
    color: #555; /* Softer gray text color */
    line-height: 1.8; /* Increase line spacing for better readability */
    margin-bottom: 20px; /* Space between paragraphs */
    font-family: 'Georgia', serif; /* Elegant serif font */
    max-width: 800px; /* Limit the width of the text block */
    margin-left: auto;
    margin-right: auto; /* Center the text block */
}

/* Adding a little decorative element */
.about-section::before {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    background-color: #007bff; /* Blue underline or accent */
    margin: 0 auto 30px; /* Center it and give space below */
}

/* Optional: Style for any images in the About section */
.about-section img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for images */
    margin-top: 20px;
}

/* Optional: Add a button styling for any call-to-action */
.about-section .cta-button {
    display: inline-block;
    background-color: #007bff; /* Button background color */
    color: #fff; /* Text color */
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.about-section .cta-button:hover {
    background-color: #0056b3; /* Darker blue when hovered */
}


/* Styling for the committee section */
.section {
    background-color: #f9f9f9;  /* Light background color */
    padding: 50px 20px;  /* Add padding to top/bottom and sides */
    text-align: center;  /* Center the content */
    border-radius: 8px;  /* Rounded corners for the section */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Soft shadow for depth */
}

/* Section Title */
.section h2 {
    font-size: 2.5em;  /* Large title font */
    color: #333;  /* Dark color for the text */
    margin-bottom: 20px;  /* Space below the title */
    font-family: 'Arial', sans-serif;  /* Clean, readable font */
    font-weight: 700;  /* Bold font */
}

/* Subtitles for Each Category */
.section h3 {
    font-size: 1.8em;  /* Slightly smaller font than the main title */
    color: #007bff;  /* Blue color for headings */
    margin-bottom: 10px;  /* Space below the subtitle */
    font-family: 'Arial', sans-serif;  /* Clean font for subheadings */
    font-weight: 600;  /* Bold subheading */
}

/* Style for the List of Members */
.section ul {
    list-style-type: none;  /* Remove default bullets */
    padding: 0;
    margin: 0 0 30px 0;  /* Bottom margin between list groups */
}

.section ul li {
    font-size: 1.1em;  /* Slightly larger text for list items */
    color: #555;  /* Lighter text color */
    margin-bottom: 8px;  /* Space between list items */
    font-family: 'Georgia', serif;  /* Elegant serif font for list items */
}

/* Adding a little decorative element above the list */
.section ul::before {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    background-color: #007bff;  /* Blue underline for list headers */
    margin: 0 auto 20px;  /* Center it and space it below */
}

/* Optional: Add hover effect on list items */
.section ul li:hover {
    color: #007bff;  /* Change color to blue on hover */
    cursor: pointer;  /* Change cursor to pointer */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .section h2 {
        font-size: 2em;  /* Smaller title for mobile */
    }
    .section h3 {
        font-size: 1.5em;  /* Smaller subheading font for mobile */
    }
    .section ul li {
        font-size: 1em;  /* Adjust list item font for mobile */
    }
}















/* Hero Section */
.hero-section {
    background-color: #0047bb; /* Solid blue */
    color: #fff;
    padding: 0px 20px 80px; /* Reduced padding for a cleaner look */
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.7s ease-out;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Call to Action Buttons */
.cta-buttons {
    margin-top: 20px;
}

.cta-buttons .btn {
    padding: 12px 24px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
}

.cta-buttons .btn.primary {
    background-color: #ffdd00;
    color: #0047bb;
}

.cta-buttons .btn.secondary {
    background-color: #fff;
    color: #0047bb;
    border: 2px solid #ffdd00;
}

/* Table Styling (for Registration Fees Placeholder) */
.table-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th, .table-container td {
    text-align: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
}

.table-container th {
    background-color: #0047bb;
    color: #fff;
}

.table-container td {
    background-color: #f9f9f9;
}

.table-container tr:hover td {
    background-color: #f1f1f1;
}

/* Conference Tracks Section */
.track-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px auto;
}

.track {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.track img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.track h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.track p {
    font-size: 1rem;
    color: #555;
}

/* Timeline Section */
.timeline-section {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.timeline-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.timeline-section ul {
    list-style: none;
    padding: 0;
}

.timeline-section li {
    font-size: 1.1rem;
    margin: 10px 0;
}

.timeline-image img {
    width: 100%;
   height:10%;
display: block;
    margin-top: 20px;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .navbar {
        padding: 10px 30px; /* Adjusted navbar padding */
    }

    .navbar .nav-links {
        flex-wrap: wrap;
        justify-content: center; /* Ensure links are centered */
    }

    .navbar .nav-links li {
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .navbar .logo {
        font-size: 18px;
    }

    .navbar .nav-links a {
        font-size: 13px;
    }

    .navbar .dropdown-content {
        min-width: 160px;
    }

    .track-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .timeline-section {
        padding: 30px 20px;
    }

    .timeline-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .navbar .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .navbar .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
        text-align: left;
    }

    .navbar .logo {
        font-size: 16px;
    }

    .navbar .nav-links a {
        font-size: 12px;
    }

    .navbar .dropdown-content {
        min-width: 140px;
    }

    .track-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .timeline-section {
        padding: 20px 10px;
    }

    .timeline-section h2 {
        font-size: 1.5rem;
    }

    .timeline-image img {
        max-width: 100%;
    }
}

/* Registration Fees Table Styling */
.table-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-container th, .table-container td {
    text-align: center;
    padding: 16px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.table-container th {
    background-color: #0047bb;
    color: #fff;
    font-weight: 600;
}

.table-container td {
    background-color: #f9f9f9;
    font-weight: 500;
}

.table-container tr:nth-child(even) td {
    background-color: #f1f1f1;
}

.table-container tr:hover td {
    background-color: #e0e0e0;
}

.table-container p {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

.table-container td {
    font-size: 15px;
}
