/* ==========================================================================
   Global Reset and Base Styles
   ========================================================================== */
:root {
    --primary-color: #1E3A8A;
    --primary-light: #EFF6FF;
    --blue: #0d6efd;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #d63384;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #198754;
    --teal: #20c997;
    --cyan: #0dcaf0;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #1E3A8A;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --primary-blue: #0d6efd;
    --secondary-purple: #6610f2;
    --accent-orange: #fd7e14;
    --dark-gray: #212529;
    --light-gray: #f8f9fa;
    --card-width: 360px;
    --card-height: 320px;
    --font-base: 1rem;
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9fafb;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: var(--font-base);
    line-height: 1.6;
}

/* ==========================================================================
   Navbar Styles
   ========================================================================== */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    padding: clamp(0.75rem, 2vw, 1rem) 0;
}

.navbar-custom.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
}

.nav-link-custom {
    position: relative;
    color: var(--white);
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
    margin: 0 clamp(0.2rem, 0.5vw, 0.25rem);
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.nav-link-custom:hover {
    color: #BFDBFE;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

.nav-link-custom:hover .nav-chevron {
    opacity: 1;
}

.nav-chevron {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: clamp(0.2rem, 0.5vw, 0.25rem);
}

.btn-login {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 500;
    margin-left: clamp(0.75rem, 2vw, 1rem);
    border: none;
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.btn-login:hover {
    background-color: var(--primary-light);
    text-decoration: none;
}

.btn-login a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.mobile-menu {
    border-top: 1px solid #3B82F6;
    margin-top: clamp(0.4rem, 1vw, 0.5rem);
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: var(--white);
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.mobile-nav-link:hover {
    background-color: #3B82F6;
    text-decoration: none;
}

.navbar-toggler-container {
    margin-left: auto;
}

.navbar-toggler {
    background-color: #ffffff;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: clamp(1rem, 3vw, 1.5rem);
    right: clamp(1rem, 3vw, 1.5rem);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 15%;
    width: clamp(40px, 10vw, 50px);
    height: clamp(40px, 10vw, 50px);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Hero Section with optimized wave rendering
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    background-color: white;
    overflow: hidden;
    margin-top: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 58, 138, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 2rem;
    color: white;
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: var(--font-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.btn-hero-cta {
    background-color: white;
    color: #1E3A8A;
    font-weight: 600;
    font-size: var(--font-lg);
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-hero-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #1E3A8A;
    transform: translateY(-2px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 120px;
    overflow: hidden;
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
    image-rendering: optimizeQuality;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background-color: rgba(248, 249, 250, 0.9);
}

.about-section h2 span {
    background: linear-gradient(90deg, var(--blue), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-img {
    width: 100%;
    height: clamp(200px, 50vw, 450px);
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: rgba(13, 110, 253, 0.15);
    width: clamp(3rem, 8vw, 3.5rem);
    height: clamp(3rem, 8vw, 3.5rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--blue);
}

.about-section h2 {
    font-weight: 700;
    font-size: var(--font-3xl);
    color: var(--gray-dark);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.about-section p {
    font-size: var(--font-lg);
    color: var(--gray);
    max-width: clamp(90%, 80vw, 650px);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.about-section ul li {
    font-size: var(--font-sm);
    color: #495057;
}

.about-section .btn-outline-primary {
    font-weight: 600;
    border-radius: 30px;
    padding: clamp(10px, 2vw, 12px) clamp(25px, 5vw, 30px);
    font-size: var(--font-sm);
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.about-section .btn-outline-primary:hover {
    background-color: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* ==========================================================================
   Announcements Section
   ========================================================================== */
.announcements-section {
    background-color: #f8fafc;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.announcements-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.announcements-header h2 {
    font-weight: 700;
    font-size: var(--font-2xl);
    color: #1e293b;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
}

.announcements-header h2 i {
    color: #3b82f6;
    font-size: var(--font-lg);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(1.25rem, 3vw, 1.5rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: var(--font-sm);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#announcements-container,
#hidden-announcements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    padding: 0;
}

#announcements-container {
    animation: force-reflow 0.1s;
}

@keyframes force-reflow {
    from { transform: translateY(0); }
    to { transform: translateY(0); }
}

#hidden-announcements {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
}

#hidden-announcements.show {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}

.announcement-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: var(--card-height);
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
    margin-bottom: 2rem;
}

.announcement-card:hover {
    transform: translateY(-5px);
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--type-color), var(--type-color-light));
}

.announcement-card[data-type="urgent"] {
    --type-color: #ef4444;
    --type-color-light: #fca5a5;
    --type-rgb: 239, 68, 68;
}

.announcement-card[data-type="event"] {
    --type-color: #3b82f6;
    --type-color-light: #93c5fd;
    --type-rgb: 59, 130, 246;
}

.announcement-card[data-type="notice"] {
    --type-color: #10b981;
    --type-color-light: #6ee7b7;
    --type-rgb: 16, 185, 129;
}

.card-body {
    padding: clamp(1.5rem, calc(var(--card-width) * 0.05), 2rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.announcement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(0.75rem, calc(var(--card-width) * 0.025), 1.25rem);
    flex-wrap: wrap;
    gap: clamp(0.5rem, calc(var(--card-width) * 0.015), 0.75rem);
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, calc(var(--card-width) * 0.015), 8px);
    font-size: var(--font-xs);
    font-weight: 600;
    padding: clamp(0.35rem, calc(var(--card-width) * 0.0175), 0.6rem) clamp(0.6rem, calc(var(--card-width) * 0.03), 1.2rem);
    border-radius: 50px;
    background-color: rgba(var(--type-rgb), 0.2);
    color: var(--type-color);
    width: 5rem;
}

.type-icon {
    width: clamp(12px, calc(var(--card-width) * 0.035), 16px);
    height: clamp(12px, calc(var(--card-width) * 0.035), 16px);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.announcement-date {
    font-size: var(--font-xs);
    color: #64748b;
    display: flex;
    align-items: center;
    gap: clamp(4px, calc(var(--card-width) * 0.01), 6px);
}

.announcement-title {
    font-weight: 700;
    font-size: var(--font-lg);
    color: #1e293b;
    margin: 0 0 clamp(0.75rem, calc(var(--card-width) * 0.025), 1.25rem) 0;
    line-height: 1.4;
    word-break: break-word;
    margin-top: 1rem;
}

.announcement-description {
    color: #475569;
    font-size: var(--font-sm);
    line-height: 1.8;
    margin-bottom: clamp(1rem, calc(var(--card-width) * 0.035), 1.5rem);
    margin-top: 0.5rem;
    flex: 1;
    word-break: break-word;
}

.read-more-btn {
    width: 100%;
    max-width: clamp(140px, calc(var(--card-width) * 0.45), 220px);
    padding: clamp(0.5rem, calc(var(--card-width) * 0.02), 0.85rem);
    border-radius: 10px;
    font-weight: 600;
    font-size: var(--font-sm);
    background: transparent;
    color: var(--type-color);
    border: 2px solid var(--type-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, calc(var(--card-width) * 0.015), 8px);
    align-self: center;
    margin-top: auto;
}

.read-more-btn:hover {
    background: rgba(var(--type-rgb), 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.announcement-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.announcement-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: clamp(360px, 90vw, 800px);
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.popup-header {
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
    background-color: var(--light);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-title {
    font-weight: 700;
    font-size: var(--font-xl);
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.close-btn {
    background: none;
    border: none;
    font-size: var(--font-lg);
    color: #64748b;
    cursor: pointer;
    padding: clamp(0.25rem, 0.75vw, 0.5rem);
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #1e293b;
}

.popup-body {
    padding: clamp(1.5rem, 3vw, 2rem);
    flex: 1;
}

.popup-body .announcement-badge {
    font-size: var(--font-sm);
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    width: auto;
    min-width: 6rem;
}

.popup-body .type-icon {
    width: clamp(16px, 2vw, 20px);
    height: clamp(16px, 2vw, 20px);
}

.popup-description {
    color: #475569;
    font-size: var(--font-md);
    line-height: 1.8;
    word-break: break-word;
    margin: 0;
    white-space: pre-line;
    text-align: justify;
}

.popup-footer {
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
    background-color: var(--light);
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(150px, 40vw, 200px);
    width: 100%;
}

.loading-spinner {
    width: clamp(1.5rem, 4vw, 2rem);
    height: clamp(1.5rem, 4vw, 2rem);
    border: 0.3em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
    color: #3b82f6;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.chevron-down {
    transition: transform 0.3s ease;
}

.chevron-down.rotated {
    transform: rotate(180deg);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.section-intro {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.section-intro h2 {
    font-size: var(--font-3xl);
    font-weight: 700;
}

.section-intro h2 span {
    background: linear-gradient(90deg, var(--blue), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro .badge {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05em;
    border-radius: 999px;
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 600;
    font-size: var(--font-xs);
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(1rem, 2vw, 1.25rem);
}

.section-intro p {
    font-size: var(--font-lg);
    color: var(--gray);
    max-width: clamp(90%, 80vw, 700px);
    margin: 0 auto;
    line-height: 1.7;
}

.service-card {
    transition: all 0.3s ease;
    position: relative;
    background-color: var(--white);
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: clamp(50px, 12vw, 60px);
    height: clamp(50px, 12vw, 60px);
    font-size: clamp(24px, 5vw, 28px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h5 {
    font-weight: 600;
    margin-top: clamp(15px, 4vw, 20px);
    font-size: var(--font-lg);
}

.service-card p {
    font-size: var(--font-sm);
    line-height: 1.6;
}

.cta-btn .btn {
    font-weight: 600;
    border-radius: 30px;
    padding: clamp(10px, 2vw, 12px) clamp(25px, 5vw, 30px);
    font-size: var(--font-sm);
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

/* ==========================================================================
   Organization Section
   ========================================================================== */
.org-section {
    padding: clamp(4rem, 10vw, 6rem) 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, #f1f5f9 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
}

.section-intro {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.section-intro h2 {
    font-size: var(--font-3xl);
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.section-intro .badge {
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    color: var(--primary-blue);
    font-weight: 600;
    padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
    border-radius: 999px;
    font-size: var(--font-xs);
}

.section-intro p {
    font-size: var(--font-lg);
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 32vw, 320px), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
}

.council-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.council-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: clamp(220px, 55vw, 260px);
    position: relative;
    overflow: hidden;
    background-color: #e5e7eb;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.council-card:hover .card-image::before {
    opacity: 0.7;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.council-card:hover .card-image img {
    transform: scale(1.05);
}

.card-initials {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4rem, 10vw, 5rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.council-card:hover .card-initials {
    opacity: 0.9;
}

.card-info {
    padding: clamp(1.5rem, 4vw, 2rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: var(--white);
}

.card-name {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: clamp(0.3rem, 0.8vw, 0.5rem);
    font-size: var(--font-lg);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    font-size: var(--font-sm);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: clamp(0.75rem, 2vw, 1rem);
}

.card-position::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.council-card:hover .card-position::after {
    width: 70%;
}

.card-description {
    color: var(--gray);
    font-size: var(--font-sm);
    line-height: 1.8;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    flex: 1;
}

.role-badge {
    position: absolute;
    top: clamp(1rem, 2.5vw, 1.25rem);
    right: clamp(1rem, 2.5vw, 1.25rem);
    background: linear-gradient(90deg, var(--accent-orange), #ff922b);
    color: var(--white);
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
    border-radius: 50px;
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: transform 0.3s ease;
}

.council-card:hover .role-badge {
    transform: scale(1.05);
}

.captain-card {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--primary-blue);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.captain-card .card-image {
    height: clamp(280px, 65vw, 340px);
}

.captain-card .card-image img {
    object-fit: cover;
}

.captain-card .card-name {
    font-size: var(--font-xl);
    font-weight: 800;
}

.captain-card .card-position {
    font-size: var(--font-lg);
}

.captain-card .role-badge {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1e293b;
    color: var(--white);
    padding: clamp(2rem, 6vw, 3rem) clamp(0.5rem, 2vw, 1rem);
    position: relative;
}

.footer-title {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    color: var(--white);
}

.footer-map {
    height: clamp(10rem, 30vw, 12rem);
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #334155;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-contact-item,
.footer-hours-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.4rem, 1vw, 0.5rem);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.footer-icon {
    color: #60a5fa;
    margin-top: clamp(0.2rem, 0.5vw, 0.25rem);
    flex-shrink: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    font-size: var(--font-sm);
}

.footer-link:hover {
    color: #60a5fa;
}

.footer-quick-links {
    list-style: none;
    padding-left: 0;
}

.footer-quick-links li {
    margin-bottom: clamp(0.4rem, 1vw, 0.5rem);
}

.footer-quick-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    font-size: var(--font-sm);
}

.footer-quick-links a:hover {
    color: #60a5fa;
}

.footer-quick-links a::before {
    content: "›";
    color: #60a5fa;
    margin-right: clamp(0.4rem, 1vw, 0.5rem);
}

.social-links {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.social-link {
    background-color: #1e40af;
    color: var(--white);
    width: clamp(2rem, 5vw, 2.5rem);
    height: clamp(2rem, 5vw, 2.5rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: #1e3a8a;
    color: var(--white);
}

.footer-divider {
    height: 1px;
    background-color: #334155;
    margin: clamp(1.5rem, 4vw, 2rem) 0;
}

.footer-copyright {
    color: #94a3b8;
    text-align: center;
    font-size: var(--font-xs);
}

.footer-logo-container {
    margin-top: clamp(1.5rem, 4vw, 2rem);
    width: 100%;
}

.footer-logos {
    display: flex;
    justify-content: right;
    gap: clamp(1rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.footer-logo-img {
    height: auto;
    max-height: clamp(80px, 25vw, 120px);
    width: auto;
    max-width: clamp(80px, 25vw, 120px);
    object-fit: contain;
}

/* ==========================================================================
   Profile Image Link
   ========================================================================== */
.profile-image-link {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Ultra-Wide Desktop (>1920px) */
@media (min-width: 1920px) {
    .hero-section {
        height: 600px;
    }

    .hero-content {
        padding: clamp(3rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
    }

    .hero-text-container {
        max-width: 700px;
    }

    .hero-title {
        font-size: var(--font-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-xl);
        max-width: 600px;
    }

    .hero-logo-container {
        display: flex;
        width: 20rem;
        height: 20rem;
    }

    .announcements-section {
        padding: 4rem 0;
    }

    .announcements-wrapper {
        padding: 0 3rem;
    }

    #announcements-container,
    #hidden-announcements {
        gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
    }

    .announcement-popup {
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .popup-content {
        max-width: clamp(400px, 80vw, 900px);
        padding: clamp(2rem, 4vw, 2.5rem);
    }

    .popup-title {
        font-size: var(--font-2xl);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-md);
        padding: clamp(0.6rem, 1.8vw, 0.9rem) clamp(0.9rem, 2.5vw, 1.2rem);
        min-width: 7rem;
    }

    .popup-body .type-icon {
        width: clamp(18px, 2.2vw, 22px);
        height: clamp(18px, 2.2vw, 22px);
    }

    .popup-description {
        font-size: var(--font-lg);
    }

    .about-img {
        height: 500px;
    }

    .section-intro {
        padding: 0 3rem;
    }

    .council-grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        gap: 3rem;
    }

    .captain-card .card-image {
        height: 380px;
    }

    .footer {
        padding: 4rem 2rem;
    }

    .footer-logo-container {
        position: absolute;
        right: 2rem;
        top: 2rem;
    }

    .footer-logo-img {
        max-height: 180px;
        max-width: 180px;
    }
}

/* Large Desktop (1200px-1919px) */
@media (min-width: 1200px) and (max-width: 1919.98px) {
    .hero-section {
        height: 550px;
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
        padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
    }

    .hero-text-container {
        max-width: 50%;
    }

    .hero-title {
        font-size: var(--font-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-lg);
    }

    .hero-logo-container {
        display: flex;
        width: 18rem;
        height: 18rem;
    }

    .announcements-wrapper {
        padding: 0 2rem;
    }

    #announcements-container,
    #hidden-announcements {
        gap: 1.75rem;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
    }

    .announcement-popup {
        padding: clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .popup-content {
        max-width: clamp(360px, 85vw, 800px);
    }

    .popup-title {
        font-size: var(--font-xl);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-sm);
        padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
        min-width: 6rem;
    }

    .popup-body .type-icon {
        width: clamp(16px, 2vw, 20px);
        height: clamp(16px, 2vw, 20px);
    }

    .popup-description {
        font-size: var(--font-md);
    }

    .about-img {
        height: 450px;
    }

    .council-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .captain-card .card-image {
        height: 340px;
    }

    .footer-logo-container {
        position: absolute;
        right: 1rem;
        top: 1rem;
        width: auto;
        margin-top: 0;
    }

    .footer-logos {
        justify-content: flex-end;
    }

    .footer-logo-img {
        max-height: 150px;
        max-width: 150px;
    }
}

/* Desktop (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        height: 500px;
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-around;
        align-items: center;
        padding: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2rem);
    }

    .hero-text-container {
        max-width: 50%;
    }

    .hero-title {
        font-size: var(--font-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-md);
        max-width: 90%;
    }

    .hero-logo-container {
        display: flex;
        width: 16rem;
        height: 16rem;
    }

    .announcements-wrapper {
        padding: 0 1.5rem;
    }

    #announcements-container,
    #hidden-announcements {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
    }

    .announcement-popup {
        padding: clamp(1rem, 2vw, 1.5rem);
    }

    .popup-content {
        max-width: clamp(340px, 90vw, 700px);
    }

    .popup-title {
        font-size: var(--font-lg);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-xs);
        padding: clamp(0.4rem, 1.2vw, 0.6rem) clamp(0.6rem, 1.8vw, 0.9rem);
        min-width: 5.5rem;
    }

    .popup-body .type-icon {
        width: clamp(14px, 1.8vw, 18px);
        height: clamp(14px, 1.8vw, 18px);
    }

    .popup-description {
        font-size: var(--font-sm);
    }

    .about-img {
        height: 400px;
    }

    .council-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }

    .card-image {
        height: 240px;
    }

    .captain-card .card-image {
        height: 300px;
    }

    .footer-logo-container {
        position: static;
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }

    .footer-logos {
        justify-content: center;
    }

    .footer-logo-img {
        max-height: 110px;
        max-width: 110px;
    }
}

/* Tablet (768px-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        height: 450px;
    }

    .hero-content {
        flex-direction: column;
        padding: clamp(1.5rem, 2vw, 2rem) clamp(1rem, 1.5vw, 1.5rem);
    }

    .hero-text-container {
        max-width: 90%;
    }

    .hero-title {
        font-size: var(--font-xl);
    }

    .hero-subtitle {
        font-size: var(--font-sm);
        max-width: 95%;
    }

    .hero-logo-container {
        display: flex;
        width: 14rem;
        height: 14rem;
    }

    .announcements-section {
        padding: 2.5rem 0;
    }

    .announcements-wrapper {
        padding: 0 1.25rem;
    }

    #announcements-container,
    #hidden-announcements {
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
    }

    .announcement-popup {
        padding: clamp(0.75rem, 1.5vw, 1rem);
    }

    .popup-content {
        max-width: clamp(320px, 95vw, 600px);
        padding: clamp(1rem, 2vw, 1.5rem);
    }

    .popup-title {
        font-size: var(--font-lg);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-xs);
        padding: clamp(0.35rem, 1vw, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem);
        min-width: 5rem;
    }

    .popup-body .type-icon {
        width: clamp(12px, 1.6vw, 16px);
        height: clamp(12px, 1.6vw, 16px);
    }

    .popup-description {
        font-size: var(--font-sm);
    }

    .btn-login {
        display: none;
    }

    .mobile-menu .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.5rem 1rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        padding: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        max-height: 100vh;
    }

    .about-section {
        padding: 2.5rem 0;
    }

    .about-img {
        height: 350px;
    }

    .about-section .btn-outline-primary {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: auto;
    }

    .services-section {
        padding: 2.5rem 0;
    }

    .council-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.75rem;
    }

    .card-image {
        height: 220px;
    }

    .captain-card .card-image {
        height: 280px;
    }

    .footer-logo-img {
        max-height: 100px;
        max-width: 100px;
    }
}

/* Mobile (400px-767px) */
@media (max-width: 767.98px) {
    .hero-section {
        height: 400px;
    }

    .hero-content {
        padding: clamp(1rem, 1.5vw, 1.5rem) clamp(0.75rem, 1vw, 1rem);
    }

    .hero-text-container {
        max-width: 95%;
    }

    .hero-title {
        font-size: var(--font-xl);
        margin-top: clamp(1rem, 2vw, 1.5rem);
    }

    .hero-subtitle {
        font-size: var(--font-sm);
        max-width: 100%;
    }

    .hero-logo-container {
        display: none;
    }

    .btn-hero-cta {
        padding: 0.5rem 1.5rem;
        font-size: var(--font-sm);
    }

    .hero-wave {
        height: 80px;
    }

    .announcements-section {
        padding: 2rem 0;
    }

    .announcements-wrapper {
        padding: 0 1rem;
    }

    .announcements-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .announcements-header h2 {
        font-size: var(--font-lg);
    }

    .view-all-btn {
        align-self: center;
        padding: 0.5rem 1.25rem;
        font-size: var(--font-sm);
    }

    #announcements-container,
    #hidden-announcements {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
    }

    .announcement-title {
        font-size: var(--font-sm);
    }

    .announcement-description {
        font-size: var(--font-xs);
    }

    .announcement-badge {
        font-size: var(--font-xs);
    }

    .announcement-date {
        font-size: var(--font-xs);
    }

    .read-more-btn {
        max-width: clamp(100px, calc(var(--card-width) * 0.35), 180px);
        font-size: var(--font-xs);
        padding: clamp(0.3rem, calc(var(--card-width) * 0.0015), 0.5rem);
    }

    .announcement-popup {
        padding: clamp(0.75rem, 1.5vw, 1rem);
    }

    .popup-content {
        max-width: clamp(300px, 95vw, 500px);
        padding: clamp(0.75rem, 1.5vw, 1rem);
    }

    .popup-header {
        padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    }

    .popup-title {
        font-size: var(--font-md);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-xs);
        padding: clamp(0.3rem, 1vw, 0.45rem) clamp(0.45rem, 1.2vw, 0.6rem);
        min-width: 4.5rem;
    }

    .popup-body .type-icon {
        width: clamp(10px, 1.5vw, 14px);
        height: clamp(10px, 1.5vw, 14px);
    }

    .popup-description {
        font-size: var(--font-xs);
    }

    .popup-footer {
        padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    }

    .close-btn {
        font-size: var(--font-md);
        padding: clamp(0.2rem, 0.5vw, 0.3rem);
    }

    .btn-login {
        display: none;
    }

    .mobile-menu .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.5rem 1rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        padding: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        max-height: 100vh;
    }

    .about-section {
        padding: 2rem 0;
    }

    .about-img {
        height: 250px;
    }

    .about-section h2 {
        font-size: var(--font-xl);
    }

    .about-section p {
        font-size: var(--font-sm);
        max-width: 100%;
    }

    .about-section .btn-outline-primary {
        padding: 10px 25px;
        font-size: var(--font-sm);
    }

    .services-section {
        padding: 2rem 0;
    }

    .section-intro h2 {
        font-size: var(--font-xl);
    }

    .section-intro p {
        font-size: var(--font-sm);
    }

    .org-section {
        padding: 3rem 0;
    }

    .council-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-image {
        height: 200px;
    }

    .captain-card .card-image {
        height: 260px;
    }

    .card-name {
        font-size: var(--font-sm);
    }

    .card-position {
        font-size: var(--font-xs);
    }

    .card-description {
        font-size: var(--font-xs);
    }

    .footer {
        padding: 2rem 0.75rem;
    }

    .footer-logo-img {
        max-height: 90px;
        max-width: 90px;
    }
}

/* Small Mobile (<400px) */
@media (max-width: 399.98px) {
    .hero-section {
        height: 350px;
    }

    .hero-content {
        padding: clamp(0.75rem, 1vw, 1rem) clamp(0.5rem, 0.75vw, 0.75rem);
    }

    .hero-text-container {
        max-width: 100%;
    }

    .hero-title {
        font-size: var(--font-lg);
        margin-top: clamp(0.75rem, 1.5vw, 1rem);
    }

    .hero-subtitle {
        font-size: var(--font-xs);
        max-width: 100%;
    }

    .btn-hero-cta {
        padding: 0.4rem 1rem;
        font-size: var(--font-xs);
    }

    .hero-wave {
        height: 60px;
    }

    .announcements-section {
        padding: 1.5rem 0;
    }

    .announcements-wrapper {
        padding: 0 0.75rem;
    }

    .announcements-header {
        padding: 0 0.75rem;
    }

    .announcements-header h2 {
        font-size: var(--font-md);
    }

    .view-all-btn {
        padding: 0.4rem 1rem;
        font-size: var(--font-xs);
    }

    #announcements-container,
    #hidden-announcements {
        gap: 0.75rem;
        grid-template-columns: 1fr;
    }

    .announcement-card {
        width: 100%;
        min-height: var(--card-height);
        border-radius: 12px;
    }

    .card-body {
        padding: clamp(0.75rem, calc(var(--card-width) * 0.035), 1rem);
    }

    .announcement-meta {
        margin-bottom: clamp(0.4rem, calc(var(--card-width) * 0.015), 0.75rem);
    }

    .announcement-badge {
        font-size: var(--font-xs);
        padding: clamp(0.25rem, calc(var(--card-width) * 0.01), 0.4rem) clamp(0.4rem, calc(var(--card-width) * 0.02), 0.75rem);
    }

    .announcement-date {
        font-size: var(--font-xs);
    }

    .announcement-title {
        font-size: var(--font-xs);
    }

    .announcement-description {
        font-size: 0.75rem;
        line-height: 1.6;
        margin-bottom: clamp(0.5rem, calc(var(--card-width) * 0.025), 1rem);
    }

    .read-more-btn {
        max-width: clamp(90px, calc(var(--card-width) * 0.3), 160px);
        font-size: var(--font-xs);
        padding: clamp(0.25rem, calc(var(--card-width) * 0.0012), 0.4rem);
    }

    .announcement-popup {
        padding: clamp(0.5rem, 1vw, 0.75rem);
    }

    .popup-content {
        max-width: clamp(280px, 98vw, 480px);
        padding: clamp(0.5rem, 1vw, 0.75rem);
        border-radius: 0.75rem;
    }

    .popup-header {
        padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1rem);
        flex-direction: column;
        align-items: flex-start;
    }

    .popup-title {
        font-size: var(--font-sm);
    }

    .popup-body .announcement-badge {
        font-size: var(--font-xs);
        padding: clamp(0.25rem, 0.8vw, 0.4rem) clamp(0.4rem, 1vw, 0.5rem);
        min-width: 4rem;
    }

    .popup-body .type-icon {
        width: clamp(8px, 1.2vw, 12px);
        height: clamp(8px, 1.2vw, 12px);
    }

    .popup-description {
        font-size: var(--font-xs);
        line-height: 1.7;
    }

    .popup-footer {
        padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1rem);
    }

    .close-btn {
        font-size: var(--font-sm);
        padding: clamp(0.15rem, 0.5vw, 0.25rem);
        align-self: flex-end;
    }

    .btn-login {
        display: none;
    }

    .mobile-menu .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.4rem 0.75rem;
        font-size: var(--font-xs);
        padding: 0.4rem;
    }

    .nav-link-custom {
        font-size: var(--font-xs);
        padding: 0.4rem 0.75rem;
    }

    .mobile-nav-link {
        font-size: var(--font-xs);
        padding: 0.4rem 0.75rem;
    }

    .about-section {
        padding: 1.5rem 0;
    }

    .about-img {
        height: 180px;
    }

    .about-section h2 {
        font-size: var(--font-lg);
    }

    .about-section p {
        font-size: var(--font-xs);
    }

    .about-section .btn-outline-primary {
        padding: 8px 20px;
        font-size: var(--font-xs);
    }

    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .services-section {
        padding: 1.5rem 0;
    }

    .section-intro h2 {
        font-size: var(--font-lg);
    }

    .section-intro p {
        font-size: var(--font-xs);
    }

    .org-section {
        padding: 2.5rem 0;
    }

    .council-grid {
        gap: 1.25rem;
    }

    .card-image {
        height: 180px;
    }

    .captain-card .card-image {
        height: 220px;
    }

    .card-name {
        font-size: var(--font-xs);
    }

    .card-position {
        font-size: var(--font-xs);
    }

    .card-description {
        font-size: var(--font-xs);
    }

    .role-badge {
        font-size: var(--font-xs);
        padding: 0.3rem 0.75rem;
    }

    .footer {
        padding: 1.5rem 0.5rem;
    }

    .footer-title {
        font-size: var(--font-sm);
    }

    .footer-logo-img {
        max-height: 80px;
        max-width: 80px;
    }

    .footer-copyright {
        font-size: var(--font-xs);
    }
}
