:root{
      --button-color:#ffb300;
      --button-hover-color: #ffcb00;
      --background-blue-color:radial-gradient(ellipse at left, #0a1e4d 60%, #0a2a9c 100%);
}




/* -------------------- Self-contained Variables -------------------- */
:root {
  --contact-btn-color: #ffb300;
  --contact-btn-hover-color: #ffcb00;
  --contact-bg-color: radial-gradient(ellipse at left, #0a1e4d 60%, #0a2a9c 100%);
  --contact-form-bg: #fff;
  --contact-form-color: #000;
}

/* -------------------- General Body for This Section -------------------- */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--contact-bg-color);
  color: #fff;
}

/* -------------------- Container -------------------- */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1700px;
  margin: 40px auto;
  padding: 40px;
  gap: 40px;
}

/* -------------------- Form Section -------------------- */
.contact-form-section {
  background-color: var(--contact-form-bg);
  color: var(--contact-form-color);
  border-radius: 12px;
  padding: 30px;
  flex: 1 1 500px;
  box-sizing: border-box;
}

.contact-form-section .header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form-section .logo-circle {
  width: 73px;
  height: 70px;
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-section .logo-circle img {
  width: 50px;
  height: 50px;
  border-radius: 25%;
  object-fit: contain;
}

.contact-form-section .header-text h2 {
  margin: 0;
  font-size: 28px;
}

.contact-form-section .header-text p {
  margin-top: 5px;
  font-weight: 600;
  font-size: 16px;
  color: #494949;
}
.res-container{
    margin-left: 20px;
}

/* -------------------- Form -------------------- */
.contact-form-section form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 50px;
  box-sizing: border-box;
}

.contact-form-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-form-section .form-group.full-width {
  grid-column: span 2;
}

.contact-form-section label {
  font-weight: bold;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea,
.contact-form-section button {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

.contact-form-section button {
  background: var(--contact-btn-color);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.contact-form-section button:hover {
  background: var(--contact-btn-hover-color);
}

/* File input style */
.contact-form-section input[type="file"] {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  opacity: 0.5;
  border: none;
}

/* -------------------- Info Section -------------------- */
.contact-info-section {
  flex: 1 1 400px;
  padding: 20px;
  margin-right: -100px;
  margin-top: 40px;
}

.contact-info-box {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-box img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-info-box h3 {
  margin: 0;
  font-size: 25px;
  color: var(--contact-btn-color);
}

.contact-info-box p {
  margin: 5px 0 0 0;
  font-size: 16px;
}
.contact-section {
  position: relative; /* important so absolute positions are relative to this */
  display: flex;
  gap: 20px;
  min-height: 500px; /* ensure space for form + map */
}

.contact-form {
  flex: 1;
}.contact-map {
  position: absolute;
  bottom: 0;
  left: 78%; /* center horizontally */
  transform: translateX(-50%);
  width: 45%;
  max-width: 600px;
  padding: 0;
  opacity: 0.7;
  margin-bottom: 120px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

.contact-map:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.02); /* keep centered on hover */
}

/* ================== RESPONSIVE MEDIA QUERIES ================== */

/* Tablets */
@media (max-width: 1024px) {
  .contact-section {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .contact-info-section {
    margin-right: 0;
    margin-top: 20px;
    padding: 10px;
  }

  .contact-map {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 30px 0 0 0;
    height: 280px;
  }
}

/* Mobiles */
/* Mobiles */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: auto;
  }
  .contact-info-section {
    margin-right: 0;
    text-align: center;
  }
  .contact-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .contact-info-box h3 {
    font-size: 18px;
  }
  .contact-info-box p {
    font-size: 14px;
  }
  .contact-map {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin: 0;
  }
  .contact-map:hover {
    opacity: 1;
    transform: translateX(-0.1%) scale(1.01); /* keep centered on hover */
  }
}


/* -------------------- Responsive -------------------- */
@media screen and (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-form-section form {
    grid-template-columns: 1fr;
  }
  .contact-form-section .form-group.full-width {
    grid-column: span 1;
  }
}



/*
*******************************************************
Global-Footer
*******************************************************
*/
.footer .copyright {
  padding: 20px 0 10px;
  color: #929090;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

  align-items: center;
}



.footer .copyright p {
  margin: 0;
}


.footer {
  background: var(--background-blue-color);
  color: var(--text-light);
  font-size: 14px;
  padding: 40px 20px 50px;
  font-family: var(--font-family);
  position:relative;
}
.flex-5 h4 {
  font-size: 23px !important;
 border-bottom: none !important;
  
}

.container {
  max-width: 1600px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
}

.dis-flex i {
  font-size: 21px;
  margin: 0 !important; /* remove extra space */
  padding-left: 20px !important;
}


.flex-5 {
  flex: 1 1 30%;
  min-width: 120px;
  text-decoration: none;
}

.flex-5 ul li a {
  color: rgb(197, 196, 196); /* change to your desired color */
  font-size: 15px;
}


.count-col h5,
.count-col p {
  white-space: nowrap;
}

.footer a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover,
.footer a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Flex utilities */
.dis-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Footer Top Section */
.footer-top {
    display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 30px;
  padding-right: 10px;
  gap: 30px;
}

.count-sec {
  display: flex;
  flex-wrap: wrap;    /* wrap items to next line on small screens */
  gap: 20px 110px;
  flex: 1 1 65%;
  min-width: 280px;   /* prevents shrinking too much */
}

.count-col {
  min-width: 130px;
  flex: 1 1 120px; /* flexible, but min 120px */
  color: #fff;
}


.count-col h5 {
  font-size: 1.5rem;
  margin: 0 0 5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.count-col p {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.subs-box{
  margin-right: 150px !important;

}
.subs-box ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  align-items: center;
  
}

.subs-box ul li {
  flex-shrink: 0;
}

.subs-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Footer Middle Section */
.footer-middle {
  gap: 32px;
  margin-bottom: 40px;
}

.flex-5 {
  flex: 1 1 18%;
  min-width: 150px;
}

.footer-middle h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
  border-bottom: 2px solid #aad4ff;
  padding-bottom: 8px;
}

.footer-middle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle li {
  margin-bottom: 12px;
}

.footer-middle li a {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Footer Bottom Section */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  gap: 20px;
  padding-top: 30px;
  flex-wrap: wrap;
}

.footer-bottom > div {
  flex: 1; /* equal width for all 3 columns */
  min-width: 200px; /* ensures they don't shrink too small */
}

.footer-bottom > div {
  flex: 1; /* equal width for all 3 columns */
  min-width: 200px; /* ensures they don't shrink too small */
}

/* Optional: center-align text inside each block */
.footer-bottom > div {
  text-align: center;
}

.flex-4 {
  flex: 1 1 30%;
  min-width: 200px;
}
.flex-4 img{
  margin-right: 100px;
}
.flex-4 h3{
  font-size: 17px;
}

.logo-box h3,
.social-box h3 {
  margin-left: 20px;
  font-weight: 700;
  color: #fff;
  /* margin-bottom: 10px; */
}




.dis-flex a i {
  color: white; /* your desired color */
  font-size: 20px; /* optional: change size */
}

.dis-flex a i:hover {
  color:rgb(194, 193, 193) ; 
}

.social-box .dis-flex {
  display: flex;
  gap: 10px; /* adjust spacing between icons */
  justify-content: flex-start; /* align to the left */
}

.social-box .dis-flex a {
  margin-right: 15px;
  display: inline-block;
}

.social-box img {
  filter: brightness(0) invert(1); /* make icons white */
  transition: filter 0.3s ease;
}

.social-box a:hover img {
  filter: brightness(0) invert(0.6);
}
.footer-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  white-space: nowrap; /* Prevent line breaks */
  flex-wrap: nowrap;   /* Force one line */
}

.footer-rating .star-outer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-rating .star-icon {
  margin-right: 20px;
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url('data:image/svg+xml;utf8,<svg fill="yellow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="12 17.27 18.18 21 16.54 13.97 22 9.24 14.81 8.63 12 2 9.19 8.63 2 9.24 7.46 13.97 5.82 21"/></svg>') no-repeat center;
  background-size: contain;
}

.footer-rating .rating-text {
  margin-left: 6px;
  font-size: 0.9rem;
  color: #fff;
}

.footer-rating .client-outer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-rating .rate-us {
  color: #ffd700;
  font-weight: bold;
  font-size: 15px;
  padding: 5px 10px;
  border: 1px solid #ffd700; /* orange frame */
  border-radius: 5px;
  text-decoration: none;
}

.footer-rating .rate-us:hover {
  text-decoration: underline;
}

.footer-rating .client-info {
  font-size: 0.85rem;
  color: #ddd;
}

@media (max-width: 768px) {
  .footer-rating {
    flex-wrap: wrap; /* Allow wrap on small screens */
    white-space: normal;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .count-sec {
    flex: 1 1 100%;
    min-width: 0;
    gap: 15px 30px;
  }

  .count-col {
    flex: 1 1 45%;
    min-width: auto;
  }

  .flex-4.social-box {
    flex: 1 1 100%;
    min-width: 0;
    margin-top: 20px;
  }

  .social-box h3,
  .social-box .dis-flex {
    margin-left: 0;
  }
}
/* Responsive */
@media (max-width: 900px) {
  .footer-middle {
    flex-direction: column;
  }
  .flex-5 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-top {
    flex-direction: column;
  }
  .count-sec {
    justify-content: space-between;
  }
  .subs-box ul {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .flex-4 {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .copyrigh-cont {
    flex-direction: column;
    text-align: center;
  }
}
/* ================== LAPTOP RESPONSIVE (Keep map beside form, slightly lower) ================== */
@media (max-width: 1366px) {
  .contact-map {
    width: 40%;
    max-width: 500px;
    height: 260px;

    position: absolute;
    top: 520px;     /* ⬅️ increase this to push it further down */
    left: 78%;      /* keep same horizontal alignment */
    transform: translateX(-50%);

    opacity: 1;
    margin: 0;      /* margin won’t affect absolute elements */
  }

  /* Disable hover effects */
  .contact-map:hover {
    opacity: 1;
    transform: translateX(-50%);
  }
}
