/* ===== MOTTANET DESIGN SYSTEM ===== */
:root {
    --background: hsl(213, 60%, 12%);
    --foreground: hsl(210, 40%, 96%);
    --card: hsl(213, 55%, 16%);
    --card-foreground: hsl(210, 40%, 96%);
    --primary: hsl(32, 95%, 55%);
    --primary-foreground: hsl(213, 60%, 12%);
    --secondary: hsl(213, 50%, 20%);
    --secondary-foreground: hsl(210, 40%, 96%);
    --muted-foreground: hsl(210, 20%, 65%);
    --border: hsl(213, 40%, 25%);
    --hero-gradient: linear-gradient(135deg, hsl(213, 60%, 12%) 0%, hsl(213, 55%, 18%) 50%, hsl(213, 50%, 22%) 100%);
    --card-gradient: linear-gradient(180deg, hsl(213, 55%, 18%) 0%, hsl(213, 55%, 14%) 100%);
    --accent-glow: 0 0 30px hsla(32, 95%, 55%, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary);
}

.text-foreground {
    color: var(--foreground);
}

.text-muted {
    color: var(--muted-foreground);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-count-up {
    animation: countUp 0.5s ease-out forwards;
    opacity: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hero-gradient);
    text-align: center;
}

.hero-glow {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.hero-glow .blob1 {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(100px);
}

.hero-glow .blob2 {
    position: absolute;
    bottom: 40px;
    right: 80px;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-tag {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.hero .subtitle {
    color: var(--muted-foreground);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== ABOUT INTRO ===== */
.about-intro {
    padding: 80px 24px;
    text-align: center;
}

.about-intro .inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 32px;
}

.about-intro .desc {
    color: var(--muted-foreground);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-intro .desc strong {
    color: var(--foreground);
}

.about-intro .quote {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    font-style: italic;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 80px 24px;
    background: var(--card-gradient);
}

.timeline-section h2,
.timeline-section .sub {
    text-align: center;
}

.timeline-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-section .sub {
    color: var(--muted-foreground);
    margin-bottom: 64px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-card {
    flex: 0 0 calc(50% - 44px);
    background: var(--card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timeline-card .year {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 4px;
}

.timeline-card p {
    color: var(--muted-foreground);
    margin-top: 8px;
}

.timeline-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--accent-glow);
    position: relative;
    z-index: 2;
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary-foreground);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-spacer {
    flex: 0 0 calc(50% - 44px);
}

.timeline-item.left .timeline-card {
    text-align: right;
}

.timeline-item.right .timeline-card {
    order: 3;
    text-align: left;
}

.timeline-item.right .timeline-spacer {
    order: 1;
}

.timeline-item.right .timeline-icon {
    order: 2;
}

@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-card,
    .timeline-spacer {
        flex: auto;
        width: 100%;
        text-align: center !important;
    }

    .timeline-spacer {
        display: none;
    }

    .timeline-item.right .timeline-card {
        order: unset;
    }
}

/* ===== STATS ===== */
.stats-section {
    padding: 80px 24px;
}

.stats-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.stats-section .sub {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 64px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: hsla(32, 95%, 55%, 0.5);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: hsla(32, 95%, 55%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}

.stat-desc {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ===== MISSION / VISION / VALUES ===== */
.identity-section {
    padding: 80px 24px;
    background: var(--card-gradient);
}

.identity-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 64px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.mv-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s;
}

.mv-card:hover {
    border-color: hsla(32, 95%, 55%, 0.5);
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mv-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary-foreground);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.mv-card p {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

.values-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s;
}

.value-card:hover {
    border-color: hsla(32, 95%, 55%, 0.5);
}

.value-card svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin: 0 auto 12px;
    display: block;
}

.value-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ===== MAP ===== */
.map-section {
    padding: 80px 24px;
}

.map-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.map-section .sub {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#map {
    height: 500px;
    width: 100%;
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.branch-tag {
    font-size: 0.75rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer .brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.site-footer .tagline {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    max-width: 600px;
    margin: 0 auto;
}

.site-footer .copy {
    color: var(--muted-foreground);
    font-size: 0.75rem;
    margin-top: 16px;
}

/* Leaflet override */
.custom-marker {
    background: none !important;
    border: none !important;
}