/* General Setup */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { background-color: #f4f7f6; color: #333; line-height: 1.6; }

/* Header & Navigation */
header { background-color: #1E3A8A; color: white; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 15px 20px; }
.logo { font-size: 1.8rem; font-weight: 700; color: #F59E0B; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li a { color: white; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
nav ul li a:hover { color: #F59E0B; }

/* Hero Section */
.hero { background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1920&q=80') center/cover; height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 0 20px; }
.hero h2 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 25px; }
.cta-button { background-color: #F59E0B; color: #1E3A8A; padding: 12px 30px; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-radius: 5px; transition: background 0.3s ease; border: none; cursor: pointer; }
.cta-button:hover { background-color: #d97706; color: white; }

/* About Us Section (NEW) */
.about-section { background-color: white; padding: 60px 20px; border-bottom: 1px solid #ddd; }
.about-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.about-text p { font-size: 1.05rem; color: #555; margin-bottom: 15px; }
.gallery-title { color: #1E3A8A; font-size: 1.8rem; margin-bottom: 20px; border-bottom: 2px solid #F59E0B; display: inline-block; padding-bottom: 5px; }
.gallery-slider { display: flex; align-items: center; gap: 12px; }
.project-gallery { display: flex; flex: 1; gap: 20px; min-width: 0; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.project-gallery img { flex: 0 0 calc((100% - 60px) / 4); width: 100%; height: 200px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); scroll-snap-align: start; transition: transform 0.3s ease; }
.project-gallery img:hover { transform: scale(1.03); }
.gallery-control { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #1E3A8A; color: white; font-size: 1.2rem; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }
.gallery-control:hover { background: #F59E0B; transform: scale(1.05); }

/* Services */
.services-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; color: #1E3A8A; margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-info { padding: 20px; }
.service-info h3 { color: #1E3A8A; margin-bottom: 10px; font-size: 1.4rem; }
.service-info p { font-size: 0.95rem; color: #555; }

/* Contact Section & Map */
.contact-section { background-color: white; padding: 60px 20px; border-top: 1px solid #ddd; }
.contact-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.info-block { margin-bottom: 20px; }
.info-block h4 { color: #1E3A8A; font-size: 1.2rem; margin-bottom: 5px; }
.phone-link { color: #1E3A8A; text-decoration: none; font-weight: 700; transition: color 0.3s; }
.phone-link:hover { color: #F59E0B; text-decoration: underline; }
.phone-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 10px; align-items: baseline; margin-bottom: 6px; }
.contact-label { color: #555; }
.email-link { color: #1E3A8A; text-decoration: none; font-weight: 600; }
.email-link:hover { color: #F59E0B; text-decoration: underline; }

/* Map */
.map-container { background: #f4f7f6; padding: 24px; border-radius: 10px; text-align: center; border: 1px solid #e2e8f0; }
.map-heading { margin-bottom: 18px; }
.map-heading h3 { color: #1E3A8A; margin-bottom: 4px; }
.map-heading p { color: #64748b; font-size: 0.95rem; }
.map-frame { display: block; width: 100%; height: 280px; border: 0; border-radius: 8px; }
.map-button { display: inline-block; background-color: #2563EB; color: white; padding: 12px 25px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 1.1rem; margin-top: 18px; transition: background 0.3s ease; }
.map-button:hover { background-color: #1D4ED8; }

/* Footer & Privacy (NEW) */
footer { background-color: #1E3A8A; color: white; text-align: center; padding: 20px; font-size: 0.9rem; }
.privacy-text { font-size: 0.8rem; color: #cbd5e1; margin-top: 10px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.4; }

/* Quote modal */
.modal { display: none; position: fixed; z-index: 2000; inset: 0; width: 100%; height: 100%; padding: 16px; background-color: rgba(15, 23, 42, 0.85); backdrop-filter: blur(5px); align-items: center; justify-content: center; overflow-y: auto; }
.modal-content { background-color: #ffffff; padding: 35px; border-radius: 12px; width: min(550px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.close-btn { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; color: #94a3b8; }
.close-btn:hover { color: #ef4444; }
.modal-header { text-align: center; margin-bottom: 25px; }
.modal-header h2 { color: #1E3A8A; font-size: 2rem; margin-bottom: 5px; }
.modal-header p { color: #64748b; font-size: 1rem; }

/* Form */
.form-row { display: flex; gap: 15px; }
.half-width { flex: 1; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; width: 100%; }
.form-group label { font-weight: 600; font-size: 0.95rem; color: #1e293b; margin-bottom: 8px; }
.form-group input, .form-group select { padding: 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; background-color: #f8fafc; color: #333; transition: border 0.3s; }
.form-group input:focus, .form-group select:focus { border-color: #F59E0B; background-color: #ffffff; outline: none; }
.submit-btn { background: #F59E0B; color: white; width: 100%; padding: 15px; border: none; border-radius: 8px; font-weight: 700; font-size: 1.1rem; cursor: pointer; margin-top: 10px; transition: background 0.3s; }
.submit-btn:hover { background: #d97706; }
.success-message { padding: 25px 10px; text-align: center; color: #166534; }
.success-message strong { display: block; margin-bottom: 6px; font-size: 1.1rem; }
.success-message p { color: #475569; }

/* Floating WhatsApp Button (NEW) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 8px; }
    .logo { font-size: 1.45rem; text-align: center; }
    nav ul { gap: 14px; }
    .contact-container { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .modal { align-items: flex-start; }
    .modal-content { padding: 30px 20px; }
    .map-container { padding: 18px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .project-gallery img { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 420px) {
    .hero h2 { font-size: 2.15rem; }
    .hero p { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .map-frame { height: 240px; }
    .phone-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 12px; }
    .gallery-slider { gap: 8px; }
    .gallery-control { flex-basis: 34px; width: 34px; height: 34px; font-size: 1rem; }
    .project-gallery img { flex-basis: 100%; }
}