
  /* ===================== Global ===================== */
html, body {
width: 100%;
overflow-x: hidden; 
font-family: 'Poppins', sans-serif;
background-color: #f8faff;
color: #1b2a41;
scroll-behavior: smooth;
margin: 0;
padding: 0;
}

/* ===================== Hero Section ===================== */
.hero {
  height: 60vh;
  background: url('../images/aboutus.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0 20px; /* small horizontal padding */
  scroll-behavior: smooth;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.45); /* overlay for better readability */
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Hero paragraph (optional) */
.hero p {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  color: #f0f4ff;
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.5;
}

/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 992px) {
  .hero {
    height: 50vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
    max-width: 90%;
  }
}

/* Phones */
@media (max-width: 576px) {
  .hero {
    height: 40vh;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
    max-width: 95%;
  }
}


/* ===================== About Section ===================== */
.about-content {
  padding: 60px 15px;
  background: linear-gradient(135deg, #f9f5ef, #f3e2c9);
}

.about-title {
  font-weight: 800;
  font-size: 2.3rem;
  color: #6b4226;
  margin-bottom: 15px;
}

.about-title span {
  color: #c79663;
}

.divider {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #c79663, #a86b42);
  border-radius: 5px;
  margin: 20px 0;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b3b2a;
  text-align: justify;
  opacity: 0.95;
  margin-bottom: 15px;
}

/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 992px) {
  .about-content {
    padding: 50px 15px;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Phones */
@media (max-width: 576px) {
  .about-content {
    padding: 40px 10px;
  }
  .about-title {
    font-size: 1.6rem;
    text-align: center;
  }
  .divider {
    margin: 15px auto;
  }
  .about-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
  }
}


/* ===================== Customer Image ===================== */
.customer-image img {
width: 100%;
max-width: 500px;
height: auto;
object-fit: cover;
border-radius: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: block;
margin: 0 auto;
}
.customer-image img:hover {
transform: scale(1.05);
box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===================== Image Grid ===================== */
.image-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  margin-bottom: 50px;
}

/* Big & small images styling */
.big-image img,
.small-images img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease, box-shadow 0.5s ease;
  display: block;
}

/* Hover effect */
.big-image img:hover,
.small-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Small images grid */
.small-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 15px;
}

/* Overlay text on big image */
.big-image {
  position: relative;
}

.big-image .overlay-text {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(58,35,20,0.7);
  padding: 15px 25px;
  border-radius: 12px;
  color: #f7e7ce;
  max-width: 80%;
}

.big-image .overlay-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 5px;
}

.big-image .overlay-text p {
  font-size: 1rem;
  margin: 0;
}

/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 992px) {
  .image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .small-images {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 150px);
  }
  .big-image .overlay-text h3 {
    font-size: 1.4rem;
  }
  .big-image .overlay-text p {
    font-size: 0.95rem;
  }
}

/* Phones */
@media (max-width: 576px) {
  .image-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .small-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px;
    gap: 10px;
  }
  .big-image .overlay-text {
    bottom: 15px;
    left: 15px;
    padding: 10px 15px;
  }
  .big-image .overlay-text h3 {
    font-size: 1.2rem;
  }
  .big-image .overlay-text p {
    font-size: 0.9rem;
  }
}

/* ===================== Devis Section ===================== */
.devis-section {
  background: linear-gradient(135deg, #f9f5ef, #f3e2c9);
  padding: 80px 15px;
  position: relative;
  overflow: hidden;
}

.devis-title {
  font-weight: 800;
  font-size: 2.3rem;
  color: #6b4226;
  margin-bottom: 20px;
}

.devis-title span { 
  color: #c79663; 
}

.devis-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b3b2a;
  text-align: justify;
  opacity: 0.95;
  margin-bottom: 15px;
}

.devis-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 30px;
}

.devis-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: block;
}

.devis-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.image-overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: rgba(58,35,20,0.25);
  border-radius: 20px;
  transition: background 0.3s ease;
}

/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 992px) {
  .devis-section {
    padding: 60px 15px;
  }
  .devis-title {
    font-size: 2rem;
    text-align: center;
  }
  .devis-text p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
  }
  .devis-image {
    margin-top: 25px;
  }
}

/* Phones */
@media (max-width: 576px) {
  .devis-section {
    padding: 40px 10px;
  }
  .devis-title {
    font-size: 1.6rem;
    text-align: center;
  }
  .devis-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .devis-image {
    margin-top: 20px;
  }
}
