body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

.hero-section {
  background: #fff4d6;
  padding: 50px 20px;
  text-align: center;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000;
}

.hero-section p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-section p strong {
  font-weight: bold;
}

/* first part */
.modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 40px;
  background-size: cover;
  background-position: center;
  animation: modern-slideshow 11s infinite;
}

/* Overlay for readability */
.modern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Container with cards */
.modern-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

/* Individual cards */
.modern-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modern-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.modern-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.modern-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #0077cc;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.modern-card a:hover {
  background: #005fa3;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Slideshow Animation with 5 Images */
@keyframes modern-slideshow {
  0%   { background-image: url('/assests/P-img/hero11.jpg'); }
  20%  { background-image: url('/assests/P-img/hero2.jpg'); }
  40%  { background-image: url('/assests/P-img/hero3.jpg'); }
  60%  { background-image: url('/assests/P-img/hero5.jpg'); }
  80%  { background-image: url('/assests/P-img/hero4.jpg'); }
  100% { background-image: url('/assests/P-img/hero6.jpg'); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modern-container {
    grid-template-columns: 1fr;
  }
}
/* Consultation Section */
.consultation-section {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.consultation-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.consultation-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
  min-width: 200px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.full-width {
  flex: 100%;
}

.btn-submit {
  background: #0056a3;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #004080;
}

/* advantage */
.advantage-section {
  background: #fff4d6;
  padding: 50px 20px;
  text-align: center;
}

.advantage-header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.advantage-header p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.advantage-header p strong {
  font-weight: bold;
}

/* Cards Layout */
.advantage-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5%;
}

.advantage-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 270px;
  text-align: center;
  transition: transform 0.3s;
  height: 278px;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 15px 0 8px;
  color: #000;
}

.advantage-card p {
  font-size: 0.95rem;
  padding: 0 10px 15px;
  color: #555;
  line-height: 1.4;
}


/* why choose us */
.choose-us {
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.choose-us h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.choose-us h2 span {
  color: #0d3b66;
}

.subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 50px;
}

/* Background Shape */
.bg-shape {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: #ffe5e5;
  border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
  z-index: 1;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d3b66;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.card p span {
  font-weight: 600;
  color: #e63946;
}

/* Profile Pic */
.profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -25px;
  left: -20px;
  border: 3px solid #fff;
  background: #0d3b66;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-pic.initial {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

/* tranform */
.transform {
  padding: 60px 20px;
  text-align: center;
  background: #fff4d6;
}

/* Section Header */
.transform-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.transform-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Grid Layout */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 53px;
}

/* Service Card */
.transform-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Slideshow Image Background */
.slideshow-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideShow 12s infinite;
}

/* Overlay Text */
.transform-text {
  position: relative;
  padding: 15px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  font-size: 1.1rem;
  text-align: left;
  z-index: 2;
}

/* Slideshow Animation with 3 Images */
@keyframes slideShow {
  0%   { background-image: var(--img1); }
  33%  { background-image: var(--img2); }
  66%  { background-image: var(--img3); }
  100% { background-image: var(--img1); }
}

/* CTA Card */
.cta-card {
  background: #ffe1d4;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  font-weight: bold;
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cta-card p {
  font-size: 1rem;
  color: #333;
}


/* get in touch */
/* Contact Section */
.contact-section {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  background-color: #a33700; /* Brown background */
  border-radius: 60px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  color: #fff;
  flex-wrap: wrap; /* For responsiveness */
}

.contact-text {
  flex: 1;
  min-width: 250px;
}

.contact-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.contact-text p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-button {
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  background-color: #ffbf00;
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #e6ac00;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-text h2 {
    font-size: 22px;
  }

  .contact-text p {
    font-size: 14px;
  }

  .contact-button {
    margin-top: 20px;
  }
}



/* Responsive Text */
@media (max-width: 768px) {
  .transform-header h2 {
    font-size: 1.6rem;
  }

  .transform-header p {
    font-size: 1rem;
  }

  .transform-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px){
    .transform-card{
        width: 94%;
    }
}
/* Responsive */
@media (max-width: 768px) {
  .choose-us h2 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .card {
    padding: 20px;
  }

  .bg-shape {
    width: 400px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .bg-shape {
    display: none; /* hide shape on very small screens */
  }
}


/* Responsive */
@media (max-width: 900px) {
  .advantage-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .advantage-cards {
    flex-direction: column;
    align-items: center;
    
  }

  .advantage-card {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-row input {
    min-width: 100%;
  }
}