@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Rubik:wght@500&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'switzer';
    src: url(../font/switzer/Switzer-Variable.ttf);
}

@font-face {
    font-family: 'santoshi';
    src: url(../font/santoshi/Satoshi-Variable.ttf);
}

*::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #8070d4;
    border: 6px solid rgba(0, 0, 0, 0.2);
  }

:root{
    --white1: #FFF4F4;
    --white2: #F5F5F5;
    --white3: #a2a4a6;
    --blue: #1f80ff;
    --pink1:#eb287b;
    --pink2:#ae0288;
    --black1:#1d2b36;
    --black2:#131623;
    --black3: #323335;
    --font1: 'Roboto', sans-serif;
    --font2: 'Rubik', sans-serif;
    --custom-font1: 'santoshi';
    --custom-font2: 'switzer';
}

.colorAnimation{
    background: linear-gradient(-100deg, var(--blue), var(--pink1), var(--pink2));
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.main{
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: white;
}


/* section 1 */

.sec1{
    height: 860px;
    width: 100%;
    /* background-image: url("../img/svg/homeBg.svg"); */
    background-size: 90%;
}

.sec1Content{
    height: 860px;
    width: 100%;
    /* background-image: url("../img/contact/map.webp"); */
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content:center;
}

.sec1Head{
    /* margin-top: 50px; */
    margin-top: 1%;
    height: 80px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    /* justify-content: center; */
    align-items: end;
}
.sec1bg{
    height: 630px;
    /* background-color: #1d2b36; */
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sec1bg img{
    height: 85%;
    object-fit: scale-down;
}
.sec1Head h1{
    /* margin-top: 10%;  */
    font-size: 40px;
    font-family: var(--custom-font1);
    color: var(--black3);
}

.line{
    height: 3px;
    width: 50%;
    background-color: var(--black3);
}


/* section 2 */

.sec2{
    height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec2Content{
    height: 90%;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.sec2Head{
    height: 20%;
    width: 100%;

}

.sec2Head h1{
    font-family: var(--custom-font1);
    font-size: 50px;
    color: var(--black2);
}

.line2{
    height: 3px;
    width: 150px;
    background-color: var(--pink2);
}


.sec2Card{
    height: 80%;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.card{
    border: 0.5px solid #cfd1d27f;
    border-bottom: 5px solid var(--black3);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.cardIcon{
    flex: 1;
    display: flex;
    align-items: center;
}

.cardIcon img{
    height: 60px;
}

.cardHead{
    flex: 1;
}

.cardHead h1{
    font-size: 42px;
    color: var(--black2);
    font-family: var(--custom-font1);
}

.cardContent{
    flex: 2;
}

.cardContent p{
    font-size: 16px;
    font-family: var(--custom-font1);
    color: var(--black2);
}
.cardBtn{
    flex: 1;
    display: flex;
    align-items: center;
}

.cardBtn a{
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    color: var(--white2);
    font-family: var(--custom-font1);
    background-color: var(--black2);
    padding: 10px 20px;
    border-radius: 10px;

}

.sec3{
    height: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec3Content{
    height: 90%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sec3Head{
    height: 25%;
    /* background-color: #a2a4a6; */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.sec3Head h1{
    font-size: 40px;
    font-family: var(--custom-font1);
    color: var(--black2);
}   

.line3{
    height: 3px; 
    width: 250px;
    background-color: var(--black3);
}

.sec3Map{
    height: 75%;
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: end;
}

.mapContent{
    position: absolute;
    height: 100%;
    width: 500px;
    margin-right: 100px;
    background-color: var(--white2);
    border: 0.5px solid #cfd1d27f;
    border-top: 14px solid var(--black3);
    border-radius: 20px;
    transform: translateY(-150px);
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    /* margin-top: 50px; */
}


.map{
    height: 100%;
    width: 100%;
}

.mapHead{
    height: 10%;
    width: 100%;
    /* background-color: #323335; */
}

.mapHead h1{
    font-family: var(--custom-font1);
    color: var(--black2);
    font-size: 36px;    
}

.location1,.location2,.location3,.location4,.location5{
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* border-bottom: 1px solid var(--black3); */
    /* border-bottom: 1px solid var(--white3); */
}

.location5{
    border-bottom: none;
}

.locationHead{
    font-family: var(--custom-font1);
    font-size: 14px;
    color: var(--black2);
}
.locationAdd{
    line-height: 1.2;
    font-family: var(--custom-font1);
    font-size: 16px;
    font-weight:500;
    color: var(--black2);
}

.locationPh{
    font-family: var(--custom-font1);
    font-size: 18px;
    color: var(--black2);
}

/* section 4 */

.sec4{
    position: relative;
    top: 15%;
    margin-top: 80px;
    height: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec4Content{
    height: 100%;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.sec4Left{
    height: 100%;
    width: 50%;
}

.left4Head{
    height: 20%;
    width: 100%;
}

.left4Head h1{
    font-size: 50px;
    font-family: var(--custom-font1);
    font-weight: 800;
    color: var(--black3);
}

.left4Head p{
    font-size: 48px;
    font-family: var(--custom-font1);
    font-weight: 800;
    color: var(--black3);
}

.left4Content{
    height: 80%;
    width: 100%;
    padding: 25px;
}

form{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.name,.email{
    height: 20%;
    width: 100%;
}

.name p,.email p,.message p{
    font-family: var(--custom-font1);
    font-size: 30px;
    font-weight: 500;
    color: var(--black2);
}

.name input , .email input,.message input{
    height: 50px;
    width: 90%;
    font-family: var(--custom-font1);
    font-size: 16px;
    padding: 10px;
    border: 0.1px solid var(--black2);
    background-color: var(--white2);
    color: var(--black2);
    border-radius: 10px;
}

.message{
    height: 30%;
    width: 100%;
}

.message textarea{
    width: 90%;
    height: 70%;
    font-family: var(--custom-font1);
    font-size: 16px;
    padding: 10px;
    border: 0.5px solid var(--black2);
    background-color: var(--white2);
    color: var(--black2);
    border-radius: 10px;
}

.subBtn{
    height: 15%;
    width: 100%;
    display: flex;
    align-items: center;
}
.subBtn input{
    height: 80%;
    width: 50%;
    font-family: var(--custom-font1);
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--white2);
    background-color: var(--black3);
    border: 0.5px solid var(--black2);
    border-radius: 10px;
}

.sec4Right{
    height: 100%;
    width: 50%;
    padding: 15px;
}

.right4Content{
    height: 90%;
    width: 100%;
    background-color: var(--black3);
    border-radius: 25px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.mailAddress{
    flex: 1;
    width: 100%;
    display: flex;
    /* border-bottom: 1px solid var(--white2); */
}

.icon{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon i{
    font-size: 45px;
}

.text{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.text h4{
    font-family: var(--custom-font1);
    color: var(--white2);
    font-size: 18px;
    font-weight: 300;
}

.text p{
    font-family: var(--custom-font1);
    color: var(--white2);
    font-size: 28px;
    font-weight: 500;
}


/* ======Media Query=========== */

@media screen and (max-width: 600px){
    .sec1{
        height: 100%;
    }
    .sec1Content{
        margin-top: 40px;
        height: 280px;
        background-position: bottom;
        background-size: 90%;
    }
    .sec1Head{
        width: 90%;
    }
    .sec1Head h1{
        font-size: 32px;
        margin-bottom: 3rem;
    }

    .sec1bg{
        /* padding: 20px 0px; */
        height: 200px;
        /* background-color: #1d2b36; */
        /* width: 80%; */
        margin-bottom: -10rem;
    }
    .sec1bg img{
        height: 100%;
        object-fit: scale-down;
    }

    .sec2{
        height: 100%;
        padding: 20px 0px;
    }

    .sec2Content{
        width: 90%;
    }
    .sec2Head{
        height: 100px;
    }
    .sec2Head h1{
        font-size: 30px;
    }
    .sec2Card{
        grid-template-columns: 1fr;
    }

    .card{
        gap: 10px;
    }
    .cardIcon img{
        height: 45px;
    }
    .cardHead h1{
        font-size: 32px;
    }
    .cardContent p{
        font-size: 14px;
    }
    .cardBtn{
        padding: 10px 0px;
    }
    .cardBtn a{
        font-size: 12px;
        letter-spacing: 1.5px;
        padding: 6px 10px;
    }


    .sec3 {
    min-height: 100vh;          /* Full screen height */
    display: block;
    justify-content: center;    /* horizontal center */
    align-items: center;        /* vertical center */
}

.sec3Content {
    width: 100%;
    max-width: 1200px; 
    height: auto;        
    margin: 0 auto;
}


.sec3Head {
    text-align: center;
    margin: 0 auto 40px;
    width: 100%;
}

.sec3Head h1 {
    font-size: 40px;
    font-family: var(--custom-font1);
    color: var(--black2);
}

.sec3Head p {
    font-size: 16px;
    color: #6b7280;
}



   .sec3Map {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: absolute;
}


    .sec3Map iframe {
        height: 300px;
        width: 100%;
        border-radius: 16px;
    }

    .mapContent {
        position: relative;  
        padding: 20px 15px;
        width: 90%;
        margin: 0 auto;
        transform: translate(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 500px;
    }

    .mapHead h1 {
        font-size: 1.5rem;
    }

    .locationIcon {
        font-size: 2rem;
    }

    .locationHead h3 {
        font-size: 1.1rem;
    }

    .hqBadge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .locationAdd p {
        font-size: 0.9rem;
    }

    .locationPh a {
        font-size: 0.95rem;
    }

    .location1:hover, .location2:hover, .location3:hover, .location4:hover, .location5:hover {
        transform: none;
        background: none;
        padding-left: 0;
    }

    .sec4 {
        height: 100%;
        margin-top: 120px;
        top: 0;
    }

    .sec4Content {
        width: 100%;
        flex-direction: column;
    }
    .sec4Right {
        width: 100%;
    }
    .right4Content{
        /* gap: 20px; */
        padding: 30px 10px;
    }

    .icon i{
        font-size: 30px;
    }
    .text{
        gap: 0px;
    }

    .text h4{
        font-size: 16px;
    }
    .text p{
        font-size: 16px;
    }

    .left4Head p{
        display: none;
    }

    .sec4Left {
        width: 100%;
        padding: 10px 25px;
    }
    .left4Head h1 {
        font-size: 30px;
    }

    .left4Content{
        padding: 20px 0px;
    }
    .subBtn input{
        height: 45px;
        font-size: 14px;
    }
    .line3{
        width: 172px;
    }

    .name p,.email p, .message p{
        font-size: 20px;
    }
    .name input, .message input{
        height: 36px;
        font-size: 12px;
        padding: 6px;
    }

    /* Location Section Responsive */
    .sec3 {
        padding: 60px 0;
    }

    .sec3Content {
        padding: 0 20px;
    }

    .sec3Head h1 {
        font-size: 2rem;
    }

    .sec3Head p {
        font-size: 1rem;
    }

    .locationsGrid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .locationCard {
        padding: 30px 20px;
    }

    .locationCard h3 {
        font-size: 1.2rem;
    }

    .locationSubtitle {
        font-size: 1rem;
    }

    .locationDetails p {
        font-size: 0.9rem;
    }

    .locationPhone a {
        font-size: 1rem;
    }

    .locationMap {
        height: 300px;
    }
}

/* Tablet Responsive */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .sec3Content {
        padding: 0 30px;
    }

    .sec3Head h1 {
        font-size: 2.5rem;
    }

    .locationsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .locationCard {
        padding: 35px 25px;
    }

    .locationCard h3 {
        font-size: 1.3rem;
    }

    .locationSubtitle {
        font-size: 1rem;
    }

    .locationMap {
        height: 400px;
    }
}

/* MOBILE PERFECT - Office locations ABOVE map */
@media screen and (max-width: 600px){
    .sec1{
        height: 100%;
    }
    .sec1Content{
        margin-top: 40px;
        height: 280px;
        background-position: bottom;
        background-size: 90%;
    }
    .sec1Head{
        width: 90%;
    }
    .sec1Head h1{
        font-size: 32px;
        margin-bottom: 3rem;
    }
    .sec1bg{
        height: 200px;
        margin-bottom: -10rem;
    }
    .sec1bg img{
        height: 100%;
        object-fit: scale-down;
    }

    .sec2{
        height: 100%;
        padding: 20px 0px;
    }
    .sec2Content{
        width: 90%;
    }
    .sec2Head{
        height: 100px;
    }
    .sec2Head h1{
        font-size: 30px;
    }
    .sec2Card{
        grid-template-columns: 1fr;
    }
    .card{
        gap: 10px;
    }
    .cardIcon img{
        height: 45px;
    }
    .cardHead h1{
        font-size: 32px;
    }
    .cardContent p{
        font-size: 14px;
    }
    .cardBtn{
        padding: 10px 0px;
    }
    .cardBtn a{
        font-size: 12px;
        letter-spacing: 1.5px;
        padding: 6px 10px;
    }

    /* ✅ FIXED SEC3 - Mobile Perfect */
    .sec3 {
        height: auto;          /* Changed from 1000px */
        min-height: 100vh;
        padding: 60px 0px;    /* Add padding */
        display: block;        /* Stack vertically */
    }

    .sec3Content {
        height: auto;          /* Flexible height */
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 30px;             /* Space between elements */
    }

    .sec3Head {
        height: auto;
        width: 100%;
        text-align: center;
        margin-bottom: 0;      /* Remove bottom margin */
    }

    .sec3Head h1 {
        font-size: 2rem;       /* Smaller but readable */
    }

    .sec3Head p {
        font-size: 1rem;
        color: var(--black3);
        margin-top: 10px;
    }

    /* ✅ KEY FIX: Normal flow (NOT absolute) */
    .sec3Map {
        height: auto;
        width: 100%;
        padding: 0;
        position: relative;    /* Changed from absolute */
        display: flex;
        flex-direction: column;
        gap: 25px;             /* Space between locations & map */
        align-items: center;
    }

    /* ✅ Locations FIRST (above map) */
    .mapContent {
        position: relative;    /* Changed from absolute */
        height: auto;
        width: 100%;
        max-width: 400px;      /* Max width on mobile */
        max-height: none;
        background-color: var(--white2);
        border: 0.5px solid #cfd1d27f;
        border-top: 14px solid var(--black3);
        border-radius: 20px;
        transform: none;       /* Remove transform */
        padding: 25px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin: 0 auto;        /* Center */
    }

    .mapHead {
        height: auto;
        margin-bottom: 20px;
        text-align: center;
    }

    .mapHead h1 {
        font-size: 1.5rem;
        color: var(--black2);
    }

    .mapHead hr {
        height: 3px;
        background-color: var(--black3);
        margin: 10px auto 0;
        width: 80px;
    }

    /* ✅ Perfect location cards */
    .location1, .location2, .location3, .location4, .location5 {
        height: auto;
        padding: 15px 0;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .location5 {
        border-bottom: none;
        padding-bottom: 0;
    }

    .locationHead h1 {
        font-size: 1.1rem;
        color: var(--black2);
        margin: 0;
    }

    .locationAdd p {
        font-size: 0.9rem;
        color: var(--black2);
        line-height: 1.4;
        margin: 0;
    }

    .locationPh p {
        font-size: 1rem;
        font-weight: 600;
        color: var(--black2);
        margin: 5px 0 0 0;
    }

    /* ✅ MAP SECOND (below locations) */
    .map {
        height: 300px;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        border: 0;
        display: block;
    }

    .sec4 {
        height: 100%;
        margin-top: 120px;
        top: 0;
    }
    .sec4Content {
        width: 100%;
        flex-direction: column;
    }
    /* ... rest of sec4 unchanged ... */
}
/* =========================
   FIELD WRAPPER
========================= */
.field {
  position: relative;
  width: 70%;
  margin-bottom: 2rem;
}

/* =========================
   INPUT & TEXTAREA
========================= */
.field input,
.field textarea {
  width: 135%;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  font-size: 15px;
  outline: none;
  background: transparent;
}

/* FIXED TEXTAREA */
.field textarea {
  resize: none;
  min-height: 140px;
}

/* =========================
   LABEL (FLOATING)
========================= */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 6px;
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: all 0.25s ease;
}

/* =========================
   FLOAT ON FOCUS / INPUT
========================= */
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -1px;
  font-size: 12px;
  color: #111827;
}

/* =========================
   FOCUS BORDER
========================= */
.field input:focus,
.field textarea:focus {
  border-color: #111827;
  /* box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1); */
}

/* =========================
   FULL WIDTH FIELD
========================= */
.field-full {
  grid-column: 1 / -1;
}
/* ===== AWARDS SECTION ===== */
.awards-section {
  padding: clamp(70px, 10vw, 110px) 20px;
  background: #fafafa;
}

.awards-container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.awards-header {
  text-align: center;
  margin-bottom: 60px;
}

.awards-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: #111;
}

.awards-header p {
  margin-top: 10px;
  font-size: 16px;
  color: #666;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(
    90deg,
    #0b4fc7,
    #3b5edc,
    #6a4bdc,
    #a34fdc,
    #e05adf
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Award card */
.award-card {
  /* background: #fff; */
  padding: 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06); */
  transition: all 0.35s ease;
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.08);
}

/* Image */
.award-card img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.award-card:hover img {
  transform: scale(1.06);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .award-card img {
    max-height: 130px;
  }
}
