/* Base Variables */
:root {
    --primary-color: #4CAF50;
    /* Fresh Green */
    --primary-dark: #2E7D32;
    --primary-light: #E8F5E9;
    --accent-color: #81C784;
    --text-dark: #121212;
    --text-light: #555555;
    --white: #ffffff;
    --bg-light: #F1F8E9;
    /* Very light transparent green tint */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    animation: pulse 2s infinite ease-in-out;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 90px;
    /* Increased from 50px */
    width: auto;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ... existing nav styles ... */

/* Category Slider */
.category-section {
    background-color: var(--white);
    padding-bottom: 40px;
    overflow: hidden;
}

.slider {
    height: 350px;
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(300px * 12);
    /* 300px slide width * 12 slides (6 unique x 2 sets) */
    animation: scroll 40s linear infinite;
    /* Slower animation for more content */
}

.slide {
    height: 300px;
    width: 280px;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 100px;
}

.slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s;
}

.slide:hover img {
    transform: translateZ(10px) scale(1.05);
    /* 3D effect on hover */
    box-shadow: var(--shadow-md);
}

.slide h4 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 6));
        /* Slide by half width (6 slides) to loop */
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Soft green gradient background since we might not have a big photo immediately */
    background: radial-gradient(circle at top right, #e8f5e9, #ffffff);
    padding-top: 80px;
    /* offset for fixed nav */
    overflow: hidden;
}

/* Abstract blob background shapes for visual appeal */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.section-header .underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 40px;
    border-radius: 2px;
}

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

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Info Cards */
.info-section {
    background-color: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    /* Reduced gap slightly to help fit */
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.info-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.sub-text {
    font-size: 0.9rem;
    color: var(--accent-color) !important;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    /* Ensure both columns are equal height */
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-info-box {
    padding: 20px;
}

.contact-info-box h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.contact-info-box p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    /* fixed width for alignment */
    text-align: center;
}

.contact-map {
    width: 100%;
    height: 100%;
    /* Fill the height of the grid cell */
    min-height: 500px;
    /* Ensure a good minimum height */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 5px solid var(--white);
}

/* Mobile Responsive Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }
}

/* Enquiry Form Styles */
.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.enquiry-box {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.enquiry-box h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.enquiry-form textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

footer p {
    color: #888;
    font-size: 0.9rem;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Height of navbar */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Scroll Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    /* Made slightly bolder for black text */
    color: #000000;
    /* Black color as requested */
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    min-height: 1.6em;
    /* Prevent layout jump when text clears */
    opacity: 1;
    transition: opacity 1s ease-in-out;
}