@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");
/*Poppins*/

:root {
  --main-color: #f1f1f1;
  --black-color: #000000;
  --white-color: #ffffff;
  --border: 0.1rem solid #e0e0e0;
  --logo-color: #97978d;
  --hover-color: #ea1f25;
  --scroll: #848484;
  --copyright-color: #808285;
  --logo-red: #ea1f25;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s ease;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  margin: 0;
  height: 100%;
  background-color: var(--black-color);
}

html::-webkit-scrollbar,
.popup-content::-webkit-scrollbar {
  width: 0.8rem;
  background-color: var(--black-color);
}

html::-webkit-scrollbar-track,
.popup-content::-webkit-scrollbar-track {
  background-color: var(--black-color);
}

html::-webkit-scrollbar-thumb,
.popup-content::-webkit-scrollbar-thumb {
  border-radius: 3rem;
  background-color: var(--scroll);
}

html::-webkit-scrollbar-thumb:hover,
.popup-content::-webkit-scrollbar-thumb:hover {
  background: var(--logo-red);
}

body {
  background-color: var(--main-color);
  color: var(--black-color);
  font-size: 1.6rem;
  margin: 0;
  height: 100%;
  background-color: transparent;
}

.main-container {
  display: flex;
  flex-direction: column;
  background-color: var(--main-color);
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

section {
  padding: 3rem 17.5%;
  margin: 0;
}

#bigsection {
  padding: 3rem 12.5%;
  /*17.5 yazı padding*/
  margin: 0;
}

hr {
  border: none;
  border-left: 1px solid var(--white-color);
  height: 10vh;
  width: 1px;
  margin-left: 9rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 1.5rem 2.5rem;
  border-radius: 30rem;
  font-size: 1.7rem;
  color: var(--black-color);
  background-color: var(--white-color);
  cursor: pointer;
}

.heading {
  color: var(--black-color);
  border-bottom: 0.1rem solid var(--black-color);
  padding: 1rem 12.5%;
  margin-bottom: 2rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  border: 0;
  margin: 1rem 0rem;
}

td,
th {
  border: 0;
  text-align: left;
}

th {
  padding: 0 20rem;
}

td {
  padding: 0 0rem;
}

#left {
  padding: 0 20rem;
}

#right {
  text-align: right;
}

#center {
  text-align: center;
}

/* Loading Screen Section Start */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#loading-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

#progress-container {
  width: 20%;
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
}

#progress-bar {
  height: 10px;
  width: 0%;
  background: var(--logo-red);
  transition: width 0.3s ease-in-out;
}

/* Loading Screen Section End */

/* Header Section Start */

.header .language {
  position: absolute;
  top: 100%;
  right: 3.2%;
  background-color: var(--black-color);
  width: 12rem;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  max-height: 0;
  overflow: hidden;
  box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.75);
}

.header .language.active {
  max-height: 7.5rem;
}

.header .language a {
  padding: 0.5rem;
  color: var(--white-color);
}

.header .language #active_language {
  color: var(--logo-color);
}

.header .language a img {
  height: 2rem;
  width: auto;
  margin-right: 0.5rem;
  vertical-align: text-bottom;
}

.header .language a:hover {
  background-color: var(--hover-color);
}

.header .logo img {
  height: 2rem;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header {
  background-color: var(--black-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  margin: 2rem 12.5%;
  border-radius: 30rem;
  position: sticky;
  box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.75);
  height: 7rem;
  top: 2rem;
  z-index: 1000;
}

.header .navbar a {
  color: var(--white-color);
  font-size: 1.6rem;
  margin: 0 1rem;
  font-weight: bold;
  border-bottom: 0.1rem solid transparent;
}

.header .navbar .active,
.header .navbar a:hover {
  border-color: var(--white-color);
  padding-bottom: 0.5rem;
  color: var(--white-color);
}

.header .buttons button {
  background-color: transparent;
  cursor: pointer;
  font-size: 2rem;
  margin-left: 2rem;
}

#menu-btn {
  display: none;
}

/* Header Section End */

/* Home Section Start */
.home {
  min-height: 100vh;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -11rem;
}

.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--black-color);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation-timing-function: ease-in-out;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  opacity: 0;
}

.slideshow-image:nth-child(1) {
  background-image: url("../images/home1.jpg");
  animation-name: kenburns-1;
  z-index: 3;
}

.slideshow-image:nth-child(2) {
  background-image: url("../images/home2.jpg");
  animation-name: kenburns-2;
  z-index: 2;
}

.slideshow-image:nth-child(3) {
  background-image: url("../images/home3.jpg");
  animation-name: kenburns-3;
  z-index: 1;
}

.slideshow-image:nth-child(4) {
  background-image: url("../images/home4.jpg");
  animation-name: kenburns-4;
  z-index: 0;
}

.slideshow-image:nth-child(5) {
  background-image: url("../images/home5.jpg");
  animation-name: kenburns-5;
  z-index: -1;
}

.slideshow-image:nth-child(6) {
  background-image: url("../images/home6.jpg");
  animation-name: kenburns-6;
  z-index: -2;
}

.slideshow-image:nth-child(7) {
  background-image: url("../images/home7.jpg");
  animation-name: kenburns-7;
  z-index: -3;
}

.slideshow-image:nth-child(8) {
  background-image: url("../images/home8.jpg");
  animation-name: kenburns-8;
  z-index: -4;
}

@keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }

  5.882% {
    opacity: 1;
  }

  11.764% {
    opacity: 1;
  }

  17.646% {
    opacity: 0;
    transform: scale(1);
  }

  94.112% {
    opacity: 0;
  }

  99.994% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-2 {
  11.764% {
    opacity: 1;
    transform: scale(1.2);
  }

  17.646% {
    opacity: 1;
  }

  23.528% {
    opacity: 1;
  }

  29.41% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-3 {
  23.528% {
    opacity: 1;
    transform: scale(1.2);
  }

  29.41% {
    opacity: 1;
  }

  35.292% {
    opacity: 1;
  }

  41.174% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-4 {
  35.292% {
    opacity: 1;
    transform: scale(1.2);
  }

  41.174% {
    opacity: 1;
  }

  47.056% {
    opacity: 1;
  }

  52.938% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-5 {
  47.056% {
    opacity: 1;
    transform: scale(1.2);
  }

  52.938% {
    opacity: 1;
  }

  58.82% {
    opacity: 1;
  }

  64.702% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-6 {
  58.82% {
    opacity: 1;
    transform: scale(1.2);
  }

  64.702% {
    opacity: 1;
  }

  70.584% {
    opacity: 1;
  }

  76.466% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-7 {
  70.584% {
    opacity: 1;
    transform: scale(1.2);
  }

  76.466% {
    opacity: 1;
  }

  82.348% {
    opacity: 1;
  }

  88.23% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes kenburns-8 {
  82.348% {
    opacity: 1;
    transform: scale(1.2);
  }

  88.23% {
    opacity: 1;
  }

  94.112% {
    opacity: 1;
  }

  99.994% {
    opacity: 0;
    transform: scale(1);
  }

  105.876% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Home Section End */

/* Navigation Section Start */

.navigation .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  gap: 3rem;
  place-items: center;
}

.navigation .box-container .box {
  padding: 2.5rem;
  background-color: var(--black-color);
  border-radius: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30rem;
  text-decoration: none;
  color: inherit;
}

.navigation .box-container .box .box-head i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

.navigation .box-container .box .box-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

.navigation .box-container .box:hover {
  background-color: var(--hover-color);
  cursor: pointer;
}

/* Navigation Section End */

/* Footer Section Start */

.footer {
  background-color: var(--black-color);
  text-align: center;
  padding: 0 0;
}

.footer .logo img {
  height: 2rem;
  margin-top: 2rem;
}

.footer .logo {
  align-items: center;
  size: 2rem;
}

.footer .social a {
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  font-size: 3rem;
  margin-top: 2rem;
  padding-bottom: 4rem;
  color: var(--white-color);
}

.footer .social a:hover {
  color: var(--logo-red);
}

.footer .copyright {
  color: var(--copyright-color);
  font-size: 1.5rem;
  margin-top: 2rem;
  padding: 1rem 17.5%;
  padding-top: 0;
}

/* Footer Section End */

/* About Section Start */

.about-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 35rem;
  overflow: hidden;
  padding: 0 0;
  margin-top: -15rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(40%);
}

.about-hero-overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
}

.about-hero-overlay h1 {
  font-size: 4rem;
  color: var(--white-color);
  font-weight: 700;
}

.about-hero-overlay h2 {
  font-size: 2rem;
  color: var(--white-color);
  font-weight: 300;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 10rem;
  padding: 4rem 8vw;
}

.about-item {
  display: flex;
  flex-direction: column;
}

.about-item h1 {
  font-size: 2rem;
  color: var(--black-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-item h1 i {
  margin-right: 0.5rem;
  font-size: 2rem;
}

.about-item p {
  text-align: justify;
  line-height: 1.7;
  flex-grow: 1;
}

/* About Section End */

/* Process Consultancy Section Start */

.pc-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 35rem;
  overflow: hidden;
  padding: 0 0;
  margin-top: -15rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.pc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(40%);
}

.pc-hero-overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
}

.pc-hero-overlay h1 {
  font-size: 4rem;
  color: var(--white-color);
  font-weight: 700;
}

.pc-hero-overlay h2 {
  font-size: 2rem;
  color: var(--white-color);
  font-weight: 300;
}

.pc-boxes {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pc-box {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
}

.pc-box-icon {
  width: 150px;
  height: 150px;
  color: var(--logo-red);
  font-size: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: auto 0;
  flex: 0 0 15%;
}

.pc-box-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.pc-box-content p {
  line-height: 1.8;
  text-align: justify;
}

/* Process Colsultancy Section End */

/* Agencies Section Start */

.agencies-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 35rem;
  overflow: hidden;
  padding: 0 0;
  margin-top: -15rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.agencies-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(40%);
}

.agencies-hero-overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
}

.agencies-hero-overlay h1 {
  font-size: 4rem;
  color: var(--white-color);
  font-weight: 700;
}

.agencies-hero-overlay h2 {
  font-size: 2rem;
  color: var(--white-color);
  font-weight: 300;
}

.agencies-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 5rem 17.5%;
}

.agency-card {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 16px;
  background-color: white;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  width: 100%;
  height: 20rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
}

.agency-card:hover {
  transform: perspective(1000px) translateZ(20px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.agency-logo {
  flex: 0 0 20%;
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.agency-info {
  flex: 0 0 80%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.agency-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.agency-info .clamp {
  line-height: 1.5em;
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
  text-align: justify;
  text-align-last: justify;
  margin-right: 3rem;
}


.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-x: hidden;
}

.popup-content {
  background-color: var(--main-color);
  width: 75%;
  height: 80%;
  border-radius: 12px;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-x: hidden;
  box-sizing: border-box;
}

.popup.active {
  opacity: 1;
}

.popup-content.active {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.popup-header .popup-logo {
  width: 50rem;
  flex-shrink: 0;
  margin-bottom: 3rem;
}

.popup-header .popup-logo img {
  max-width: 60rem;
  max-height: 18rem;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.popup-body {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
  margin: 0 5.75%;
}

.popup-text {
  flex-grow: 1;
}

.popup-text h3 {
  font-size: 2.8rem;
  line-height: 2.8rem;
  margin-bottom: 1rem;
}

.popup-text .icon-wrap {
  display: inline-block;
  vertical-align: middle;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  margin-left: 0.5rem;
}

.popup-text .icon-wrap .icon {
  position: relative;
  top: -0.25rem;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.popup-text h4 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.popup-text h5 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.popup-text p {
  line-height: 2;
  text-align: justify;
}

.popup-text .inline-align {
  display: inline-block;
  vertical-align: baseline;
  font-size: 2.8rem;
  font-weight: bold;
}

.popup-text .inline-align a {
  text-decoration: none;
  vertical-align: baseline;
}

.popup-text .inline-align .icon {
  font-size: 2.8rem;
  color: royalblue;
  vertical-align: baseline;
}


.close-btn {
  position: sticky;
  top: 2rem;
  float: right;
  font-size: 3rem;
  cursor: pointer;
  color: var(--black-color);
  z-index: 1000;
  margin-right: 2rem;
  margin-bottom: 1rem;
  align-self: flex-end;
}

.close-btn:hover {
  color: var(--hover-color);
}

/* Agencies Section End */

/* Contact Section Start */

.contact-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 35rem;
  overflow: hidden;
  padding: 0 0;
  margin-top: -15rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(40%);
}

.contact-hero-overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
}

.contact-hero-overlay h1 {
  font-size: 4rem;
  color: var(--white-color);
  font-weight: 700;
}

.contact-hero-overlay h2 {
  font-size: 2rem;
  color: var(--white-color);
  font-weight: 300;
}

.contact-us-section {
  color: #333;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-left {
  background-color: #2c2c2c;
  color: #fff;
  padding: 4rem;
  flex: 1 1 20%;
  align-items: space-between;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 3rem;
  color: var(--logo-red);
}

.contact-item h3 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
}

.contact-item p,
.contact-item a {
  font-size: 2rem;
  color: #ccc;
  margin: 5px 0 0;
  text-decoration: none;
}

.contact-right {
  flex: 1 1 550px;
  min-height: 400px;
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Contact Section End */

/* Error 404 Section Start */

.error_404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80vh;
  font-family: Arial, sans-serif;
}

.error-page .header #menu-btn {
  display: none;
}

.error-page .header .buttons button {
  margin-left: 0;
}

.error-page .header .buttons button i {
  color: var(--black-color) !important;
}

.error-page .header .buttons button i:hover {
  color: var(--hover-color) !important;
}

.error-page .header {
  margin: 2px 90%;
  justify-content: center;
  padding: 0% 0%;
  position: absolute;
  width: 5rem;
  background-color: transparent;
  box-shadow: none;
}

.error_404 h1 {
  font-size: 30rem;
  margin: 0;
  color: #333;
  margin-bottom: -5rem;
}

.error_404 p {
  font-size: 20px;
  color: #666;
}

.error_404 .logo-error {
  background: var(--main-color);
  border: 2px solid #000;
  border-radius: 1rem;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-top: 2rem;
  box-shadow: var(--black-color) 0px 0px 5px -1px;
}

.error_404 .logo-error:hover {
  background-color: var(--hover-color);
}

.error_404 .logo-error i {
  font-size: 2.3rem;
  margin-right: 1rem;
}

.error_404 .logo-error img {
  width: 100px;
  transition: transform 0.3s ease;
}

/* Error 404 Section End */

/* Responsive Start */

@media (max-width: 1730px) {
  .navigation .box-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 605px) {
  .navigation .box-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 285px) {
  .navigation .box-container .box {
    width: 28rem;
  }
}

@media (max-width: 1135px) {
  .header .language {
    right: 3.5%;
  }
}

@media (max-width: 1100px) {
  .header .language {
    right: 4%;
  }
}

@media (max-width: 980px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 2rem 17.5%;
  }
}

@media (max-height: 750px) {
  .home .content {
    margin-bottom: -40rem;
  }
}

@media (max-height: 650px) {
  .home .content {
    margin-bottom: -30rem;
  }
}

@media (max-height: 550px) {
  .home .content {
    margin-bottom: -20rem;
  }
}

@media (max-height: 450px) {
  .home .content {
    margin-bottom: -10rem;
  }
}

@media (max-height: 350px) {
  .home .content {
    margin-bottom: 0rem;
  }
}

@media (max-width: 830px) {
  .header .language {
    right: 5%;
  }
}

@media (max-width: 1225px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 865px) {
  .about {
    padding: 2rem 10% !important;
  }

  .about-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
  }

  .about-item h1 {
    margin: 1rem 0 0.5rem !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 2rem !important;
  }

  .about-item p {
    margin: 0 0 1rem !important;
    padding: 0 !important;
    text-align: justify !important;
    line-height: 1.6 !important;
  }

  section.pc-boxes {
    padding: 2rem 10% !important;
  }

  .pc-box {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .pc-box-icon {
    width: 120px;
    height: 120px;
    font-size: 8rem;
    margin-bottom: 1rem;
  }

  .pc-box-content h3 {
    font-size: clamp(1.8rem, 4vw, 2rem);
    text-align: center;
  }

  .pc-box-content p {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    text-align: justify;
    line-height: 1.6;
  }

  .popup-header .popup-logo {
    width: 20rem !important;
    flex-shrink: 0;
    margin-bottom: 2rem;
  }

  .popup-header .popup-logo img {
    max-width: 100% !important;
    max-height: 15rem !important;
  }
}

@media (min-width: 865px) and (max-width: 1199px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 5rem;
  }

  .about-item h1 {
    font-size: 1.8rem !important;
  }

  .about-item p {
    font-size: 1.4rem !important;
  }

  .pc-box-icon {
    width: 140px;
    height: 140px;
    font-size: 9rem;
  }

  .pc-box-content h3 {
    font-size: clamp(2rem, 3vw, 2.2rem);
    text-align: left;
  }

  .pc-box-content p {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  }
}

@media (min-width: 1200px) and (max-width: 1530px) {
  .about-item h1 {
    font-size: 1.8rem !important;
  }

  .about-item p {
    font-size: 1.4rem !important;
  }

  .popup-header .popup-logo {
    width: 40rem !important;
    flex-shrink: 0;
    margin-bottom: 2.5rem;
  }

  .popup-header .popup-logo img {
    max-width: 100% !important;
    max-height: 16rem !important;
  }
}

@media (min-width: 1330px) and (max-width: 1385px) {
  .about-item h1 {
    font-size: 1.7rem !important;
  }

  .about-item p {
    font-size: 1.3rem !important;
  }
}

@media (min-width: 1226px) and (max-width: 1251px) {
  .about-item h1 {
    font-size: 1.7rem !important;
  }

  .about-item p {
    font-size: 1.3rem !important;
  }
}

@media (min-width: 1199px) and (max-width: 1203px) {
  .about-item h1 {
    font-size: 1.95rem !important;
  }
}

@media (min-width: 1057px) and (max-width: 1106px) {
  .about-item h1 {
    font-size: 1.85rem !important;
  }
}


@media (min-width: 865px) and (max-width: 1199px) {
  .about-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
  }

  .about-left,
  .about-right {
    flex: 1 1 45%;
  }

  .pc-box-icon {
    width: 140px;
    height: 140px;
    font-size: 9rem;
  }

  .pc-box-content h3 {
    font-size: clamp(2rem, 3vw, 2.2rem);
    text-align: left;
  }

  .pc-box-content p {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  }
}

@media (max-width: 980px) {
  html {
    font-size: 45%;
  }

  #menu-btn {
    display: inline-block;
  }

  .header .language {
    right: 15%;
  }

  .header .navbar {
    position: absolute;
    top: 80%;
    background-color: var(--black-color);
    height: calc(100vh - 9rem);
    width: 20rem;
    box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.75);
    right: 2.5rem;
    max-height: 0;
    overflow: hidden;
  }

  .header .navbar.active {
    max-height: 35rem;
  }

  .header .navbar a {
    color: var(--white-color);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
}

@media (max-width: 650px) {
  .header .language {
    right: 17%;
  }
}

@media (max-width: 480px) {
  .header .language {
    right: 21%;
  }
}

@media (max-width: 465px) {
  .agency-info {
    display: none !important;
  }

  .agency-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    transition: transform 0.1s ease, background-color 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .agency-card.pressed {
    transform: scale(0.96);
    background-color: rgba(0, 0, 0, 0.05);
  }

  .agency-logo {
    flex: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  .agency-logo img {
    display: block;
    max-height: 80% !important;
    max-width: 90% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
  }
}

/* Responsive End */