/* Hero Section */
.hero-section {
  position: relative;
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 6rem;
  overflow: hidden;
}

/* Background blur effect */
.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assests/P-img/about11.jpg") no-repeat center center/cover;
  filter: blur(3px); /* Adjust blur strength */
  z-index: 1;
}

/* Keep content above blur */
.process-section * {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  color: #fffcff;
  font-weight: bold;
}


/* Background Video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  z-index: 0;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
}

/* Left Side */
.hero-text {
  flex: 1;
  min-width: 280px;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: bold;
}
.hero-text .subtitle {
  font-size: 1.1rem;
  color: #ddd;
}

/* Right Side Form */
.hero-form {
  flex: 1;
  min-width: 300px;
  background: #ab979584;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.hero-form h2 {
  margin-bottom: 0.5rem;
}
.hero-form p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Form Styling */
.hero-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 20px;
  border: none;
  outline: none;
}
.hero-form button {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}
.hero-form button:hover {
  background: #fff;
  color: #e74c3c;
  font-weight:bold ;
}

/* Features Grid */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 40px;
  margin-bottom: -54px;
  margin-left: 0px;
  min-width: 100%;
}
.feature-card {
  background: rgba(155, 95, 95, 0.1);
  padding: 1.2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}
.feature-card:hover {
  background: rgba(157, 34, 34, 0.2);
  transform: translateY(-8px);
}

/* Rumma Section */
.rumma-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 82px;
}
.rumma-image-box {
  position: relative;
  width: 100%;
  height: auto;
}
.rumma-image-box img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  padding: 0; /* fixed for mobile */
}
.rumma-text-box {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 40px;
  text-align: center;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

/* Process Section */
.process-section {
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 100px 20px;
  text-align: center;
  color: #2c1a0f;
  overflow: hidden;
  height: 550px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* =========================
   RESPONSIVE FIXES
========================= */

/* Tablets */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-form {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-text .subtitle {
    font-size: 0.9rem;
  }
  .hero-form {
    padding: 1.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .rumma-text-box {
    max-width: 90%;
    padding: 15px;
  }
  .rumma-text-box h1 {
    font-size: 1.8rem;
  }
  .rumma-text-box p {
    font-size: 0.9rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-title {
    font-size: 1.2rem;
  }
}





/* Section */
.consultation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 8%;
  flex-wrap: wrap;
}

/* Left text */
.consultation-text {
  flex: 1 1 45%;
  max-width: 500px;
}

.consultation-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c1a0f;
  margin-bottom: 0.8rem;
}

.consultation-text .underline {
  display: inline-block;
  width: 50px;
  height: 6px;
  background: #d64937;
  margin-bottom: 1.5rem;
}

.consultation-text p {
  margin-bottom: 1.5rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: #d64937;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #b53b2d;
}

/* Right image */
.consultation-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.consultation-img img {
  width: 80%;
  max-width: 400px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.consultation-img::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 60%;
  height: 80%;
  background: #e6d0b9;
  z-index: 1 ;
  border-radius: 4px;
}
/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */

/* Tablet and below */
/* 📱 Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {

  /* About Section */
  .about-section {
    padding: 3rem 1.5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .about-image {
    order: 2; /* image below text */
    justify-content: center;
    margin-top: 1rem;
  }

  .about-image img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }
@media (max-width:768px) {
  .section-subtitle{
    font-size: 1.5rem;
    margin-top: -72px;
  }
  .section-title{
    font-size: 1.5rem;
    padding-top: 10px;
    margin-left: 2px;
    margin-right: 2px;
  }
}

  /* Process Section */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-title {
    font-size: 1rem;
  }

  .process-text {
    font-size: 0.9rem;
  }

  /* Consultation Section */
  .consultation {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .consultation-text h2 {
    font-size: 1.6rem;
  }

  .consultation-text p {
    font-size: 0.9rem;
  }

  .consultation-img {
    margin-top: 1.5rem;
  }

  .consultation-img img {
    max-width: 80%;
    margin: 0 auto;
  }

  /* Rumma Section */
  .rumma-image-box img {
    padding: 30px; /* reduce padding for mobile */
    width: fit-content;
    max-width: 100%;
    margin-top: 40px;
    height: 510px;
  }

  .rumma-text-box {
    width: 72%;
    padding: 20px;
  }

  .rumma-text-box h1 {
    font-size: 1.5rem;
  }

  .rumma-text-box p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}