/* ===============================================
   مجلس مهنة مراقبة وتدقيق الحسابات
   Mobile-First Premium Design
   =============================================== */

/* CSS Variables */
:root {
    --primary-color: #0a1628;
    --primary: #0a1628;
    --primary-dark: #050d1a;
    --primary-light: #1a3a5c;
    --primary-accent: #2563eb;

    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8960c;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);

    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #475569;
    --text-dark: #020617;
    --text-body: #000000;

    --bg-dark: #0a1628;
    --bg-darker: #050d1a;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;

    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.4);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: 0.3s ease;

    /* Mobile-first spacing */
    --section-padding: 60px;
    --container-width: 1280px;
}

/* Large screens */
@media (min-width: 768px) {
    :root {
        --section-padding: 100px;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding: 120px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] {
    text-align: right;
}

::selection {
    background: var(--gold);
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* Container - Mobile first */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

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

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

/* Section */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 60px;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-gold);
}

.section-title {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.section-description {
    color: var(--text-body);
    font-size: 1rem;
    max-width: 600px;
    margin: 24px auto 0;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 1.125rem;
    }
}

.section-dark {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    color: var(--text-white);
}

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

.section-dark .section-description {
    color: #ffffff;
    opacity: 0.9;
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-accent), #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

.card-link {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ===============================================
   HEADER
   =============================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

@media (min-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 5px;
    }

    .logo {
        flex-direction: row;
        gap: 20px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.header-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .logo-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .header-logo-img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .header-logo-img {
        width: 140px;
        height: 140px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .logo-title {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .logo-title {
        font-size: 2rem;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 1.4rem;
    }
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 16px;
    left: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(212, 175, 55, 0.2);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-btn span:nth-child(1) {
    margin-bottom: 5px;
}

.mobile-menu-btn span:nth-child(2) {
    margin-bottom: 5px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

/* Mobile Nav */
@media (max-width: 1023px) {
    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #0a1628 0%, #0d1f35 100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 30px 40px;
        z-index: 1000;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        flex: 1;
    }

    .nav-list li {
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav.active .nav-list li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav.active .nav-list li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav.active .nav-list li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav.active .nav-list li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav.active .nav-list li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav.active .nav-list li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav.active .nav-list li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 24px;
        margin: 6px 0;
        color: #ffffff;
        font-size: 1.15rem;
        font-weight: 600;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(212, 175, 55, 0.15);
        border-color: rgba(212, 175, 55, 0.4);
        color: var(--gold);
        transform: scale(1.02);
    }

    .nav-link:active {
        transform: scale(0.98);
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
        border-color: var(--gold);
        color: var(--gold);
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile menu footer */
    .nav::after {
        content: '';
        display: block;
        margin-top: auto;
        padding-top: 30px;
        text-align: center;
    }
}

/* ===============================================
   DROPDOWN MENU
   =============================================== */
.nav-dropdown {
    position: relative;
}

/* Desktop dropdown */
@media (min-width: 1024px) {
    .nav-dropdown .nav-link {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-dropdown .nav-link i {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown:hover .nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 220px;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        list-style: none;
        padding: 8px;
        margin-top: 8px;
        z-index: 100;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown-menu li {
        margin: 0;
    }

    .nav-dropdown-menu a {
        display: block;
        padding: 12px 16px;
        color: var(--text-light);
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(212, 175, 55, 0.15);
        color: var(--gold);
        transform: translateX(-4px);
    }
}

/* Mobile dropdown */
@media (max-width: 1023px) {
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown>.nav-link {
        cursor: pointer;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown>.nav-link i {
        margin-right: auto;
        margin-left: 8px;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active>.nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu {
        list-style: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 300px;
        margin: 8px 0;
    }

    .nav-dropdown-menu li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-dropdown.active .nav-dropdown-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-dropdown.active .nav-dropdown-menu li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-dropdown.active .nav-dropdown-menu li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-dropdown-menu a {
        display: block;
        padding: 14px 20px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        margin: 4px 0;
        transition: all 0.2s ease;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.3);
        color: var(--gold);
        transform: scale(1.02);
        margin-right: 8px;
    }
}

/* ===============================================
   COMING SOON PAGE
   =============================================== */
.coming-soon-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding: 120px 20px 60px;
}

.coming-soon-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.coming-soon-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-icon i {
    font-size: 3rem;
    color: var(--primary-dark);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .coming-soon-title {
        font-size: 4.5rem;
    }
}

.coming-soon-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .coming-soon-description {
        font-size: 1.25rem;
    }
}

.coming-soon-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.coming-soon-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    min-width: 140px;
}

.coming-soon-features .feature-item i {
    font-size: 2rem;
    color: var(--gold);
}

.coming-soon-features .feature-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.coming-soon-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 480px) {
    .coming-soon-actions {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg,
.hero-pattern,
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-pattern {
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-shapes {
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.hero-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
}

.hero-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
}

.hero-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 15%;
}

.hero-shape:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 10%;
    border-color: rgba(37, 99, 235, 0.15);
}

@media (min-width: 768px) {
    .hero-shape:nth-child(1) {
        width: 300px;
        height: 300px;
    }

    .hero-shape:nth-child(2) {
        width: 200px;
        height: 200px;
    }

    .hero-shape:nth-child(3) {
        width: 150px;
        height: 150px;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-badge {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .hero-title-line {
        font-size: 1.3rem;
    }
}

.hero-title-main {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title-main {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title-main {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--text-light);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
    align-items: center;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

/* Hero Stats - FIXED READABILITY */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

.stat-item {
    text-align: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    min-width: 160px;
    width: 100%;
    max-width: 200px;
}

@media (min-width: 640px) {
    .stat-item {
        width: auto;
    }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

/* FIXED: Made stat label WHITE and more readable */
.stat-label {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 600;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
}

@media (min-width: 768px) {
    .hero-wave {
        height: 120px;
    }
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.hero-wave path {
    fill: var(--bg-white);
}

/* ===============================================
   ABOUT PREVIEW
   =============================================== */
.about-preview {
    background: var(--bg-white);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }
}

.about-content .section-title {
    text-align: right;
}

.about-content .section-title::after {
    right: 0;
    transform: none;
}

.about-text {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-right: 4px solid var(--gold);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-gray);
    transform: translateX(-4px);
}

.feature-item i {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* About Image */
.about-image {
    position: relative;
    order: -1;
}

@media (min-width: 1024px) {
    .about-image {
        order: 0;
    }
}

.image-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 5rem;
}

@media (min-width: 768px) {
    .image-placeholder {
        font-size: 7rem;
    }
}

.floating-card {
    position: absolute;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    z-index: 10;
}

.floating-card i {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
}

.floating-card.card-1 {
    top: -16px;
    right: -16px;
}

.floating-card.card-2 {
    bottom: 24px;
    left: -16px;
}

@media (min-width: 768px) {
    .floating-card {
        padding: 20px 24px;
    }

    .floating-card.card-1 {
        top: -24px;
        right: -24px;
    }

    .floating-card.card-2 {
        left: -32px;
    }
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.services-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Service Cards - Light Background (Default) */
.service-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .service-card {
        padding: 40px 32px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-gold);
}

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

.service-description {
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
}

/* Service Cards - Dark Background */
.section-dark .service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: none;
}

.section-dark .service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-dark .service-title {
    color: var(--gold);
}

.section-dark .service-description {
    color: #ffffff;
    opacity: 0.95;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-body);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--gold);
    font-size: 0.85rem;
}

/* Dark section service features */
.section-dark .service-features li {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 16px;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.section-dark .service-link {
    color: var(--gold-light);
}

.section-dark .service-link:hover {
    color: #ffffff;
}

/* ===============================================
   NEWS SECTION
   =============================================== */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--gold);
}

.news-card.featured {
    grid-column: 1;
}

@media (min-width: 768px) {
    .news-card.featured {
        grid-row: span 2;
    }

    .news-card.featured .news-image {
        height: 250px;
    }
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
    transition: var(--transition);
}

.news-card:hover .news-placeholder {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-meta i {
    margin-left: 6px;
    color: var(--gold);
}

.news-title {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 1.1rem;
}

.news-excerpt {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 700;
}

.news-link:hover {
    color: var(--primary-accent);
}

/* News Loading State */
.news-loading-home {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--gold);
    font-size: 2rem;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 100px 0;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
    .cta-content {
        padding: 50px 40px;
    }
}

.cta-title {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ===============================================
   CONTACT INFO SECTION
   =============================================== */
.contact-info-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.contact-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--bg-gray);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.contact-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    color: white;
    padding-top: 60px;
}

@media (min-width: 768px) {
    .footer {
        padding-top: 80px;
    }
}

.footer-grid {
    display: grid;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 50px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--gold);
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--gold);
    width: 18px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        padding: 30px 0;
    }
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.developer-credit:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.developer-credit .made-by {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.developer-credit .agency-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.developer-credit .agency-link i {
    color: var(--gold);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.developer-credit:hover .agency-link i {
    transform: translate(-3px, -3px);
}

/* ===============================================
   BACK TO TOP
   =============================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===============================================
   PAGE HEADER (Inner Pages)
   =============================================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark), var(--primary-light));
    padding: 140px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header {
        padding: 160px 0 100px;
    }
}

@media (min-width: 1024px) {
    .page-header {
        padding: 260px 0 100px;
    }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.page-title {
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

.page-breadcrumb a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-breadcrumb a:hover {
    color: var(--gold);
}

.page-breadcrumb span {
    color: var(--gold);
    font-weight: 600;
}

/* ===============================================
   CONTENT SECTIONS (Inner Pages)
   FIXED: Full width when no sidebar needed
   =============================================== */
.content-section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .content-section {
        padding: 80px 0;
    }
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 50px;
    }
}

/* When sidebar is empty or not needed, make content full width */
.content-grid.no-sidebar,
.content-grid:only-child {
    display: block;
}

.content-main {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-gray);
}

@media (min-width: 768px) {
    .content-main {
        padding: 40px;
    }
}

.content-main h2 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-gray);
    position: relative;
}

.content-main h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    order: -1;
}

@media (min-width: 1024px) {
    .content-sidebar {
        order: 0;
    }
}

.sidebar-widget {
    background: white;
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-gray);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bg-gray);
    font-size: 1.1rem;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
}

.widget-list a:hover {
    color: var(--gold-dark);
}

.widget-list i {
    color: var(--gold);
    width: 18px;
}

/* ===============================================
   FORMS
   =============================================== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

/* ===============================================
   TABLES
   =============================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid var(--bg-gray);
}

.data-table th {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: var(--bg-light);
}

/* ===============================================
   ACCORDION
   =============================================== */
.accordion {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--bg-gray);
}

.accordion-item {
    border-bottom: 1px solid var(--bg-gray);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 18px 20px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.accordion-header:hover {
    background: var(--bg-light);
    color: var(--gold-dark);
}

.accordion-header i {
    color: var(--gold);
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-header {
    background: var(--bg-light);
    color: var(--gold-dark);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-light);
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 500px;
}

.accordion-content p {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===============================================
   TIMELINE
   =============================================== */
.timeline {
    position: relative;
    padding-right: 40px;
}

@media (min-width: 768px) {
    .timeline {
        padding-right: 50px;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--primary-accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -46px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .timeline-item::before {
        right: -56px;
        width: 20px;
        height: 20px;
    }
}

.timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.timeline-content h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.timeline-content p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===============================================
   CARDS GRID
   =============================================== */
.cards-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.info-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Dark Card Variant */
.info-card.dark-card {
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
    border-color: rgba(212, 175, 55, 0.3);
}

.info-card.dark-card:hover {
    border-color: var(--gold);
}

.gold-icon {
    background: linear-gradient(135deg, #d4af37, #f4d03f) !important;
    color: #0a1628 !important;
}

.gold-title {
    color: #d4af37 !important;
}

.white-text {
    color: #ffffff !important;
    opacity: 0.9;
}

.green-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

.blue-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
}

.orange-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
}

/* ===============================================
   STEPS
   =============================================== */
.steps {
    display: grid;
    gap: 24px;
    counter-reset: step;
}

@media (min-width: 640px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-item {
    position: relative;
    padding: 36px 24px 28px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    counter-increment: step;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.step-item::before {
    content: counter(step);
    position: absolute;
    top: -14px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.step-item h4 {
    margin-bottom: 10px;
    padding-top: 8px;
    font-size: 1.05rem;
}

.step-item p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===============================================
   ALERTS
   =============================================== */
.alert {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid;
    font-size: 0.95rem;
}

.alert i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-info {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary-accent);
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.3);
    color: #ca8a04;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* ===============================================
   CONTACT PAGE SPECIFIC
   =============================================== */
.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .contact-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 640px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.map-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--bg-gray);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.map-placeholder h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.map-placeholder p {
    color: var(--text-body);
    margin-bottom: 16px;
}

.notes-list {
    list-style: none;
}

.notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
    color: var(--text-body);
    font-size: 0.95rem;
}

.notes-list li:last-child {
    border-bottom: none;
}

.notes-list i {
    color: #16a34a;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===============================================
   PRINT
   =============================================== */
@media print {

    .header,
    .footer,
    .back-to-top,
    .cta-section,
    .sidebar-widget {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .content-grid {
        display: block;
    }
}

/* ===============================================
   NEW LOGO HERO SECTION
   =============================================== */
/* ===============================================
   NEW LOGO HERO SECTION (Premium Government Style)
   =============================================== */
.logo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #0f2b4d 0%, #051020 100%);
    overflow: hidden;
    padding-top: 80px;
}

.president-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    background: var(--bg-white);
}

.president-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.6);
    transform-origin: center 30%;
}

@media (min-width: 1024px) {
    .president-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 768px) {
    .logo-hero {
        padding-top: 140px;
    }
}

@media (min-width: 1024px) {
    .logo-hero {
        padding-top: 260px;
    }
}

.logo-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-split-layout {
    display: flex;
    flex-direction: column-reverse;
    /* Mobile: Image on top (visual flow) or Text on top? Visual on top usually better for impact, but let's stick to column-reverse (Text bottom, Image top) or standard column */
    align-items: center;
    gap: 40px;
    text-align: center;
    padding-bottom: 120px;
}

@media (min-width: 992px) {
    .hero-split-layout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        gap: 60px;
        text-align: right;
        padding-bottom: 0;
        min-height: 80vh;
    }
}

/* Text Content */
.hero-text-content {
    position: relative;
    z-index: 2;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    /* Glass effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.text-gradient-gold {
    display: block;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-main-title {
        font-size: 4.2rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    /* Align center on mobile */
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 992px) {
    .hero-subtitle {
        margin-right: 0;
        /* Align right on desktop */
        margin-left: 0;
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }
}

/* Visual Content */
.hero-visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    opacity: 0;
    animation: fadeInScale 1.2s ease-out 0.2s forwards;
}

.logo-visual-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

@media (min-width: 768px) {
    .logo-visual-wrapper {
        width: 380px;
        height: 380px;
    }
}

@media (min-width: 1200px) {
    .logo-visual-wrapper {
        width: 480px;
        height: 480px;
    }
}

.logo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.hero-logo-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-dark);
    z-index: 3;
    animation: floatBadge 5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 4px solid var(--gold);
}

.floating-badge i {
    font-size: 1.2rem;
    color: var(--gold-dark);
}

.badge-top {
    top: 10%;
    right: -20px;
    animation-delay: 1s;
}

.badge-bottom {
    bottom: 15%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }


}

@media (max-width: 768px) {
    .floating-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .floating-badge i {
        font-size: 0.8rem;
    }

    .badge-top {
        right: -5px;
        top: 5%;
    }

    .badge-bottom {
        left: -5px;
        bottom: 10%;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 4;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
        height: 4px;
    }

    100% {
        top: 24px;
        opacity: 0;
        height: 8px;
    }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin: -4px auto;
    animation: scrollArrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

.logo-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}

.logo-hero-wave svg {
    width: 100%;
    height: 60px;
    /* Reduced specific for this wave style */
    fill: var(--bg-white);
}

@media (min-width: 768px) {
    .logo-hero-wave svg {
        height: 100px;
    }
}

/* Quick Links Section */
.quick-links-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.quick-link-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-link-card:hover::before {
    opacity: 1;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-title {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.quick-link-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-link-card {
        padding: 40px 30px;
    }
}

/* About Section - Updated */
.about-section-new {
    background: var(--bg-light);
    padding: 80px 0;
}

.about-section-new .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-block {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text-block p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-stat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gold);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-dark);
    display: block;
}

.about-stat-label {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 600;
}

@media (min-width: 768px) {
    .about-info-grid {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }

    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stat-card {
        padding: 40px;
    }

    .about-stat-number {
        font-size: 3rem;
    }
}

/* ===============================================
   LAW ARTICLE STYLES
   =============================================== */
.law-article {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-gray);
}

.law-article:last-child {
    border-bottom: none;
}

.law-article h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 5px;
}

.law-article p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-body);
}

.law-list {
    list-style: none;
    padding-right: 20px;
    margin-top: 10px;
}

.law-list>li {
    margin-bottom: 8px;
    position: relative;
}

.law-list>li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    right: -15px;
}

.sub-list {
    list-style: none;
    padding-right: 20px;
    margin-top: 10px;
}

.sub-list>li {
    margin-bottom: 5px;
    color: var(--text-body);
    font-size: 0.95rem;
}

.law-quote {
    background: rgba(212, 175, 55, 0.1);
    border-right: 4px solid var(--gold);
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 4px;
}

/* Stats Section */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark), #1e293b);
    padding: 60px 0;
    overflow: hidden;
    text-align: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px 50px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
    min-width: 280px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    background: white;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Force scroll on small screens */
}

.custom-table th,
.custom-table td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid var(--bg-gray);
    white-space: nowrap;
}

.custom-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover td {
    background: var(--bg-gray);
}
/* News Gallery */
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.news-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.news-gallery img:hover {
    transform: scale(1.05);
}


 
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       P r e s i d e n t   S p e e c h   S e c t i o n   ( M o b i l e   O p t i m i z e d ) 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 . p r e s i d e n t - s e c t i o n   { 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         p a d d i n g :   2 5 p x ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ; 
         m a r g i n - t o p :   2 0 p x ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   f l e x - s t a r t ; 
         g a p :   2 0 p x ; 
 } 
 
 . p r e s i d e n t - i m a g e - w r a p p e r   { 
         f l e x - s h r i n k :   0 ; 
         w i d t h :   1 2 0 p x ;   / *   F i x e d   w i d t h   f o r   d e s k t o p   * / 
 } 
 
 . p r e s i d e n t - i m a g e   { 
         w i d t h :   1 0 0 % ; 
         h e i g h t :   a u t o ; 
         b o r d e r - r a d i u s :   1 0 p x ; 
 } 
 
 . p r e s i d e n t - c o n t e n t   h 3   { 
         c o l o r :   v a r ( - - g o l d ) ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         f o n t - s i z e :   1 . 2 r e m ; 
 } 
 
 . p r e s i d e n t - c o n t e n t   p   { 
         c o l o r :   w h i t e ; 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         l i n e - h e i g h t :   1 . 8 ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
 } 
 
 / *   M o b i l e   a d j u s t m e n t s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . p r e s i d e n t - s e c t i o n   { 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
                 a l i g n - i t e m s :   c e n t e r ; 
                 t e x t - a l i g n :   c e n t e r ; 
                 p a d d i n g :   1 5 p x ; 
                 g a p :   1 5 p x ; 
         } 
 
         . p r e s i d e n t - i m a g e - w r a p p e r   { 
                 w i d t h :   1 0 0 p x ; 
         } 
 
         . p r e s i d e n t - c o n t e n t   p   { 
                 f o n t - s i z e :   0 . 8 5 r e m ; 
                 t e x t - a l i g n :   c e n t e r   ! i m p o r t a n t ;   / *   O v e r r i d e   j u s t i f y   o n   m o b i l e   f o r   b e t t e r   r e a d a b i l i t y   * / 
         } 
 
         . p r e s i d e n t - c o n t e n t   h 3   { 
                 f o n t - s i z e :   1 . 1 r e m ; 
                 m a r g i n - b o t t o m :   1 0 p x ; 
         } 
 
         . p r e s i d e n t - c o n t e n t   d i v   { 
                 t e x t - a l i g n :   c e n t e r   ! i m p o r t a n t ; 
         } 
 } 
  
 