/* ==========================================================================
   CSS Variables & Configuration
   ========================================================================== */
:root {
    /* Colors */
    --primary: #517540;
    --primary-light: #7da56a;
    --primary-dark: #324b26;

    --secondary: #18304c;
    --secondary-light: #2c4e75;

    --bg-light: #fdfdfd;
    --bg-alt: #f4f7f4;
    --bg-dark: #0f1c2b;

    --text-dark: #202c39;
    --text-body: #4a5568;
    --text-light: #a0aec0;
    --white: #ffffff;

    --success: #38a169;
    --border: #e2e8f0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.2s ease-in-out;
    --transition-norm: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: 1000px;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-bg {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-light {
    color: var(--text-light);
}

.bg-white {
    background-color: var(--white);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-body);
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: var(--primary);
    margin-bottom: var(--spacing-md);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-norm);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-norm);
}

.navbar.scrolled {
    height: 70px;
    background-color: var(--white);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Setup */
.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-right: 15px;
}

.logo-text-bold {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
    line-height: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--secondary);
}

.nav-links>a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-norm);
}

.nav-links>a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

.nav-link.btn-primary-outline {
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?q=80&w=2000&auto=format&fit=crop');
    /* Premium Greenery Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: var(--nav-height);
    overflow: hidden;
    animation: slowPan 30s linear infinite alternate;
}

@keyframes slowPan {
    0% {
        background-position: 0% 50%;
        background-size: 110%;
    }

    100% {
        background-position: 100% 50%;
        background-size: 115%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(82, 117, 64, 0.7) 0%, rgba(24, 48, 76, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.focus-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-alt);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.focus-box p {
    margin: 0;
    color: var(--secondary);
    font-style: italic;
    font-size: 1.15rem;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    padding: 20px 0 0 20px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: var(--primary-light);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.img-placeholder {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
}

/* ==========================================================================
   Offerings Section
   ========================================================================== */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.offering-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-norm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-content {
    padding: var(--spacing-md);
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.icon-wrapper {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--white);
}

.offering-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary);
}

.product-list {
    margin-top: var(--spacing-sm);
}

.product-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.product-list i {
    color: var(--success);
    margin-right: 10px;
    margin-top: 5px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Vision & Mission Section
   ========================================================================== */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.vm-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary);
}

.vm-icon {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mission-list li:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(10px);
}

.mission-list li:hover .ml-icon {
    background-color: var(--white);
    color: var(--primary);
}

.ml-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--white);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2332 100%);
    color: var(--white);
    padding: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    color: var(--primary-light);
}

.c-text h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
}

.c-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-container {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(81, 117, 64, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-t,
.footer-logo .logo-x {
    color: var(--white);
}

.footer-logo .logo-text {
    color: var(--white);
}

.tagline {
    font-style: italic;
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-container,
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .image-wrapper {
        margin-top: 2rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-norm);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}