:root {
  --primary-color: #0F4C81;
  --secondary-color: #2B3E50;
  --accent-color: #e6b800; /* Goldish yellow for construction accents */
  --text-color: #333333;
  --light-text: #666666;
  --background-color: #ffffff;
  --section-bg: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

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

.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(5px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list a {
  font-weight: 500;
  color: var(--secondary-color);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary-color);
}

.nav-list .btn-primary {
    padding: 10px 20px;
    color: var(--white) !important;
}
.nav-list .btn-primary:hover {
    color: var(--primary-color) !important;
}

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

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: var(--transition);
    padding: 60px 40px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-color);
    display: block;
}

/* Banner */
.banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px; /* offset for header */
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-desktop {
  display: none;
}

/* Below 992px → mobile image */
.banner-mobile {
  display: block;
}

/* Above 991px → desktop image */
@media (min-width: 992px) {
  .banner-mobile {
    display: none;
  }

  .banner-desktop {
    display: block;
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 76, 129, 0.6); /* Primary color with opacity */
  z-index: -1;
}

.banner-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.banner-content .btn {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.banner-content .btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--light-text);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-img {
  height: 250px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.project-info p {
  color: var(--light-text);
  font-size: 0.9rem;
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Location Map */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 450px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
  gap: 20px;
}

.info-item i {
  width: 50px;
  height: 50px;
  background-color: rgba(15, 76, 129, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-item h4 {
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.info-item p {
  color: var(--light-text);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
  background: white; /* To make sure logo is visible on dark bg */
  padding: 5px;
  border-radius: 4px;
}

.footer-logo h3 {
  margin-bottom: 10px;
}

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

.footer-links ul li a:hover {
  text-decoration: underline;
}

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

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

.social-icons a:hover {
  background-color: var(--primary-color);
}

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

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--white);
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.modal-body img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.modal-body h3 {
    margin: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.modal-body > p {
    margin: 0 20px 20px;
    color: var(--light-text);
}

.modal-details {
    background-color: var(--section-bg);
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .stats {
    justify-content: center;
  }
  
  .divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo img {
      margin: 0 auto 15px;
  }
  
  .social-icons {
    justify-content: center;
  }
}
