:root {
    --primary-green: #2d5016;
    --light-green: #4a7c2c;
    --accent-green: #6b9a3e;
    --cream: #faf8f3;
    --gold: #d4af37;
    --dark-text: #1a2910;
    --light-text: #f5f5f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--cream);
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Animated botanical background */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(45, 80, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 154, 62, 0.1) 0%, transparent 50%);
}

.leaf-pattern {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.leaf {
    position: absolute;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    animation: float 20s infinite ease-in-out;
    opacity: 0.2;
}

.leaf:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.leaf:nth-child(2) {
    top: 60%;
    right: 8%;
    animation-delay: 4s;
    transform: rotate(25deg);
}

.leaf:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 8s;
    transform: rotate(-30deg);
}

.leaf:nth-child(4) {
    top: 40%;
    right: 20%;
    animation-delay: 12s;
    transform: rotate(10deg);
}

@keyframes float {

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

    25% {
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translateY(-25px) rotate(-3deg) scale(1.08);
    }

    75% {
        transform: translateY(-10px) rotate(8deg) scale(1.03);
    }
}

/* Leaf vein patterns using gradients */
.leaf-vein-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    mix-blend-mode: multiply;
    opacity: 0.3;
}

/* Header Section */
.header {
    position: relative;
    overflow: hidden;
    min-height: 360px;

}

/* sliding layers */
.header-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(45, 80, 22, 0.75) 0%,
            rgba(74, 124, 44, 0.75) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: translateX(100%);
    transition: transform 1.5s ease-in-out;
}

.header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(45, 80, 22, 0.75) 0%,
            rgba(74, 124, 44, 0.75) 100%);

    z-index: 1;
}

/* current visible */
.header-bg.active {
    transform: translateX(0);
}

/* offscreen right */
.header-bg.next {
    transform: translateX(100%);
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
}

.leader-frame {
    width: 240px;
    height: 270px;
    border: 4px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.leader-frame:hover {
    transform: translateY(-5px);
}

.leader-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    padding: 10px;
}

.center-content {
    text-align: center;
    flex: 1;
    padding: 0 2rem;
}

.logo-container {
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.homelogo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: white;
    border-radius: 50%;
    padding: 15px;
    /* Increased padding */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Hide overflow */
}

.homelogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    /* Make image circular */
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #666;
    text-align: center;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light-text);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.sub-heading {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    letter-spacing: 0.5px;
    animation: fadeInDown 1s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    padding: 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--light-green);
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--light-green) 100%);
    color: white;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(74, 124, 44, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 1s ease-out 1s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(74, 124, 44, 0.5);
    border-color: var(--gold);
}

/* Features Section */
.features {
    position: relative;
    z-index: 1;
    padding: 4rem 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 248, 243, 0.9) 100%);
    backdrop-filter: blur(10px);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(107, 154, 62, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.2);
    border-color: var(--accent-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3310 100%);
    color: var(--light-text);
    padding: 2rem 3rem;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .leader-frame {
        width: 120px;
        height: 150px;
    }

    .main-heading {
        font-size: 2rem;
    }

    .sub-heading {
        font-size: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .sub-heading {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo {
        width: 90px;
        height: 90px;
    }
}

/* Decorative botanical elements */
.botanical-corner {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.botanical-corner.top-left {
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top left, rgba(107, 154, 62, 0.08) 0%, transparent 70%);
}

.botanical-corner.bottom-right {
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at bottom right, rgba(45, 80, 22, 0.08) 0%, transparent 70%);
}

.map-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fefae0 0%, #e9edc9 100%);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(74, 124, 44, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(82, 121, 111, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.map-subtitle {
    text-align: center;
    color: #52796f;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.map-canvas {
    width: 100%;
    height: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(26, 77, 46, 0.15);
    overflow: hidden;
    border: 3px solid #ccd5ae;
}

/* Custom info window styling */

.nursery-info-card {
    padding: 0;
    min-width: 280px;
    max-width: 320px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 77, 46, 0.2);
}


.nursery-info-card .info-header {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
    padding: 16px 20px;
    position: relative;
}

.nursery-info-card .info-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f4a261, #e76f51);
}

.nursery-info-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Content Section */
.nursery-info-card .info-content {
    padding: 18px 20px;
    background: #ffffff;
}

.gm-style .gm-style-iw-chr {
    padding: 0 !important;
    border-radius: 12px !important;

}

.gm-style .gm-style-iw {
    padding: 0 !important;
    border-radius: 12px !important;

}

.gm-style .gm-style-iw-ch {
    overflow: auto !important;
    max-height: 400px !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
    max-height: 400px !important;
}

/* Remove default padding */
.gm-style-iw-ch .gm-ui-hover-effect {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(45, 80, 22, 0.1) !important;
    border-radius: 50% !important;
}

.gm-style-iw-ch .gm-ui-hover-effect:hover {
    background: rgba(45, 80, 22, 0.2) !important;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-stat-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(26, 77, 46, 0.1);
    text-align: center;
}

.map-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a4d2e;
}

.map-stat-label {
    font-size: 0.9rem;
    color: #52796f;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .map-canvas {
        height: 400px;
    }

    .map-section {
        padding: 3rem 1rem;
    }

    .map-stats {
        gap: 1rem;
    }

    .map-stat-item {
        padding: 0.75rem 1.5rem;
    }
}