/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #061a12;
    --green-primary: #0f3b26;
    --green-mid: #143d2c;
    --green-light: #e8f5e9;
    --gold: #c88616;
    --gold-light: #d48a17;
    --gold-dark: #b37313;
    --cream: #ebd8bd;
    --cream-light: #f5f0e3;
    --white: #ffffff;
    --black: #111111;
    --gray-700: #1a1a1a;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 30px;
    --radius-full: 50%;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Sinhala', sans-serif;
    color: var(--black);
    background: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

.text-gold {
    color: var(--gold) !important;
}

.text-white {
    color: var(--white) !important;
}

.bg-gold {
    background: var(--gold) !important;
}

.underline-gold {
    border-bottom: 2px solid var(--gold);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===== ANIMATIONS & TRANSITIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page load entrance animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-down {
    animation: slideDown 0.6s ease forwards;
}

/* Scroll reveal utility classes */
.reveal-init {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-init.slide-up {
    transform: translateY(40px);
}

.reveal-init.slide-left {
    transform: translateX(45px);
}

.reveal-init.slide-right {
    transform: translateX(-45px);
}

.reveal-init.scale-in {
    transform: scale(0.95);
}

.reveal-active {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger delay utilities */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}


/* ===== TOP BAR ===== */
.top-bar {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.78rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-social {
    display: flex;
    gap: 10px;
}

.top-bar-social a {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
    transition: opacity var(--transition);
}

.top-bar-social a:hover {
    opacity: 1;
}

.top-bar-search {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.top-bar-search:hover {
    opacity: 1;
}


/* ===== MAIN HEADER ===== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease forwards;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 100px;

    object-fit: contain;
    /* background: var(--cream); */
    /* border-radius: var(--radius-full); */
    padding: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-si {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.3;
}

.logo-en {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* NAV */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.main-nav a.active {
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 8px 22px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background var(--transition);
}

.btn-primary.header-btn,
#btn-applications {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 8px 26px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
    border: none;
}

#btn-applications:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--gray-700);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--green-dark);
}


/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.hero-wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave-divider .shape-fill {
    fill: var(--cream-light);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns Zoom Effect */
@keyframes kenBurnsZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    transition: transform 1.2s ease-in-out;
    transform: scale(1.02);
    /* Default slightly scaled up to avoid edge flashes */
}

.slide.active .slide-bg {
    animation: kenBurnsZoom 8s ease-out forwards;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 40, 20, 0.75) 0%, rgba(20, 40, 20, 0.35) 50%, transparent 100%);
    z-index: 2;
}

.slide-container {
    position: absolute;
    inset: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 3;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-40%);
    color: var(--white);
    max-width: 550px;
    z-index: 4;
    opacity: 0;
    /* Inactive transition: fade out quickly, no delay */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(-50%);
    /* Active transition: fade/slide in slowly, with a delay so the background crossfades first */
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s,
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.slide-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.slide-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.slide-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 22px;
    width: fit-content;
}

.slide-badge-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: var(--cream);
    border-radius: var(--radius-full);
    padding: 3px;
}

.slide-badge-si {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.slide-badge-en {
    font-size: 0.68rem;
    opacity: 0.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.btn-hero-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}


/* ===== OUR CITY OUR PRIDE ===== */
.city-pride-section {
    padding: 70px 0;
    background: var(--cream-light);
}

.city-pride-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.city-pride-left {
    flex: 0 0 320px;
}

.city-pride-emblem {
    margin-bottom: 16px;
}

.emblem-img {
    width: 80px;
    height: auto;
    object-fit: contain;
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 8px;
}

.section-title-si {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.5;
    margin-bottom: 16px;
}

.city-pride-desc {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-outline-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-outline-green:hover {
    background: var(--green-primary);
    color: var(--white);
}

.btn-outline-green.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-solid-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid var(--green-primary);
}

.btn-solid-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-primary.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: 30px;
}

.city-pride-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pride-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pride-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pride-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-300);
}

.pride-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.pride-card:hover .pride-card-img img {
    transform: scale(1.05);
}

.pride-card-caption {
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--gray-700);
}


/* ===== SERVICES SECTION ===== */
.services-wrapper {
    background: var(--green-primary);
    padding: 60px 0;
}

.services-section-block {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.services-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.services-grid.layout-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.service-rounded-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-rounded-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-rounded-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    transition: transform var(--transition);
}

.service-rounded-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-rounded-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform var(--transition);
}

.service-rounded-card:hover .service-rounded-btn {
    transform: translateX(4px);
}


/* ===== CHAIRMAN'S MESSAGE ===== */
.chairman-section-alt {
    padding: 70px 0;
    background: var(--cream-light);
    position: relative;
    overflow: hidden;
}

.chairman-section-alt::before,
.chairman-section-alt::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    background-image: url('../img/bg02.png');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.chairman-section-alt::before {
    left: 0;
    background-position: left center;
}

.chairman-section-alt::after {
    right: 0;
    background-position: right center;
    transform: scaleX(-1);
}

.container-chairman {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 40px;
    padding: 50px 60px;
    box-shadow: var(--shadow-sm);
}

.chairman-bg-quote-mark {
    position: absolute;
    top: -20px;
    right: 40px;
    font-size: 15rem;
    font-family: serif;
    color: var(--gold);
    line-height: 1;
    z-index: 0;
}

.chairman-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.chairman-photo-area-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    overflow: hidden;
    background: var(--gray-300);
}

.chairman-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chairman-text-box {
    flex: 1;
}

.chairman-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.chairman-msg-body {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.chairman-sign {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 12px;
}


/* ===== NEWS & NOTICES ===== */
.news-section {
    padding: 70px 0;
    background: white;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}

.news-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-title-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
}

.news-title-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-300);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    text-align: center;
    line-height: 1.2;
}

.news-date-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
}

.news-date-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.news-card-body {
    padding: 18px 20px;
}

.news-card-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--transition);
}

.news-read-more:hover {
    gap: 10px;
    color: var(--gold-dark);
}


/* ===== STATS BAR ===== */
.stats-section-transparent {
    background: transparent;
    padding: 20px 0 50px;
    position: relative;
    overflow: hidden;
}

.stats-section-transparent::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background-image: url('../img/bg-before-footer.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.stats-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon-outline {
    font-size: 2.2rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-text-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-label-small {
    font-size: 0.85rem;
    color: var(--black);
    font-weight: 600;
}

.stat-text-stacked {
    display: flex;
    flex-direction: column;
}

.stat-title-dark {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.stat-subtitle-dark {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
}


/* ===== FOOTER ===== */
.main-footer {
    background: var(--green-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: var(--cream);
    border-radius: var(--radius-full);
    padding: 4px;
}

.footer-logo-si {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-logo-en {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
}

.footer-brand-desc {
    font-size: 0.82rem;
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social span {
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    transition: background var(--transition);
}

.footer-social-icons a:hover {
    background: var(--gold);
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-light);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.82rem;
    opacity: 0.75;
    transition: opacity var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 6px;
    color: var(--gold-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    opacity: 0.8;
}

.footer-contact li i {
    margin-top: 4px;
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.6;
}


/* ===== RESPONSIVE ===== */

/* --- 1024px: Tablets --- */
@media (max-width: 1024px) {
    .services-grid.layout-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .city-pride-inner {
        flex-direction: column;
    }

    .city-pride-left {
        flex: auto;
    }

    .stats-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        padding: 0 10px;
    }
}

/* --- 768px: Mobile --- */
@media (max-width: 768px) {

    /* ---- Mobile Nav ---- */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        padding: 12px 0;
        z-index: 999;
        border-top: 3px solid var(--gold);
        animation: slideDown 0.35s ease forwards;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 24px;
        border-radius: 0;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .main-nav a:hover {
        background: var(--cream-light);
    }

    .main-nav a.active {
        background: var(--cream-light);
        border-left: 4px solid var(--gold);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        background: var(--cream-light);
    }

    .header-search-btn {
        display: none;
    }

    #btn-applications {
        padding: 6px 16px;
        font-size: 0.78rem;
    }

    /* ---- Hero ---- */
    .hero-slider {
        height: 480px;
    }

    .slide-content {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }

    .slide-title-main {
        font-size: 2.2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-description {
        font-size: 0.85rem;
    }

    .slider-arrow {
        display: none;
    }

    .hero-wave-divider svg {
        height: 48px;
    }

    /* ---- Services ---- */
    .services-section-block {
        border-radius: 0;
        padding: 40px 0;
        margin: 0;
    }

    .services-grid.layout-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .services-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    /* ---- City Pride ---- */
    .city-pride-inner {
        flex-direction: column;
        gap: 30px;
    }

    .city-pride-left {
        flex: auto;
    }

    .city-pride-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* ---- Chairman ---- */
    .container-chairman {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .chairman-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .chairman-photo-area-circle {
        width: 140px;
        height: 140px;
    }

    .chairman-bg-quote-mark {
        font-size: 8rem;
        top: -10px;
        right: 20px;
    }

    .chairman-title {
        font-size: 1.1rem;
    }

    /* ---- News ---- */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* ---- Stats ---- */
    .stats-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 0 10px;
    }

    .stat-text-large {
        font-size: 2rem;
    }

    /* ---- Footer ---- */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* ---- Top Bar ---- */
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .top-bar-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar-right span {
        font-size: 0.72rem;
    }

    /* ---- Responsive Header Spacing ---- */
    .header-inner {
        padding: 10px 16px;
        gap: 12px;
    }

    .logo-img {
        width: 46px;
        height: 46px;
    }

    .logo-si {
        font-size: 0.88rem;
    }

    .logo-en {
        font-size: 0.65rem;
    }
}

/* --- 480px: Small phones --- */
@media (max-width: 480px) {
    .header-inner {
        padding: 8px 10px;
        gap: 6px;
    }

    .logo-img {
        width: 36px;
        height: 36px;
        padding: 2px;
    }

    .logo-text {
        gap: 0;
    }

    .logo-si {
        font-size: 0.72rem;
    }

    .logo-en {
        display: none;
    }

    #btn-applications {
        padding: 5px 10px;
        font-size: 0.7rem;
        border-radius: 4px;
    }

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: 1.1rem;
    }

    .hero-slider {
        height: 400px;
    }

    .hero-wave-divider svg {
        height: 36px;
    }

    .slide-title-main {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .slide-subtitle {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .slide-description {
        font-size: 0.75rem;
        margin-top: 0;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .btn-hero-primary {
        padding: 7px 16px;
        font-size: 0.75rem;
    }

    .services-grid.layout-6 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-rounded-card {
        padding: 16px 8px;
    }

    .service-rounded-icon {
        font-size: 1.6rem;
    }

    .service-rounded-name {
        font-size: 0.78rem;
    }

    .city-pride-right {
        grid-template-columns: 1fr;
    }

    .chairman-photo-area-circle {
        width: 120px;
        height: 120px;
    }

    .stat-item {
        gap: 10px;
    }

    .stat-icon-outline {
        font-size: 1.6rem;
    }

    .stat-text-large {
        font-size: 1.6rem;
    }

    .top-bar {
        display: none;
    }
}


/* ===== PLACEHOLDER IMAGE STYLES ===== */
img[src*="images/"] {
    background: linear-gradient(135deg, var(--gray-300), var(--cream));
    min-height: 50px;
}

.slide-bg[src*="images/"] {
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 40%, #3a7550 100%);
    min-height: 100%;
}

.pride-card-img img[src*="images/"] {
    min-height: 200px;
}

.news-card-img img[src*="images/"] {
    min-height: 200px;
}

/* Dropdown Container */
.main-nav ul li.nav-dropdown {
    position: relative;
}

/* Hide the dropdown menu by default and set up a smooth transition */
.main-nav ul li .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 59, 38, 0.1);
    min-width: 240px;
    padding: 12px 0;
    z-index: 1000;
    border-radius: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--gold);
}

/* Show the dropdown menu on hover */
.main-nav ul li.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chevron rotation animation on parent hover */
.main-nav ul li.nav-dropdown:hover>a i {
    transform: rotate(180deg);
    color: var(--gold);
}

.main-nav ul li.nav-dropdown>a i {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

/* Dropdown link styles */
.main-nav ul li .dropdown-menu li {
    display: block;
    margin: 0;
}

.main-nav ul li .dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.main-nav ul li .dropdown-menu li a:hover,
.main-nav ul li .dropdown-menu li a.active {
    background-color: var(--cream-light);
    color: var(--gold-dark);
    border-left-color: var(--gold);
    padding-left: 28px;
}