* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;

}

body {
  display: flex;
  flex-direction: column;
}

a {
  list-style: none;
  all: unset;
  cursor: pointer;
}

main {
  flex: 1;
}

/* header  */
header {
  position: fixed;      
  top: 0;               
  left: 0;
  right: 0;
  z-index: 1000;        
  background: #fff;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.header-logo img {
  height: 45px;
  justify-content: center;
  display: flex;
}
.Login-button {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  padding: 5px 5px 5px 20px ;
  gap: 5px; 
  align-items: center;
  justify-content: center;
  display: flex; 
  border-radius: 40px;
  color: #ffffff;
  background-color: #393185;
  border: 1px solid #393185;
  margin-top: 0px;
  
}
.Login-button Button img {
  height: 2rem;  
}

.Login-button:hover {
  background-color: transparent;
  color: #393185;
}

.user-menu {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  display: flex;
}

.user-icon {
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
  align-items: center;
  justify-content: center;
  display: flex;
}

.user-avatar {
  height: 45px;
  border-radius: 50%;
}

.dropdown-menu {
  position: absolute;
  top: 105%;
  right: 0;
  background: white;  
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-menu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  margin-top: 0px ;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item img {
  width: 25px;
  height: 25px;
  margin-right: 8px;
}

.dropdown-form {
  margin: 0;
  padding: 0;
}

.logout-btn {
  border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdown-item:only-child {
  border-radius: 8px;
}

/* banner section  */

.hero-wrapper {
  background-image: url('../../../../frontend/assets/images/landing-page-img.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  background-attachment: fixed;
}

.Service-image {
  background-image: url('../../../../frontend/assets/images/Idea-feasibility.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  background-attachment: fixed;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
}

.hero-textbox {
  color: white;
  max-width: 800px;
}

.hero-heading {
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.9rem;
  margin: 20px 0;
  margin-bottom: 0px;
}

.hero-button {
  margin-top: 20px;
  background-color: #393185;
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
  border: 3px solid #ffffff;
}

/* service button  */

.project-button  {
  display: inline-flex;
  align-items: center;
  background-color: #393185; /* Approx from image */
  color: white;
  border: 3px solid #DDDAFF;
  border-radius: 6px;
  padding: 10px 10px;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: background-color 0.3s ease;
  gap: 20px;
}

.btn-text {
  white-space: nowrap;
}

.price-badge {
  background: white;
  color: #3b3086;
  border-radius: 8px;
  padding: 4px 10px;
  text-align: right;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
}

.price-badge .offer-title {
  font-size: 10px;
  color: #555;
}

.price-badge .price-now {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
}

.price-badge .discount {
  color: red;
  font-weight: 700;
}

.price-badge .final-price {
  font-weight: 700;
  font-size: 13px;
}

.price-badge .original-price {
  text-decoration: line-through;
  color: gray;
  font-size: 10px;
}

.hero-button :hover {
  background-color: #DDDAFF;
  color: #393185;
}

.project-button:hover {
  background-color: #DDDAFF;
  color: #393185;
  border: 3px solid #393185;

}



@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-textbox {
    text-align: left;
  }

}


.service-info {
  padding: 50px 40px;
  background-color: #fff;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-text {
  flex: 1 1 500px;
}

.service-highlight {
  color: #393185;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.service-description {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}

.service-image {
  flex: 1 1 400px;
  text-align: right;
}

.service-images img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .service-container {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .service-image {
    text-align: center;
  }

  .service-title {
    font-size: 2rem;
  }

  .service-description {
    font-size: 1rem;
  }
}

.project-services {
  background: #F4F6FB;
  padding: 50px 40px;
  font-family: 'Poppins', sans-serif;
}

.container-box {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  color: #393185;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0e0e0e;
  line-height: 1.2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  transition: transform 0.3s ease;
}

.service-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.service-item p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.read-link {
  font-weight: 500;
  text-decoration: underline;
  color: #222;
  font-size: 15px;
  transition: color 0.3s ease;
}

.read-link:hover {
  color: #393185;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .service-item h3 {
    font-size: 18px;
  }
  .service-item p,
  .read-link {
    font-size: 14px;
  }
}

/* contact-form */

.contact-section {
  padding: 40px 20px;
  background: #fff;
  padding-top: 0px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-container {
  flex: 1 1 400px;
  padding: 30px;
}

.form-container h2 {
  font-size: 2.3rem;
  color: #393185;
  margin-bottom: 10px;
  line-height: 1.2;
}

.form-container h2 span {
  color: #393185;
  display: block;
}

.form-container p {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  margin: 10px 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #393185;
}

.input-group input {
  flex: 1 1 48%;
  margin: 0;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background-color: #393185;
  color: white;
  padding: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.map-container {
  flex: 1 1 400px;
  min-height: 400px;
  background-color: #eee;
}

iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .input-group input {
    flex: 1 1 100%;
  }

  .form-container h2 {
    font-size: 24px;
  }
}


/* Footer-section */

.footer {
  background: #e7e1fa;
  color: #1e1e1e;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  color: #393185;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.logo {
  width: 80px;
  margin-bottom: 10px;
}

.sub-logo {
  width: 180px;
  margin: 45px 0;
  margin-left: 10px;
}

.footer-section p {
  font-size: 1.2rem;
  line-height: normal;
}

.footer-section a {
  text-decoration: none;
}

.payments img {
  height: 30px;
  margin: 15px 5px 0 0;
}

.footer-bottom {
  padding: 15px 30px;
  border-top: 1px solid #ccc;
  text-align: center;
  background: #393185;
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
}

.company{
  max-width: 40%;
}
.website{
  max-width: 15%;
}
.contact{
  max-width: 15%;
}
.address{
  max-width: 25%;
}


@media (max-width: 768px) {
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 17px;
  }
  .company{
  max-width: 100%;
  }
  .website{
    max-width: 100%;
  }
  .contact{
    max-width: 100%;
  }
  .address{
    max-width: 100%;
  }

  .footer-section h4 {
    margin-bottom: 0px;
}

  .footer-section {
    flex: 1 1 100%;
  }

  .payments {
    justify-content: center;
  }
}

/* service page  */

.service-section {
  height: 82vh;
  position: relative;
}

.service-section img {
  float: right;
  height: 100%;
}
.service-image-background {
  height: 500px;
  width: 100%px;
  background-color: #393185;
  border-bottom-left-radius: 100px;
  border-top-right-radius: 100px;
}

.service-image {
  position: relative;
}

.service-image img {
  position: absolute;
  left: 25px;
  top: 25px;
  height: 100%;
}

.service-contant-container {
  position: absolute;
  top: 35px;
  width: 100%;
}

/* register form  */

.login-register-main-container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-wrapper {
  margin: 0px 40px;
  display: flex;
  flex-direction: row;
  width: 1200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 20px;
}

.form-section {
  flex: 1 1 400px;
  background: #F4F6FB;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px 0px 0px 20px;
}

.logo {
  width: 70px;
  margin-bottom: 15px;
}

.project-logo {
  width: 180px;
  margin-bottom: 30px;
}

h2 {
  color: #393185;
  margin-bottom: 20px;
  font-size: 2.3rem;
}

.register-form {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
}

.register-form input,
.register-form select {
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-top: 10px;
}

.phone-input {
  display: flex;
  gap: 10px;
}

.phone-input input {
  flex: 1;
}

.register-form-button {
  background-color: #393185;
  color: white;
  padding: 12px;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-form-button:hover {
  background-color: #DDDAFF;
  color: #393185;
}

.image-section {
  flex: 1 1 400px;
  background: url('../../../../frontend/assets/images/landing-page-img.png') center/cover no-repeat;
  position: relative;
  min-height: 300px;
  border-radius: 0px 20px 20px 0px;
}

.register {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

.register a {
  color: #0066ff;
  text-decoration: none;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .form-section {
    padding: 30px 20px;
  }
  .register-form {
    max-width: 100%;
  }
  h2 {
    font-size: 22px;
  }
  .project-logo {
    width: 160px;
  }
}

@media (max-width: 425px) {
  .register-wrapper {
    flex-direction: column;
    height: auto;
  }
  .image-section {
    display: none;
  }
}

/* otp section  */

.mobile-update {
  font-size: 1.2rem;
}

.form-section p {
  text-align: center;
  margin-bottom: 5px;
  line-height: 1.4rem;
}

.otp-inputs {
  width: 280px;
  margin-top: 20px;
  display: flex;
  gap: 5%;
  justify-content: space-between;
}

.otp-inputs input {
  display: flex;
  align-items: center;
  justify-content: center;
}


.otp-form-button {
  width: 280px;
}

.otp-form-button:hover {
  background-color: #DDDAFF;
  color: #393185;
}

.timer {
  margin: 5px;
  font-size: 0.9rem;
  color:#4D4E4E ;
}

/* detaild service page */

.feasibility-section {
  padding: 60px 20px;
  background: #E6EDFF;
}

.feasibility-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 40px;
}

.feasibility-image {
  flex: 1 1 450px;
  border-radius: 0 0 0 80px;
  overflow: hidden;
  background: #393185;
  padding: 10px;
}

.feasibility-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0 0 0 80px;
}

.feasibility-text {
  flex: 1 1 500px;
}

.feasibility-text h2 {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 20px;
}

.feasibility-text p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #444;
  text-align: justify;
}
.past-report {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .feasibility-container {
    flex-direction: column;
    padding: 40px 30px;
  }

  .feasibility-text h2 {
    font-size: 24px;
  }

  .feasibility-image {
    flex: 1 1 450px;
    border-radius: 0;
    padding: 0;
    width: 100%;
  }

  .feasibility-image img {
    border-radius: 0;
  }
}

@media (max-width: 425px) {
  .past-report {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
}

@media (max-width: 768px) {
  header {
    padding: 20px 40px;

  }
  .header-logo img {
    height: 35px;
  }
  .user-avatar {
    height: 35px;
  }
  .Login-button {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0px 5px 0px 20px ;
  }
  .Login-button img {
    height: 45px;
  }
}

@media (max-width: 425px) {
  .feasibility-image {
    flex: 1 1 250px;
  }

  .feasibility-container {
    padding: 30px 20px;
  }
  header {
    padding: 20px 20px;
  }

  .header-logo img {
    height: 25px;
  }

  .Login-button {
    font-size: 1rem;
    padding: 0px 0px 0px 10px ;
    gap: 3px;
  }

  .Login-button img {
    height: 38px;
    
  }
  .hero-button {
    font-weight: 500;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/*  user profile   */

.container {
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: auto;
}

.profile-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header {
  background: #E6EDFF;
  padding: 50px 40px 40px;
  text-align: center;
  position: relative;
  color: white;
}

.profile-avatar {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.profile-avatar img {
  height: 40px;
}

.profile-title {
  position: relative;
  z-index: 1;
}

.profile-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.profile-title p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin: 0;
  font-weight: 300;
  color: #000;
}

.profile-body {
  padding: 45px 40px;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-label {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: black;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-label i {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #525252;
  background: #f7fafc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: default;
}

.form-input:focus,
.form-input:hover {
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 
  0 0 0 4px rgba(102, 126, 234, 0.1),
  0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.form-input .unique-id {
  font-size: 0.9rem;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #f7fafc 0%, #edf2f7 100%);
}

@media (max-width: 768px) {
  
  .profile-header {
    padding: 40px 25px 30px;
  }
  
  .profile-title h2 {
    font-size: 1.8rem;
  }
  
  
  .profile-body {
    padding: 35px 25px;
  }
  
  .form-input {
    padding: 16px 18px;
    font-size: 0.95rem;
  } 
}

@media (max-width: 480px) {
  
  .profile-header {
    padding: 30px 20px 25px;
  }
  .profile-avatar img {
    height: 35px;
  }
  .profile-title h2 {
    font-size: 1.6rem;
  }
  
  .profile-title p {
    font-size: 1rem;
  }
  
  .profile-body {
    padding: 30px 20px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-input {
    padding: 14px 16px;
  }
}

/* report section  */
.chat-wrapper {
  max-width: 800px;
  margin: 100px auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.chat-header {
  background: #e7ecfc;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.chat-header h4 {
  font-size: 16px;
  color: #2e2267;
}

.chat-body {
  padding:  40px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.message-row.right {
  justify-content: flex-end;
}

.message-row.right .message {
  background: #edf0ff;
  border: 1px solid #3c2fa4;
}

.message strong {
  font-weight: 600;
}

.message-row.right .avatar {
  order: 1;
}

.avatar {
  width: 47px;
  height: 47px;
  border-radius: 50%;
}

.message {
  background: #f3f6fc;
  border: 1px solid #d6dfff;
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.5;
}

.answer-message-faq{
  margin-top: 15px;
  margin-bottom: 15px;
}

.file-message {
  background: #e3efff;
  border: 1px dashed #3c2fa4;
  font-weight: bold;
  display: inline-block;
}
.file-message a {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
         
  .chat-wrapper {
    margin: 100px 40px;
  }
  .chat-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }


  .message {
    font-size: 13px;
  }
}

/* Payment Form  */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.alert ul {
  margin: 0;
  padding-left: 20px;
}

.payment-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.payment-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(82, 143, 240, 0.3);
}
.payment-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.input-group {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.input-group input,
.input-group select {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #528FF0;
  box-shadow: 0 0 5px rgba(82, 143, 240, 0.3);
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.w-100 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* File Upload */
.file-upload-container,
.file-upload-section {
  margin-bottom: 20px;
}

.file-upload-label {
  display: inline-block;
  width: 100%;
  padding: 15px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  font-weight: 500;
  margin-bottom: 10px;
}
.file-upload-label:hover {
  border-color: #528FF0;
  background: #f0f5ff;
  color: #528FF0;
}
.file-upload-label i {
  margin-right: 8px;
  font-size: 16px;
}
.file-input {
  display: none;
}
.file-info {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}
.file-name,
.selected-file {
  margin-top: 10px;
}
.file-selected {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #e8f4f8;
  border: 1px solid #b8e0d2;
  border-radius: 6px;
  color: #2d5a27;
  font-size: 14px;
  gap: 8px;
}
.file-selected i {
  color: #28a745;
}
.remove-file {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 12px;
}
.remove-file:hover {
  background: #f8d7da;
}

/* Form */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
  color: #393185;
  margin-bottom: 10px;
  font-size: 28px;
  text-align: center;
}
.form-container p {
  color: #424242;
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}

/* Radio Group */
.radio-group {
  margin-bottom: 20px;
}
.radio-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}
.radio-options {
  display: flex;
  gap: 20px;
}
.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}
.radio-option input[type="radio"] {
  display: none;
}
.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  transition: border-color 0.3s;
}
.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #528FF0;
}
.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #528FF0;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Section Layout */
.contact-section {
  padding: 50px 20px;
  background: white;
  min-height: 100vh;
  margin-top: 100px;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 425px) {
  .form-container {
    padding: 20px;
  }

  .form-container h2 {
    font-size: 22px;
  }

  .form-container p {
    font-size: 14px;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .radio-options {
    flex-direction: column;
    gap: 10px;
  }

  .payment-button {
    font-size: 14px;
    padding: 12px;
  }

  .file-upload-label {
    padding: 12px;
    font-size: 14px;
  }

  .file-selected {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 13px;
  }

  .remove-file {
    font-size: 12px;
    margin-top: 4px;
  }

  .contact-section {
    padding: 0px 0px;
    margin-top: 80px;
  }

  .alert {
    font-size: 14px;
  }
}

.sample-report-container {
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  margin: auto;
  max-width: 1000px;
  margin-top: 100px;
}

.card {
  background: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.card-header {
  background: #E6EDFF;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}
.card-header p {
  color: #424242;
  font-size: 1rem;
  margin-top: 10px;
}

.card-header h2,
.card-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0px;
}

.card-body{
  padding: 20px 40px;
}

.card-body h5 {
  font-size: 1.25rem;
  color: black;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-body p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.7rem;
  text-align: justify;
}

.card-body hr,
.card-body .divider {
  border: none;
  height: 1px;
  background: #dee2e6;
  margin: 1.5rem 0;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state i {
  font-size: 3rem;
  color: #ffc107;
}

.empty-state p {
  font-size: 1.25rem;
  color: #888;
}

.line-fill-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.line-label {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 14px;
  color: #555;
}

.line-fill {
  flex-grow: 1;
  border-bottom: 1px dashed #999;
  height: 1px;
}

@media (max-width: 768px) {
  .card-header h2,
  .card-header h3 {
    font-size: 1.5rem;
  }

  .card-body h5 {
    font-size: 1.1rem;
  }

  .card-body p {
    font-size: 0.95rem;
  }

  .empty-state i {
    font-size: 2.5rem;
  }
}

/* Payment modal  */

.payment-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.payment-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  width: 90%;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.payment-modal-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.success-icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  font-size: 30px;
  line-height: 60px;
  color: #28a745;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.payment-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.payment-modal-body {
  padding: 30px;
  text-align: center;
}

.payment-modal-body h3 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

.payment-modal-body p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.payment-modal-footer {
  padding: 20px 30px 30px;
  text-align: center;
}

.continue-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.continue-btn:active {
  transform: translateY(0);
}

.payment-modal-show {
  display: flex !important;
}


.loader-overlay {
  display: none;
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-overlay.show {
  display: flex !important;
}

.loader-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #393185;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loader-text {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.typing-dots::after {
    content: '';
    display: inline-block;
    width: 1em;
    animation: dots 1s steps(3, end) infinite;
  }

  @keyframes dots {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
  }


  /*service popup*/


  .success-card {
  margin:auto;
  margin-top: 150px;
  margin-bottom: 50px;  
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: #000;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DDDAFF;
}

.checkmark-icon {
  color: #3b3086;
  font-size: 32px;
  line-height: 1;
}

.success-card h2 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  color: #3b3086;
  margin-bottom: 12px;
}

.success-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 28px;
}

.confirm-btn {
  background-color: #3b3086;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.confirm-btn:hover {
  background-color: #DDDAFF;
  color: #3b3086;
}

/* Responsive tweaks */
@media (max-width: 425px) {
  .dropdown-item {
  padding: 5px 16px;
  }
  .chat-wrapper {
    margin: 100px 20px;
  }
  .success-card {
    padding: 30px 20px;
    max-width: 350px;
  }

  .success-card h2 {
    font-size: 1rem;
  }

  .success-card p {
    font-size: 0.875rem;
  }

  .confirm-btn {
    font-size: 0.875rem;
    padding: 10px 20px;
  }

  .hero-overlay {
    padding: 0 25px;
  }
  .service-info {
    padding: 30px 25px;
  }

  .service-container {
    gap: 0px;
  }

  .project-services {
    padding: 30px 25px;
    padding-bottom: 50px;
  }

  .footer-bottom {
    font-size: 13px;
    flex-direction: column;
    gap: 5px;
  }

  .privacy-policy{
    order: -1;
  }
}

@media (max-width: 375px) {
  .success-card {
    max-width: 270px;
  }
}