body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #002d62; /* Academic Blue */
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background: url('background3.png') no-repeat center center / cover;
    background-color: #f4f4f4;
    padding: 100px 5%;
    text-align: center;
    color: white;
}

section {
    padding: 60px 10%;
    border-bottom: 1px solid #eee;
}

h2 {
    color: #002d62;
}

.lang-switch button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.reg-btn {
    background: #d4af37; /* Gold accent */
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;   /* adjust size */
}

.map-container {
  overflow: hidden;
  padding-bottom: 56.25%; /* Aspect ratio (16:9) */
  position: relative;
  height: 0;
}

.map-container iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.reg-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.reg-table th, .reg-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 1.1rem;
}

.reg-table th {
    background-color: #002d62;
    color: white;
    font-weight: bold;
}

.reg-table td {
    background-color: #fff;
    color: #333;
}

/* Optional: responsive table for very small screens */
@media (max-width: 480px) {
    .reg-table th, .reg-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* Sponsors Section */
.sponsors-section {
    background-color: #fff;
    padding: 40px 10%;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.sponsors-section h2 {
    margin-bottom: 30px;
    color: #002d62;
}

.sponsors-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    row-gap: 30px;
}

.sponsor-item {
    flex: 0 0 auto;
}

.sponsor-logo {
    height: 80px;          /* Adjust height as needed */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(0%); /* Change to grayscale(100%) for monochrome look */
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

/* Responsive: smaller logos on mobile */
@media (max-width: 768px) {
    .sponsor-logo {
        height: 50px;
        max-width: 120px;
    }
    .sponsors-row {
        gap: 20px;
    }
}

/* Date table styling */
.date-table {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.date-table th,
.date-table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
    vertical-align: top;
}

.date-table th {
    background-color: #002d62;
    color: white;
    font-weight: bold;
}

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

.container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            padding: 20px;
        }
        h1 {
            text-align: center;
            color: #002d62;
            margin-bottom: 10px;
        }
        .sub {
            text-align: center;
            color: #666;
            margin-bottom: 30px;
            font-style: italic;
        }
        .places-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .places-table th,
        .places-table td {
            padding: 16px;
            border-bottom: 1px solid #e0e0e0;
            vertical-align: top;
        }
        .places-table th {
            background-color: #002d62;
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
        }
        .places-table tr:last-child td {
            border-bottom: none;
        }
        .place-image {
            width: 180px;
            text-align: center;
        }
        .place-image img {
            width: 100%;
            max-width: 160px;
            height: auto;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s;
        }
        .place-image img:hover {
            transform: scale(1.02);
        }
        .place-name {
            font-weight: 700;
            font-size: 1.2rem;
            color: #002d62;
            margin-bottom: 8px;
        }
        .place-desc {
            line-height: 1.5;
            color: #555;
            font-size: 0.95rem;
        }
        /* Responsive: on small screens, stack table cells */
        @media (max-width: 700px) {
            .places-table,
            .places-table tbody,
            .places-table tr,
            .places-table td,
            .places-table th {
                display: block;
            }
            .places-table thead {
                display: none;
            }
            .places-table tr {
                margin-bottom: 20px;
                border: 1px solid #ddd;
                border-radius: 16px;
                padding: 12px;
                background: white;
            }
            .places-table td {
                border-bottom: none;
                padding: 8px 12px;
                text-align: left;
            }
            .place-image {
                width: 100%;
                text-align: center;
            }
            .place-image img {
                max-width: 200px;
            }
        }
        footer {
            text-align: center;
            margin-top: 30px;
            font-size: 0.85rem;
            color: #888;
        }