:root {
    /* Color Palette - Fashionable & Clean */
    --primary-color: #2c3e50;
    /* Dark Slate - Sophisticated */
    --accent-green: #2ecc71;
    /* Habitat Green */
    --accent-blue: #3498db;
    /* Habitat Blue */
    --accent-red: #e74c3c;
    /* Habitat Red */
    --accent-orange: #f39c12;
    /* Habitat Orange */

    --text-color: #4a4a4a;
    --text-light: #888888;
    --bg-color: #fdfdfd;
    /* Almost white */
    --card-bg: #ffffff;
    --border-color: #eaeaea;

    /* Spacing */
    --container-width: 1000px;
    --header-height: 80px;

    /* Shadows - Soft & Airy */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    letter-spacing: 0.03em;
    /* Slightly wider for elegance */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

h3 {
    font-size: 1.3rem;
}

/* Section Title Decoration */
.section-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-green), var(--accent-blue));
    border-radius: 3px;
}

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-left: 1rem;
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

.btn-login:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('gv.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --- Hero Logos --- */
.hero-logo-main {
    width: 100px;
    height: auto;
    margin-bottom: 0.3rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-logo-sub {
    height: 35px;
    width: auto;
}

.hero-subtitle-wrapper .hero-subtitle {
    margin-bottom: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* --- Sections --- */
section {
    padding: 6rem 0;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: #fafafa;
}

/* Cards */
.info-card,
.activity-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
}

.info-card {
    padding: 2.5rem;
}

.info-card:hover,
.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.activity-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.activity-content {
    padding: 2rem;
}

.activity-tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input,
.form-select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.form-input:focus,
textarea:focus {
    outline: none;
    background-color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Footer --- */
.footer {
    background-color: white;
    color: var(--text-color);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 1.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* --- Dashboard & Admin (Keep functional but clean) --- */
.dashboard-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

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

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text-color);
}

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

/* Event Card Styles */
.welcome-card,
.event-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-bottom: 2rem;
    gap: 2rem;
}

/* Welcome Section Specifics */
.welcome-text {
    flex-shrink: 0;
}

.welcome-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.welcome-user {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}

/* Header Logout Icon */
.header-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.header-logout-btn:hover {
    background-color: var(--accent-red);
    color: white;
    transform: translateY(-2px);
}

.welcome-actions {
    display: flex;
    /* Changed from grid to flex for better 3-item handling */
    gap: 10px;
    flex-wrap: wrap;
    max-width: 600px;
    justify-content: flex-end;
}

/* Grid was causing issues with odd number of items. Flex wrap is robust. */

/* Event Info */
.event-info {
    flex: 1;
    min-width: 200px;
}

.event-date {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-title-text {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.event-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-answer,
.btn-status,
.btn-edit {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Responsive Styles (Mobile) */
@media (max-width: 768px) {

    .welcome-card,
    .event-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .welcome-actions,
    .event-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .welcome-actions .btn-primary,
    .welcome-actions .btn-secondary,
    .btn-answer,
    .btn-status,
    .btn-edit {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0;
    }

    .welcome-user {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 1.5rem;
        position: relative;
    }

    .nav-list {
        display: none;
    }

    /* Mobile menu needed later */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
        transition: all 0.3s;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 100px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 2rem;
    }

    .nav-list.nav-open {
        right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Hide toggle on desktop */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* --- Page Hero --- */
.page-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
    padding-top: var(--header-height);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* --- Content Sections --- */
.content-section {
    margin-bottom: 5rem;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
}

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

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-accent-light {
    background-color: #e8f6f3;
}

.p-4 {
    padding: 2rem;
}

.rounded {
    border-radius: 12px;
}

/* Three Pillars */
.three-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* --- Domestic Page Specifics --- */
.domestic-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

/* Modern Vertical Timeline */
.timeline-modern {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    /* Reduced from 4rem */
    padding: 1rem 0;
    /* Reduced from 2rem */
}

.timeline-modern::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e0e0e0;
    margin-left: -1px;
}

.timeline-row {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Changed from flex-start to center for better balance in compact mode */
    margin-bottom: 0;
    /* Removed margin to rely on fixed height for spacing */
    position: relative;
    width: 100%;
    height: 100px;
    /* Reduced from 140px */
}

.timeline-time {
    width: 45%;
    text-align: right;
    padding-right: 2rem;
    /* Reduced from 3rem */
    position: relative;
}

.timeline-content-side {
    width: 45%;
    padding-left: 2rem;
    /* Reduced from 3rem */
    text-align: left;
}

/* Connectors */
.timeline-row::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    /* Center vertically */
    transform: translate(-50%, -50%);
    /* Center perfectly */
    width: 12px;
    /* Slightly smaller dot */
    height: 12px;
    background: white;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    z-index: 10;
}

.timeline-month {
    font-size: 1.3rem;
    /* Slightly smaller */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.timeline-detail {
    /* Removed background/shadow for cleaner compact look, just text aligned */
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    position: relative;
}

.timeline-detail p {
    margin: 0;
    line-height: 1.4;
    /* Tighter line height */
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-modern::before {
        left: 20px;
    }

    .timeline-row {
        flex-direction: column;
        margin-bottom: 2rem;
        padding-left: 45px;
    }

    .timeline-time {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-content-side {
        width: 100%;
        padding-left: 0;
    }

    .timeline-row::after {
        left: 20px;
        top: 5px;
    }

    .timeline-detail::before {
        display: none;
    }
}

/* Modern Vertical Timeline */
.timeline-modern {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
    /* Restored spacing */
    padding: 2rem 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e0e0e0;
    margin-left: -1px;
}

.timeline-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    height: 100px;
}

.timeline-time {
    width: 45%;
    text-align: right;
    padding-right: 2rem;
    position: relative;
}

.timeline-content-side {
    width: 45%;
    padding-left: 2rem;
    text-align: left;
}

/* Connectors */
.timeline-row::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    z-index: 10;
}

.timeline-month {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.timeline-detail {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    position: relative;
}

.timeline-detail p {
    margin: 0;
    line-height: 1.4;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-modern::before {
        left: 15px;
    }

    .timeline-row {
        flex-direction: column;
        margin-bottom: 2rem;
        padding-left: 40px;
        height: auto;
        /* Reset fixed height for mobile */
    }

    .timeline-time {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-content-side {
        width: 100%;
        padding-left: 0;
    }

    .timeline-row::after {
        left: 15px;
        top: 6px;
        transform: translateX(-50%);
        /* Reset transform for connector */
    }
}

.domestic-section {
    margin-bottom: 4rem;
}

/* Horizontal Card Tweaks */
.domestic-card-horizontal {
    gap: 2rem;
    /* Add gap between image and text */
    padding-right: 1.5rem;
    /* Ensure padding on text side */
}

.domestic-card-horizontal img {
    border-radius: 12px 0 0 12px;
    /* Smooth corners on image side */
}

/* Center alignment helper */
.text-center {
    text-align: center;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

.domestic-section-title {
    text-align: center;
    /* Center aligned */
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Sub-section titles (like Trash Picking, Agri) */
.domestic-subsection-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.domestic-subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    /* Default accent */
}

.domestic-subsection-title.trash::after {
    background: var(--accent-blue);
}

.domestic-subsection-title.agri::after {
    background: var(--accent-green);
}

.domestic-subsection-title.community::after {
    background: var(--accent-red);
}

.domestic-section p.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-color-light);
}

.domestic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.domestic-grid-wide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.domestic-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.domestic-img-placeholder {
    width: 100%;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
}

.domestic-content {
    padding: 1.5rem;
}

.pillar-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sub-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Reason Grid */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.reason-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(46, 204, 113, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Reason Grid Centered */
.reason-grid.centered-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .reason-grid.centered-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Horizontal Timeline */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-top: 2rem;
    margin-top: 3rem;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--text-light);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 0 10px;
}

.timeline-point {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-text p {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* Mobile Timeline (Vertical) */
@media (max-width: 768px) {
    .timeline-horizontal {
        flex-direction: column;
        padding-top: 0;
        margin-top: 0;
        border-left: 3px solid #e0e0e0;
        padding-left: 2rem;
        overflow: visible;
    }

    .timeline-horizontal::before {
        display: none;
    }

    .timeline-step {
        text-align: left;
        margin-bottom: 2rem;
        display: block;
        width: 100%;
    }

    .timeline-point {
        position: absolute;
        left: -2.6rem;
        top: 0;
        margin: 0;
    }
}



/* Horizontal Card for Domestic Page */
.domestic-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: auto;
}

.domestic-card-horizontal img {
    width: 50%;
    height: 100%;
    aspect-ratio: auto;
    /* Let image decide or fill container height if needed, but flex handles it */
    object-fit: cover;
    display: block;
}

.domestic-card-horizontal .domestic-content {
    width: 55%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .domestic-card-horizontal {
        flex-direction: column;
    }

    .domestic-card-horizontal img {
        width: 100%;
        border-radius: 12px 12px 0 0;
        /* Reset radius for vertical stack */
        height: 250px;
        /* Fixed height for consistency */
    }

    .domestic-card-horizontal .domestic-content {
        width: 100%;
    }
}

/* Mobile Timeline (Vertical) */
.history-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.history-year-group {
    margin-bottom: 3rem;
    position: relative;
}

.history-year-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    display: inline-block;
    padding-right: 2rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.history-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

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

.history-img-placeholder {
    height: 150px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
}

.history-info {
    padding: 1rem;
}

.history-season {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.history-country {
    display: block;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 0.3rem;
}

.history-team {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.faq-a {
    padding-left: 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-hero {
        height: 50vh;
    }
}