/* Madurai HQ page styles. Load after com-home.css and inner-common.css (not contact.css).
 * Extracted from the design source inner-pages.css (Integration-bugtreat/inner-pages/css).
 */
.madurai-page {
  width: 100%;
  background: #fff;
}
.madurai-page .madurai-hero {
  width: 100%;
  padding: 0px 0 72px;
  box-sizing: border-box;
  background: #fff;
}
.madurai-page .madurai-hero .madurai-hero-content {
  width: 65%;
  margin: 0 auto;
  text-align: center;
}
.madurai-page .madurai-hero .madurai-hero-content h1 {
  margin: 0 0 12px;
  font: 60px/68px "HelveticaMedium";
  color: #000;
}
.madurai-page .madurai-hero .madurai-hero-content p {
  width: 80%;
  margin: 30px auto 37px;
  font: 24px/32px "Helvetica";
  color: #000;
}
.madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
  padding: 22px 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 50px;
  background: #81518e;
  color: #fff;
  text-decoration: none;
  font: 21px/30px "Helvetica-Bold";
  transition: background 0.3s ease;
}
.madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn:last-child {
  background: #ff3269;
  padding: 22px 90px;
}
.madurai-page .madurai-office {
  width: 100%;
  padding: 58px 0 70px;
  box-sizing: border-box;
  background: linear-gradient(110deg, #5578d4 0%, #9c36b4 24%, #e51b83 62%, #ff3d72 80%, #ff9b36 100%);
}
.madurai-page .madurai-office .madurai-office-content {
  width: 84%;
  margin: 0 auto;
}
.madurai-page .madurai-office .madurai-office-heading {
  width: 78%;
  margin: 0 auto 38px;
  text-align: center;
  color: #fff;
}
.madurai-page .madurai-office .madurai-office-heading h2 {
  margin: 0 0 12px;
  font: 60px/68px "HelveticaMedium";
  color: #fff;
}
.madurai-page .madurai-office .madurai-office-heading p {
  font: 24px/32px "Helvetica";
  color: #fff;
}
.madurai-page .madurai-office .madurai-office-heading p:last-child {
  margin-bottom: 0;
  margin-top: 25px;
}
.madurai-page .madurai-office .madurai-services {
  width: 100%;
  padding: 30px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 20px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #fff;
}
.madurai-page .madurai-office .madurai-service-card {
  width: 49.3%;
  padding: 30px 30px;
  display: flex;
  box-sizing: border-box;
  border-radius: 15px;
}
.madurai-page .madurai-office .madurai-service-card .madurai-service-content {
  width: 100%;
}
.madurai-page .madurai-office .madurai-service-card .madurai-service-content b {
  display: block;
  margin-bottom: 6px;
  font: 27px/35px "Helvetica-Bold";
  color: #000;
}
.madurai-page .madurai-office .madurai-service-card .madurai-service-content p {
  margin: 0 0 10px;
  font: 20px/28px "Helvetica";
  color: #000;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.madurai-page .madurai-office .madurai-service-card .madurai-service-content a {
  padding: 20px 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 50px;
  background: #80518c;
  color: #fff;
  text-decoration: none;
  font: 18px/26px "Helvetica-Bold";
  transition: background 0.3s ease;
}
.madurai-page .madurai-office .service-blue {
  background: #dce8ff;
}
.madurai-page .madurai-office .service-green {
  background: #d3f5ed;
}
.madurai-page .madurai-office .service-pink {
  background: #fbe0f5;
}
.madurai-page .madurai-office .service-peach {
  background: #ffead9;
}
.madurai-page .madurai-office .service-yellow {
  background: #fff9b9;
}
.madurai-page .madurai-office .service-purple {
  background: #e1d8ff;
}

@media screen and (max-width: 1900px) {
  .madurai-page .madurai-hero .madurai-hero-content h1,
  .madurai-page .madurai-office .madurai-office-heading h2 {
    font-size: 55px;
    line-height: 63px;
  }
}

@media screen and (max-width: 1700px) {
  .madurai-page .madurai-hero .madurai-hero-content h1,
  .madurai-page .madurai-office .madurai-office-heading h2 {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1600px) {
  .madurai-page .madurai-hero .madurai-hero-content h1,
  .madurai-page .madurai-office .madurai-office-heading h2 {
    font-size: 45px;
    line-height: 53px;
  }
}

@media screen and (max-width: 1500px) {
  .madurai-page .madurai-hero .madurai-hero-content p,
  .madurai-page .madurai-office .madurai-office-heading p {
    font-size: 20px;
    line-height: 28px;
  }
  .madurai-page .madurai-hero .madurai-hero-content p {
    width: 80%;
    margin: 21px auto 23px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    font-size: 18px;
    line-height: 26px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn:last-child {
    background: #ff3269;
    padding: 22px 75px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    padding: 22px 54px;
  }
}

@media screen and (max-width: 1400px) {
  .madurai-page .madurai-hero .madurai-hero-content h1,
  .madurai-page .madurai-office .madurai-office-heading h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

@media screen and (max-width: 1200px) {
  .madurai-page .madurai-office .madurai-office-content {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
  }
  .madurai-page .madurai-hero .madurai-hero-content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content a {
    padding: 16px 50px;
  }
  .madurai-page .madurai-office .madurai-office-heading {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto 38px;
  }
}

@media screen and (max-width: 1100px) {
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content b {
    font-size: 20px;
    line-height: 28px;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content p {
    font-size: 18px;
    line-height: 26px;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content a {
    padding: 12px 41px;
  }
}

@media screen and (max-width: 992px) {
  .madurai-page .madurai-hero .madurai-hero-content h1,
  .madurai-page .madurai-office .madurai-office-heading h2 {
    font-size: 35px;
    line-height: 43px;
  }
  .madurai-page .madurai-hero .madurai-hero-content p,
  .madurai-page .madurai-office .madurai-office-heading p {
    font-size: 18px;
    line-height: 26px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn:last-child {
    padding: 22px 74px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    padding: 22px 46px;
  }
  .madurai-page .madurai-office .madurai-services {
    padding: 25px 25px;
  }
}

@media screen and (max-width: 768px) {
  .madurai-page .madurai-office .madurai-service-card {
    width: 100%;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn:last-child {
    padding: 22px 60px;
  }
  .madurai-page .madurai-hero .madurai-hero-content p {
    width: 93%;
    margin: 21px auto 23px;
  }
  .madurai-page .madurai-hero {
    padding: 0px 0 50px;
  }
}

@media screen and (max-width: 650px) {
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    padding: 18px 37px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn:last-child {
    padding: 18px 58px;
  }
  .madurai-page .madurai-hero .madurai-hero-content p,
  .madurai-page .madurai-office .madurai-office-heading p,
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content p,
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content a,
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    font-size: 16px;
    line-height: 24px;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content b {
    font-size: 18px;
    line-height: 26px;
  }
}

@media screen and (max-width: 451px) {
  .madurai-page .madurai-hero .madurai-hero-content p,
  .madurai-page .madurai-office .madurai-office-heading p,
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content p,
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content a,
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    font-size: 14px;
    line-height: 22px;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content b {
    font-size: 16px;
    line-height: 24px;
  }
  .madurai-page .madurai-office .madurai-service-card .madurai-service-content a {
    padding: 12px 33px;
  }
  .madurai-page .madurai-hero .madurai-hero-content .madurai-hero-buttons .madurai-btn {
    font-size: 16px;
    line-height: 24px;
  }
  .madurai-page .madurai-hero .madurai-hero-content {
    padding: 0 10px;
  }
  .madurai-page .madurai-office .madurai-services {
    padding: 21px 19px;
  }
}

/* ---------------------------------------------------------------------------------------
 * Contact section and office & contact block: the design's .contact-sec rules, scoped to
 * this page. contact.css was later adapted for the Contact page (text colour, side padding,
 * map sizes, no "View Contact" button), so this page keeps its own copy as designed.
 * ------------------------------------------------------------------------------------- */
.madurai-page .contact-sec {
  width: 100%;
  padding: 100px 0;
}
.madurai-page .contact-sec .contact-locations {
  width: 100%;
  max-width: 1450px;
  margin: 90px auto 0;
  color: #000;
  font-family: inherit;
}
.madurai-page .contact-sec .contact-locations > h2 {
  font: 60px/68px "HelveticaMedium";
  text-align: center;
  margin-bottom: 30px;
}
.madurai-page .contact-sec .contact-locations .location-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.madurai-page .contact-sec .contact-locations .location-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: 100%;
}
.madurai-page .contact-sec .contact-locations .location-map {
  width: calc(44% - 8px);
  min-width: 0;
  overflow: hidden;
  border-radius: 11px;
}
.madurai-page .contact-sec .contact-locations .location-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  -o-object-fit: cover;
  object-fit: cover;
}
.madurai-page .contact-sec .contact-locations .location-card {
  width: calc(28% - 8px);
  min-width: 0;
  padding: 35px 30px;
  border-radius: 22px;
}
.madurai-page .contact-sec .contact-locations .location-card h3 {
  margin: 0 0 10px;
  font: 28px/36px "HelveticaMedium";
}
.madurai-page .contact-sec .contact-locations .location-card p {
  margin: 0;
  font: 20px/28px "Helvetica";
}
.madurai-page .contact-sec .contact-locations .location-card a {
  color: inherit;
  text-decoration: none;
}
.madurai-page .contact-sec .contact-locations .location-card a:hover {
  color: #ff3366;
}
.madurai-page .contact-sec .contact-locations .india-card {
  background: #dfeaff;
}
.madurai-page .contact-sec .contact-locations .uk-card {
  background: #d6f5ed;
}
.madurai-page .contact-sec .contact-locations .uk-card .cnt-option {
  background-color: #745085;
  border-radius: 50px;
  padding: 20px 50px;
  color: #fff;
  font: 18px/26px "Helvetica-Bold";
}
.madurai-page .contact-sec .contact-locations .call-card {
  background: #fbe0f2;
}
.madurai-page .contact-sec .contact-locations .call-card .contact-number {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font: 20px/28px "Helvetica";
}
.madurai-page .contact-sec .contact-locations .call-card .contact-number > span {
  flex-shrink: 0;
}
.madurai-page .contact-sec .contact-locations .call-card .contact-number > div {
  min-width: 0;
}
.madurai-page .contact-sec .contact-locations .call-card .contact-number > div p + p {
  margin-top: 2px;
}
.madurai-page .contact-sec .contact-locations .call-card .contact-number:last-child {
  margin-bottom: 0;
}
.madurai-page .contact-sec .contact-locations .email-card {
  background: #ffead9;
}
.madurai-page .contact-sec .contact-locations .email-card p + p {
  margin-top: 2px;
}
.madurai-page .contact-sec .contact-locations .contact-bottom {
  margin-top: 28px;
  padding: 14px 10px;
  border-top: 5px solid transparent;
  -o-border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  text-align: center;
}
.madurai-page .contact-sec .contact-locations .contact-bottom p {
  margin: 0;
  font: 23px/31px "Helvetica";
}
.madurai-page .contact-sec .contact-locations .contact-bottom a {
  color: #ff3366;
  text-decoration: none;
}
.madurai-page .contact-sec .contact-bottom {
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid transparent;
  -o-border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  text-align: center;
}
.madurai-page .contact-sec .contact-bottom p {
  margin: 0;
  font-size: 7px;
  line-height: 1.6;
}
.madurai-page .contact-sec .contact-bottom a {
  color: #ff3366;
  text-decoration: none;
}

@media screen and (max-width: 1900px) {
  .madurai-page .contact-sec .contact-locations > h2 {
    font-size: 55px;
    line-height: 63px;
  }
}

@media screen and (max-width: 1800px) {
  .madurai-page .contact-sec {
    width: 100%;
    padding: 90px 0;
  }
}

@media screen and (max-width: 1700px) {
  .madurai-page .contact-sec .contact-locations > h2 {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1600px) {
  .madurai-page .contact-sec .contact-locations > h2 {
    font-size: 45px;
    line-height: 53px;
  }
}

@media screen and (max-width: 1500px) {
  .madurai-page .contact-sec .contact-locations {
    padding: 0 20px;
  }
}

@media screen and (max-width: 1400px) {
  .madurai-page .contact-sec .contact-locations > h2,
  .madurai-page .contact-sec .contact-locations > h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

@media screen and (max-width: 1300px) {
  .madurai-page .contact-sec .contact-locations .location-card p {
    font-size: 18px;
    line-height: 26px;
  }
  .madurai-page .contact-sec .contact-locations .location-card h3 {
    font-size: 25px;
    line-height: 33px;
  }
}

@media screen and (max-width: 1200px) {
  .madurai-page .contact-sec .contact-locations .location-map {
    width: 100%;
  }
  .madurai-page .contact-sec .contact-locations .location-row {
    flex-wrap: wrap;
  }
  .madurai-page .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 76px 30px;
  }
  .madurai-page .contact-sec .contact-locations {
    margin: 58px auto 0;
  }
}

@media screen and (max-width: 992px) {
  .madurai-page .contact-sec .contact-locations > h2 {
    font-size: 35px;
    line-height: 43px;
  }
  .madurai-page .contact-sec .contact-locations .location-row {
    gap: 13px;
  }
}

@media screen and (max-width: 881px) {
  .madurai-page .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 54px 30px;
  }
  .madurai-page .contact-sec .contact-locations .contact-bottom p {
    font-size: 21px;
    line-height: 30px;
  }
  .madurai-page .contact-sec {
    width: 100%;
    padding: 60px 0;
  }
}

@media screen and (max-width: 768px) {
  .madurai-page .contact-sec .contact-locations .location-card {
    width: 100%;
  }
}

@media screen and (max-width: 650px) {
  .madurai-page .contact-sec .contact-locations .uk-card .cnt-option {
    font-size: 16px;
    line-height: 24px;
  }
  .madurai-page .contact-sec .contact-locations .uk-card .cnt-option {
    padding: 12px 41px;
  }
}

@media screen and (max-width: 550px) {
  .madurai-page .contact-sec .contact-locations .contact-bottom p {
    font-size: 18px;
    line-height: 26px;
  }
  .madurai-page .contact-sec .contact-locations {
    padding: 0 0px;
  }
}

@media screen and (max-width: 451px) {
  .madurai-page .contact-sec .contact-locations .call-card .contact-number {
    flex-direction: column;
  }
  .madurai-page .contact-sec .contact-locations .location-layout {
    padding: 0 10px;
  }
  .madurai-page .contact-sec .contact-locations .uk-card .cnt-option {
    font-size: 14px;
    line-height: 22px;
  }
  .madurai-page .contact-sec .contact-locations .uk-card .cnt-option {
    padding: 12px 33px;
  }
}

/* The maps are Google Maps embeds (Settings → Madurai HQ): the same box as the design's map
 * images (577 × 228, at least 150px tall), which also set the row height on desktop. */
.madurai-page .contact-sec .contact-locations .location-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 577 / 228;
  min-height: 150px;
  border: 0;
}
