/* === VARIABLES & RESET === */
:root {
    --primary: #004D40; /* Deep Teal */
    --accent: #D4AF37; /* Premium Gold */
    --accent-hover: #b69324;
    --red-cta: #D32F2F; /* Red for Flyer CTA */
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: 'Montserrat', sans-serif; font-weight: 800; }
.arabic-text { font-family: 'Cairo', sans-serif; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.bg-light { background: var(--light); }

/* === NAVBAR === */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; color: var(--primary); letter-spacing: -1px; }
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
    background: var(--primary); color: var(--white);
    padding: 10px 25px; border-radius: 50px;
    text-decoration: none; font-weight: 700;
    transition: 0.3s;
}
.nav-cta:hover { background: var(--accent); color: var(--dark); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1580273916550-e323be2ed5d6?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 60px; /* Offset for nav */
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,77,64,0.8));
}

.hero-content { position: relative; z-index: 10; max-width: 800px; }

.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; }
.hero-content h1 span { color: var(--accent); }
.hero-sub { font-size: 1.2rem; margin-bottom: 10px; opacity: 0.9; }
.arabic-text { font-size: 1.6rem; color: var(--accent); margin-bottom: 30px; }

.hero-buttons { display: flex; gap: 15px; justify-content: center; }
.btn-primary { 
    background: var(--accent); color: var(--dark); padding: 15px 30px; 
    border-radius: 5px; text-decoration: none; font-weight: 800; 
}
.btn-whatsapp {
    background: #25D366; color: white; padding: 15px 30px; 
    border-radius: 5px; text-decoration: none; font-weight: 800;
}

/* === FLOATING FORM === */
.quote-wrapper { margin-top: -80px; position: relative, z-index: 20; }
.quote-form {
    background: var(--white); padding: 30px;
    border-radius: 10px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 20px;
}
.form-title h3 { color: var(--primary); margin-bottom: 5px; }

.form-inputs { display: flex; gap: 15px; flex-wrap: wrap; }
.input-group { flex: 1; min-width: 200px; position: relative; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.input-group input, .input-group select {
    width: 100%; padding: 15px 15px 15px 45px;
    border: 1px solid #ddd; border-radius: 5px; outline: none;
}
.quote-form button {
    background: var(--primary); color: white; border: none;
    padding: 15px 30px; font-weight: bold; cursor: pointer; border-radius: 5px;
    transition: 0.3s;
}
.quote-form button:hover { background: var(--accent); color: var(--dark); }

/* === SERVICES GRID === */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 span { color: var(--primary); }

.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }

.img-box { height: 200px; overflow: hidden; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .img-box img { transform: scale(1.1); }

.card-content { padding: 25px; text-align: center; }
.card-content h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }

/* === SPLIT SECTION (Why Us) === */
.split-layout { display: flex; align-items: center; gap: 50px; }
.text-block { flex: 1; }
.image-block { flex: 1; height: 450px; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }
.image-block img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { list-style: none; margin: 30px 0; }
.feature-list li { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.feature-list i { color: var(--accent); font-size: 1.5rem; }

.cta-banner {
    background: var(--red-cta); color: white; padding: 20px;
    border-radius: 10px; text-align: center; margin-top: 20px;
}
.phone-large { font-size: 2rem; font-weight: 900; color: white; text-decoration: none; display: block; }

/* === CONTACT === */
.map-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.contact-info-box { background: var(--primary); padding: 50px; color: white; display: flex; flex-direction: column; justify-content: center; }
.contact-info-box h3 { font-size: 2rem; margin-bottom: 20px; color: var(--accent); }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; }
.info-item i { width: 30px; color: var(--accent); }
.map-frame { min-height: 400px; }

/* === FOOTER === */

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .quote-form { padding: 20px; }
   .info-item {font-size: 0.8rem;}
    .form-inputs { flex-direction: column; }
    .split-layout { flex-direction: column; }
    .image-block { width: 100%; height: 300px; }
    .map-contact-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 15px; }
}

/* === MODERN FOOTER STYLES === */
.modern-footer {
    background-color: var(--primary); /* Using a very dark color for contrast */
    padding-top: 60px;
    color: #DDDDDD;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr; /* Layout: About | Services | Contact */
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* About Column */
.about-col p {
    margin-bottom: 20px;
}

.social-icons a {
    color: #DDDDDD;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--accent);
}

/* Services Column */
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #DDDDDD;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Contact Column */
.footer-col p {
    margin-bottom: 5px;
}

.footer-phone {
    display: inline-block;
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
}

.address-label {
    font-weight: 600;
    margin-top: 15px;
}

.availability-whatsapp {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

/* Copyright */
.copyright-bar {
    background-color: #000000;
    padding: 15px 0;
    font-size: 0.85rem;
    text-align: center;
}
.copyright-bar p {
    margin: 0;
}

/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        text-align: center;
    }
    .footer-links {
        padding-left: 0;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
    .social-icons {
        justify-content: center;
        display: flex;
    }
}


   @media (max-width: 768px) {
  .navbar {
    padding: 0.4rem 0; /* smaller height */
  }

  .logo {
    font-size: 1rem; /* smaller logo text */
  }

  .nav-cta {
    font-size: 0.75rem; /* smaller call button */
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
  }

  .menu-toggle {
    display: block;
    font-size: 1.2rem; /* smaller hamburger icon */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 55px; /* reduced from large navbar */
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.6rem 0;
  }
}

/* === OPTIMIZED STYLES FOR PHONE VIEW (Why Choose Us SECTION) === */
@media (max-width: 768px) {
  #why-choose-us .content-layout {
    flex-direction: column;
    gap: 20px;
  }

  #why-choose-us .image-block {
    width: 100%;
    height: auto;
  }

  #why-choose-us .image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  #why-choose-us .features-block {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  #why-choose-us .feature-item {
    padding: 1rem;
  }
}


