/*
Theme Name: CleanDin
Theme URI: https://cleandin.com
Author: CleanDin Team
Author URI: https://cleandin.com
Description: A professional water tank cleaning service WordPress theme with modern design, booking form integration, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleandin
Tags: business, services, cleaning, responsive, custom-header

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* * CSS FROM style.css * */
:root {
    /* Brand Colors */
    --primary: #9DC23A;      /* The Lime Green */
    --primary-dark: #7ba11e; /* Darker Green for hover */
    --dark: #2c3e50;         /* Modern Dark Blue/Grey */
    --text: #5a6c7d;         /* Softer Text Color */
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #eaeaea;
    
    /* Layout */
    --container: 1400px;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: var(--dark); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: #f9fbfd; }
.bg-pattern { background-image: radial-gradient(#9DC23A 1px, transparent 1px); background-size: 20px 20px; background-color: #fff; opacity: 0.8; }
.text-center { text-align: center; }
.text-highlight { color: var(--primary); }

/* Top Bar */
.top-bar { background: var(--dark); color: rgba(255,255,255,0.8); padding: 10px 0; font-size: 0.9rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-info a { color: #fff; margin-right: 20px; font-size: 0.85rem; }
.top-info i { margin-right: 5px; color: var(--primary); }

/* Header */
.site-header { padding: 14px 0; background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.text-logo { font-size: 1.8rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.text-logo .highlight { color: var(--primary); }

/* Custom Logo Support */
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 60px; width: auto; display: block; }

/* Navigation Container */
.main-navigation { display: flex; align-items: center; gap: 30px; }

.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { display: inline-block; }
.nav-menu a { font-weight: 500; color: var(--dark); font-size: 1rem; position: relative; display: block; padding: 5px 0; }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary); transition: width 0.3s; }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--primary); }

.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-align: center; cursor: pointer; border: none; transition: var(--transition); position: relative; overflow: hidden; }
.btn-header { padding: 10px 25px; background: var(--primary); color: #fff; font-size: 0.9rem; margin-left: 20px; white-space: nowrap; line-height: normal; }
.btn-header:hover { background: var(--primary-dark); transform: translateY(-2px); }

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

/* HERO SECTION */
.hero-section { position: relative; min-height: 700px; display: flex; align-items: center; padding: 40px 0 80px; margin-top: 0; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.98) 30%, rgba(255,255,255,0.7) 100%); z-index: -1; }
.hero-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.hero-content { width: 50%; padding-right: 50px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards 0.2s; }

.hero-tag { background: rgba(157, 194, 58, 0.15); color: var(--primary-dark); padding: 6px 16px; border-radius: 30px; font-weight: 600; font-size: 0.85rem; margin-bottom: 20px; display: inline-block; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-content h1 { font-size: 3.8rem; margin-bottom: 20px; color: var(--dark); line-height: 1.1; letter-spacing: -1px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text); max-width: 520px; }

.hero-features { display: flex; gap: 20px; font-weight: 600; color: var(--dark); }
.hero-features i { color: var(--primary); margin-right: 5px; }

/* Floating Booking Form */
.hero-form-card { width: 420px; background: #fff; padding: 35px; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); border-top: 6px solid var(--primary); opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards 0.5s; }
.hero-form-card h3 { font-size: 1.6rem; margin-bottom: 5px; text-align: center; color: var(--dark); }
.hero-form-card p { text-align: center; font-size: 0.95rem; margin-bottom: 25px; color: #888; }

.form-group { position: relative; margin-bottom: 18px; }
.form-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; transition: color 0.3s; }
.form-group input, .form-group select { width: 100%; padding: 14px 14px 14px 45px; border: 2px solid #f0f0f0; border-radius: 10px; font-size: 1rem; outline: none; transition: var(--transition); font-family: inherit; background: #fcfcfc; }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 5px 15px rgba(157,194,58,0.1); background: #fff; }
.form-group input:focus + i, .form-group input:focus ~ i { color: var(--primary); }

/* Button Shine Effect */
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 20px rgba(157,194,58,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(157,194,58,0.4); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent); transition: all 0.5s; }
.btn-primary:hover::before { left: 100%; }

.btn-block { width: 100%; }
#form-message { margin-top: 10px; font-size: 0.9rem; text-align: center; }

/* Stats Strip */
.stats-strip { background: var(--dark); color: #fff; padding: 50px 0; margin-top: -60px; position: relative; z-index: 10; border-radius: 0 100px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-box { padding: 0 20px; position: relative; }
.stat-box:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.1); }
.stat-box h2 { color: var(--primary); font-size: 2.8rem; margin-bottom: 5px; font-weight: 800; }
.stat-box p { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Services */
.section-header { max-width: 700px; margin: 0 auto 60px; }
.sub-heading { display: block; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 15px; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.service-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.service-img { height: 220px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.15); }

.service-body { padding: 35px 30px; position: relative; }
.icon-box { width: 70px; height: 70px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; position: absolute; top: -35px; right: 30px; box-shadow: 0 8px 20px rgba(157,194,58,0.4); border: 4px solid #fff; }
.service-body h3 { font-size: 1.5rem; margin-bottom: 15px; }
.link-arrow { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; font-size: 0.95rem; }
.link-arrow:hover { gap: 12px; color: var(--primary-dark); }

/* About/Why Us */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.experience-badge { position: absolute; bottom: 40px; right: -20px; background: #fff; padding: 25px; border-radius: 15px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.2); border-left: 5px solid var(--primary); animation: float 4s ease-in-out infinite; }
.experience-badge .years { display: block; font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.experience-badge .text { font-size: 0.9rem; font-weight: 700; color: var(--dark); text-transform: uppercase; }

.feature-list li { display: flex; gap: 18px; margin-bottom: 25px; }
.feature-list i { min-width: 28px; height: 28px; background: rgba(157,194,58,0.2); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; margin-top: 4px; }
.feature-list strong { display: block; color: var(--dark); font-size: 1.15rem; margin-bottom: 4px; }

/* Process with Connecting Lines */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; position: relative; }
.step { text-align: center; position: relative; padding: 20px; z-index: 1; }
/* The Dashed Line */
.step:not(:last-child)::after { content: ''; position: absolute; top: 60px; right: -50%; width: 100%; height: 2px; background-image: linear-gradient(to right, var(--border) 50%, transparent 50%); background-size: 15px 1px; background-repeat: repeat-x; z-index: -1; }

.step-number { font-size: 5rem; font-weight: 900; color: rgba(0,0,0,0.03); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); line-height: 1; pointer-events: none; }
.step-icon { width: 80px; height: 80px; background: #fff; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; color: var(--primary); font-size: 2rem; position: relative; z-index: 1; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.step:hover .step-icon { background: var(--primary); color: #fff; border-color: var(--primary); transform: rotateY(180deg); }
.step:hover .step-icon i { transform: rotateY(-180deg); }
.step h3 { margin-bottom: 10px; font-size: 1.25rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: #fff; padding: 40px 30px; border-radius: 16px; box-shadow: var(--shadow); position: relative; }
.testimonial-card::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 20px; left: 20px; font-size: 3rem; color: rgba(157,194,58,0.1); z-index: 0; }
.testimonial-card .stars { color: #FFD700; margin-bottom: 15px; font-size: 1.1rem; position: relative; z-index: 1; }
.testimonial-card p { font-style: italic; margin-bottom: 25px; color: #555; position: relative; z-index: 1; line-height: 1.7; }
.client-info { display: flex; align-items: center; gap: 15px; position: relative; z-index: 1; }
.client-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.client-info h4 { font-size: 1rem; margin-bottom: 2px; font-weight: 700; }
.client-info span { font-size: 0.8rem; color: #888; display: block; text-transform: uppercase; letter-spacing: 0.5px; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--dark), #1a252f); padding: 100px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://www.transparenttextures.com/patterns/cubes.png'); opacity: 0.05; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; font-size: 3rem; margin-bottom: 15px; }
.cta-content p { margin-bottom: 40px; font-size: 1.2rem; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-3px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* Footer */
.site-footer { background: #1e2329; color: #aaa; padding-top: 80px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer-widget h3 { color: #fff; margin-bottom: 25px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer-widget h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: padding 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 8px; }
.contact-list li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.contact-list i { color: var(--primary); margin-top: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { width: 42px; height: 42px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0; text-align: center; font-size: 0.85rem; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 5px 20px rgba(37,211,102,0.4); z-index: 999; transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Responsive */
@media (max-width: 968px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { width: 100%; padding: 0; margin-bottom: 50px; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-features { justify-content: center; }
    .about-layout { grid-template-columns: 1fr; }
    .experience-badge { right: 20px; }
    .stats-grid, .process-steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2n)::after { display: none; }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-form-card { width: 100%; }
    .stats-grid, .process-steps, .footer-grid { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .top-bar { display: none; }
    .mobile-menu-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .btn-header { display: none; }
}
/* === Hero spacing tweaks === */
.hero-section {
    min-height: auto;              /* remove tall forced height */
    padding: 40px 0 100px !important;  /* tighter top space */
    align-items: flex-start;       /* content starts near top, not center */
}

.hero-content {
    padding-top: 10px;             /* small offset from header */
}

.hero-content h1 {
    margin-top: 0;                 /* remove browser default top margin */
}