/* ==========================================================================
   AIDO NGO WASH Full-Stack Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
    --primary: #295B86;
    --primary-light: #4E82B2;
    --primary-dark: #1E3F5F;
    --secondary: #D2532A;
    --secondary-light: #FF764D;
    --secondary-dark: #B8411B;
    --accent: #FFF2EC;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F8FB;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-dark-bg: rgba(15, 23, 42, 0.8);

    --shadow-sm: 0 2px 8px rgba(41, 91, 134, 0.04);
    --shadow-md: 0 10px 30px rgba(41, 91, 134, 0.08);
    --shadow-lg: 0 20px 40px rgba(41, 91, 134, 0.12);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Reusable UI Components & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(210, 83, 42, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 83, 42, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(41, 91, 134, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 91, 134, 0.5);
}

.btn-danger {
    background-color: #E11D48;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-danger:hover {
    background-color: #BE123C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

.btn-icon {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Glassmorphism card utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 20px 0;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(41, 91, 134, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo-text {
    color: var(--primary);
    font-size: 12px;
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.logo-container:hover .logo-img,
.logo-container:hover .logo-text {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-dark);
    position: relative;
    padding: 6px 0;
}

.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .logo-text {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-fast);
}

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

.nav-link:hover {
    color: var(--secondary);
}

.header:not(.scrolled) .nav-link:hover {
    color: var(--secondary-light);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-dark);
    transition: all var(--transition-fast);
    border-radius: var(--radius-full);
}

.header:not(.scrolled) .hamburger-line {
    background-color: var(--white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85)), url('../assets/hero.JPG') no-repeat center center/cover;
    background-attachment: scroll;
    color: var(--white);
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--secondary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInDown var(--transition-slow);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp var(--transition-slow);
}

.hero-title span {
    color: var(--secondary-light);
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 40px auto;
    animation: fadeInUp var(--transition-slow) 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
    animation: fadeInUp var(--transition-slow) 0.4s;
    animation-fill-mode: both;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    animation: fadeInUp var(--transition-slow) 0.6s;
    animation-fill-mode: both;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-light);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content-left {
    padding-right: 20px;
}

.about-subtitle {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-dark);
}

.feature-list-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.about-content-right {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 30px;
    border-radius: var(--radius-lg);
    max-width: 240px;
    text-align: center;
}

.about-badge-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 6px;
}

/* ==========================================================================
   What We Do (Core Focus Areas)
   ========================================================================== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.focus-card {
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    border: 1px solid rgba(41, 91, 134, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.focus-card:hover::before {
    transform: scaleX(1);
}

.focus-card:nth-child(2)::before {
    background-color: var(--secondary);
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(41, 91, 134, 0.12);
}

.focus-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 2rem;
    transition: transform var(--transition-fast);
}

.focus-card:hover .focus-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.focus-card:nth-child(1) .focus-icon-wrapper {
    background-color: rgba(41, 91, 134, 0.1);
    color: var(--primary);
}

.focus-card:nth-child(2) .focus-icon-wrapper {
    background-color: rgba(210, 83, 42, 0.1);
    color: var(--secondary);
}

.focus-card:nth-child(3) .focus-icon-wrapper {
    background-color: rgba(78, 130, 178, 0.1);
    color: var(--primary-light);
}

.focus-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.focus-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.focus-link {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.focus-link:hover {
    color: var(--secondary);
}

.focus-card:nth-child(2) .focus-link {
    color: var(--secondary);
}

.focus-card:nth-child(2) .focus-link:hover {
    color: var(--secondary-dark);
}

/* ==========================================================================
   Our Works (Portfolio Section)
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(41, 91, 134, 0.15);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(41, 91, 134, 0.04);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(41, 91, 134, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(41, 91, 134, 0.05);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 63, 95, 0.85), rgba(41, 91, 134, 0.2));
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: opacity var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-info {
    color: var(--white);
}

.portfolio-overlay-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-light);
    margin-bottom: 6px;
}

.portfolio-overlay-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.portfolio-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(41, 91, 134, 0.08);
    padding-top: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.portfolio-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.portfolio-location i {
    color: var(--secondary);
}

.portfolio-card.hidden {
    display: none;
}

/* Portfolio Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-content {
    padding: 40px;
}

.modal-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.modal-meta-item {
    font-size: 0.9rem;
}

.modal-meta-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.modal-meta-value {
    color: var(--primary-dark);
    font-weight: 600;
}

.modal-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ==========================================================================
   Impact / Success Stories
   ========================================================================== */
.impact-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.impact-slides {
    display: flex;
    transition: transform var(--transition-slow);
}

.impact-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.impact-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.impact-avatar-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 320px;
}

.impact-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(41, 91, 134, 0.08);
    line-height: 1;
    z-index: 0;
}

.impact-content {
    position: relative;
    z-index: 1;
}

.impact-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 500;
}

.impact-author {
    font-family: var(--font-heading);
}

.impact-author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.impact-author-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid rgba(41, 91, 134, 0.1);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(41, 91, 134, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 28px;
    border-radius: var(--radius-full);
}


/* ==========================================================================
   Parteners & donors
    ========================================================================== */
.donors-section {
    background: #eef6f8;
}

.donors-ticker {
    overflow: hidden;
    position: relative;
    padding: 24px 0;
    background: linear-gradient(90deg, rgba(33, 87, 118, 0.08), rgba(95, 153, 126, 0.06));
    border-top: 1px solid rgba(33, 87, 118, 0.12);
    border-bottom: 1px solid rgba(33, 87, 118, 0.12);
}

.donors-ticker-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    min-width: 100%;
    animation: donor-flow 22s linear infinite;
}

.donors-ticker-track:hover {
    animation-play-state: paused;
}

.donor-item {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    padding: 8px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(33, 87, 118, 0.14);
    box-shadow: 0 12px 30px rgba(33, 87, 118, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.donors-ticker-track img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(33, 87, 118, 0.08);
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

@keyframes donor-flow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}




/* ==========================================================================
   Get Involved / Call To Action
   ========================================================================== */
.involved {
    background: linear-gradient(rgba(30, 63, 95, 0.9), rgba(30, 63, 95, 0.95)), url('../assets/hero-bg.png') no-repeat center center/cover;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
}

.involved-content {
    max-width: 800px;
    margin: 0 auto;
}

.involved .section-title {
    color: var(--white);
}

.involved .section-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.involved-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.involved-card {
    padding: 40px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.involved-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.involved-card-icon {
    font-size: 2.2rem;
    color: var(--secondary-light);
    margin-bottom: 20px;
}

.involved-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.involved-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Us
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-column {
    padding-right: 20px;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--accent);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-method-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-method-value {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-socials-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(41, 91, 134, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.contact-social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
    padding: 50px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(41, 91, 134, 0.15);
    background-color: var(--bg-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(41, 91, 134, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--text-light);
    font-weight: 500;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -10px;
    left: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--white);
    padding: 0 8px;
    color: var(--primary);
    border-radius: var(--radius-sm);
}

/* Contact form submit feedback styles */
.form-feedback {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    animation: fadeIn var(--transition-fast);
}

.form-feedback.error {
    display: block;
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    animation: fadeIn var(--transition-fast);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-column-logo .logo-img {
    margin-bottom: 16px;
}

.footer-desc {
    margin-top: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a:hover {
    color: var(--secondary-light);
    padding-left: 6px;
}

.footer-subscribe-desc {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-form {
    display: flex;
    gap: 8px;
}

.footer-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary-light);
}

.footer-submit {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.footer-submit:hover {
    background-color: var(--secondary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a:hover {
    color: var(--white);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    cursor: pointer;
}

.footer-legal-link:hover {
    color: var(--white);
}

/* ==========================================================================
   Admin Login Portal Views
   ========================================================================== */
.admin-login-body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-logo {
    height: 60px;
    margin: 0 auto 16px auto;
}

.login-title {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
}

.login-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

.login-card .form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.login-card .form-input:focus {
    border-color: var(--secondary-light);
    background-color: rgba(255, 255, 255, 0.08);
}

.login-card .form-label {
    color: rgba(255, 255, 255, 0.5);
}

.login-card .form-input:focus~.form-label,
.login-card .form-input:not(:placeholder-shown)~.form-label {
    color: var(--secondary-light);
    background-color: var(--primary-dark);
}

.login-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.login-alert-danger {
    background-color: rgba(225, 29, 72, 0.15);
    color: #FFA1B2;
    border: 1px solid rgba(225, 29, 72, 0.25);
}

.login-alert-success {
    background-color: rgba(22, 163, 74, 0.15);
    color: #A7F3D0;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

/* 2FA Setup QR Container */
.qr-container {
    background-color: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    width: 200px;
    height: 200px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.qr-img {
    width: 100%;
    height: 100%;
}

.twofa-instructions {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ==========================================================================
   Admin Dashboard Views (Full screen app layout)
   ========================================================================== */
.admin-dashboard-body {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.dashboard-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-header-brand h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
}

.dashboard-user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-user-info {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.dashboard-logout-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-logout-link:hover {
    color: var(--secondary-light);
}

.dashboard-layout {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    height: calc(100vh - 68px);
}

.dashboard-sidebar {
    width: 250px;
    background-color: var(--white);
    border-right: 1.5px solid rgba(41, 91, 134, 0.08);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    overflow-y: auto;
}

.dashboard-main-content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
    background-color: var(--bg-secondary);
}

.dashboard-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(41, 91, 134, 0.06);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin-bottom: 30px;
}

/* Tab button override for dashboard */
.dashboard-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.dashboard-tab-btn i {
    width: 20px;
    font-size: 1.15rem;
    text-align: center;
}

.dashboard-tab-btn:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.dashboard-tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(41, 91, 134, 0.15);
}

/* Panel Controls */
.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: block;
    animation: fadeIn var(--transition-fast);
}

/* Forms controls */
.dashboard-card .form-input {
    background-color: var(--bg-secondary);
}

.dashboard-card .form-input:focus {
    background-color: var(--white);
}

.dashboard-card .form-input:focus~.form-label,
.dashboard-card .form-input:not(:placeholder-shown)~.form-label {
    background-color: var(--white);
}

/* Items List styles for Dashboard */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border: 1.5px solid rgba(41, 91, 134, 0.06);
    border-radius: var(--radius-md);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.item-row:hover {
    border-color: rgba(41, 91, 134, 0.15);
    box-shadow: var(--shadow-sm);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-img-preview {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--bg-secondary);
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.item-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.item-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    background: none;
}

.action-btn-edit {
    color: var(--primary);
    border-color: rgba(41, 91, 134, 0.1);
}

.action-btn-edit:hover {
    background-color: rgba(41, 91, 134, 0.05);
}

.action-btn-delete {
    color: #E11D48;
    border-color: rgba(225, 29, 72, 0.1);
}

.action-btn-delete:hover {
    background-color: rgba(225, 29, 72, 0.05);
}

.edit-subform {
    padding: 30px;
    margin-top: 30px;
    background-color: var(--bg-secondary);
    border: 1.5px solid rgba(41, 91, 134, 0.06);
}

.edit-subform h5 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.subform-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

/* Export / Import layout */
.config-io-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.config-io-card {
    padding: 40px 30px;
    border: 2px dashed rgba(41, 91, 134, 0.15);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.config-io-icon {
    font-size: 3.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.config-io-card h5 {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.config-io-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.dashboard-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 20px;
    border-top: 1.5px solid rgba(41, 91, 134, 0.08);
    padding-top: 24px;
}

/* ==========================================================================
   Animations & Scroll classes
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.animate-fade-in.animated {
    opacity: 1;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* ==========================================================================
   Responsive / Media Queries
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

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

    .about-grid {
        gap: 40px;
    }

    .about-img {
        height: 400px;
    }

    .focus-grid,
    .portfolio-grid {
        gap: 24px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.1rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right var(--transition-normal);
        padding: 40px;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--primary-dark) !important;
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    /* Hamburger Active Animation */
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--primary-dark);
    }

    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--primary-dark);
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

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

    .hero-desc {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content-left {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-badge {
        left: 20px;
        bottom: -20px;
        padding: 20px;
    }

    /* Grid sections */
    .focus-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Impact */
    .impact-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .impact-avatar-wrapper {
        height: 240px;
    }

    .slider-btn {
        display: none;
    }

    /* Involved */
    .involved-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Dashboard Responsiveness */
    .dashboard-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 16px;
        border-right: none;
        border-bottom: 1.5px solid rgba(41, 91, 134, 0.08);
        gap: 8px;
    }

    .dashboard-tab-btn {
        white-space: nowrap;
        padding: 10px 14px;
    }

    .dashboard-main-content {
        padding: 20px;
    }

    .cms-stats-edit-row {
        grid-template-columns: 1fr;
    }

    .config-io-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

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

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .about-badge {
        display: none;
    }

    .contact-form-card {
        padding: 20px;
    }

    .footer-form {
        flex-direction: column;
    }

    .dashboard-footer-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Subpage & Legal Policy Layout Styles
   ========================================================================== */
.subpage-hero {
    position: relative;
    padding: 150px 0 70px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(210, 83, 42, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

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

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--white);
    opacity: 0.9;
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--secondary-light);
    opacity: 1;
}

.breadcrumbs .separator {
    font-size: 0.75rem;
    opacity: 0.6;
}

.subpage-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.subpage-hero-desc {
    font-size: 1.2rem;
    max-width: 750px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.page-content-wrapper {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(41, 91, 134, 0.08);
}

.article-card h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 32px 0 16px 0;
}

.article-card h2:first-child {
    margin-top: 0;
}

.article-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 24px 0 12px 0;
}

.article-card p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-card ul,
.article-card ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-card ul li,
.article-card ol li {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 10px;
}

.sector-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary);
}

.sector-meta-item {
    display: flex;
    flex-direction: column;
}

.sector-meta-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.sector-meta-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 36px 0;
}

.feature-detail-card {
    padding: 28px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(41, 91, 134, 0.08);
    transition: var(--transition-fast);
}

.feature-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.callout-box {
    padding: 24px;
    background: var(--accent);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    margin: 28px 0;
}

.callout-box p {
    margin-bottom: 0;
    color: var(--primary-dark);
    font-weight: 500;
}

.callout-box a {
    color: var(--secondary-dark);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .subpage-hero-title {
        font-size: 2.2rem;
    }

    .article-card {
        padding: 24px;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
}