/* ============================================
   ONESTA GHANA LTD - Complete Styles (CORPORATE COLORS FIXED)
   ============================================ */

:root {
    --gold: #D4AF37;
    --gold-dark: #c49a56;
    --gold-light: rgba(212, 175, 55, 0.1);
    --primary: #0a3d2e;
    --secondary: #4b8b7c;
    --accent: #f5f0e8;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #6b7280;
    --gray-dark: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--black);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Flash Announcement */
.flash-announcement {
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.flash-content {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: scrollAnnouncement 50s linear infinite;
}

@keyframes scrollAnnouncement {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255,255,255,0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.btn-admin {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.btn-admin:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 154, 86, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--black);
    z-index: 1002;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    margin-top: 30px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(196, 154, 86, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 154, 86, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
}

.section-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--gray-medium);
}

/* About */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-content {
    flex: 1;
}

.about-content h4 {
    color: var(--gold-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--gray-medium);
}

/* Services */
.services-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--gray-dark);
}

.service-info p {
    color: var(--gray-medium);
    margin-bottom: 20px;
    flex: 1;
}

.service-info .btn {
    align-self: center;
    padding: 10px 25px;
    font-size: 12px;
}

/* Project */
.project-section {
    padding: 100px 0;
    background: linear-gradient(
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.85)
    ),
    url('/assets/images/projects/project-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-feature {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    transition: var(--transition);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: 3px solid var(--gold);
}

.project-feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    font-size: 24px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.project-feature h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-feature p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Partners */
.partners-section {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
}

/* Sustainability */
.sustainability-section {
    padding: 100px 0;
    background: linear-gradient(
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.85)
    ),
    url('/assets/images/sustainability/sustainability-hero.jpg') center/cover no-repeat;
    color: var(--white);
    background-attachment: fixed;
}

.sustainability-section h2 {
    color: var(--white);
}

.sustainability-section h2:after {
    background: var(--gold);
}

.sustainability-section .section-header p {
    color: rgba(255,255,255,0.7);
}

.sustainability-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sustainability-feature {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.sustainability-feature:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.sustainability-feature h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.sustainability-feature p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* CTA */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.8)
    ),
    url('/assets/images/cta/cta-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23000000" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23000000"/></svg>');
    background-size: cover;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.7);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    margin-right: 12px;
    color: var(--gold);
    font-size: 18px;
    width: 20px;
}

.footer-links h4 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* Sub Hero */
.sub-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.sub-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.sub-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.sub-hero__content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    color: var(--white);
}

.sub-hero__content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
}

.sub-hero__content .reading-mode p {
    color: var(--white);
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {

    .about-container {
        flex-direction: column;
    }

    .about-img {
        order: -1;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1001;
        padding: 100px 30px 30px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 0 0 25px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .sub-hero__content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {

    .hero h1 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .sustainability-features {
        grid-template-columns: 1fr;
    }

    .sub-hero__content h1 {
        font-size: 1.8rem;
    }
}

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

/* GOLD HEADINGS - RedGold Oil Palm Project */
.gold-heading {
    color: var(--gold) !important;
}

.gold-heading:after {
    background: var(--gold) !important;
}

.project-section .section-header h2 {
    color: var(--gold);
}

.project-section .section-header h2:after {
    background: var(--gold);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gray-dark);
}

.project-content p {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.project-mini-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.mini-stat {
    text-align: center;
}

.mini-stat strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
}

.mini-stat span {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.learn-more {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--gold-dark);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Project Detail */
.project-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-detail-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.project-detail-body h2 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.project-detail-body ul {
    padding-left: 20px;
    margin: 15px 0;
}

.project-detail-body ul li {
    margin-bottom: 10px;
}

.project-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.project-detail-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Sustainability Page */
.sustainability-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.sustainability-intro h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sustainability-intro p {
    color: var(--gray-medium);
    font-size: 1.1rem;
    line-height: 1.8;
}

.sustainability-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sustainability-card-full {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-top: 4px solid var(--gold);
    transition: var(--transition);
}

.sustainability-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sustainability-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.sustainability-card-full h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.sustainability-card-full p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Partners Page */
.partners-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.partners-intro h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.partners-intro p {
    color: var(--gray-medium);
    font-size: 1.1rem;
    line-height: 1.8;
}

.partners-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.partner-card-full {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.partner-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-logo-full {
    max-height: 80px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.partner-card-full h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.partner-website {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.partner-website:hover {
    color: var(--gold-dark);
}

/* News Page */
.news-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background: var(--white);
    color: var(--gray-medium);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.filter-btn:hover {
    border-color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gray-dark);
}

.news-content p {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--gray-medium);
    display: block;
    margin-bottom: 10px;
}

.news-date i {
    margin-right: 5px;
}

.no-news {
    text-align: center;
    padding: 60px;
    background: var(--white);
    border-radius: 8px;
}

/* News Detail */
.news-detail {
    padding: 80px 0;
    background: var(--white);
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.news-detail-body h2 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.news-detail-footer {
    margin-top: 30px;
}

/* Services Page */
.services-overview {
    padding: 80px 0;
    background: var(--white);
}

.service-card-detail {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    text-align: center;
}

.service-card-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon-detail {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.service-icon-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-detail h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.service-card-detail p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--gold-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-detail {
    padding: 80px 0;
}

.service-detail.alt-bg {
    background: var(--gray-light);
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.service-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.service-header p {
    color: var(--gray-medium);
    margin-top: 15px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-features {
    display: grid;
    gap: 25px;
}

.service-features p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* Services CTA */
.services-cta {
    padding: 100px 0;
    background: linear-gradient(
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.8)
    ),
    url('/assets/images/services/background/services-hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.services-cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    background: var(--gold);
    border: 2px solid var(--gold);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: transparent;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.outline:hover {
    background: var(--white);
    color: var(--gray-dark);
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-box {
    background: var(--gray-dark);
    padding: 40px;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--white);
}

.contact-info-box h3 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info-list li .icon {
    color: var(--gold);
    width: 30px;
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 3px;
}

.contact-info-list li .text {
    color: rgba(255,255,255,0.9);
}

.contact-info-list li .text a {
    color: var(--gold);
    text-decoration: none;
}

.contact-info-list li .text a:hover {
    text-decoration: underline;
}

.contact-social-list {
    margin-top: 30px;
}

.contact-social-list h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-social-list .social {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.contact-social-list .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.contact-social-list .social li a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-container h3 {
    color: var(--primary);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.contact-form-container label {
    display: block;
    color: var(--gray-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--gray-light);
    transition: var(--transition);
    font-family: inherit;
    font-size: 15px;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    background: var(--white);
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-container .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    text-align: center;
}

/* About Page */
.vm-section {
    padding: 80px 0;
    background: var(--white);
}

.vm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.vm-box {
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    background: var(--gray-light);
}

.vm-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold);
}

.vm-box h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.vm-box p {
    color: var(--gray-medium);
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-section {
    padding: 100px 0;
    position: relative;
    background: var(--gray-light);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    height: 450px;
}

.story-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 15px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.story-image-overlay {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: var(--gold);
    z-index: -1;
}

.story-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.story-content p {
    margin-bottom: 25px;
    color: var(--gray-medium);
    line-height: 1.8;
}

.story-content .btn {
    margin-top: 10px;
}

.values-section {
    padding: 100px 0;
    background: var(--gray-dark);
    color: var(--white);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: 3rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.values-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-top: 3px solid var(--gold);
    transition: var(--transition);
    border-radius: 4px;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.value-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* ============================================
   Leadership Section
   ============================================ */

.leadership-section {
    padding: 100px 0;
    background: var(--white);
}

.leadership-header {
    text-align: center;
    margin-bottom: 60px;
}

.leadership-header h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
}

.leadership-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/*
   Dynamic Leadership Grid

   The grid automatically adapts to the number of leaders.

   1 leader  -> centered
   2 leaders -> centered
   3 leaders -> centered
   4 leaders -> 3 + 1 centered
   5 leaders -> 3 + 2 centered
   6 leaders -> 3 + 3
   etc.
*/
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.leader-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.leader-card:hover .leader-image {
    transform: scale(1.05);
}

.leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(
        0deg,
        rgba(26,26,26,0.95) 0%,
        rgba(26,26,26,0.7) 50%,
        transparent 100%
    );
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.leader-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--white);
}

.leader-overlay .position {
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.leader-bio {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.leader-card:hover .leader-bio {
    max-height: 200px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.leader-overlay .social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.leader-overlay .social-links a {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.leader-overlay .social-links a:hover {
    color: var(--gold);
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: var(--gold-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--gray-medium);
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--gold);
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
}

/* Image Optimization */
.service-img img,
.project-image img,
.news-image img,
.leader-image,
.story-image-main,
.service-image img,
.service-icon-detail img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive - About Page */
@media (max-width: 992px) {

    .vm-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        height: 350px;
    }

    .story-image-overlay {
        display: none;
    }

    /*
       Two-column leadership layout on tablets.
       With fewer than two full columns, justify-content
       keeps the cards centered.
    */
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1001;
        padding: 100px 30px 30px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 0 0 25px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .sub-hero__content h1 {
        font-size: 2.2rem;
    }

    /*
       Single-column leadership layout on mobile.
    */
    .leadership-grid {
        grid-template-columns: minmax(280px, 320px);
        justify-content: center;
    }

    .leader-card {
        height: 380px;
    }

    .story-image {
        height: 280px;
    }

    .vm-box {
        padding: 30px;
    }

    .value-card {
        padding: 30px;
    }

    .contact-info-box,
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 576px) {

    .hero h1 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .sustainability-features {
        grid-template-columns: 1fr;
    }

    .sub-hero__content h1 {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .vm-container {
        grid-template-columns: 1fr;
    }

    /*
       Allow the leadership card to use almost the full
       screen width on very small devices.
    */
    .leadership-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .leader-card {
        width: 100%;
    }
}