/*
Theme Name: Smart Sustainability for Water & Energy
Theme URI: https://smart-sustain-ability.com
Author: Goha.agency
Author URI: https://goha.agency
Description: Premium WordPress theme for Smart Sustainability for Water & Energy.
Requires at least: 5.3
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ssa-theme
*/

@font-face {
    font-family: 'Alexandria';
    src: url('assets/fonts/Alexandria.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Doppio One';
    src: url('assets/fonts/DoppioOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-font: 'Alexandria', sans-serif;
    --blue: #1b6cae;
    --blue-light: #2a8fd4;
    --blue-dark: #0e4a7a;
    --green: #6fb043;
    --green-light: #8cc665;
    --green-dark: #5a9435;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --gray-bg: #f8f9fa;
    --white: #ffffff;
    --dark: #0a0f1a;
    --dark-light: #121826;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 92%;
    max-width: 1800px;
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blue);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================
   PARALLAX BACKGROUND
   ======================== */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(27, 108, 174, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(111, 176, 67, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(111, 176, 67, 0.08) 0%, transparent 50%);
}

.parallax-layer:nth-child(2) {
    background: radial-gradient(ellipse at 70% 30%, rgba(27, 108, 174, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 70%, rgba(111, 176, 67, 0.12) 0%, transparent 40%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -5%;
    background: linear-gradient(135deg, rgba(27, 108, 174, 0.4), rgba(111, 176, 67, 0.2));
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: -5%;
    background: linear-gradient(135deg, rgba(111, 176, 67, 0.3), rgba(27, 108, 174, 0.2));
    animation-delay: -5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    bottom: -10%;
    left: 30%;
    background: linear-gradient(135deg, rgba(111, 176, 67, 0.3), rgba(27, 108, 174, 0.15));
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    background: linear-gradient(135deg, rgba(27, 108, 174, 0.25), rgba(111, 176, 67, 0.2));
    animation-delay: -15s;
}

@keyframes float {

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

    25% {
        transform: translate(50px, -80px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-30px, 60px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(70px, 40px) rotate(270deg) scale(1.05);
    }
}

/* ========================
   HEADER
   ======================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 50px 0 20px;
    background: transparent;
    box-shadow: none;
    transition: all 0.6s var(--ease-out-expo);
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scrolled {
    padding: 30px 0 10px;
}

.header-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s var(--ease-out-expo);
}

.site-header.scrolled .header-container {
    padding: 0 30px;
    max-width: 100%;
}

.header-left-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 5px 20px 5px 40px;
    gap: 20px;
    border-radius: 0 50px 50px 0;
    margin-left: -40px;
    transition: all 0.4s var(--ease-out-expo);
}

.site-header.scrolled .header-left-pill {
    padding-left: 30px;
    margin-left: -30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.brand-wrapper {
    flex-shrink: 0;
    height: 70px;
    display: flex;
    align-items: flex-end;
}

.site-header.scrolled .brand-wrapper {
    height: 55px;
}

.site-logo {
    display: flex;
    align-items: center;
    transition: transform 0.6s var(--ease-out-expo);
}

.site-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header-left-pill {
        border-radius: 50px;
        margin-left: 0;
        padding: 5px 15px;
        position: relative;
        gap: 12px;
        width: fit-content;
        justify-content: flex-start;
    }

    .site-logo {
        position: relative;
        left: 0;
        top: 0;
        z-index: 10;
    }

    .site-logo img {
        height: 50px !important;
        width: auto !important;
        transform: none !important;
        filter: drop-shadow(0 5px 15px rgba(111, 176, 67, 0.3));
    }

    .brand-wrapper {
        height: auto;
        align-items: center;
    }

    /* Keep header fixed and steady on mobile scroll */
    .site-header {
        padding: 10px 15px !important;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header.scrolled {
        padding: 10px 15px !important;
    }

    .header-container {
        padding: 0;
    }

    /* Hide cluttered breadcrumbs on small mobile */
    .hero-breadcrumb-wrap {
        display: none !important;
    }

    .single-post-hero .post-title {
        font-size: 2.2rem;
        line-height: 1.25;
    }
}

/* ── TOC GLASS CARD ── */
.toc-glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 50px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-toggle-btn {
    background: #f0f7ff;
    border: none;
    color: var(--blue);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.toc-toggle-btn:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.toc-glass-card.collapsed .toc-toggle-btn {
    transform: rotate(-90deg);
}

.toc-glass-card.collapsed .toc-collapsible {
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
}

.toc-collapsible {
    transition: all 0.5s var(--ease-out-expo);
}

.toc-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.toc-list li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list li a:hover {
    color: var(--blue);
}

@media (max-width: 640px) {
    .toc-list {
        grid-template-columns: 1fr;
    }
}


.site-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(111, 176, 67, 0.3));
    transition: filter 0.6s var(--ease-out-expo), height 0.6s var(--ease-out-expo);
}

.site-header.scrolled .site-logo img {
    height: 90px;
    filter: drop-shadow(0 2px 15px rgba(111, 176, 67, 0.2));
}

@media (max-width: 768px) {
    .site-header.scrolled .site-logo img {
        height: 50px !important;
    }

    .site-header.scrolled .site-logo {
        top: 0 !important;
        left: 0 !important;
    }

    .site-header.scrolled .header-left-pill {
        padding: 5px 15px !important;
        margin-left: 0 !important;
    }
}

/* Navigation */
.main-navigation {
    display: flex;
    justify-content: flex-start;
    max-width: 1000px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.9s var(--ease-out-expo);
}

.site-header.scrolled .main-navigation {
    max-width: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
}

.site-header.scrolled .header-left-pill:hover .main-navigation {
    max-width: 800px;
    opacity: 1;
    margin-left: 20px;
}

.nav-list {
    display: flex;
    gap: 15px;
    /* Increased gap for fakhama */
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: block;
}

.nav-list li a {
    position: relative;
    display: block;
    padding: 10px 18px;
    /* Better padding */
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.5px;
    text-transform: capitalize;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
}

.nav-list li a:hover,
.nav-list li.current-menu-item>a {
    color: var(--blue);
}

/* Underline effect */
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: right;
}

.nav-list li a:hover::after,
.nav-list li.current-menu-item>a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-plus-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    box-shadow: 0 4px 15px rgba(27, 108, 174, 0.2);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.9s var(--ease-out-expo);
}

.site-header.scrolled .menu-plus-trigger {
    display: flex;
}

.site-header.scrolled .header-left-pill:hover .menu-plus-trigger {
    transform: rotate(180deg);
    box-shadow: 0 4px 15px rgba(111, 176, 67, 0.4);
}

.nav-link .dropdown-icon {
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.nav-link:hover .dropdown-icon {
    transform: translateY(2px);
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 130px !important;
        padding-bottom: 100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-bottom {
        bottom: 20px !important;
    }
}

/* Header Actions */
.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.btn-search {
    background: linear-gradient(135deg, #6fb043 0%, #1b6cae 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(27, 108, 174, 0.4);
    flex-shrink: 0;
}

.btn-search i {
    color: #ffffff !important;
}

.btn-search:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(111, 176, 67, 0.5);
    background: linear-gradient(135deg, #1b6cae 0%, #6fb043 100%);
}

/* ── Scrolled state: solid dark — always visible on light sections ── */
.site-header.scrolled .btn-search {
    background: #0d1a2e !important;
    border-color: rgba(111, 176, 67, 0.5) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

.site-header.scrolled .btn-search i {
    color: #ffffff !important;
}

.site-header.scrolled .btn-search:hover {
    background: linear-gradient(135deg, #6fb043 0%, #1b6cae 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 24px rgba(111, 176, 67, 0.45) !important;
    transform: translateY(-3px) scale(1.1);
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
    white-space: nowrap;
}

.btn-brand {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    box-shadow: 0 4px 15px rgba(27, 108, 174, 0.3);
}

.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 176, 67, 0.5);
}

.btn-green {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
}

.btn-text {
    max-width: 150px;
    opacity: 1;
    transition: all 0.4s var(--ease-out-expo);
}

.site-header.scrolled .btn-cta {
    padding: 0;
    width: 44px;
    height: 44px;
    gap: 0;
}

.site-header.scrolled .btn-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.btn-cta i {
    font-size: 1rem;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-cta i:first-child {
    font-size: 1.1rem;
}

.menu-trigger-mobile {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 10001;
}

.menu-trigger-mobile i {
    font-size: 1.3rem;
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--green-light);
    --fa-secondary-opacity: 0.5;
    transition: transform 0.4s var(--ease-out-expo);
}

.menu-trigger-mobile:hover {
    border-color: var(--green);
    background: rgba(111, 176, 67, 0.1);
}

.menu-trigger-mobile:hover i {
    transform: rotate(90deg);
}

/* ========================
   MOBILE OVERLAY
   ======================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-light);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-overlay-inner {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.overlay-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.overlay-close-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.overlay-close-btn i {
    font-size: 1.3rem;
    color: var(--white);
    --fa-primary-color: var(--white);
    --fa-secondary-color: var(--green);
    --fa-secondary-opacity: 0.5;
    transition: transform 0.4s var(--ease-out-expo);
}

.overlay-close-btn:hover {
    border-color: var(--green);
    background: rgba(111, 176, 67, 0.1);
}

.overlay-close-btn:hover i {
    transform: rotate(90deg);
    color: var(--green);
}

.overlay-menu-list {
    width: 100%;
}

.overlay-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s var(--ease-out-expo);
    margin-bottom: 25px;
    /* Spaced out for fakhama */
}

.mobile-overlay.active .overlay-menu-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-overlay.active .overlay-menu-list li:nth-child(1) {
    transition-delay: 0.08s;
}

.mobile-overlay.active .overlay-menu-list li:nth-child(2) {
    transition-delay: 0.14s;
}

.mobile-overlay.active .overlay-menu-list li:nth-child(3) {
    transition-delay: 0.20s;
}

.mobile-overlay.active .overlay-menu-list li:nth-child(4) {
    transition-delay: 0.26s;
}

.mobile-overlay.active .overlay-menu-list li:nth-child(5) {
    transition-delay: 0.32s;
}

.overlay-link {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out-expo);
}

.link-num {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 2px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.overlay-link:hover {
    color: var(--white);
    padding-left: 15px;
}

.overlay-link:hover .link-num {
    opacity: 1;
}

.overlay-footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo) 0.4s;
}

.mobile-overlay.active .overlay-footer-info {
    opacity: 1;
    transform: translateY(0);
}

.overlay-footer-info a {
    color: var(--gray-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.overlay-footer-info a:hover {
    color: var(--green);
}

.overlay-footer-info a i {
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--green-light);
    --fa-secondary-opacity: 0.5;
}

/* ========================
   HERO SECTION
   ======================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 15, 26, 0.85) 0%,
            rgba(10, 15, 26, 0.5) 40%,
            rgba(10, 15, 26, 0.75) 100%);
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 2.5s;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.hero-slide.active img {
    transform: scale(1);
    animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}



.hero-content-container {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: -5vh;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-keywords {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    /* Entrance + Infinite Floating */
    animation:
        fadeInUp 0.8s var(--ease-out-expo) forwards,
        floatTag 4s ease-in-out infinite both;
    transition: all 0.3s var(--ease-out-expo);
}

/* Stagger floating effect */
.hero-tag:nth-child(2n) {
    animation-duration: 0.8s, 5s;
    animation-delay: 0s, 0.5s;
}

.hero-tag:nth-child(3n) {
    animation-duration: 0.8s, 6s;
    animation-delay: 0s, 1s;
}

@keyframes floatTag {

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

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

.hero-tag:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-12px) scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(111, 176, 67, 0.3);
    z-index: 10;
}



.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .hero-bottom {
        bottom: 15px;
    }

    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
}


.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1.2s forwards;
}


.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease-out-expo);
    white-space: nowrap;
    text-decoration: none;
    min-width: 160px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(111, 176, 67, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(111, 176, 67, 0.5);
}

.hero-btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1.8s forwards;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    display: block;
}

.scroll-mouse::after {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--green);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

.hero-scroll-indicator span:last-child {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }

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

.site-header {
    animation: slideInDown 0.8s var(--ease-out-expo) 0.2s backwards;
}

.nav-list li {
    animation: fadeInUp 0.6s var(--ease-out-expo) backwards;
}

.nav-list li:nth-child(1) {
    animation-delay: 0.3s;
}

.nav-list li:nth-child(2) {
    animation-delay: 0.35s;
}

.nav-list li:nth-child(3) {
    animation-delay: 0.4s;
}

.nav-list li:nth-child(4) {
    animation-delay: 0.45s;
}

.nav-list li:nth-child(5) {
    animation-delay: 0.5s;
}

/* ========================
   COMMON SECTION STYLES
   ======================== */
.section-container {

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 1000px;
    margin: 0 auto;
}

.text-accent {
    color: var(--green);
}

.text-blue {
    color: var(--blue);
}

/* Light sections */
.light-section {
    background: var(--white);
}

.light-section:nth-child(even) {
    background: var(--gray-bg);
}

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

.light-section .section-text,
.light-section .about-text,
.light-section .about-intro-text {
    color: var(--gray);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(111, 176, 67, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 110, 174, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section .section-container {
    width: 86%;
    max-width: none;
    padding: 0;
}

.about-intro {
    max-width: 1400px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
}

.about-intro::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    margin: 30px auto 0;
    border-radius: 2px;
}

.about-intro-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--gray);
    letter-spacing: 0.1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}



.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(111, 176, 67, 0.1);
    border: 1px solid rgba(111, 176, 67, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-badge i {
    font-size: 1rem;
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--green-light);
    --fa-secondary-opacity: 0.4;
}

.about-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-subtitle {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--gray);
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--gray-lighter);
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--green);
}

.about-feature i {
    font-size: 1.1rem;
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--green-light);
    --fa-secondary-opacity: 0.4;
}

.about-feature span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

/* Image Slider */
.about-slider {
    position: relative;
}

.about-slider::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--green);
    border-radius: 24px;
    opacity: 0.2;
    z-index: -1;
}

.slider-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(111, 176, 67, 0.08);
    position: relative;
}

.about-media-frame {
    position: relative;
    padding: 8px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Liquid Fluid Border Animation */
.about-media-frame::before {
    content: '';
    position: absolute;
    inset: -150%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            var(--blue) 45deg,
            #0e4a7a 90deg,
            transparent 135deg,
            var(--green) 225deg,
            #5a9436 270deg,
            transparent 315deg,
            transparent 360deg);
    animation: liquidFlow 8s linear infinite;
    z-index: 0;
    opacity: 0.9;
    filter: blur(20px);
    /* Makes it look liquid/soft */
}

.about-media-frame::after {
    content: '';
    position: absolute;
    inset: 4px;
    /* Thin gap for the liquid border to show */
    background: var(--white);
    border-radius: 31px;
    z-index: 1;
}

.about-media-frame>* {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    display: block;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Clean definition */
}

@keyframes liquidFlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-media-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-dots {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.slider-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.slider-track {
    display: flex;
    transition: transform 0.6s var(--ease-out-expo);
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    opacity: 1 !important;
    /* Ensure visibility for track slider */
}

.slider-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.slider-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-lighter);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.slider-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.4s var(--ease-out-expo);
}

.slider-dot.active {
    background: var(--green);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(111, 176, 67, 0.4);
}

.slider-dot.active::after {
    border-color: rgba(111, 176, 67, 0.3);
}

/* Vision & Mission */
.vision-mission {
    position: relative;
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1541888086055-618d7f7fa203?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat fixed;
    /* High quality water texture */
    background-attachment: fixed;
    /* Parallax effect */
    color: var(--white);
    overflow: hidden;
}

.vision-mission .parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 55, 94, 0.85) 0%, rgba(27, 110, 174, 0.65) 100%);
    z-index: 0;
}

.vision-mission .section-container {
    position: relative;
    z-index: 1;
}

.vision-mission .vm-header {
    text-align: center;
    margin-bottom: 60px;
}

.vision-mission .vm-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.vision-mission .vm-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

/* Ensure accents pop out gracefully against dark bg */
.vision-mission .vm-title .text-accent {
    color: var(--green-light, #a4d27d);
}

.vision-mission .vm-title .text-blue {
    color: #aae0ff;
}

.vision-mission .vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.vm-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.vm-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.vm-card-glow {
    display: none;
    /* Removing the glow in favor of glassmorphism */
}

.vm-card-inner {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.vm-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s var(--ease-out-expo);
}

.vm-card:hover .vm-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.25);
}

.vm-icon-wrap i {
    font-size: 1.7rem;
    transition: all 0.4s ease;
}

.vm-card--vision .vm-icon-wrap i {
    color: #4df0ff;
    --fa-primary-color: #4df0ff;
    --fa-secondary-color: rgba(77, 240, 255, 0.4);
    text-shadow: 0 0 15px rgba(77, 240, 255, 0.4);
}

.vm-card--mission .vm-icon-wrap i {
    color: #ffd700;
    --fa-primary-color: #ffd700;
    --fa-secondary-color: rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.vm-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--white);
    font-weight: 500;
}

.mission-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    /* slightly more visible */
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* clearer border */
    transition: all 0.3s ease;
}

.mission-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.mission-bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--green-light, #a4d27d);
    margin-top: 6px;
    box-shadow: 0 0 10px rgba(164, 210, 125, 0.6);
}

.mission-bullet::after {
    display: none;
}


/* ========================
   BRANDS SECTION
   ======================== */
.brands-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.brand-card {
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-lighter);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--green);
    background: var(--white);
}

.brand-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--green), transparent);
    transition: height 0.5s var(--ease-out-expo);
}

.brand-card:hover::after {
    height: 100%;
}

.brand-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
}

.brand-logo-frame {
    width: 140px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s var(--ease-out-expo);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.brand-card:hover .brand-logo-img {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 15px 25px rgba(27, 110, 174, 0.2));
}

.brand-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(27, 110, 174, 0.2);
}

.brand-logo-placeholder i {
    font-size: 1.6rem;
    color: var(--white);
}

.brand-origin {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(111, 176, 67, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.brand-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.brand-stats span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    background: var(--blue);
    padding: 4px 12px;
    border-radius: 20px;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray);
}

/* ========================
   GLOBAL REACH SECTION
   ======================== */
.global-reach-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-reach-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.global-reach-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    transition: transform 1.5s var(--ease-out-expo);
}

.global-reach-section:hover .global-reach-bg img {
    transform: scale(1.03);
}

.global-reach-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(14, 74, 122, 0.25) 0%, rgba(8, 55, 94, 0.8) 100%);
    z-index: 1;
}

.global-reach-section .section-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.global-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.global-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.global-content .text-accent {
    color: var(--green-light, #a4d27d);
}

.global-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ════════════════════════════════════════════════════════
   EXPERTISE SECTION  (.exp-section)
   ════════════════════════════════════════════════════════ */
.exp-section {
    position: relative;
    background: var(--dark, #0d1a2e);
    padding: 0;
    overflow: hidden;
}

/* Top decorative glow line */
.exp-glow-line {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #6fb043 40%, #1b6cae 60%, transparent 100%);
    opacity: 0.8;
}

/* ── Main two-column wrapper ─────────────────────────── */
.exp-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 560px;
}

/* ── LEFT: dark prose panel ──────────────────────────── */
.exp-left {
    padding: 70px 50px 70px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    position: relative;
}

/* Subtle right border separator */
.exp-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.exp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #6fb043;
    --fa-primary-color: #6fb043;
    --fa-secondary-opacity: 0.4;
}

.exp-heading {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.exp-heading-accent {
    color: #6fb043;
    display: inline-block;
}

.exp-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    max-width: 420px;
    margin: 0;
}

/* Mini stats row */
.exp-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 4px 0;
    flex-wrap: wrap;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.exp-stat strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.exp-stat span {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.exp-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.exp-outro {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0;
    border-left: 2px solid rgba(111, 176, 67, 0.4);
    padding-left: 14px;
}

/* CTA button */
.exp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6fb043 0%, #1b6cae 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    align-self: flex-start;
    transition: gap 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    box-shadow: 0 6px 24px rgba(27, 108, 174, 0.35);
    --fa-primary-color: #fff;
    --fa-secondary-opacity: 0.5;
}

.exp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(111, 176, 67, 0.4);
    gap: 14px;
}

.exp-cta-arrow {
    transition: transform 0.3s ease;
}

.exp-cta:hover .exp-cta-arrow {
    transform: translateX(5px);
}

/* ── RIGHT: card grid ────────────────────────────────── */
.exp-right {
    padding: 50px 0 50px 50px;
    display: flex;
    align-items: center;
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* ── Base card ───────────────────────────────────────── */
.exp-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
}

.exp-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

/* Color-coded top borders */
.exp-card--green::before {
    background: linear-gradient(90deg, #6fb043, #95cc62);
}

.exp-card--blue::before {
    background: linear-gradient(90deg, #1b6cae, #4a9dd6);
}

.exp-card--teal::before {
    background: linear-gradient(90deg, #0e8a8a, #1bb5b5);
}

.exp-card--dark::before {
    background: linear-gradient(90deg, #4a5a70, #7a8fa8);
}

/* Icon container */
.exp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.exp-card--green .exp-card-icon {
    background: rgba(111, 176, 67, 0.15);
    --fa-primary-color: #6fb043;
    --fa-secondary-opacity: 0.4;
}

.exp-card--blue .exp-card-icon {
    background: rgba(27, 108, 174, 0.15);
    --fa-primary-color: #4a9dd6;
    --fa-secondary-opacity: 0.4;
}

.exp-card--teal .exp-card-icon {
    background: rgba(14, 138, 138, 0.15);
    --fa-primary-color: #1bb5b5;
    --fa-secondary-opacity: 0.4;
}

.exp-card--dark .exp-card-icon {
    background: rgba(74, 90, 112, 0.2);
    --fa-primary-color: #9ab0c8;
    --fa-secondary-opacity: 0.4;
}

.exp-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.exp-card-text {
    font-size: 0.83rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .exp-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .exp-left {
        padding: 60px 40px 60px 0;
    }

    .exp-right {
        padding: 60px 0 60px 40px;
    }
}

@media (max-width: 768px) {
    .exp-wrap {
        grid-template-columns: 1fr;
    }

    .exp-left {
        padding: 60px 0 40px;
    }

    .exp-left::after {
        display: none;
    }

    .exp-right {
        padding: 0 0 60px;
    }

    .exp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .exp-grid {
        grid-template-columns: 1fr;
    }

    .exp-cta {
        width: 100%;
        justify-content: center;
    }
}






/* ========================
   CONTACT SECTION
   ======================== */
.contact-section {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-lighter);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--green);
    background: var(--white);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(111, 176, 67, 0.1) 0%, rgba(27, 110, 174, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(111, 176, 67, 0.2);
}

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

.contact-item h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--gray-lighter);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--gray-bg);
    border: 1px solid var(--gray-lighter);
    border-radius: 12px;
    color: var(--dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.4s var(--ease-out-expo);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 15px rgba(111, 176, 67, 0.1);
    background: var(--white);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 10px 30px rgba(111, 176, 67, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(111, 176, 67, 0.5);
}

/* ========================
   ULTIMATE BLOG & INTERNAL CSS
   ======================== */

/* Single Hero Parallax */
.single-hero-parallax {
    position: relative;
    padding: 220px 0 120px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
}

.single-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.luxury-breadcrumbs {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.luxury-breadcrumbs a {
    color: var(--white);
    transition: color 0.3s;
}

.luxury-breadcrumbs a:hover {
    color: var(--green);
}

.luxury-breadcrumbs .sep {
    font-size: 0.7rem;
    opacity: 0.5;
}

.glass-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.glass-meta .meta-tag {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.glass-meta .meta-tag i {
    color: var(--green);
    font-size: 1rem;
}

.glass-meta .meta-tag a {
    color: var(--white);
}

.glass-meta .meta-tag a:hover {
    color: var(--green);
}

.single-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Page Hero Default */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background-image: linear-gradient(160deg, rgba(13, 21, 32, 0.95) 0%, rgba(10, 22, 40, 0.95) 100%), url('assets/images/hero.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-breadcrumb {
    font-size: 0.95rem;
    color: var(--gray-light);
    font-weight: 600;
}

.page-breadcrumb a {
    color: var(--green);
    transition: color 0.3s ease;
}

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

/* Editorial Layout */
.editorial-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.sticky-share {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.share-btn.fb {
    background: #1877F2;
}

.share-btn.tw {
    background: #1DA1F2;
}

.share-btn.in {
    background: #0A66C2;
}

.share-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.editorial-main,
.page-wrapper {
    flex: 1;
    min-width: 0;
}

.page-wrapper {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.editorial-content,
.page-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray);
}

.editorial-content p,
.page-content p {
    margin-bottom: 25px;
}

/* Drop Cap */
.editorial-content>p:first-of-type::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--green);
    margin-right: 15px;
    margin-top: 5px;
    text-shadow: 2px 2px 0px rgba(111, 176, 67, 0.2);
}

/* Premium Typography */
.editorial-content h2,
.page-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 50px 0 25px;
    position: relative;
    padding-bottom: 15px;
}

.editorial-content h2::after,
.page-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
}

.editorial-content h3,
.page-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin: 40px 0 20px;
}

/* Table of Contents */
.toc-glass-card {
    background: var(--gray-bg);
    border: 1px solid var(--gray-lighter);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-title i {
    color: var(--green);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
}

@media (max-width: 991px) {
    .toc-list {
        grid-template-columns: 1fr;
    }
}

.toc-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.toc-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}

.toc-list a {
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    display: inline-block;
}

.toc-list a:hover {
    color: var(--green);
    transform: translateX(5px);
}

/* Blockquotes */
.editorial-content blockquote,
.page-content blockquote {
    background: var(--gray-bg);
    border-left: 6px solid var(--green);
    padding: 30px 40px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--dark);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.editorial-content blockquote::before,
.page-content blockquote::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--green);
    opacity: 0.1;
}

/* Styled Lists */
.editorial-content ul,
.page-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.editorial-content ul li,
.page-content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.editorial-content ul li::before,
.page-content ul li::before {
    content: '\f058';
    /* fa-circle-check */
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--green);
    font-size: 1.2rem;
}

.editorial-content ol,
.page-content ol {
    margin: 30px 0;
    padding-left: 25px;
}

.editorial-content ol li,
.page-content ol li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Featured Images inside content */
.editorial-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Author Block */
.author-block-premium {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.author-avatar img {
    border-radius: 50%;
    border: 4px solid var(--green);
}

.author-info h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.author-info h4 span {
    color: var(--blue);
}

.author-info p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

/* ========================
   ARCHIVE CSS
   ======================== */
.archive-hero-premium {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.archive-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.archive-title i {
    color: var(--green);
    margin-right: 10px;
}

.archive-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.masonry-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.fire-post-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid var(--gray-lighter);
}

.fire-post-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--green);
}

.fire-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.fire-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

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

.fire-card-cat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fire-card-content {
    padding: 35px;
}

.fire-card-meta {
    display: flex;
    gap: 15px;
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.fire-card-meta i {
    color: var(--green);
    margin-right: 5px;
}

.fire-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
}

.fire-card-title a {
    color: var(--dark);
    transition: color 0.3s;
}

.fire-card-title a:hover {
    color: var(--green);
}

.fire-card-excerpt {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.fire-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--blue);
    transition: all 0.3s;
}

.fire-read-more:hover {
    color: var(--green);
    gap: 15px;
}

.fire-pagination,
.pagination {
    margin: 40px 0 80px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.fire-pagination .nav-links,
.pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fire-pagination a,
.fire-pagination span,
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.fire-pagination a:hover,
.fire-pagination .current,
.pagination a:hover,
.pagination .current {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.fire-not-found {
    text-align: center;
    padding: 100px 0;
}

.fire-not-found h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

/* ========================
   STATS SECTION
   ======================== */
.stats-section {
    background: var(--dark);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    color: var(--green);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================
   LUXURY FOOTER
   ======================== */
.site-footer {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.footer-glow-line {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-cta-section {
    text-align: center;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-big-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
}

.text-gold {
    color: var(--green);
    position: relative;
    display: inline-block;
}

.text-gold::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green);
    opacity: 0.3;
    border-radius: 2px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    border: 2px solid var(--green);
    color: var(--green);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
}

.footer-cta-btn:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 176, 67, 0.4);
}

.footer-cta-btn i {
    transition: transform 0.4s var(--ease-out-expo);
}

.footer-cta-btn:hover i {
    transform: translateX(5px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tags-cloud a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-tags-cloud a:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 300px;
    font-size: 0.9rem;
}

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

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-expo);
}

.footer-socials a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

.links-col ul li {
    margin-bottom: 14px;
}

.links-col a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out-expo);
    display: inline-block;
    position: relative;
}

.links-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width 0.3s var(--ease-out-expo);
}

.links-col a:hover {
    color: var(--green);
    padding-left: 8px;
}

.links-col a:hover::after {
    width: 100%;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.contact-list i {
    color: var(--green);
    margin-top: 3px;
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--green-light);
    --fa-secondary-opacity: 0.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    color: var(--gray);
    font-size: 0.85rem;
}

.back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: all 0.3s var(--ease-out-expo);
}

.back-to-top:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .header-glass {
        padding: 0 24px;
    }

    .nav-list {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .site-logo img {
        height: 60px;
    }

    .btn-cta {
        padding: 12px 22px;
        font-size: 0.8rem;
    }

    .title-line {
        font-size: 3.5rem;
    }

    .stats-container {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

    .footer-big-title {
        font-size: 2.8rem;
    }

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

    .section-container {
        padding: 0 24px;
    }

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

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

    .expertise-list {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-slider::before {
        display: none;
    }

    .slider-slide img {
        height: 350px;
    }

    .vision-mission {
        width: 100%;
        padding: 60px 40px;
        border-radius: 28px;
    }

    .vm-title {
        font-size: 2.2rem;
    }

    .vm-card-inner {
        padding: 32px 35px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }

    .site-header.scrolled {
        padding: 12px 0;
    }

    .header-glass {
        padding: 0 16px;
    }

    .header-inner {
        padding: 12px 0;
    }

    .main-navigation {
        display: none;
    }

    .btn-cta {
        display: none;
    }

    .menu-trigger-mobile {
        display: flex;
    }

    .site-logo img {
        height: 50px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-scroll-indicator {
        bottom: 25px;
    }

    .overlay-link {
        font-size: 1.5rem;
        padding: 18px 0;
    }

    .mobile-overlay-inner {
        padding: 0 20px;
    }

    .overlay-header {
        margin-bottom: 30px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-cta-section {
        padding: 50px 0 40px;
    }

    .footer-big-title {
        font-size: 2.2rem;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 0;
    }

    .footer-desc {
        max-width: 100%;
    }

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

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-section,
    .brands-section,
    .expertise-section,
    .brochures-section,
    .contact-section {
        padding: 60px 0;
    }

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

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .slider-slide img {
        height: 280px;
    }

    .about-intro {
        margin-bottom: 60px;
    }

    .about-grid {
        gap: 40px;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }

    .about-intro-text {
        font-size: 1.1rem;
    }

    .vision-mission {
        width: 100%;
        padding: 50px 24px;
        border-radius: 24px;
    }

    .vm-title {
        font-size: 1.8rem;
    }

    .vm-card-inner {
        padding: 28px 24px;
        gap: 20px;
        flex-direction: column;
    }

    .vm-icon-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .vm-icon-wrap i {
        font-size: 1.2rem;
    }

    .vm-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 110px !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .site-logo img {
        height: 42px;
    }

    .title-line {
        font-size: 2rem;
    }

    .hero-bottom {
        padding: 0 16px;
    }

    .overlay-link {
        font-size: 1.3rem;
    }

    .link-num {
        font-size: 0.75rem;
    }

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

    .vision-mission {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .vm-title {
        font-size: 1.5rem;
    }

    .vm-card-inner {
        padding: 24px 20px;
        gap: 16px;
    }

    .mission-list li {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .main-navigation {
        display: none !important;
    }

    .menu-plus-trigger {
        display: flex !important;
    }
}

/* =========================================================
   Redesigned About Section (Split layout & Figures Grid)
   ========================================================= */

.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%) !important;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(111, 176, 67, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(27, 108, 174, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-section .section-container {
    position: relative;
    z-index: 1;
}

.about-new-hero {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.about-new-hero-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-new-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.about-new-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Defaulting to left since image left. Adjust to center if needed per user */
    text-align: left;
}

.about-new-hero-content .section-title {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-new-hero-content .about-text {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.btn-green-rounded {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(111, 176, 67, 0.3);
}

.btn-green-rounded:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 176, 67, 0.5);
    color: var(--white);
}

/* Figures Grid */
.about-figures {
    margin-bottom: 80px;
}

.figures-header {
    margin-bottom: 35px;
    text-align: left;
}

.figures-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.figures-title {
    font-size: 2.2rem;
    color: var(--blue);
    font-weight: 700;
}

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

.figure-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.figure-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.figure-icon {
    font-size: 2.2rem;
    color: var(--green);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.figure-info {
    display: flex;
    flex-direction: column;
}

.figure-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1.1;
    margin-bottom: 4px;
}

.figure-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

/* Responsive tweaks for About */
@media (max-width: 991px) {
    .about-new-hero {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-new-hero-image {
        max-width: 80%;
    }

    .about-new-hero-content {
        align-items: center;
    }

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

@media (max-width: 767px) {
    .about-new-hero-image {
        max-width: 100%;
    }

    .about-new-hero-content .section-title {
        font-size: 2rem;
    }

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

/* ============================================================
   PREMIUM FLOATING BACK-TO-TOP BUTTON
   ============================================================ */

@keyframes ssa-rise-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.85);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ssa-glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(111, 176, 67, 0), 0 10px 35px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(111, 176, 67, 0.18), 0 14px 45px rgba(0, 0, 0, 0.55);
    }
}

@keyframes ssa-badge-in {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.95);
    }

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

/* ── Outer wrapper (fixed position) ── */
.ssa-scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.85);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ssa-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: ssa-rise-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Circle wrapper – holds BOTH the SVG ring and the inner button ── */
.ssa-circle-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ── SVG progress ring ── */
.ssa-progress-ring {
    position: absolute;
    inset: 0;
    /* fills the wrapper exactly */
    width: 68px;
    height: 68px;
    transform: rotate(-90deg);
    /* 12-o'clock start */
    pointer-events: none;
    overflow: visible;
}

.ssa-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3.5;
}

.ssa-ring-fill {
    fill: none;
    stroke: url(#ssa-grad);
    stroke-width: 4;
    stroke-linecap: round;
    /* r=30 → circumference = 2π×30 ≈ 188.5 */
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(111, 176, 67, 0.8));
}

/* ── Inner button circle ── */
.ssa-scroll-inner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0d1625 0%, #1a2a40 100%);
    border: 1.5px solid rgba(111, 176, 67, 0.4);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
    z-index: 1;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        background 0.3s ease;
}

.ssa-circle-wrap:hover .ssa-scroll-inner {
    transform: translateY(-3px) scale(1.06);
    border-color: var(--green);
    background: linear-gradient(145deg, #0e1e35 0%, #1d3250 100%);
    animation: ssa-glow-pulse 1.6s ease infinite;
}

/* ── Arrow icon ── */
.ssa-arrow-icon {
    font-size: 1rem;
    color: #8cc665;
    --fa-primary-color: #8cc665;
    --fa-secondary-color: #ffffff;
    --fa-secondary-opacity: 0.45;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ssa-circle-wrap:hover .ssa-arrow-icon {
    transform: translateY(-3px);
}

/* ── Percentage label inside circle ── */
.ssa-pct-label {
    font-size: 0.52rem;
    font-weight: 700;
    color: rgba(140, 198, 101, 0.85);
    letter-spacing: 0.4px;
    line-height: 1;
    font-family: var(--primary-font);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .ssa-scroll-top {
        bottom: 18px;
        left: 14px;
        gap: 7px;
    }

    .ssa-circle-wrap,
    .ssa-progress-ring {
        width: 58px;
        height: 58px;
    }

    .ssa-scroll-inner {
        width: 46px;
        height: 46px;
    }

    .ssa-arrow-icon {
        font-size: 0.85rem;
    }
}

/* ============================================================
   FULLSCREEN SEARCH OVERLAY
   ============================================================ */

/* --- Search button in header --- */
.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.btn-search:hover {
    background: rgba(111, 176, 67, 0.2);
    border-color: rgba(111, 176, 67, 0.6);
    transform: scale(1.1);
}

.btn-search i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-search:hover i {
    transform: rotate(15deg) scale(1.15);
}

/* --- Overlay container --- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}

.search-overlay.is-open {
    pointer-events: auto;
    visibility: visible;
}

/* --- Backdrop --- */
.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.92);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(111, 176, 67, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 60%, rgba(27, 108, 174, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.search-overlay.is-open .search-overlay-backdrop,
.search-overlay.is-open::before {
    opacity: 1;
}

/* --- Inner panel --- */
.search-overlay-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    padding: 0 32px;
    transform: translateY(40px) scale(0.97);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    transition-delay: 0.1s;
}

.search-overlay.is-open .search-overlay-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* --- Close button --- */
.search-overlay-close {
    position: absolute;
    top: -70px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-close:hover {
    background: rgba(255, 80, 80, 0.15);
    border-color: rgba(255, 80, 80, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.close-icon {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    width: 18px;
    height: 18px;
}

.close-icon span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.close-icon span:first-child {
    transform: rotate(45deg);
}

.close-icon span:last-child {
    transform: rotate(-45deg);
}

.search-overlay-close:hover .close-icon span {
    background: #ff6b6b;
}

/* --- Label above input --- */
.search-label {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.search-overlay.is-open .search-label {
    opacity: 1;
    transform: translateY(0);
}

/* --- Search form --- */
.search-overlay-form {
    width: 100%;
    margin-bottom: 36px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.4s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--green, #6fb043);
}

.search-input-icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    margin-right: 18px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.search-input-wrapper:focus-within .search-input-icon {
    color: var(--green, #6fb043);
}

.search-overlay-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 300;
    color: #fff;
    font-family: var(--primary-font, 'Alexandria', sans-serif);
    letter-spacing: -0.01em;
    padding: 18px 0;
    caret-color: var(--green, #6fb043);
    min-width: 0;
}

.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-overlay-input::-webkit-search-cancel-button {
    display: none;
}

.search-overlay-submit {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green, #6fb043);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    margin-left: 16px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    box-shadow: 0 6px 24px rgba(111, 176, 67, 0.4);
}

.search-input-wrapper:focus-within .search-overlay-submit {
    opacity: 1;
    transform: scale(1);
}

.search-overlay-submit:hover {
    background: #5a9a35;
    transform: scale(1.1) !important;
}

/* --- Suggestions --- */
.search-suggestions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.search-overlay.is-open .search-suggestions {
    opacity: 1;
    transform: translateY(0);
}

.suggestions-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.suggestion-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.suggestion-tag:hover {
    background: rgba(111, 176, 67, 0.18);
    border-color: rgba(111, 176, 67, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .search-overlay-inner {
        padding: 0 20px;
    }

    .search-overlay-close {
        top: -60px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .search-overlay-input {
        font-size: clamp(1.4rem, 6vw, 2rem);
        padding: 14px 0;
    }

    .search-label {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .search-suggestions {
        gap: 8px;
    }

    .suggestion-tag {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .search-overlay-input {
        font-size: 1.4rem;
        padding: 12px 0;
    }

    .search-input-icon {
        font-size: 1.1rem;
        margin-right: 12px;
    }

    .search-overlay-submit {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .suggestions-label {
        font-size: 0.75rem;
    }
}


/* ═══════════════════════════════════════════════════════════
   SSA SHARED PAGE SYSTEM
   Search · Archive · Category · 404
   ═══════════════════════════════════════════════════════════ */

/* ── Page Hero ─────────────────────────────────────────── */
.ssa-page-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--dark) 0%, #0d1e35 60%, #0a1520 100%);
    overflow: hidden;
    padding: 140px 24px 80px;
}

/* Decorative orbs */
.ssa-page-hero::before,
.ssa-page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ssa-page-hero::before {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(111, 176, 67, 0.1) 0%, transparent 65%);
}

.ssa-page-hero::after {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(27, 108, 174, 0.1) 0%, transparent 65%);
}

/* Fine dot grid */
.ssa-page-hero .ssa-page-hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.ssa-page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    gap: 16px;
}

/* Large icon */
.ssa-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(111, 176, 67, 0.12);
    border: 1px solid rgba(111, 176, 67, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 4px;
    --fa-primary-color: #8cc665;
    --fa-secondary-color: #6fb043;
    --fa-secondary-opacity: 0.5;
    backdrop-filter: blur(10px);
}

/* Eyebrow label */
.ssa-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-light);
    --fa-primary-color: #8cc665;
    --fa-secondary-color: #6fb043;
    --fa-secondary-opacity: 0.5;
}

/* Page title */
.ssa-page-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}

.ssa-highlight {
    color: var(--green-light);
    display: inline;
}

/* Sub text */
.ssa-page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 560px;
    line-height: 1.7;
    --fa-primary-color: #8cc665;
    --fa-secondary-opacity: 0.5;
}

.ssa-page-subtitle i {
    margin-right: 6px;
}

/* Count badge */
.ssa-hero-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    --fa-primary-color: #8cc665;
    --fa-secondary-opacity: 0.5;
    margin-top: 4px;
}

/* ── Hero Inline Search (search.php) ─────────────────── */
.ssa-hero-search-form {
    width: 100%;
    max-width: 620px;
    margin-top: 10px;
}

.ssa-hero-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    gap: 12px;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ssa-hero-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(111, 176, 67, 0.45);
}

.ssa-hero-search-icon {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    --fa-primary-color: rgba(255, 255, 255, 0.3);
    --fa-secondary-opacity: 0.4;
    transition: color 0.3s ease;
}

.ssa-hero-search-wrapper:focus-within .ssa-hero-search-icon {
    color: var(--green-light);
    --fa-primary-color: #8cc665;
}

.ssa-hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #fff;
    font-family: var(--primary-font);
    min-width: 0;
}

.ssa-hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.ssa-hero-search-submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s var(--ease-out-expo);
    --fa-primary-color: #fff;
    --fa-secondary-opacity: 0.7;
}

.ssa-hero-search-submit:hover {
    background: var(--green-dark);
    transform: scale(1.08);
}

/* ── Page Body ──────────────────────────────────────── */
.ssa-page-body {
    padding: 64px 0 100px;
    background: var(--gray-bg);
    min-height: 40vh;
}

.ssa-page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Archive bar ─────────────────────────────────── */
.ssa-archive-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    font-size: 0.88rem;
}

.ssa-archive-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ssa-archive-crumb {
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.ssa-archive-crumb:hover {
    color: var(--blue);
}

.ssa-archive-crumb--current {
    font-weight: 600;
    color: var(--dark);
}

.ssa-crumb-sep {
    font-size: 0.6rem;
    color: var(--gray-light);
    --fa-primary-color: var(--gray-light);
    --fa-secondary-opacity: 0.4;
}

.ssa-archive-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-light);
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.5;
}

/* ── Result Cards Grid ─────────────────────────── */
.ssa-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.ssa-result-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.ssa-result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Thumbnail */
.ssa-result-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--dark);
    flex-shrink: 0;
}

.ssa-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.ssa-result-card:hover .ssa-result-thumb img {
    transform: scale(1.05);
}

.ssa-result-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.4rem;
    color: #fff;
    --fa-primary-color: #fff;
    --fa-secondary-opacity: 0.6;
}

.ssa-result-card:hover .ssa-result-thumb-overlay {
    opacity: 1;
}

/* Placeholder thumbnail */
.ssa-result-thumb--placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e8f0f8 0%, #dce8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    text-decoration: none;
    --fa-primary-color: var(--blue-light);
    --fa-secondary-color: var(--blue);
    --fa-secondary-opacity: 0.3;
}

/* Card body */
.ssa-result-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* Meta row */
.ssa-result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ssa-result-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(111, 176, 67, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    transition: background 0.2s ease, color 0.2s ease;
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.4;
}

.ssa-result-cat:hover {
    background: rgba(111, 176, 67, 0.2);
    color: var(--green-dark);
}

.ssa-result-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--gray-light);
    --fa-primary-color: var(--gray-light);
    --fa-secondary-opacity: 0.4;
}

/* Title */
.ssa-result-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.ssa-result-title a {
    color: inherit;
    transition: color 0.25s ease;
}

.ssa-result-title a:hover {
    color: var(--blue);
}

/* Excerpt */
.ssa-result-excerpt {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}

/* Read more */
.ssa-result-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: gap 0.3s ease, color 0.2s ease;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.ssa-result-link:hover {
    gap: 14px;
    color: var(--blue-dark);
}

/* ── Pagination ─────────────────────────────────── */
.ssa-pagination {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.ssa-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ssa-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray);
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    --fa-primary-color: var(--gray);
    --fa-secondary-opacity: 0.4;
}

.ssa-pagination .page-numbers:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
    --fa-primary-color: #fff;
}

.ssa-pagination .page-numbers.current {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.ssa-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

/* Prev/Next pills */
.ssa-pagination .prev,
.ssa-pagination .next {
    padding: 0 20px;
    border-radius: 30px;
    gap: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

/* ── Shared Buttons ─────────────────────────────── */
.ssa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s var(--ease-out-expo);
    --fa-primary-color: currentColor;
    --fa-secondary-opacity: 0.5;
}

.ssa-btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(111, 176, 67, 0.35);
}

.ssa-btn--primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(111, 176, 67, 0.45);
    color: var(--white);
}

.ssa-btn--ghost {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--gray-lighter);
}

.ssa-btn--ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(27, 108, 174, 0.06);
    transform: translateY(-3px);
}

.ssa-btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 14px;
}

/* ── No Results State ───────────────────────────── */
.ssa-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    gap: 18px;
}

.ssa-no-results-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(27, 108, 174, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    --fa-primary-color: var(--blue);
    --fa-secondary-color: var(--blue-light);
    --fa-secondary-opacity: 0.3;
    margin-bottom: 8px;
}

.ssa-no-results h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.ssa-no-results p {
    font-size: 1rem;
    color: var(--gray);
    max-width: 460px;
    line-height: 1.7;
}

.ssa-no-results-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}


/* ═══════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════ */

.ssa-404-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(150deg, var(--dark) 0%, #091623 60%, #060e1a 100%);
    padding: 120px 24px 80px;
}

/* Animated orbs */
.ssa-404-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ssa-404-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.ssa-404-orb--1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -120px;
    background: radial-gradient(circle, rgba(111, 176, 67, 0.15) 0%, transparent 70%);
    animation: ssa-orb-drift 10s ease-in-out infinite alternate;
}

.ssa-404-orb--2 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(27, 108, 174, 0.15) 0%, transparent 70%);
    animation: ssa-orb-drift 13s ease-in-out infinite alternate-reverse;
}

.ssa-404-orb--3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(140, 198, 101, 0.07) 0%, transparent 70%);
    animation: ssa-orb-pulse 6s ease-in-out infinite;
}

@keyframes ssa-orb-drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 20px) scale(1.08);
    }
}

@keyframes ssa-orb-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Fine grid overlay */
.ssa-404-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Inner content */
.ssa-404-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    gap: 20px;
}

/* Giant 404 number */
.ssa-404-number {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1;
    margin-bottom: -10px;
    user-select: none;
}

.ssa-404-number .n4-left,
.ssa-404-number .n4-right {
    font-size: clamp(6rem, 17vw, 12rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.12);
    letter-spacing: -4px;
}

.ssa-404-number .n0-center {
    font-size: clamp(4rem, 12vw, 8rem);
    padding: 0 8px;
    --fa-primary-color: var(--green-light);
    --fa-secondary-color: var(--green);
    --fa-secondary-opacity: 0.4;
    animation: ssa-icon-bounce 3s ease-in-out infinite;
}

@keyframes ssa-icon-bounce {

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

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

/* Badge */
.ssa-404-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border-radius: 30px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.22);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffcc55;
    --fa-primary-color: #ffcc55;
    --fa-secondary-opacity: 0.4;
}

/* Heading */
.ssa-404-heading {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    max-width: 520px;
}

/* Body text */
.ssa-404-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    line-height: 1.75;
}

/* CTA buttons */
.ssa-404-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

/* Override ghost button for dark bg */
.ssa-404-page .ssa-btn--ghost {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.ssa-404-page .ssa-btn--ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* Divider */
.ssa-404-divider {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin: 8px 0 0;
}

.ssa-404-divider::before,
.ssa-404-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ssa-404-divider span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* 404 Search form */
.ssa-404-search {
    width: 100%;
    max-width: 500px;
}

.ssa-404-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 6px 6px 6px 22px;
    gap: 10px;
    backdrop-filter: blur(14px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ssa-404-search-wrapper:focus-within {
    border-color: rgba(111, 176, 67, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

.ssa-404-search-wrapper>i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    --fa-primary-color: rgba(255, 255, 255, 0.25);
    --fa-secondary-opacity: 0.3;
    transition: color 0.3s ease;
}

.ssa-404-search-wrapper:focus-within>i {
    color: var(--green-light);
    --fa-primary-color: #8cc665;
}

.ssa-404-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #fff;
    font-family: var(--primary-font);
    min-width: 0;
}

.ssa-404-search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.ssa-404-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s var(--ease-out-expo);
    --fa-primary-color: #fff;
    --fa-secondary-opacity: 0.6;
}

.ssa-404-search-btn:hover {
    background: var(--green-dark);
    transform: scale(1.1);
}

/* Helpful links */
.ssa-404-helpful {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-top: 4px;
}

.ssa-404-helpful-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    --fa-primary-color: rgba(255, 255, 255, 0.25);
    --fa-secondary-opacity: 0.3;
}

.ssa-404-helpful a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.25s ease;
    --fa-primary-color: var(--green-light);
    --fa-secondary-opacity: 0.4;
}

.ssa-404-helpful a:hover {
    color: var(--white);
}


/* ─── Responsive ──────────────────────────────── */

@media (max-width: 1024px) {
    .ssa-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .ssa-page-hero {
        min-height: 45vh;
        padding: 120px 20px 60px;
    }

    .ssa-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ssa-result-card {
        flex-direction: row;
        align-items: stretch;
    }

    .ssa-result-thumb {
        width: 140px;
        flex-shrink: 0;
        aspect-ratio: unset;
    }

    .ssa-result-thumb--placeholder {
        width: 140px;
        aspect-ratio: unset;
    }

    .ssa-result-body {
        padding: 16px 18px;
    }

    .ssa-page-body {
        padding: 40px 0 70px;
    }

    .ssa-archive-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ssa-404-number .n4-left,
    .ssa-404-number .n4-right {
        font-size: 5rem;
    }

    .ssa-404-number .n0-center {
        font-size: 3.8rem;
    }
}

@media (max-width: 480px) {
    .ssa-page-title {
        font-size: 1.8rem;
    }

    .ssa-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .ssa-result-card {
        flex-direction: column;
    }

    .ssa-result-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .ssa-result-thumb--placeholder {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .ssa-404-links {
        flex-direction: column;
        width: 100%;
    }

    .ssa-btn--lg {
        width: 100%;
        justify-content: center;
    }

    .ssa-no-results h2 {
        font-size: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════════════════
   PREMIUM CONTACT SECTION  (.contact-section-premium)
   ═══════════════════════════════════════════════════════════ */

.contact-section-premium {
    background: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

/* ── Hero header strip ──────────────────────────────────── */
.csp-header {
    background: linear-gradient(135deg, var(--dark) 0%, #0d1e35 60%, #091520 100%);
    padding: 80px 24px 90px;
    position: relative;
    overflow: hidden;
}

.csp-header::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 176, 67, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.csp-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 108, 174, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.csp-header-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Eyebrow */
.csp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green-light);
    --fa-primary-color: #8cc665;
    --fa-secondary-color: #6fb043;
    --fa-secondary-opacity: 0.45;
}

/* Title */
.csp-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}

.csp-accent {
    color: var(--green-light);
}

/* Subtitle */
.csp-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 560px;
    line-height: 1.7;
}

/* Stats pills */
.csp-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.csp-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    --fa-primary-color: var(--green-light);
    --fa-secondary-opacity: 0.4;
    backdrop-filter: blur(8px);
}

.csp-stat strong {
    color: var(--white);
    font-weight: 700;
}

/* ── Main grid (info + form) ────────────────────────────── */
.csp-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 32px;
    align-items: start;
    padding: 56px 0 48px;
}

/* ── Info panel (left) ────────────────────────────────── */
.csp-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Contact cards */
.csp-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.csp-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.csp-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: var(--green);
    transition: width 0.3s ease;
}

.csp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.csp-card:hover::before {
    width: 6px;
}

/* Color coding per card type */
.csp-card--phone::before {
    background: var(--green);
}

.csp-card--email::before {
    background: var(--blue);
}

.csp-card--location::before {
    background: #e85d4a;
}

/* Card icon */
.csp-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.csp-card--phone .csp-card-icon {
    background: rgba(111, 176, 67, 0.1);
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.35;
}

.csp-card--email .csp-card-icon {
    background: rgba(27, 108, 174, 0.1);
    color: var(--blue);
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.35;
}

.csp-card--location .csp-card-icon {
    background: rgba(232, 93, 74, 0.1);
    color: #e85d4a;
    --fa-primary-color: #e85d4a;
    --fa-secondary-opacity: 0.35;
}

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

/* Card text */
.csp-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.csp-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-light);
}

.csp-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    word-break: break-word;
}

.csp-card-hint {
    font-size: 0.78rem;
    color: var(--gray-light);
}

/* Arrow icon for clickable cards */
.csp-card-arrow {
    font-size: 0.75rem;
    color: var(--gray-lighter);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    --fa-primary-color: var(--gray-light);
    --fa-secondary-opacity: 0.4;
}

.csp-card:hover .csp-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Social row */
.csp-social-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.csp-social-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-light);
    white-space: nowrap;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.csp-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.csp-social {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gray-bg);
    border: 1px solid var(--gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

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

.star-item {
    cursor: pointer;
    font-size: 2rem;
    color: #e2e8f0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-item:hover {
    transform: scale(1.2);
}

.rating-hint-num {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 800;
    opacity: 0.4;
    transition: all 0.3s ease;
    margin-left: 10px;
    min-width: 45px;
    text-align: center;
}

.rating-hint-num.active {
    background: #fff9e6;
    color: #ffc107;
    opacity: 1;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.1);
}

.csp-social:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-3px) scale(1.08);
}

/* ── Form panel (right) ───────────────────────────────── */
.csp-form-panel {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.csp-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 28px;
    background: linear-gradient(135deg, var(--dark) 0%, #0d1e35 100%);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    --fa-primary-color: #8cc665;
    --fa-secondary-color: #6fb043;
    --fa-secondary-opacity: 0.5;
}

.csp-form-header i {
    font-size: 1.2rem;
}

.csp-form {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.csp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.csp-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

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

.csp-form-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.3px;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.csp-form-group input,
.csp-form-group textarea {
    width: 100%;
    background: var(--gray-bg);
    border: 1.5px solid var(--gray-lighter);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--dark);
    font-family: var(--primary-font);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    resize: vertical;
}

.csp-form-group input:focus,
.csp-form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 108, 174, 0.1);
}

.csp-form-group input::placeholder,
.csp-form-group textarea::placeholder {
    color: var(--gray-light);
}

.csp-form-group textarea {
    min-height: 130px;
}

/* Submit button */
.csp-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--primary-font);
    cursor: pointer;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, background 0.3s ease;
    box-shadow: 0 6px 24px rgba(111, 176, 67, 0.35);
    --fa-primary-color: #fff;
    --fa-secondary-opacity: 0.6;
    position: relative;
    overflow: hidden;
}

.csp-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    border-radius: inherit;
}

.csp-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(111, 176, 67, 0.45);
}

.csp-submit-arrow {
    margin-left: auto;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.csp-submit:hover .csp-submit-arrow {
    transform: translateX(4px);
}

/* ── Google Map block ──────────────────────────────────── */
.csp-map-block {
    margin-bottom: 64px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.csp-map-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.csp-map-label span {
    flex: 1;
}

.csp-map-directions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.3px;
    padding: 7px 16px;
    border-radius: 8px;
    border: 1.5px solid rgba(27, 108, 174, 0.2);
    background: rgba(27, 108, 174, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.csp-map-directions:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    --fa-primary-color: #fff;
}

.csp-map-frame {
    width: 100%;
    height: 420px;
    position: relative;
    background: var(--gray-lighter);
}

.csp-map-iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .csp-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 860px) {
    .csp-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .csp-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .csp-map-frame {
        height: 340px;
    }
}

@media (max-width: 640px) {
    .csp-header {
        padding: 60px 20px 70px;
    }

    .csp-stats {
        gap: 8px;
    }

    .csp-stat {
        font-size: 0.78rem;
        padding: 7px 14px;
    }

    .csp-grid {
        padding: 40px 0 36px;
    }

    .csp-form {
        padding: 20px;
    }

    .csp-map-frame {
        height: 280px;
    }

    .csp-social-row {
        flex-wrap: wrap;
        gap: 12px;
    }
}


/* ═══════════════════════════════════════════════════════════
   LATEST POSTS SECTION  4×2  (.lp-section, .lp4-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Section wrapper ──────────────────────────────────────── */
.lp-section {
    background: #f0f4f8;
    padding: 95px 0 110px;
    position: relative;
    overflow: hidden;
}

/* Dot-grid texture */
.lp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 108, 174, 0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative orbs */
.lp-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.lp-orb--1 {
    width: 520px;
    height: 520px;
    top: -180px;
    right: -140px;
    background: radial-gradient(circle, rgba(27, 108, 174, 0.08) 0%, transparent 70%);
}

.lp-orb--2 {
    width: 420px;
    height: 420px;
    bottom: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(111, 176, 67, 0.07) 0%, transparent 70%);
}

.lp-section .section-container {
    position: relative;
    z-index: 1;
}

/* ── Section header ───────────────────────────────────────── */
.lp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.lp-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.4;
}

.lp-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin: 0;
}

.lp-accent {
    color: var(--blue);
}

.lp-subtitle {
    font-size: 0.96rem;
    color: var(--gray);
    max-width: 460px;
    line-height: 1.65;
}

/* "View All" pill button */
.lp-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 50px;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease, transform 0.3s var(--ease-out-expo);
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.lp-all-link:hover {
    background: var(--blue);
    color: var(--white);
    gap: 16px;
    transform: translateY(-2px);
    --fa-primary-color: #fff;
}

/* ── 4×2 Grid ─────────────────────────────────────────────── */
.lp-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Card base ────────────────────────────────────────────── */
.lp4-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.045);
    display: flex;
    flex-direction: column;
    position: relative;

    /* Scroll-in animation: starts hidden */
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.65s ease var(--delay, 0ms),
        transform 0.65s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) var(--delay, 0ms),
        box-shadow 0.4s ease;
}

/* JS adds .lp4-visible when card enters viewport */
.lp4-card.lp4-visible {
    opacity: 1;
    transform: translateY(0);
}

.lp4-card:hover {
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.13);
}

/* ── Image wrapper ────────────────────────────────────────── */
.lp4-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    text-decoration: none;
}

.lp4-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Dark gradient overlay */
.lp4-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 26, 0.6) 0%, rgba(8, 14, 26, 0.1) 50%, transparent 100%);
    transition: opacity 0.4s ease;
    opacity: 0.75;
}

.lp4-card:hover .lp4-overlay {
    opacity: 0.92;
}

/* Shine sweep on hover */
.lp4-shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.18) 50%,
            transparent 60%);
    transform: skewX(-15deg);
    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.lp4-card:hover .lp4-shine {
    left: 130%;
}

/* Category badge */
.lp4-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--green);
    color: var(--white);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lp4-badge:hover {
    background: var(--green-dark);
    transform: scale(1.06);
}

/* Placeholder when no thumbnail */
.lp4-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dce8f5 0%, #c4d9ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.25;
}

/* ── Card body ────────────────────────────────────────────── */
.lp4-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Meta row */
.lp4-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--gray-light);
    flex-wrap: wrap;
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.4;
}

.lp4-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lp4-meta-dot {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

/* Title */
.lp4-title {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp4-title a {
    color: inherit;
    transition: color 0.25s ease;
}

.lp4-title a:hover {
    color: var(--blue);
}

/* Excerpt */
.lp4-excerpt {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more */
.lp4-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--blue);
    margin-top: 2px;
    transition: gap 0.3s ease, color 0.2s ease;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.lp4-read-more:hover {
    gap: 12px;
    color: var(--blue-dark, #144f7d);
}

/* Accent line at bottom on hover */
.lp4-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    border-radius: 0 0 18px 18px;
    transition: width 0.45s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.lp4-card:hover::after {
    width: 100%;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
    .lp-grid-4x2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 960px) {
    .lp-grid-4x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lp-section {
        padding: 60px 0 70px;
    }

    .lp-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .lp-all-link {
        width: 100%;
        justify-content: center;
    }

    .lp-grid-4x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 420px) {
    .lp-grid-4x2 {
        grid-template-columns: 1fr;
    }
}



/* Subtle dot grid background */
.lp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 108, 174, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* ── Section header ─────────────────────────────── */
.lp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.lp-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.4;
}

.lp-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin: 0;
}

.lp-accent {
    color: var(--blue);
}

.lp-subtitle {
    font-size: 0.97rem;
    color: var(--gray);
    max-width: 440px;
    line-height: 1.65;
}

/* View all link */
.lp-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 50px;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease, transform 0.3s var(--ease-out-expo);
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
    flex-shrink: 0;
}

.lp-all-link:hover {
    background: var(--blue);
    color: var(--white);
    gap: 16px;
    transform: translateY(-2px);
    --fa-primary-color: #fff;
}

/* ── Posts grid layout ──────────────────────────── */
.lp-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: start;
}

/* Featured card spans full left column height */
.lp-card--featured {
    grid-row: 1 / 3;
}

/* Secondary cards stack in right column */
.lp-card--secondary {
    grid-column: 2;
}

/* ── Base card styles ───────────────────────────── */
.lp-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
    position: relative;
}

.lp-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ── Image wrapper ──────────────────────────────── */
.lp-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
}

/* Featured: tall aspect */
.lp-card--featured .lp-card-img-wrap {
    aspect-ratio: 16 / 10;
}

/* Secondary: shorter */
.lp-card-img-wrap--sm {
    aspect-ratio: 16 / 9;
}

.lp-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-out-expo);
}

.lp-card:hover .lp-card-img-wrap img {
    transform: scale(1.06);
}

/* Gradient overlay on image */
.lp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.55) 0%, transparent 55%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.7;
}

.lp-card:hover .lp-card-overlay {
    opacity: 0.9;
}

/* Placeholder when no thumbnail */
.lp-img-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dce8f5 0%, #c8ddf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    --fa-primary-color: var(--blue-light);
    --fa-secondary-opacity: 0.3;
}

.lp-img-placeholder--sm {
    aspect-ratio: 16 / 9;
    font-size: 2rem;
}

/* Category badge — sits on image */
.lp-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--green);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lp-cat-badge:hover {
    background: var(--green-dark);
    transform: scale(1.05);
}

/* ── Card body ────────────────────────────────── */
.lp-card-body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.lp-card-body--sm {
    padding: 20px 22px 22px;
    gap: 10px;
}

/* Meta row */
.lp-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-meta-date,
.lp-meta-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray-light);
    --fa-primary-color: var(--green);
    --fa-secondary-opacity: 0.4;
}

/* Card title */
.lp-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin: 0;
}

.lp-card-title a {
    color: inherit;
    transition: color 0.25s ease;
}

.lp-card-title a:hover {
    color: var(--blue);
}

.lp-card-title--sm {
    font-size: 1rem;
}

/* Excerpt (featured only) */
.lp-card-excerpt {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
    flex: 1;
}

/* Read more */
.lp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.4px;
    margin-top: 4px;
    transition: gap 0.3s ease, color 0.2s ease;
    --fa-primary-color: var(--blue);
    --fa-secondary-opacity: 0.4;
}

.lp-read-more:hover {
    gap: 14px;
    color: var(--blue-dark);
}

.lp-read-more--sm {
    font-size: 0.78rem;
    margin-top: 2px;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .lp-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (max-width: 768px) {
    .lp-section {
        padding: 60px 0 70px;
    }

    .lp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 32px;
    }

    .lp-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .lp-card--featured {
        grid-row: auto;
    }

    .lp-card--secondary {
        grid-column: 1;
    }

    .lp-card--secondary .lp-card-img-wrap--sm {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 480px) {
    .lp-card-body {
        padding: 20px 18px 22px;
    }

    .lp-card-title {
        font-size: 1.05rem;
    }

    .lp-all-link {
        width: 100%;
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════════════
   SUBPAGE COMMON (HERO & BREADCRUMBS)
   ════════════════════════════════════════════════════════ */
.subpage-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--dark, #0d1a2e);
    overflow: hidden;
}

.subpage-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.subpage-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.subpage-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(13, 26, 46, 0.8) 0%,
            rgba(13, 26, 46, 1) 100%);
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb a,
.breadcrumb span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--green, #6fb043);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6rem;
}

.breadcrumb .current {
    color: var(--white, #ffffff);
}

.subpage-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.subpage-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════
   ABOUT PAGE SPECIFIC STYLE
   ════════════════════════════════════════════════════════ */

/* Intro Section */
.about-intro-section {
    padding: 120px 0;
    background: var(--white, #ffffff);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-image {
    position: relative;
    padding-right: 40px;
}

.about-intro-image .image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--dark, #0d1a2e);
    color: var(--white);
    padding: 25px 35px;
    border-top: 4px solid var(--green, #6fb043);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.experience-badge .num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--green, #6fb043);
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
}

.image-decoration {
    position: absolute;
    right: 0;
    top: -40px;
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(111, 176, 67, 0.1) 0%, rgba(27, 108, 174, 0.1) 100%);
    border-radius: 100px;
    z-index: 1;
}

.about-intro-content .prose-content {
    margin: 30px 0 40px;
}

.about-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray, #666);
    margin-bottom: 25px;
}

.about-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-mini-item .icon-circle {
    width: 34px;
    height: 34px;
    background: rgba(111, 176, 67, 0.1);
    color: var(--green, #6fb043);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.feature-mini-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark, #0d1a2e);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: #081221;
}

.mv-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    position: relative;
    padding: 60px 45px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.mv-card.highlighted {
    background: rgba(111, 176, 67, 0.05);
    border-color: rgba(111, 176, 67, 0.15);
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    font-size: 3rem;
    color: var(--green, #6fb043);
    margin-bottom: 25px;
    --fa-secondary-opacity: 0.3;
}

.mv-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.mv-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

/* Core Values Section */
.core-values-section {
    padding: 120px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 0 20px;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--blue, #1b6cae);
    margin-bottom: 20px;
    --fa-secondary-opacity: 0.3;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark, #0d1a2e);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray, #666);
}

/* ── About Responsive ── */
@media (max-width: 991px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-intro-content {
        order: 1;
    }

    .about-intro-image {
        order: 2;
        padding-right: 0;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -40px;
        align-self: flex-start;
    }
}

/* ════════════════════════════════════════════════════════
   CONTACT PAGE SPECIFIC STYLE
   ════════════════════════════════════════════════════════ */

/* Info Cards */
.contact-info-section {
    padding: 100px 0 60px;
    background: var(--white);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-meta-card {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-meta-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--green, #6fb043);
}

.contact-meta-card .meta-icon {
    font-size: 2.5rem;
    color: var(--blue, #1b6cae);
    margin-bottom: 25px;
    --fa-secondary-opacity: 0.3;
}

.contact-meta-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark, #0d1a2e);
    margin-bottom: 12px;
}

.contact-meta-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.contact-meta-card .meta-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue, #1b6cae);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-meta-card .meta-link:hover {
    color: var(--green);
}

/* Form Section */
.contact-form-section {
    padding: 60px 0 120px;
}

.form-container-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    min-height: 700px;
}

.contact-map-side {
    position: relative;
    background: #eee;
}

.contact-form-side {
    padding: 70px 80px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Theme Form */
.theme-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 16px 24px;
    border-radius: 12px;
    background: #f4f7f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 4px 15px rgba(27, 108, 174, 0.1);
}

.submit-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 10px 25px rgba(111, 176, 67, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(111, 176, 67, 0.45);
}

/* ── Contact Responsive ── */
@media (max-width: 1100px) {
    .contact-form-side {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .contact-map-side {
        height: 400px;
    }
}

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

/* ════════════════════════════════════════════════════════
   STANDARD PAGE (PRIVACY, TERMS, ETC)
   ════════════════════════════════════════════════════════ */
.subpage-hero--minimal {
    padding: 140px 0 80px;
}

.subpage-hero--minimal .subpage-hero-overlay {
    background: linear-gradient(to bottom, #0d1a2e 0%, #162438 100%);
}

.standard-page-content {
    padding: 80px 0 120px;
    background: #fdfdfd;
}

.page-content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: var(--white);
    padding: 80px 100px;
    border-radius: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

/* Premium Prose Typography */
.prose-vibe .entry-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-light, #333);
}

.prose-vibe h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 60px 0 30px;
}

.prose-vibe p {
    margin-bottom: 30px;
}

.prose-vibe ul {
    margin: 30px 0;
    padding-left: 20px;
}

.prose-vibe li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.prose-vibe li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 2px;
    background: var(--green);
}

@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 40px 30px;
        margin-top: -40px;
        border-radius: 20px;
    }
}

/* ════════════════════════════════════════════════════════
   BLOG LISTING & CARDS
   ════════════════════════════════════════════════════════ */
.blog-listing-section {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.blog-grid--vibe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card--premium {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.blog-card--premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.blog-card--premium:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-meta-top {
    position: absolute;
    top: 20px;
    left: 20px;
}

.blog-card-meta-top .post-date {
    background: var(--white);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    margin-bottom: 12px;
}

.blog-card-category a {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--green);
    letter-spacing: 1px;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-card-title a {
    color: var(--dark);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 25px;
}

.blog-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue);
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* ════════════════════════════════════════════════════════
   SINGLE POST DETAIL
   ════════════════════════════════════════════════════════ */
.single-post-hero {
    position: relative;
    padding: 200px 0 120px;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    background: var(--dark);
    overflow: hidden;
}

.post-hero-bg {
    position: absolute;
    inset: 0;
}

.post-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 26, 46, 1) 0%, rgba(13, 26, 46, 0.4) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
}

.breadcrumb--light {
    margin-bottom: 30px;
}

.breadcrumb--light a,
.breadcrumb--light .sep,
.breadcrumb--light .current {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumb--light a:hover {
    color: var(--white);
}

.post-meta-top .post-date i {
    margin-right: 8px;
    color: var(--green) !important;
    font-size: 1.1rem;
    display: inline-block;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info .author-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--green);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.post-meta-top .post-category a {
    background: var(--green);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.post-meta-top .post-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.post-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 35px;
}

.post-author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar img {
    border-radius: 50%;
    border: 2px solid var(--green);
}

.author-info .author-name {
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
}

.single-post-body {
    padding: 80px 0 120px;
    background: linear-gradient(to bottom, #fcfcfc 0%, #f4f7f9 100%);
    position: relative;
}

.post-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.post-main-content {
    background: var(--white);
    padding: 60px 80px 80px;
    border-radius: 30px;
    margin-top: -100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.post-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    z-index: 5;
}

/* Premium Drop Cap */
.prose-vibe .entry-content>p:first-of-type::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.75;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 5px;
    font-weight: 900;
    color: var(--green);
    text-transform: uppercase;
    text-shadow: 3px 3px 0px rgba(111, 176, 67, 0.1);
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-feedback-section {
    margin-top: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
}

.ssa-rating-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: #f8fbfd;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
}

.rating-stats-side {
    text-align: center;
    padding-right: 40px;
    border-right: 2px solid #eef2f6;
}

.avg-score-badge {
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.score-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--green);
}

.score-out {
    font-size: 1.1rem;
    opacity: 0.6;
    font-weight: 600;
}

.total-votes {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.total-votes i {
    color: var(--green);
}

/* Star Rating Layout */
.star-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.stars-row {
    font-size: 1.8rem;
    display: flex;
    gap: 10px;
    color: #ffc107;
}

.stars-row i:hover,
.stars-row i.hover-active {
    color: #FFD700 !important;
    /* Premium Golden */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    transform: scale(1.2);
}

.rating-status {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
    font-style: italic;
}

/* Premium Shadow Utility */
.shadow-premium {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease-out-expo);
}

.shadow-premium:hover {
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

/* Sidebar General Widget Styling */
.sidebar-widget {
    margin-bottom: 40px;
    border-radius: 24px;
    background: var(--white);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    z-index: 5;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Sidebar CTA Widget */
.cta-form-widget {
    background: linear-gradient(135deg, #0d1a2e 0%, #162438 100%) !important;
    color: var(--white) !important;
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-form-widget .widget-title {
    color: var(--white);
}

.cta-form-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.widget-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.sidebar-mini-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Fakhama Comment Button */
input#submit {
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%) !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    color: var(--white) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 10px 25px rgba(111, 176, 67, 0.3) !important;
    transition: all 0.4s var(--ease-out-expo) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

input#submit:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(111, 176, 67, 0.4) !important;
    filter: brightness(1.1) !important;
}

input#submit:active {
    transform: translateY(-2px) !important;
}

.comment-form-submit {
    margin-top: 30px;
}

.sidebar-mini-form input,
.sidebar-mini-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Promo Widget */
.promo-widget {
    padding: 0 !important;
    height: 350px;
}

.promo-inner {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.promo-content {
    position: relative;
    z-index: 5;
}

.promo-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--green);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Premium Horizontal Share */
.post-share-premium {
    margin-top: 50px;
    padding: 35px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.share-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.share-header i {
    width: 45px;
    height: 45px;
    background: rgba(111, 176, 67, 0.1);
    color: var(--green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.share-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Ensure it remains horizontal and beautiful */
    display: inline-block;
    vertical-align: middle;
}

.share-grid-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
}

.share-pill i {
    font-size: 1.2rem;
}

.share-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.share-pill.fb {
    background: #1877F2;
}

.share-pill.tw {
    background: #000;
}

.share-pill.li {
    background: #0A66C2;
}

.share-pill.wa {
    background: #25D366;
}

.share-pill.tg {
    background: #0088cc;
}

.share-pill.pn {
    background: #BD081C;
}

.share-pill.ml {
    background: var(--gray);
}

/* ───────────────────────────────────────────────────────────
   PREMIUM COMMENTS SECTION REDESIGN
   ─────────────────────────────────────────────────────────── */
/* Feedback Sections (Rating & Comments) */
.post-feedback-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 80px;
}

.ssa-premium-card {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    padding: 50px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.comment-respond {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.rating-box h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rating-box h3 i,
.comment-reply-title i {
    width: 45px;
    height: 45px;
    background: rgba(111, 176, 67, 0.1);
    color: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.comment-respond .comment-reply-title {
    display: none !important;
}

.ssa-rating-dashboard {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #f8fbff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
}

.comment-reply-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 991px) {
    .ssa-premium-card {
        padding: 30px 15px;
        width: 100% !important;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
    }

    .rating-box h3 i,
    .comment-reply-title i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .post-main-content {
        padding: 30px 10px !important;
        margin-top: -50px;
    }

    .ssa-rating-dashboard {
        flex-direction: column;
        gap: 30px;
        padding: 25px 15px;
        width: 100% !important;
        box-sizing: border-box;
    }

    .rating-stats-side {
        border-right: none !important;
        border-bottom: 2px solid #eef2f6;
        padding-right: 0 !important;
        padding-bottom: 25px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rating-box h3,
    .comment-reply-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 12px;
    }
}

.logged-in-as {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 600;
}

.logged-in-as a {
    color: var(--blue);
    font-weight: 800;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    background: #f8fbfd;
    border: 2px solid #eef2f6;
    padding: 18px 24px;
    border-radius: 18px;
    font-family: var(--primary-font);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.3s ease;
    outline: none;
}

.comment-form textarea:focus,
.comment-form input:focus {
    background: #ffffff;
    border-color: var(--green-light);
    box-shadow: 0 10px 25px rgba(111, 176, 67, 0.08);
}

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

.comment-form-cookies-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form-cookies-consent input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.comment-form-cookies-consent label {
    margin-bottom: 0;
    text-transform: none;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 15px;
}

/* Styled Submit Button handled below elsewhere or inline here */
input#submit {
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%) !important;
    border: none !important;
}

@media (max-width: 640px) {
    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-respond {
        padding: 30px 20px;
    }
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

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

.related-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--green);
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.related-thumb {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: rgba(111, 176, 67, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.1);
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-info {
    padding: 20px;
}

.related-date {
    font-size: 0.75rem;
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
}

.related-info h4 {
    font-size: 1.1rem;
    margin-top: 8px;
    line-height: 1.4;
}

.premium-tag-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f4f7f9;
    color: var(--dark-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.premium-tag-badge:hover {
    background: var(--green);
    color: var(--white);
}

.post-tags {
    font-weight: 700;
    color: var(--dark);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share a {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.post-share a:hover {
    background: var(--blue);
    color: var(--white);
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 70px;
    /* Higher for a tighter scroll look */
    height: fit-content;
    margin-top: -100px;
    /* Align with main content */
}

.sidebar-widget {
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.mini-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.mini-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-info h5 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.mini-info .date {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ════════════════════════════════════════════════════════
   404 ERROR PAGE
   ════════════════════════════════════════════════════════ */
.error-404-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.error-badge {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -5px;
}

.error-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.search-box-404 {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 24px;
}

.search-box-404 p {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Subpage Responsive Adjustments */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .post-content-layout {
        grid-template-columns: 1fr;
    }

    .post-main-content {
        padding: 40px 30px;
    }

    .post-sidebar {
        margin-top: 30px;
        position: static;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ssa-rating-dashboard {
        flex-direction: column;
        gap: 30px;
        padding: 25px;
    }

    .rating-stats-side {
        padding-right: 0;
        padding-bottom: 30px;
        border-right: none;
        border-bottom: 2px solid #eef2f6;
        width: 100%;
    }

    .star-rating {
        align-items: center;
        width: 100%;
    }

    .share-grid-stack {
        justify-content: center;
        gap: 10px;
    }

    .share-pill {
        padding: 8px 16px;
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        min-width: 120px;
    }

    .share-label {
        font-size: 0.9rem;
    }

    .post-main-content {
        padding: 40px 20px;
        margin-top: -50px;
    }

    .comment-respond {
        padding: 25px 20px;
    }

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

    .comment-reply-title {
        font-size: 1.4rem;
        justify-content: center;
    }

    .comment-reply-title::before {
        font-family: "Font Awesome 6 Sharp" !important;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .sticky-share {
        display: none !important;
    }
}

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

    .error-badge {
        font-size: 6rem;
    }

    .post-share {
        gap: 25px !important;
    }

    .related-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Premium Glassmorphism for Subpages ── */
.prose-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.inner-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
}

.inner-decoration.top-right {
    top: -50px;
    right: -50px;
    background: var(--blue);
}

.inner-decoration.bottom-left {
    bottom: -50px;
    left: -50px;
    background: var(--green);
}

.page-title-wrap {
    position: relative;
    display: inline-block;
}

.page-decoration-text {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    text-transform: uppercase;
    z-index: -1;
    pointer-events: none;
}

/* Toast Notification */
.ssa-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0d1a2e;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ssa-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.ssa-toast i {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
}

/* Fix for Search/Archive generic prefixes */
.ast-archive-description .ast-archive-title,
.archive-title {
    display: none !important;
}