/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
    --brand-green: #2f7d65;
    --brand-green-light: #3fa48a;
    --brand-dark: #1f2d2a;

    --radius-lg: 40px;
    --radius-md: 24px;
    --radius-sm: 16px;

    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   BASE
   ========================================================= */

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(to bottom, #ffffff, #f7f9f8);
    color: #1a1a1a;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: #ffffff;
    z-index: 1000;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 12px 16px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary,
.btn-success {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
    border: none;
    box-shadow: 0 10px 25px rgba(47, 125, 101, 0.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover,
.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(47, 125, 101, 0.45);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 85vh;
    color: #ffffff;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.55)
    );
}

.hero > .container {
    position: relative;
    z-index: 1;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.category-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f4f7f6);
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

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

.category-card img {
    height: 240px;
    object-fit: cover;
}

/* =========================================================
   WHY STORY SECTION
   ========================================================= */

.why-story-section {
    padding: 100px 0;
    background: #ffffff;
}

/* standard row */
.why-row {
    margin-bottom: 80px;
}

/* FULL WIDTH BACKGROUND – SAFE EXTENSION */
.why-row-full {
    width: 100%;
    background: linear-gradient(
            180deg,
            #f0f4ff 0%,
            #f7f9f8 100%
    );
}

.why-row-full .why-row {
    margin-bottom: 0;
    padding: 80px 0;
}

.why-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.why-content {
    padding: 0 40px;
}

.why-content h4 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
}

.why-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
}

/* =========================================================
   MEGA MENU (UNTOUCHED)
   ========================================================= */

.mega-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 2000;
    display: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mega-menu.active {
    display: block;
}

.mega-header {
    height: 72px;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
}

.mega-title {
    font-size: 18px;
    font-weight: 600;
}

.mega-close {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mega-left {
    padding: 64px 60px;
    border-right: 1px solid #eee;
}

.mega-right {
    padding: 64px 60px;
}

.mega-main {
    list-style: none;
    padding: 0;
}

.mega-main li {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    opacity: .5;
}

.mega-main li.active,
.mega-main li:hover {
    opacity: 1;
}

.mega-section {
    display: none;
}

.mega-section.active {
    display: block;
}

.mega-section a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
}

.mega-section a:hover {
    color: var(--brand-green);
}

/* =========================================================
   REALIZATIONS STRIP
   ========================================================= */

.realizations-strip {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
    border-radius: 32px;
    padding: 32px;
}

.realizations-strip img {
    border-radius: 20px;
    transition: transform .3s ease;
}

.realizations-strip img:hover {
    transform: scale(1.05);
}

/* =========================================================
   FACEBOOK FEED
   ========================================================= */

.fb-feed-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f4ff, #f7f9f8);
}

.fb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1877f2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    font-family: Arial, sans-serif;
}

.fb-feed-section .row {
    align-items: stretch;
}

.fb-post-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.fb-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.fb-post-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.fb-post-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.fb-post-header span {
    font-size: 12px;
    color: #6c757d;
}

.fb-post-text {
    padding: 0 16px 12px;
    font-size: 14px;
}

.fb-post-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.fb-post-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 13px;
    color: #6c757d;
    margin-top: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: linear-gradient(180deg, #ffffff, #f2f5f4);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    .why-content {
        padding: 24px 0 0;
    }

    .why-image {
        height: 260px;
    }

    .why-row {
        margin-bottom: 56px;
    }

    .why-row-full .why-row {
        padding: 56px 0;
    }
}
