/* Global Styles */
:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --primary-orange: #e67e22;
    --text-dark: #2c3e50;
    --light-bg: #f5f6fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    /* Balanced padding for vertical centering */
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 1000;
}

.logo-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    transition-duration: 2s;
    /* Slower transition for smoothness */
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.6);
}


.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.btn-whatsapp {
    background-color: var(--primary-green);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1.4s ease-out;
    border: none;
}

.btn-whatsapp:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    color: white;
}

/* Services / Departments Section */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
    border-color: var(--primary-green);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Location and Info Section */
.info-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hours-table tr td {
    padding: 8px 0;
    color: #666;
}

.hours-table tr td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 20px;
}

.delivery-badge {
    background-color: var(--primary-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

footer a {
    color: var(--primary-green);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
        /* Adjusted for centered elements */
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Override keyframe for non-centered elements if needed, but here simple fade up */
@keyframes fadeInUpSimple {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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