/* Color Palette inspired by AICOG 2026: Deep Purple & Magenta */
:root {
    --primary-color: #7B007B; /* Deep Purple (for headers, primary accents) */
    --secondary-color: #A00064; /* Magenta/Pink (for accents, highlights) */
    --accent-color: #E3006E; /* Highlight Pink (buttons, key boxes) */
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f9f9f9;
    --border-color: #ddd;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

/* --- Layout Containers --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.full-width-container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    box-shadow: none;
    background-color: transparent;
}

/* --- Header & Navigation --- */
.header-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5px 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
}

.nav-main {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9em;
}

.nav-main ul li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 18px;
    display: block;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
}

.nav-main ul li a:hover,
.nav-main ul li .active {
    color: var(--secondary-color);
    border-bottom: 4px solid var(--secondary-color);
}

/* --- Hero Section (AICOG Style) --- */
.hero-container {
    background-color: var(--secondary-color);
    padding: 60px 0 80px 0;
    text-align: center;
    color: var(--text-light);
    /* Simple background pattern effect */
    background-image: linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.hero-container h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
}
.hero-container p {
    font-size: 1.2em;
    margin: 0;
    padding: 5px 0;
    font-weight: 300;
}

.date-venue-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    display: inline-block;
    border-radius: 30px;
    margin: 25px 0;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Countdown Clock (Simulation) */
.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.countdown-box {
    background-color: var(--accent-color);
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    min-width: 120px;
}
.countdown-box small {
    display: block;
    font-size: 0.5em;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}

/* --- Content Styling --- */
h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 8px;
    margin-top: 30px;
    font-size: 1.8em;
}
h3 {
    color: var(--secondary-color);
    margin-top: 20px;
    font-size: 1.4em;
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 15px 0;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.button:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
th, td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}
th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f0e6f2; /* Light tinted row */
}

/* Boxed Information/Alerts */
.info-box {
    background-color: #f0e6f2; /* Light purple tint */
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid var(--accent-color);
    margin-top: 20px;
}
.alert-box {
    background-color: #fff8e1; /* Light yellow */
    border-left: 5px solid #ffc107; /* Yellow for alert */
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-box a {
    color: white;
    text-decoration: underline;
}

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: repeat(2, 1fr);
    }
}
.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
@media (min-width: 600px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styling (for Committees) */
.card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}
.card h4 {
    color: var(--primary-color);
    margin: 5px 0 0 0;
    font-size: 1.1em;
}
.card p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Form Styles (Abstracts/Registration) */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(160, 0, 100, 0.2);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 25px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    margin-top: 40px;
}
.footer a {
    color: var(--background-light);
    text-decoration: none;
    font-weight: 500;
}
.footer .legal-links {
    margin-top: 10px;
    font-size: 0.85em;
}
.footer .legal-links a {
    margin: 0 10px;
    border-right: 1px solid var(--text-light);
    padding-right: 10px;
}
.footer .legal-links a:last-child {
    border-right: none;
    padding-right: 0;
}

/* Utility Class for Map Placeholder */
.map-placeholder {
    background-color: #e0e0e0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #666;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}