:root {
  --primary-color: #2e53fa;
  --secondary-color: #f0f2f7;
  --dark-text: #2c2c2c;
  --light-text: #5f5f5f;
  --white-text: #ffffff;
  --card-bg: #ffffff;
  --bg-light: #f6f6f6;
  --border-color: #dcdcdc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--bg-light);
}

.contact-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* Section */
.Contact-section {
  position: relative;
  width: 100%;
  height: 560px;
  background: url("../images/contact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

/* Dark Overlay */
.Contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust darkness */
  z-index: 1;
}

/* Content */
.Contact-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.Contact-content h1 {
  font-size:56px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.Contact-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}



/* Top Section */
.top-section {
  padding: 30px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1230px;
  margin: 0px auto;
}

.card1 {
  background-color: var(--white-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 20px;
}
.card1:hover {
  transform: translateY(-6px);
}
.card1 img {
  text-align: center;
  padding-left: 150px;
  height: 40px;
}

.card1 h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-text);
  text-align: center;
}

.card-content p {
  font-size: 14px;
  color: var(--light-text);
  text-align: center;
}

.top-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

.company-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  justify-items: center;
}

.logo-placeholder {
  width: 100px;
  height: 50px;
  background-color: #e2e4ea;
  border-radius: 5px;
}

/* mapp in mumbai */
.contact-container {
  padding: 16px;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
}
.map-wrap {
  width: 100%;
  height: 60vh;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
p.note {
  color: #333;
  margin-top: 10px;
  font-size: 14px;
}
.two-col {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.box {
  flex: 1 1 340px;
  min-width: 300px;
}

.cta-section {
  padding: 30px 20px;

  background: #f4f6f9;
}

.cta-container {
  max-width: 1300px;

  margin: auto;

  display: flex;

  gap: 30px;

  justify-content: center;

  flex-wrap: wrap;
}

.cta-card {
  background: #ffffff;

  flex: 1 1 450px;

  padding: 30px 30px;

  border-radius: 12px;

  text-align: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;

  position: relative;

  overflow: hidden;
}

.cta-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 30px;

  background: linear-gradient(to right, #3cc3d5, #1c9ab7);
}

.cta-card:hover {
  transform: translateY(-8px);
}

.cta-icon {
  margin-top: 4px;
  font-size: 60px;
  margin-bottom: 10px;
  position: relative;
  /* color: #2c2c2c; */
  color: #3cc3d5;
}

.cta-card h3 {
  font-size: 22px;

  margin-bottom: 10px;

  color: #333;
}

.cta-card p {
  font-size: 15px;

  color: #666;

  margin-bottom: 25px;

  line-height: 1.6;
}

.cta-btn {
  display: inline-block;

  padding: 12px 28px;

  background: linear-gradient(to right, #3cc3d5, #1c9ab7);

  color: #fff;

  border-radius: 6px;

  text-decoration: none;

  font-weight: 500;

  transition: 0.3s ease;
}

.cta-btn:hover {
  opacity: 0.9;
}

/* Responsive */

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
  }
  .Contact-section{
    margin-top: -60px;
  }
}
.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.custom-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 650px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  animation: popup 0.3s ease;
}

@keyframes popup {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.modal-content textarea {
  min-height: 100px;
  resize: none;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #3cc3d5, #1c9ab7);

  color: #fff;
  border: none;

  border-radius: 5px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
.modal-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.modal-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #e5e5e5;
}

.modal-heading i {
  color: #3cc3d5;
  font-size: 22px;
}
.pop-form-subheading {
  margin: 12px 0px;
}
.form-row{
  display:flex;
  gap:20px;
}

.form-group{
  flex:1;
  display:flex;
  flex-direction:column;
}

.phone-wrapper {
  display: flex;
}

.phone-wrapper select {
  width: 90px;
  height: 38px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 10px;
  background: #f9f9f9;
}

.phone-wrapper input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 0 6px 6px 0;
  padding: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

@media (max-width: 1024px) {

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-logos {
    grid-template-columns: repeat(4, 1fr);
  }

  .Contact-section {
    height: 500px;
  }
}


@media (max-width: 768px) {

  .Contact-section {
    height: auto;
    padding: 80px 20px;
  }

  .Contact-content h1 {
    font-size: 1.6rem;
  }

  .Contact-content p {
    font-size: 0.95rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .company-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .card1 img {
    padding-left: 0;
    display: block;
    margin: 0 auto 15px;
  }

  .two-col {
    flex-direction: column;
  }

  .map-wrap {
    height: 300px;
  }

  .cta-container {
    flex-direction: column;
  }

  .cta-card {
    padding: 30px 20px;
    height: 100%;
    max-height:380px;
  }

  .modal-content {
    padding: 20px;
  }
  
}


@media (max-width: 480px) {

  .Contact-content h1 {
    font-size: 1.3rem;
  }

  .top-section h2 {
    font-size: 20px;
  }

  .company-logos {
    grid-template-columns: repeat(2, 1fr);
  }


  .cta-card h3 {
    font-size: 18px;
  }

  .cta-card p {
    font-size: 14px;
  }
 

  .modal-content {
    padding: 15px;
  }

  .modal-heading {
    font-size: 18px;
  }

  .phone-wrapper {
    flex-direction: column;
  }

  .phone-wrapper select {
    width: 100%;
    border-radius: 6px;
    border-right: 1px solid #ddd;
    margin-bottom: 8px;
  }

  .phone-wrapper input {
    border-radius: 6px;
  }
}


@media (max-width: 360px) {

  .Contact-content h1 {
    font-size: 1.1rem;
  }

  .Contact-content p {
    font-size: 0.85rem;
  }

  .card1 {
    padding: 18px;
  }

  .cta-card {
    padding: 25px 15px;
  }

}