@font-face {
  font-family: "Legal Assists Font";
  src: url("../fonts/Poppins-Medium.ttf");
}

@font-face {
  font-family: "Netflix Regular";
  src: url("../fonts/Netflix\ Regular.woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Legal Assists Font";
}

body {
  /* background-image: url("../img/lawyer_office.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 110px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 31px;
  width: 100%;
  color: white;
  background-image: linear-gradient(
  to right,
  rgba(255, 183, 77, 0.6),
  rgba(255, 94, 98, 0.85),
  rgba(204, 51, 153, 0.9)
);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 110px;
}

/* Flex properties for the left, center, and right sections */
header .left,
header .right,
header .center {
  flex: 1 1 auto;
}

header .left {
  display: flex;
  align-items: flex-start;
  column-gap: 10px;
}

header .center {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .center nav {
  display: flex;
  gap: 20px;
}

header .center nav a {
  color: #fff; /* Adjust color as needed */
  text-decoration: none;
  font-size: 18px; /* Adjust as needed */
}

header .center nav a:hover {
  text-decoration: underline;
}

header .right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.right #phone-icon {
  display: flex;
  align-self: center;
}

.right #phone-icon svg {
  width: 40px;
  height: auto;
}

header .right a,
footer .right a {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}

header .contact-timings {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.contact-timings .phone-no {
  font-size: 30px;
  line-height: 30px;
}

.contact-timings .timings {
  align-self: flex-end;
}

footer {
  margin-top: 60px;
  padding: 20px 40px 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  /* color: white; */
  background-image: linear-gradient(
  to right,
  rgba(255, 183, 77, 0.6),
  rgba(255, 94, 98, 0.85),
  rgba(204, 51, 153, 0.9)
);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 110px;
  position: relative;
}

footer .left,
footer .mid,
footer .right {
  width: 25%;
  min-width: 200px;
  flex: 1 1 auto;
}

footer .left {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  margin-right: 10px;
  color: whitesmoke;
  width: 40% !important;
}

footer .left h1 {
  margin-bottom: 20px;
}

footer .mid h3,
footer .right h3 {
  font-size: 30px;
  color: #2B4B65;
  margin-bottom: 20px;
}

footer .mid .extra-links {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

footer .mid .extra-links a {
  text-decoration: none;
  position: relative;
}

footer .mid .extra-links a::before {
  position: absolute;
  left: -15px;
  content: url("../icons/drop-down-arrow.svg");
  width: 12px;
  height: auto;
  transform: rotate(-90deg);
}

footer .right p {
  color: #053f66;
  font-weight: 600;
  font-size: 16px;
}

footer .right .phone-no,
footer .right .email-id {
  padding-left: 40px;
  min-height: 40px;
  position: relative;
}

footer .right .phone-no::before,
footer .right .email-id::before {
  position: absolute;
  left: 0;
  top: -5px;
  border: 1px solid #053f66;
  padding: 5px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

footer .right .phone-no::before {
  content: url("../icons/phone-icon-solid.svg");
}

footer .right .email-id::before {
  content: url("../icons/email_icon_solid.svg");
}

footer .scroll_to_top {
  position: absolute;
  bottom: 20px;
  right: 20px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  width: 50px;
  height: 50px;
  background-image: url("../icons/up_arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  cursor: pointer;
}

footer .rights-reserved {
  margin: auto;
  color: #082f49;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 840px) {

  header {
    padding: 10px;
    background-image: linear-gradient(
  to right,
  rgba(255, 183, 77, 0.6),
  rgba(255, 94, 98, 0.85),
  rgba(204, 51, 153, 0.9)
);

    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  header .left,
  header .right {
    align-items: center;
    justify-content: center;
  }

  header .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header .center {
    margin: 10px 0;
  }

  header .center nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header .center nav a {
    font-size: 16px; /* Adjusted font size */
  }

  header .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header .contact-timings {
    align-self: center;
  }
}


  footer .right h3,
  footer .right p::before {
    color: whitesmoke;
  }

  footer .right p {
    color: whitesmoke;
    font-weight: 500;
  }

  footer .mid-ahead h3 {
    font-size: 24px;
    margin-left: 0;
  }

  footer .mid-ahead .extra-links-1 {
    margin-left: 0;
    padding-left: 10px;
  }


footer .mid-ahead h3 {
  font-size: 30px;
  color: #2B4B65;
  margin-bottom: 20px;
  margin-left: -200px;
}

footer .mid-ahead .extra-links-1 {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  margin-left: -205px;
}

footer .mid-ahead .extra-links-1 a {
  text-decoration: none;
  position: relative;
}

footer .mid-ahead .extra-links-1 a::before {
  position: absolute;
  left: -15px;
  content: url("../icons/drop-down-arrow.svg");
  width: 12px;
  height: auto;
  transform: rotate(-90deg);
}

@media screen and (max-width: 580px) {
  header {
    padding: 10px;
    background-image: linear-gradient(
  to right,
  rgba(255, 183, 77, 0.6),
  rgba(255, 94, 98, 0.85),
  rgba(204, 51, 153, 0.9)
);

    min-height: 150px;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 31px;
    width: 100%;
    color: white;
    background-image: linear-gradient(
      to right,
      rgba(255, 183, 77, 0.6),
      rgba(255, 94, 98, 0.85),
      rgba(204, 51, 153, 0.9)
    );
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 110px;
  }
  
  /* Flex properties for the left, center, and right sections */
  header .left,
  header .right,
  header .center {
    flex: 1 1 auto;
  }
  
  header .left {
    display: flex;
    align-items: flex-start;
    column-gap: 10px;
  }
  
  header .center {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  header .center nav {
    display: flex;
    gap: 20px;
  }
  
  header .center nav a {
    color: #fff; /* Adjust color as needed */
    text-decoration: none;
    font-size: 18px; /* Adjust as needed */
  }
  
  header .center nav a:hover {
    text-decoration: underline;
  }
  
  header .right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  
  .right #phone-icon {
    display: flex;
    align-self: center;
  }
  
  .right #phone-icon svg {
    width: 40px;
    height: auto;
  }
  
  header .right a,
  footer .right a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
  }
  
  header .contact-timings {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
  }
  
  .contact-timings .phone-no {
    font-size: 30px;
    line-height: 30px;
  }
  
  .contact-timings .timings {
    align-self: flex-end;
  }

  footer {
    padding: 10px;
    background-image: linear-gradient(
      to right,
      rgba(255, 183, 77, 0.6),
      rgba(255, 94, 98, 0.85),
      rgba(204, 51, 153, 0.9)
    );
  }

  footer .left {
    color: #2B4B65;
  }

  footer .left h1 {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 10px;
  }

  footer .left .slogan {
    font-size: 13px;
    line-height: 13px;
  }

  footer .mid-ahead h3 {
    font-size: 24px;
    margin-left: 0;
  }

  footer .mid-ahead .extra-links-1 {
    margin-left: 0;
    padding-left: 10px;
  }

  footer .right .phone-no,
  footer .right .email-id {
    padding-left: 25px;
  }

  footer .right .phone-no::before,
  footer .right .email-id::before {
    width: 15px;
    height: 15px;
  }

  footer .scroll_to_top {
    width: 40px;
    height: 40px;
    background-size: 20px;
  }

  footer .rights-reserved {
    font-size: 12px;
  }

  .Logo {
    width: 150px;
    height: 150px;
    margin-left: 80px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  header, footer {
    padding: 20px 30px; /* Slightly reduce padding */
  }
  
  /* Make sure nav links in the header stay spaced */
  header .center nav a {
    font-size: 15px; /* Slightly smaller font */
    padding: 8px;
  }
  
  /* Ensure footer content stays aligned */
  footer .left,
  footer .mid,
  footer .right {
    width: 30%; /* Adjust width distribution to prevent overlap */
  }
}

/* Media query for screens between 1000px and 1100px */
@media screen and (min-width: 1000px) and (max-width: 1199px) {
header, footer {
  padding: 20px 30px; /* Adjust padding to prevent shrinkage */
  min-height: 110px; /* Maintain minimum height for header and footer */
}

/* Ensure that flex elements in header and footer stay in place */
header .left, header .center, header .right,
footer .left, footer .mid, footer .right {
  flex: 1 1 auto; /* Maintain flexible layout without shrinking */
}

header .center nav a {
  font-size: 15px; /* Slightly smaller font */
  padding: 2px;
}


footer .left,
  footer .mid,
  footer .right {
    width: 30%; /* Adjust width distribution to prevent overlap */
  }
}

.Logo {
  width: 100px;
  height: 100px;
  margin-top: -10px;
}