/* -------------------------------------------------- */
/* Design Tokens & Theme Settings                     */
/* -------------------------------------------------- */
:root {
    --primary: #1e293b;        /* Deep Slate Navy */
    --primary-light: #334155;
    --accent: #d97706;         /* Golden Oak */
    --accent-hover: #b45309;
    --bg-warm: #faf9f5;        /* Soft Academic Ivory */
    --bg-white: #ffffff;
    --text-dark: #0f172a;      /* Slate 900 */
    --text-muted: #64748b;     /* Slate 500 */
    --border-color: #e2e8f0;   /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------- */
/* Base Elements & Resets                             */
/* -------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 0.75em;
}

p {
    margin-bottom: 1.25em;
    color: #334155;
}

strong {
    font-weight: 600;
    color: var(--primary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Utilities */
.max-width-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* -------------------------------------------------- */
/* Header Navigation & Navbar                         */
/* -------------------------------------------------- */
.navbar-container {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.brand a {
    display: block;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
}

.brand-main {
    font-family: 'Lora', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-top: 2px;
}

.brand a:hover {
    text-decoration: none;
}

/* Navigation List */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent);
    text-decoration: none;
    background-color: rgba(217, 119, 6, 0.05);
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 400;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--bg-warm);
    color: var(--accent);
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* Call to Action Button in Nav */
.nav-btn {
    background-color: var(--accent);
    color: var(--bg-white) !important;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-md);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* -------------------------------------------------- */
/* Banner & Page Headers                              */
/* -------------------------------------------------- */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5.5rem 0;
    border-bottom: 4px solid var(--accent);
    color: var(--bg-white);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 15% 50%, rgba(217, 119, 6, 0.12) 0%, transparent 40%),
                      radial-gradient(circle at 85% 30%, rgba(30, 41, 59, 0.8) 0%, transparent 60%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: var(--bg-white);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-family: 'Lora', serif;
    font-style: italic;
}

/* -------------------------------------------------- */
/* Main Content and Container                         */
/* -------------------------------------------------- */
.main-content {
    flex: 1;
}

.content-wrapper {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.page-container {
    background-color: var(--bg-white);
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* -------------------------------------------------- */
/* Buttons                                            */
/* -------------------------------------------------- */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* -------------------------------------------------- */
/* Grid Cards / Custom Components                     */
/* -------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-bottom: 0.5rem;
}

/* Download Card */
.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-warm);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    gap: 1.5rem;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 2.5rem;
}

.file-details h4 {
    margin-bottom: 0.15rem;
    font-family: sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.file-details p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Map responsiveness */
.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    display: block;
}

/* -------------------------------------------------- */
/* Board of Directors Grid                            */
/* -------------------------------------------------- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.board-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.board-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Lora', serif;
    object-fit: cover;
}

.grad-navy-gold {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.board-info h3 {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
}

.role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background-color: rgba(217, 119, 6, 0.05);
}

.board-info .title {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.board-info .institution {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* -------------------------------------------------- */
/* Dues Info Layout                                   */
/* -------------------------------------------------- */
.dues-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.dues-card, .dues-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.dues-info-card address {
    font-style: normal;
    background-color: var(--bg-warm);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.25rem 0;
    line-height: 1.8;
}

/* -------------------------------------------------- */
/* Forms & Form Controls                              */
/* -------------------------------------------------- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 10px;
    padding-left: 10px;
}

label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.section-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* -------------------------------------------------- */
/* Conference Registration Page                       */
/* -------------------------------------------------- */
.registration-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
}

.registration-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 3rem 4rem;
}

.registration-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.info-widget h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.dates-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dates-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.date-badge {
    background-color: var(--primary);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.date-desc {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Checkbox options */
.checkbox-group {
    margin: 1.25rem 0;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-warm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.checkbox-option:hover {
    border-color: var(--accent);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1.25rem;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-option label {
    flex: 1;
    margin-bottom: 0;
    cursor: pointer;
}

.option-desc {
    display: block;
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.option-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    white-space: nowrap;
}

/* Invoice Summary */
.summary-section {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.summary-row span:last-child {
    font-weight: 600;
}

.total-row {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.total-row span:last-child {
    color: #fbbf24; /* Warm Gold */
    font-size: 1.65rem;
}

/* -------------------------------------------------- */
/* Blog and News / Announcements Layout               */
/* -------------------------------------------------- */
.post-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1.25rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-card h2 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.025rem;
    line-height: 1.8;
}

/* -------------------------------------------------- */
/* Footer                                             */
/* -------------------------------------------------- */
.footer-container {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 5rem 0 2rem;
    border-top: 6px solid var(--accent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--bg-white);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-column strong {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* -------------------------------------------------- */
/* Responsive Styles / Media Queries                  */
/* -------------------------------------------------- */
@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
        width: 100%;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 1.5rem;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        background-color: var(--bg-warm);
        margin-top: 0.25rem;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    /* Registration page stacking */
    .registration-layout {
        grid-template-columns: 1fr;
    }
    
    /* Footer stacking */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Dues container stacking */
    .dues-container {
        grid-template-columns: 1fr;
    }
    
    /* Toggle active hamburger state */
    .nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 3.5rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-container {
        padding: 2rem 1.5rem;
    }
    
    .registration-form-card {
        padding: 2rem 1.5rem;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-row {
        margin-bottom: 0;
    }
    
    .download-card {
        flex-direction: column;
        align-items: stretch;
    }
}

/* About Page Logo Styling */
.about-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

    .about-page-logo {
    max-width: 220px;
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.about-page-logo:hover {
    transform: scale(1.03);
}

/* -------------------------------------------------- */
/* Homepage Custom Layout & Countdown Widget          */
/* -------------------------------------------------- */
.home-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.home-banner {
    padding: 7rem 0;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
}

.main-hero-title {
    font-size: 3.25rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem;
}

.welcome-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 1.85rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.welcome-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.countdown-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.widget-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.countdown-item {
    background: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--accent);
}

.countdown-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.25rem;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.event-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-name {
    font-size: 1.35rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.event-meta {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
}

.event-theme {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.event-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.map-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
    
    .home-banner {
        padding: 5rem 0;
    }
    
    .main-hero-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.25rem;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.55rem;
    }
}

/* ================================================== */
/* Custom Styles for Homepage & Countdown             */
/* ================================================== */
.home-container {
    padding: 0;
}

.home-hero {
    background: var(--bg-white);
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.home-hero .lead {
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.home-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.home-col {
    flex: 1;
    min-width: 320px;
}

.event-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tag {
    align-self: flex-start;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.event-card h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.event-meta {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    color: #334155;
    line-height: 1.5;
}

.event-meta strong {
    color: var(--primary);
}

.countdown-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-card h3 {
    color: var(--bg-white);
    font-size: 1.65rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

.countdown-timer {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    width: 100%;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    min-width: 85px;
    flex: 1;
    backdrop-filter: blur(8px);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.countdown-ended {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
}

.map-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.map-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.ml-2 {
    margin-left: 0.75rem;
}

/* ================================================== */
/* Custom Styles for Join & Application Pages         */
/* ================================================== */
.join-cards-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.join-option-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.join-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.join-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.join-option-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.address-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.address-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.address-card address {
    font-style: normal;
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-hero {
        padding: 2rem;
    }
    
    .home-row {
        flex-direction: column;
    }
    
    .join-cards-grid {
        flex-direction: column;
    }
}
