@import url('https://fonts.googleapis.com/css2?family=Englebert&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #000000;
  --secondary-color: #ff6060;
  --text-light: #4a4a4a;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Josefin Sans", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 3px; }

::-webkit-scrollbar-track { background-color: #BDA49C}

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%);}

::selection{
  color: #ff6060;
  background-color: rgb(255, 255, 255);
}

.underline{
  position: relative;
}

.underline:after{
  content: '';
  position: absolute;
  width: 100%;
  border-top: solid 10px red;
  left: 0;
  bottom: -4px;
  height: 8px;
  z-index: -1;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
}

.section__subheader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 4rem;
  background-color: var(--secondary-color);
}

.section__subheader::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-60%, -50%);
  font-size: 8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.1;
  z-index: -1;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 500;
  font-family: var(--header-font);
  color: var(--secondary-color);
  text-align: center;
  padding-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(10, 30, 39, 0.5);
}

.logo a img{
  width: 5%;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  position: relative;
}
  .about__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .about__row.reverse {
    direction: rtl;
  }
  
  .about__row.reverse .about__content {
    direction: ltr;
  }
  
  .about__image img {
    max-width: 100%;
    width: 300px;
    margin-inline: auto;
    border-radius: 25px;
    filter: drop-shadow(0 0 0.12rem rgb(109, 109, 109));
  }
  
  .about__content h2,
  .about__content h4 {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .about__role {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
  }
  
  .about__content p {
    color: var(--text-light);
    line-height: 1.6;
  }
  
  .about__note {
    grid-column: 1 / -1;
    background-color: #f2f2f2;
    padding: 1.5rem;
    border-left: 5px solid var(--secondary-color);
    border-radius: 12px;
    color: #333;
    font-size: 0.95rem;
    margin-top: 2rem;
  }
  
  /* Responsive Layout */
  @media (max-width: 768px) {
    .about__row,
    .about__row.reverse {
      grid-template-columns: 1fr;
      direction: ltr;
    }
  }  

.bestWork{
  background-color: #f5f5f5;
  padding-bottom: 0.7rem;
}

.bestWork .section__header {
  color: var(--secondary-color);
  text-align: center;
  padding-top: 2rem;
  font-weight: 500;
}

.videoBestWork {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap; 
}

.bestWorkVideo {
  display: inline-block;
  margin: 0;
  border-radius: 25px;
}

.viewMoreButton {
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: #f5f5f5;
  padding: 1em 1em;
  background: #111111;
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  margin: 1rem auto 2rem;
  max-width: 200px;
  justify-content: center;
}

.viewMoreButton .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.viewMoreButton .arrow {
  margin-top: 1px;
  width: 10px;
  background: #111111;
  height: 1.9px;
  position: relative;
  transition: 0.2s;
}

.viewMoreButton .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid #f5f5f5;
  border-width: 0 2px 2px 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.viewMoreButton:hover {
  background-color: #ff6060;
}

.viewMoreButton:hover .arrow {
  background: #f5f5f5;
}

.viewMoreButton:hover .arrow:before {
  right: 0;
}

.service{
  padding: 3rem 0;
}

.service .section__header{
  color: var(--secondary-color);
  text-align: center;
  padding-bottom: 1.5rem;
  font-weight: 500;
}

.serviceCard{
  padding: 30px auto;
  display: flex;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap; 
}

.card {
  width: 275px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding-top: 2rem;
}

.card .image {
  width: 50px;
  height: 50px;
}

.card .card__title {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding-top: 20px;
}

.card .card__text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.testimonial{
  background-color: #f5f5f5;
  padding: 0.7rem;
}

.testimonial .section__header {
  color: var(--secondary-color);
  text-align: center;
  padding-top: 2rem;
  font-weight: 500;
}

.videoTestimonial {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap; 
}

.myVideo {
  display: inline-block;
  border-radius: 25px;
}

.viewMoreButton {
  box-sizing: border-box;
  border: 0;
  border-radius: 45px;
  color: #f5f5f5;
  padding: 1em 1em;
  background: #111111;
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  max-width: 200px;
  justify-content: center;
}

.viewMoreButton .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.viewMoreButton .arrow {
  margin-top: 1px;
  width: 10px;
  background: #111111;
  height: 1.9px;
  position: relative;
  transition: 0.2s;
}

.viewMoreButton .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid #f5f5f5;
  border-width: 0 2px 2px 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.viewMoreButton:hover {
  background-color: #ff6060;
}

.viewMoreButton:hover .arrow {
  background: #f5f5f5;
}

.viewMoreButton:hover .arrow:before {
  right: 0;
}


@media (max-width: 600px) {
  .myVideo {
      width: 100%;
      height: auto;
  }

  .videoTestimonial {
      gap: 40px; 
      padding: 20px 60px; 
  }

  .viewMoreButton {
      max-width: 100%; 
      width: auto;
      padding: 1em 1.3em; 
  }
}


.footer{
  background:#000;
  padding:30px 0px;
  text-align:center;
  z-index: 1000;
  }
  
  .footer .row{
  width:100%;
  margin:1% 0%;
  padding:0.6% 0%;
  color:gray;
  font-size:0.8em;
  }
  
  .footer .row a{
  text-decoration:none;
  color:gray;
  transition:0.5s;
  }
  
  .footer .row a:hover{
  color:#fff;
  }
  
  .footer .row ul{
  width:100%;
  }
  
  .footer .row ul li{
  display:inline-block;
  margin:0px 10px;
  }
  
  .footer .row a i{
  font-size:2em;
  margin:0% 1%;
  }

 @media (max-width:720px){
  .footer{
  text-align:left;
  padding: 5% 7% 5%;
  }
  
  .footer .row ul li{
  display:block;
  margin:10px 0px;
  text-align:left;
  }
  .footer .row a i{
  margin:0% 3%;
  }
  }


@media (width > 768px) {
  .nav__logo {
    flex: 1;
  }

  .header__container {
    height: calc(100% - 10rem);
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 10rem 2rem;
  }
}

.button-container {
  display: none;
  position: fixed;
  width: 290px;
  height: 45px;
  align-items: center;
  justify-content: space-around;
  border-radius: 20px;
  bottom: 15px; 
  left: 50%;
  transform: translateX(-50%); 
  backdrop-filter: blur(10px); 
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.button {
  outline: 0 !important;
  border: 0 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
}

.icon {
  font-size: 20px;
}

.button a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 575px){
  .button-container {
    display: flex;
  }
}