/* =========================================
   VARIABLES
   ========================================= */
:root {
    --primary-color: #0b3d2c;
    --primary-light: #165b44;
    --secondary-color: #d4af37;
    --secondary-hover: #b5952f;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f9f7f1;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY & UTILS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

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

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

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-tag::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    vertical-align: middle;
    margin-left: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition);
}

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

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--secondary-hover);
    gap: 12px;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

header.scrolled .logo {
    color: var(--primary-color);
}

header.scrolled .nav-link {
    color: var(--text-dark);
}

header.scrolled .btn-primary-outline:hover {
    color: var(--bg-white);
}

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

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bg-white);
    transition: var(--transition);
}

.nav-link:hover:not(.btn-primary-outline) {
    color: var(--secondary-color);
}

header.scrolled .nav-link:hover:not(.btn-primary-outline) {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

header.scrolled .mobile-toggle {
    color: var(--text-dark);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/images/hero_bg.png');
    background-color: var(--primary-color);
    /* fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 61, 44, 0.8) 0%, rgba(11, 61, 44, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--bg-white);
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    background-color: var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cultural-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    z-index: -1;
}

/* =========================================
   OBJECTIVES SECTION
   ========================================= */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objective-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.objective-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.objective-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links ul li a {
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

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

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

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

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

    .about-image {
        margin-top: 20px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

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

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

    .mobile-toggle {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
        padding: 80px 40px;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        font-size: 1.2rem;
    }

    .nav-menu .btn-primary-outline {
        margin-top: 15px;
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    header.scrolled .mobile-toggle {
        color: var(--text-dark);
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }
}