/* Variables */
:root {
    --primary-color: #B47231;
    /* Cuivré Logo */
    --primary-light: #D19E6E;
    --primary-dark: #7B4A1E;
    --secondary-color: #E3B04B;
    /* Gold Logo */
    --secondary-hover: #C6933A;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F7F5;
    --bg-pattern: url('subtle-pattern.png');
    --bg-white: #FFFFFF;
    --bg-dark: #3D2211;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 6rem 0 5rem;
    position: relative;
}

/* Golden decorative separator between sections */
.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(260px, 40%);
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(227, 176, 75, 0.08) 15%,
            rgba(227, 176, 75, 0.5) 40%,
            var(--secondary-color) 50%,
            rgba(227, 176, 75, 0.5) 60%,
            rgba(227, 176, 75, 0.08) 85%,
            transparent 100%);
}

/* Subtle decorative diamond at center of separator */
.section-padding::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 1px;
    box-shadow:
        0 0 8px rgba(227, 176, 75, 0.3),
        0 0 20px rgba(227, 176, 75, 0.1);
}

/* First section after hero — no top separator */
.hero+.section-padding::before,
.hero+.section-padding::after {
    display: none;
}

.bg-light {
    background-color: var(--bg-light);
    background-image: var(--bg-pattern);
    background-size: 300px;
    /* Warm radial glow for depth */
    background-blend-mode: overlay;
}

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

.text-white,
.text-white h2,
.text-white p {
    color: white !important;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 176, 75, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 176, 75, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--primary-dark);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo-img {
    height: 60px;
}

header.scrolled .logo-text,
header.scrolled .nav-links li a {
    color: var(--primary-dark);
}

header.scrolled .nav-links li a.btn-primary {
    color: white;
}

header.scrolled .mobile-menu-icon {
    color: var(--primary-dark);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 90px;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--secondary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Layer 1 — Deep cinematic gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(26, 13, 4, 0.92) 0%, rgba(61, 34, 17, 0.55) 40%, rgba(180, 114, 49, 0.18) 70%, rgba(26, 13, 4, 0.88) 100%);
    z-index: 1;
}

/* Layer 2 — Animated golden light sweep */
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 60%, rgba(227, 176, 75, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(180, 114, 49, 0.10) 0%, transparent 70%);
    animation: heroLightSweep 12s ease-in-out infinite alternate;
    z-index: 1;
}

/* Layer 3 — Subtle grain texture for depth */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

@keyframes heroLightSweep {
    0% {
        transform: translateX(-5%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(5%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateX(-5%) scale(1);
        opacity: 0.6;
    }
}

/* Floating bokeh orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(227, 176, 75, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: heroBokeh1 18s ease-in-out infinite;
}

.hero::after {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(180, 114, 49, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -3%;
    animation: heroBokeh2 22s ease-in-out infinite;
}

@keyframes heroBokeh1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.15);
    }

    66% {
        transform: translate(15px, -15px) scale(0.9);
    }
}

@keyframes heroBokeh2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -25px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 10px) scale(0.95);
    }
}

/* Golden accent line at bottom of hero */
.hero-content::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.6;
}

/* Glassmorphism content card — refined */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 3.5rem 3rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-content h1 {
    color: white;
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #FFFFFF 40%, rgba(227, 176, 75, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-buttons .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(180, 114, 49, 0.35);
    border: none;
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(180, 114, 49, 0.5);
}

.hero-buttons .btn-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border-color: rgba(227, 176, 75, 0.4);
}

/* Section Titles — Elevated typography */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Subtle watermark letter behind the heading */
.section-title h2::before {
    content: attr(data-watermark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(180, 114, 49, 0.04);
    pointer-events: none;
    white-space: nowrap;
    z-index: -1;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 5px;
    background: inherit;
    filter: blur(6px);
    opacity: 0.5;
}

/* About Section — Premium background accent */
.about.section-padding {
    background: linear-gradient(180deg,
            var(--bg-white) 0%,
            rgba(248, 243, 230, 0.35) 50%,
            var(--bg-white) 100%);
}

/* Floating warm orb accent — top-right */
.about.section-padding .container {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: #F8F3E6;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(227, 176, 75, 0.15);
    transition: var(--transition);
}

.feature-item:hover i {
    background: linear-gradient(135deg, #F8F3E6, rgba(227, 176, 75, 0.15));
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(184, 134, 11, 0.18);
}

.feature-item h4 {
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(227, 176, 75, 0.3);
    z-index: 0;
    transition: var(--transition);
}

.about-image:hover::before {
    top: -15px;
    left: -15px;
    border-color: var(--secondary-color);
}

/* Corner accent ornaments */
.about-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid var(--secondary-color);
    border-right: 2px solid var(--secondary-color);
    z-index: 0;
    opacity: 0.5;
    transition: var(--transition);
}

.about-image:hover::after {
    opacity: 0.8;
    width: 70px;
    height: 70px;
}

.about-logo-wrapper {
    position: relative;
    z-index: 1;
    background: white;
    height: 450px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(227, 176, 75, 0.1);
    border: 1px solid rgba(227, 176, 75, 0.15);
    transition: var(--transition);
    overflow: hidden;
}

.about-logo-wrapper:hover {
    border-color: var(--secondary-color);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(227, 176, 75, 0.2);
}

.about-logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.08));
}

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

/* Dahira Cards Section */
.dahira-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.dahira-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    flex: 1 1 300px;
    max-width: 400px;
    width: 100%;
}

.dahira-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dahira-card .dahira-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 2rem;
    border-radius: 50%;
    background-color: #F8F3E6;
    padding: 20px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dahira-card .dahira-logo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: #F8F3E6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    border: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dahira-card:hover .dahira-logo,
.dahira-card:hover .dahira-logo-placeholder {
    transform: scale(1.05);
}

.dahira-card h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 700;
    transition: var(--transition);
}

.dahira-card:hover h4 {
    color: var(--secondary-color);
}

.dahira-page-logo {
    width: 180px;
    height: 180px;
    background-color: #F8F3E6;
    border-radius: 50%;
    padding: 15px;
    object-fit: contain;
    margin: 0 auto 2rem;
    display: block;
    box-shadow: var(--shadow-sm);
}

/* Missions Section — with subtle accent */
.missions.section-padding {
    background: linear-gradient(180deg,
            var(--bg-white) 0%,
            rgba(248, 243, 230, 0.25) 40%,
            rgba(248, 243, 230, 0.35) 60%,
            var(--bg-white) 100%);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #F8F3E6;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.mission-card:hover .icon-box {
    transform: scale(1.05);
}

.mission-card h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.bg-color-1 {
    background: linear-gradient(45deg, #8A3A0B, #B85316);
}

.bg-color-2 {
    background: linear-gradient(45deg, #2A1406, #8A3A0B);
}

.bg-color-3 {
    background: linear-gradient(45deg, #D4AF37, #B5952F);
}

.news-content {
    padding: 2rem;
}

.news-content .date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Facebook Page Full-Width Embed */
.fb-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.fb-page-wrapper iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
    background-color: #1A0D04;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-text {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   RESPONSIVE — Tablet (max-width: 992px)
   ============================================= */
@media (max-width: 992px) {
    .section-padding {
        padding: 4.5rem 0 4rem;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title h2::before {
        font-size: 5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 2.5rem 2rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-logo-wrapper {
        height: 300px;
    }

    .missions-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dahira-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .dahira-card {
        padding: 2rem 1.5rem;
    }

    .dahira-card .dahira-logo,
    .dahira-card .dahira-logo-placeholder {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .dahira-card h4 {
        font-size: 1.3rem;
    }

    .mission-card {
        padding: 2.5rem 1.5rem;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0 3rem;
    }

    .section-padding::before {
        width: 80px;
    }

    .section-padding::after {
        width: 6px;
        height: 6px;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title h2::before {
        display: none;
    }

    .section-title p {
        font-size: 1rem;
    }

    .divider {
        width: 60px;
    }

    /* Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease-in-out;
        z-index: 1001;
    }

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

    .nav-links li a {
        color: var(--primary-dark);
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
    }

    .nav-links li a.btn-primary {
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-menu-icon {
        display: block;
        font-size: 1.6rem;
        padding: 8px;
    }

    header.scrolled .mobile-menu-icon {
        color: var(--primary-dark);
    }

    header {
        padding: 12px 0;
    }

    .logo-img {
        height: 55px;
    }

    .logo-text {
        font-size: 1.3rem !important;
    }

    header.scrolled {
        padding: 8px 0;
    }

    header.scrolled .logo-img {
        height: 45px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 12px;
        border-radius: 18px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 14px 32px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

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

    .about-image {
        order: -1;
    }

    .about-image::before {
        top: -10px;
        left: -10px;
    }

    .about-logo-wrapper {
        height: 250px;
        padding: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-features {
        gap: 1.2rem;
    }

    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Dahiras */
    .dahira-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .dahira-card {
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .dahira-card .dahira-logo,
    .dahira-card .dahira-logo-placeholder {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
        padding: 14px;
    }

    .dahira-card h4 {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    /* Missions */
    .missions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-card {
        padding: 2rem 1.5rem;
    }

    .icon-box {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .mission-card h4 {
        font-size: 1.3rem;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-img {
        height: 160px;
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-content h3 {
        font-size: 1.15rem;
    }

    .news.section-padding iframe {
        width: 100% !important;
        max-width: 100%;
        height: 500px;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-grid .social-links {
        justify-content: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }

    /* Dahira Sub-Pages */
    .dahira-banner {
        margin-top: 80px;
        min-height: 250px;
        height: 35vh;
        background-attachment: scroll;
    }

    .dahira-banner-logo {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .dahira-banner-content h1 {
        font-size: 1.5rem;
    }

    .dahira-content-card {
        padding: 2rem 1.2rem;
    }

    .dahira-content-section {
        padding: 2.5rem 0;
    }

    .dahira-info-grid {
        grid-template-columns: 1fr;
    }

    /* Buttons — larger tap targets */
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        min-height: 48px;
    }
}

/* =============================================
   RESPONSIVE — Small phones (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    .section-padding {
        padding: 3rem 0 2.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 1.5rem 1.2rem;
        margin: 0 8px;
        border-radius: 14px;
    }

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

    .dahira-card {
        padding: 2rem 1.2rem;
    }

    .dahira-card .dahira-logo,
    .dahira-card .dahira-logo-placeholder {
        width: 110px;
        height: 110px;
    }

    .dahira-card h4 {
        font-size: 1.15rem;
    }

    .about-logo-wrapper {
        height: 200px;
        padding: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    .dahira-banner-content h1 {
        font-size: 1.3rem;
    }

    .dahira-banner-logo {
        width: 65px;
        height: 65px;
    }
}

/* =============================================
   IMPROVEMENT 1 — Active Nav Link
   ============================================= */
.nav-links li a.nav-active {
    color: var(--secondary-color);
    background: rgba(227, 176, 75, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

/* =============================================
   IMPROVEMENT 2 — Dahira Banner Hero
   ============================================= */
.dahira-banner {
    height: 45vh;
    min-height: 320px;
    background: var(--bg-dark);
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 130px;
}

.dahira-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 13, 4, 0.65), rgba(61, 34, 17, 0.93));
}

.dahira-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
}

.dahira-banner-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    padding: 14px;
    border: 2px solid var(--secondary-color);
    margin-bottom: 1.2rem;
    box-shadow: 0 0 0 6px rgba(227, 176, 75, 0.15);
    transition: var(--transition);
}

.dahira-banner-content h1 {
    color: white;
    font-size: 2.4rem;
    font-weight: 800;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.4rem;
}

.dahira-banner-content .dahira-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.dahira-banner-content .divider {
    margin: 1rem auto 0;
}

/* =============================================
   IMPROVEMENT 3 — Dahira Card Gold Hover Border
   ============================================= */
.dahira-card {
    border: 2px solid transparent;
}

.dahira-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(180, 114, 49, 0.18);
}

/* =============================================
   IMPROVEMENT 4 — Dahira Page Content Layout
   ============================================= */
.dahira-content-section {
    padding: 4rem 0;
}

.dahira-content-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 3rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.dahira-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.85;
    text-align: center;
    margin-bottom: 2.5rem;
}

.dahira-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.dahira-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1rem 1.2rem;
}

.dahira-info-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    background: rgba(227, 176, 75, 0.12);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.dahira-info-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.dahira-fb-section {
    margin: 2rem 0;
    background: #f0f2f5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.dahira-fb-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.dahira-fb-iframe-wrapper {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    background: white;
    display: inline-block;
    max-width: 100%;
}

.dahira-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   IMPROVEMENT 5 — Floating Labels Contact Form
   ============================================= */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating input,
.form-floating textarea {
    width: 100%;
    padding: 20px 20px 10px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

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

.form-floating input::placeholder,
.form-floating textarea::placeholder {
    color: transparent;
}

.form-floating label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.25s ease;
    background: transparent;
}

.form-floating input:focus,
.form-floating textarea:focus {
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(227, 176, 75, 0.15);
}

.form-floating input:focus+label,
.form-floating input:not(:placeholder-shown)+label,
.form-floating textarea:focus+label,
.form-floating textarea:not(:placeholder-shown)+label {
    top: 6px;
    left: 14px;
    font-size: 0.72rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =============================================
   IMPROVEMENT 6 — Footer 3-Column Grid
   ============================================= */
footer {
    background-color: #1A0D04;
    padding: 3.5rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
    color: white;
    font-size: 1.6rem;
}

.footer-brand p {
    margin-top: 0.8rem;
    opacity: 0.65;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h5 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact-info a:hover {
    color: var(--secondary-color);
}

.footer-contact-info i {
    color: var(--secondary-color);
    width: 16px;
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.45;
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}