:root {
    --primary-color: #2d6a4f;
    /* Deep Green */
    --secondary-color: #d8f3dc;
    /* Pale Green */
    --accent-color: #e9c46a;
    /* Gold/Sand (Kept as it pairs well) */
    --text-dark: #1b4332;
    /* Darker Green/Black for text */
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Nav */
header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Old English Text MT', 'Old English', serif;
    font-size: 2rem;
    font-weight: 400;
    /* Old English is usually bold enough */
    color: #000000;
    /* Black */
    letter-spacing: 1px;
}

.logo span {
    color: #d90429;
    /* Red */
}

.nav-links {
    display: flex;
    align-items: center;
    /* Ensure vertical alignment */
    gap: 1.5rem;
    /* Reduced slightly to accommodate padding */
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    /* Add vertical padding for better hit area */
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--primary-color);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    /* Adjusted to visually sit better with padding */
    left: 0;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--text-dark);
    /* Darker green on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #d6b04e;
    /* Darker Gold */
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Helper Classes */
.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
#hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(45, 106, 79, 0.8), rgba(45, 106, 79, 0.6)), url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-top: -76px;
    /* Counteract sticky header height to start from top */
    padding-top: 76px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Footer (Basic) */
/* Footer */
/* Complex Footer */
footer {
    background: #111;
    /* Very dark background */
    color: #bbb;
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Col 1: Brand */
.footer-brand p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Col 2: Contact */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Col 3: Links */
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Col 4: Map */
.map-container {
    height: 200px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #333;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive Typography */
/* Responsive Typography & Navigation */
@media (max-width: 768px) {

    /* Mobile Navigation */
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on header height */
        gap: 0;
        flex-direction: column;
        background-color: var(--text-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    /* Hero & Buttons */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* Swiper Slider Customization */
.swiper {
    width: 100%;
    padding-bottom: 50px !important;
    /* Space for pagination */
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-card .client-name {
    color: var(--text-dark);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Enhanced Hover Effects */
.service-card:hover i,
.feature-card:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.logo span {
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:hover span {
    text-shadow: 2px 2px 8px rgba(217, 4, 41, 0.2);
    transform: translateY(-2px);
    display: inline-block;
}
/* Input Styling Updates per User Request */
input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea {
    transition: all 0.3s ease !important; /* Force override for inline styles if needed */
    border: 1px solid #ddd;
    /* Ensure base border is set */
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1) !important;
    outline: none;
    background: #fff !important;
}
