/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #0A3A8E;
    --secondary-color: #F18825;
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --text-dark: #2D3748;
    --text-body: #4A5568;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust for sticky header */
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-gray {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--bg-white);
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white p {
    color: var(--bg-white);
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-body);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #0c3175;
    color: var(--bg-white);
}

.btn-secondary {
    background-color: #25D366; /* WhatsApp Green */
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #1ebe57;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-phone {
    background-color: var(--primary-color);
    display: none; /* Hide on desktop, show on mobile */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ebf5 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.trust-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.hero-trust-badges .badge i {
    color: var(--secondary-color);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */
.brands {
    padding: 40px 0;
    overflow: hidden;
}

.brands .section-heading {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.brand-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-carousel::before,
.brand-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.brand-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.brand-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-card {
    background-color: var(--bg-white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    min-width: 160px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.highlight-card {
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: 'Popular';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

/* ==========================================================================
   Water Problems Section
   ========================================================================== */
.problems-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.problems-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.problems-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.problem-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.problem-list li i {
    color: #E53E3E; /* Red for problems */
    font-size: 1.2rem;
}

.problems-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    font-size: 0.95rem;
}

/* ==========================================================================
   AMC Section
   ========================================================================== */
.amc-section {
    padding: 80px 0;
}

.amc-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.amc-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.amc-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.amc-benefits .benefit {
    background-color: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.amc-benefits .benefit i {
    color: var(--secondary-color);
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stars {
    color: #F59E0B; /* Gold */
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.reviewer {
    font-weight: 700;
    color: var(--primary-color);
}

/* ==========================================================================
   Service Areas
   ========================================================================== */
.areas {
    padding: 60px 0;
}

.area-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.area-tag {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-info-card, .contact-form-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-info-card:hover, .contact-form-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-subtitle {
    color: var(--text-body);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Info List Styling */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 58, 142, 0.08); /* Soft primary color */
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.info-content a {
    color: var(--text-body);
    font-weight: 500;
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #F8FAFC;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(10, 58, 142, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* Map Styling */
.contact-map-full {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    padding: 10px;
}

.contact-map-full iframe {
    border-radius: calc(var(--border-radius) - 4px);
    display: block;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    padding: 80px 0;
}

.justify-center {
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0A2558; /* Darker Blue */
    color: #E2E8F0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer .logo-text h3 {
    color: var(--bg-white);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-links h4, .footer-areas h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-areas h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li, .footer-areas ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #E2E8F0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .problems-content, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-buttons, .hero-trust-badges {
        justify-content: center;
    }

    .problems-text {
        order: 2;
    }

    .problems-image {
        order: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        transition: 0.4s;
        padding: 20px;
        text-align: center;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .fab-phone {
        display: flex; /* Show call button on mobile */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .problem-list {
        grid-template-columns: 1fr;
    }
    
    .amc-benefits {
        flex-direction: column;
        align-items: center;
    }
}
