:root {
    --primary-color: #2D5A27;
    /* Deep green from logo */
    --primary-light: #558B2F;
    /* Mid green from logo */
    --primary-dark: #1B3016;
    /* Darker shade for depth */
    --accent-color: #8BC34A;
    /* Vibrant lime from logo */
    --text-color: #1A1A1A;
    /* Matches the logo's black font */
    --text-light: #546E7A;
    --white: #FFFFFF;
    --off-white: #FFFFFF;
    --dark-bg: #1A1C19;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px rgba(45, 90, 39, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.grid {
    display: grid;
    gap: 40px;
}

.section-padding {
    padding: 100px 0;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--accent-color);
    opacity: 0.2;
    z-index: -1;
    border-radius: 4px;
}

.sub-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.secondary-bg {
    background-color: var(--off-white);
    background-image:
        radial-gradient(at 0% 0%, rgba(139, 195, 74, 0.03) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(45, 90, 39, 0.03) 0, transparent 50%);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    /* Fully minimized */
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    /* Match non-scrolled for consistency */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    /* Slightly increased as requested */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05) rotate(-1deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 600;
    color: var(--primary-dark);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
}

.nav-links a.nav-admin {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--primary-dark);
    background-color: whitesmoke;
    /* Changed as requested */
}

.hero-overlay {
    display: none;
    /* Removed as requested white background */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Section */
.stats {
    padding: 60px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats .grid {
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-item .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* About Section */
.about .grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.about-img img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.features {
    margin: 30px 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.features i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Services section */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 195, 74, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--primary-dark);
    color: var(--white);
}

.portfolio h2,
.portfolio .sub-title,
.portfolio .highlight,
.portfolio p,
.portfolio h4 {
    color: var(--white) !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(45, 90, 39, 0.9));
    color: var(--white);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .item-overlay {
    bottom: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(45, 90, 39, 0.9), rgba(45, 90, 39, 0.9)), url('https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&q=80&w=1600');
    background-attachment: fixed;
    background-size: cover;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: var(--primary-dark);
    color: var(--white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2,
.contact .sub-title,
.contact .highlight,
.contact p {
    color: var(--white) !important;
}

.contact-methods {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.method-item i {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.method-item:hover i {
    background: var(--primary-light);
    transform: rotateY(360deg);
}

.method-item p {
    color: var(--off-white);
    font-size: 1.1rem;
}

.method-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white) !important;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--off-white);
    padding: 80px 0 30px;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
    background: transparent;
    padding: 10px 15px;
    border-radius: 12px;
    display: inline-block;
    object-fit: contain;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {

    .about .grid,
    .contact .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .stats .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2,
    .about-text h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}