:root {
    /* Premium Color Palette */
    --primary: #15803d;
    /* Nature Green */
    --primary-dark: #14532d;
    --accent: #ca8a04;
    /* Gold/Bronze */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;

    /* Font */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Top Bar --- */
.top-bar {
    background-color: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-bar a {
    color: white;
    margin-left: 20px;
}

.main-header {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    /* Adjust based on valid svg */
}

/* --- Mega Menu --- */
.nav-links {
    display: flex;
    gap: 15px;
    /* Reduced from 30px to prevent overflow */
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links>li>a {
    font-weight: 600;
    font-size: 0.9rem;
    /* Reduced from 1rem */
    color: var(--text-dark);
    text-transform: uppercase;
}

.nav-links>li:hover>a {
    color: var(--primary);
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary);
    padding: 30px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    z-index: 1001;
    border-radius: 0 0 10px 10px;
}

.nav-links>li:hover .mega-menu {
    display: grid;
    animation: fadeIn 0.3s ease;
}

.mega-column h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.mega-column ul li {
    margin-bottom: 10px;
}

.mega-column ul li a {
    font-size: 0.95rem;
    color: var(--text-light);
    display: block;
}

.mega-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.mega-img {
    width: 60px;
    /* Very small width */
    height: 60px;
    /* Very small height */
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    /* Align left with text if desired, or auto for center */
}

/* Ensure mega-column aligns items correctly */
.mega-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align all to left */
}

.mega-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mega-img img:hover {
    transform: scale(1.1);
}

/* --- Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 15px;
    background: rgba(202, 138, 4, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.contact-form-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Slider --- */
.hero-slider {
    height: 500px;
    overflow: hidden;
    background-color: #cbd5e1;
    /* Placeholder */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/slider-placeholder.jpg');
    /* Dynamic later */
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: #a16207;
    transform: translateY(-2px);
}

/* --- Services Grid --- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card-img-holder {
    height: 200px;
    background-color: #e2e8f0;
    /* Placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-btn {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-links {
    list-style: none;
}

.mobile-links>li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-links a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8fafc;
}

.mobile-dropdown li a {
    font-size: 0.95rem;
    font-weight: 400;
    padding: 10px 0;
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .desk-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 10px 0;
    }
}

/* Infinite Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    background: #f8fafc;
}

.logo-carousel-track {
    display: inline-block;
    animation: slide-scroll 60s linear infinite;
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-slide-item {
    display: inline-block;
    width: 200px;
    /* Try to show ~6 items on typ screen (1200 / 200 = 6) */
    text-align: center;
    margin: 0 10px;
}

.logo-slide-item img {
    height: 70px;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-slide-item img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-slide-item {
        width: 140px;
    }

    .logo-slide-item img {
        height: 50px;
    }
}

/* --- Sticky Action Buttons --- */
/* --- Sticky Action Buttons --- */
.sticky-actions-container {
    position: fixed !important;
    top: 50% !important;
    right: 0 !important;
    margin-top: -25px !important;
    /* Half of height */
    z-index: 2147483647 !important;
    /* Max Z-Index */
    display: flex !important;
    flex-direction: row !important;
    /* Side by side */
    gap: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Hardware acceleration fixes */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

.sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

/* First button (WhatsApp) gets rounded left corners */
.sticky-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.sticky-btn:hover {
    width: 60px;
    /* Expand on hover */
    background-color: #333;
    /* Darken fallback */
}

/* WhatsApp Business Color */
.sticky-whatsapp {
    background-color: #43c463;
    /* Typical Business Green */
}

.sticky-whatsapp:hover {
    background-color: #128C7E;
}

/* Phone Button */
.sticky-phone {
    background-color: #0b5ed7;
    /* Strong Blue */
}

.sticky-phone:hover {
    background-color: #0a58ca;
}

/* Mobile Menu Tweak */
.mobile-menu-overlay {
    /* Ensure visibility when active */
    visibility: hidden;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}