:root {
    --primary: #2a9d8f;
    --secondary: #264653;
    --accent: #e9c46a;
    --light: #f8fdfc;
    --dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; overflow-x: hidden; scroll-behavior: smooth; }

/* Stylish Header */
.glass-header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1200px; background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px); border-radius: 50px; padding: 0.8rem 2rem;
    z-index: 1000; transition: 0.4s; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--secondary); }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; align-items: center; gap: 20px; }
.nav-item { text-decoration: none; color: var(--secondary); font-weight: 500; transition: 0.3s; }
.nav-item:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary); color: #fff; padding: 10px 20px;
    border-radius: 25px; text-decoration: none; font-weight: 600;
}

/* Hero */
.hero {
    height: 100vh; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
    url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80&w=2070') center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero-content h1 span { color: var(--accent); }
.btn { background: var(--primary); padding: 15px 35px; border-radius: 30px; color: white; text-decoration: none; display: inline-block; }

/* Infinite Scroll Reviews */
.reviews { padding: 80px 0; background: var(--light); text-align: center; }
.infinite-slider { width: 100%; overflow: hidden; margin-top: 40px; }
.reviews-track { display: flex; width: max-content; gap: 30px; animation: scrollInfinite 20s linear infinite; }
.review-card { min-width: 300px; background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25d366;
    color: white; width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 100;
}

/* Mobile Toggle */
.menu-toggle { display: none; cursor: pointer; }
.bar { width: 25px; height: 3px; background: var(--secondary); margin: 5px; display: block; transition: 0.3s; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
}
/* 1. Fix Hero Padding (Prevents content from hiding behind the header) */
.hero {
    min-height: 100vh;
    padding-top: 120px; /* Offset for the floating header */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80&w=2070') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* 2. Fix Service Grid (Ensures horizontal alignment as shown in your code) */
.services {
    padding: 100px 5%;
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Force items to sit side-by-side */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.service-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.1);
}

/* 3. Fix Icon Alignment */
.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block; /* Ensures icon sits on its own line above text */
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.25rem;
}

/* 4. Improve Review Card Text alignment */
.review-card p {
    line-height: 1.6;
    color: #555;
    margin-top: 10px;
}
/* Fix Service Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.service-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

/* Map Section Styling */
.location {
    padding: 80px 5%;
    background: #fff;
}

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
}

/* Fix Hero Padding */
.hero {
    padding-top: 100px; /* Ensures text isn't behind the header */
}

.infinite-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: scrollInfinite 40s linear infinite;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    min-width: 350px;
    margin: 10px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}