/* CSS Variables */
:root {
    --color-primary: #1B4D3E;
    --color-primary-dark: #153D31;
    --color-accent: #C9A962;
    --color-accent-hover: #B8983F;
    --color-bg-beige: #F5F0E8;
    --color-text-dark: #333333;
    --color-text-light: #FFFFFF;
    --color-text-muted: #666666;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'TildaSans', Arial, sans-serif;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}
a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--color-primary);
}
a:hover {
    color: var(--color-accent-hover);
}
img {
    max-width: 100%;
    height: auto;
}

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--color-primary);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header .navbar-brand {
    display: flex;
    align-items: center;
}

.header .logo {
    height: 60px;
    margin-right: 10px;
}

.header .brand-text {
    color: var(--color-text-light);
}

.header .brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    line-height: 1;
}

.header .brand-tagline {
    font-size: 8px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.header .nav-link {
    color: var(--color-text-light) !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    position: relative;
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.header .nav-link:hover::after,
.header .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== Hero Section ==================== */
body:not(:has(.hero)) {
    padding-top: 90px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(27, 77, 62, 0.85), rgba(27, 77, 62, 0.85)), url('../img/hero-bg.jpg') center/cover no-repeat;
}

.hero-content {
    text-align: center;
    color: var(--color-text-light);
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.btn-outline-light-custom {
    border: 2px solid var(--color-text-light);
    color: var(--color-text-light);
    padding: 12px 35px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: var(--color-text-light);
    color: var(--color-primary);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--color-text-light);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav:hover {
    background: rgba(255,255,255,0.2);
}

.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }


/* ==================== Section Styles ==================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section ul {
    padding-left: 1rem;
}
.section-title h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-title h2::before,
.section-title h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.section-title h2::before { right: 100%; }
.section-title h2::after { left: 100%; }

.section-title p {
    color: var(--color-text-muted);
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Mission Section ==================== */
.mission-card {
    text-align: center;
    padding: 30px 20px;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.mission-icon i {
    font-size: 32px;
    color: var(--color-text-light);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    background: var(--color-accent);
}

.mission-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.mission-card p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==================== About Section ==================== */
.about-section {
    background: var(--color-bg-beige);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 20px 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.about-content {
    padding: 40px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.btn-primary-custom {
    background: transparent;
    border: 2px solid var(--color-text-dark);
    color: var(--color-text-dark);
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-light);
}

/* ==================== Services Section ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 77, 62, 0.9) 0%, rgba(27, 77, 62, 0.3) 50%, transparent 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover::before {
    background: linear-gradient(to top, rgba(27, 77, 62, 0.95) 0%, rgba(27, 77, 62, 0.5) 100%);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    color: var(--color-text-light);
}

.service-card h5 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: var(--color-primary);
    padding: 40px 0;
}

.cta-section p {
    color: var(--color-text-light);
    font-size: 16px;
    margin: 0;
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-text-dark);
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.btn-accent i {
    font-size: 18px;
}

/* ==================== News Section ==================== */
.news-card {
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-card h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.news-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-card .date {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* ==================== Contact Section ==================== */
.contact-section {
    background: var(--color-primary);
    padding: 80px 0;
}

.contact-section h2 {
    color: var(--color-text-light);
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 50px;
}

.contact-info {
    color: var(--color-text-light);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: var(--color-accent);
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-accent);
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    padding: 12px 15px;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 15px;
}

.contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-accent);
    box-shadow: none;
    color: var(--color-text-light);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: none;
}

.btn-submit {
    background: transparent;
    border: 2px solid var(--color-text-light);
    color: var(--color-text-light);
    padding: 12px 40px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto 0;
}

.btn-submit:hover {
    background: var(--color-text-light);
    color: var(--color-primary);
}

/* ==================== Footer ==================== */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.footer .logo {
    height: 75px;
}

.footer .brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
}

.footer .brand-tagline {
    font-size: 7px;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.footer-credits {
    text-align: right;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.footer-credits img {
    height: 25px;
    margin-left: 5px;
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 32px;
    }

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

    .about-content {
        padding: 30px 20px;
    }

    .header .navbar-collapse {
        background: var(--color-primary);
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .hero-nav {
        display: none;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .section-title h2::before,
    .section-title h2::after {
        width: 30px;
    }

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

    .about-image {
        height: 300px;
    }

    .cta-section .row {
        text-align: center;
    }

    .cta-section .btn-accent {
        margin-top: 20px;
    }

    .footer .row > div {
        text-align: center !important;
        margin-bottom: 15px;
    }

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

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }