/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: #000;
}

header {
  background-color: #fff;
}

#languageSelector {
  position: absolute;
  top: 0;
  left: 0;
}

/* Styling the Navbar */
nav {
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 1rem;
  overflow-x: hidden;
}

/* Logo Style */

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
}

.logo img {
  height: 30px;
  margin-top: 8px;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  z-index: 11;
}

.nav-links li {
  padding: 0 1rem;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
}

/* Navigation Links Hover Effect with CSS Square */
.nav-links a:hover::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-40%);
  width: 10px;
  height: 10px;
  background-color: #367aad;
}

/* Burger Icon Styling */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #000000;
  margin: 5px;
  transition: all 0.3s ease;
}

.nav-toggle {
  display: none;
}


/* Media Query for Mobile Screens */
@media screen and (max-width: 768px) {

  nav {
    justify-content: space-between;
  }

  .nav-links {
    position: absolute;
    right: 0;
    height: calc(100vh - 80px);
    top: 0;
    margin-top: 80px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 0;
    transition: width 0.5s ease;
    padding-top: 10px;
    overflow: hidden;
  }

  .nav-toggle:checked + .burger + .nav-links {
    width: 50%;
  }

  .nav-links li {
      opacity: 1;
      padding: 20px 0;
  }

  .burger {
    display: block;
    cursor: pointer;
  }

  /* main .contact {
    padding-top: 120px;
  } */

  .footer-content .footer-section img {
    margin-top: 10px;
  }
}

/* Hero Section */

#landing {
  background: url(./img/background-video.mp4);
  position: relative;
  margin: 0 auto;
  height: 800px;
  overflow: hidden;
}

@media (max-width: 768px) {
  #landing {
    height: 680px;
  }
}

#landing video {
  position: absolute;
  z-index: -10;
  width: 100%;
}

@media (max-width: 1450px) {
  #landing video {
    width: initial;
  }
}

.hero-content {
  margin: 0 auto;
  margin-top: 260px;
  color: #fff;
  width: fit-content;
}

.hero-content h1 {
  font-size: 120px;
}

@media (max-width: 1450px) {
  .hero-content h1 {
    font-size: 96px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 48px;
    text-align: center;
  }
}

.hero-content p {
  font-size: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-content p {
    font-size: 16px;
  }
}

.hero-content a {
  margin: 0 auto;
  margin-top: 20px;
  display: block;
  width: fit-content;
  background-color: #367aad;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-content a {
    font-size: 20px;
  }
}

/* About Section */
#about {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

@media (max-width: 768px) {
  #about {
    padding-top: 60px;
  }
}

#about h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 76px;
  color: #000;
}

@media (max-width: 768px) {
  #about h2 {
    font-size: 42px;
    margin-bottom: 20px;
  }
}

.about-content-container {
  margin: 0 auto;
  max-width: 1920px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1450px) {
  .about-content-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .about-content-container {
    padding: 0 30px;
  }
}

.about-content {
  width: 830px;
  font-size: 22px;
  height: 780px;
}

@media (max-width: 1450px) {
  .about-content {
    height: fit-content;
  }
}

@media (max-width: 768px) {
  .about-content {
    width: fit-content;
    text-align: center;
  }
}

.about-content p {
margin-bottom: 20px;
}

.about-content h4 {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 36px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-content h4 {
    font-size: 28px;
    text-align: center;
  }
}

.about-img {
  z-index: 10;
  height: 800px;
}

@media (max-width: 1450px) {
  .about-img {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .about-img {
    height: 100%;
    margin-top: -50px;
  }
}

.about-img img {
  height: 800px;
}

@media (max-width: 768px) {
  .about-img img {
    height: 600px;
  }
}

.pixel-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  background-color: #367aad;
}

.about-content h4 .pixel-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  margin-bottom: 4px;
}

#about video {
  position: absolute;
  top: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%) rotateX(180deg);
  margin-top: 860px;
}

@media (max-width: 1450px) {
  #about video {
    margin-top: 1320px;
  }
}

@media (max-width: 768px) {
  #about video {
    margin-bottom: -80px;
    bottom: 0;
    top: initial;
  }
}

/* Services Section */

#services {
  position: relative;
  color: #fff;
  text-align: center;
  padding-bottom: 100px;
  overflow: hidden;
}

@media (max-width: 768px) {
  #services {
    padding-bottom: 60px;
  }
}

#services h2 {
  background-color: #fff;
  color: #000;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 76px;
}

@media (max-width: 768px) {
  #services h2 {
    font-size: 42px;
  }
}

.services-container {
  max-width: 1180px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top: 120px;
}

@media (max-width: 768px) {
  .services-container {
    margin-top: 60px;
  }
}

.services-card {
  width: 300px;
  height: 200px;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.services-card p {
  display: none;
  font-size: 18px;
}

@media (max-width: 768px) {
  .services-card p {
    display: block;
  }
}

.services-card h3 {
  font-size: 26px;
}

@media (min-width: 768px) {
  .services-card:hover p {
    display: block;
  }
  
  .services-card:hover h3 {
    display: none;
  }
  
  .services-card:hover {
    background-color: #D6D6D6;
  }
}

#services video {
  position: absolute;
  z-index: -1;
  width: 100%;
  top: 0;
  left: 0;
}

@media (max-width: 1890px) {
  #services video {
    width: initial;
    height: 100%;
  }
}

@media (max-width: 768px) {
  #services video {
    height: 100%;
  }
}

/* Experience Section */

#experience {
  background: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  align-items: flex-start;
}

@media (max-width: 1450px) {
  #experience {
    flex-direction: column;
  }
}

#experience .title-container {
  overflow: hidden;
  position: relative;
  width: 42%;
}

@media (max-width: 1450px) {
  #experience .title-container {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  #experience .title-container {
    height: 130px;
  }
}

#experience h2 {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 76px;
  color: #F9F9F9;
  position: absolute;
  margin-top: 450px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

@media (max-width: 1450px) {
  #experience h2 {
    margin-top: 35px;
  }
}

@media (max-width: 768px) {
  #experience h2 {
    font-size: 42px;
    margin-top: 0;
  }
}

.previous-brands-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 58%;
}

@media (max-width: 1450px) {
  .previous-brands-container {
    max-width: 100%;
  }
}

.previous-brand {
  position: relative;
  margin: 1rem;
  padding: 1rem;
  width: 300px;
  height: 250px;
}

@media (max-width: 768px) {
  .previous-brand {
    width: 150px;
    height: 150px;
  }
}

.previous-brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  transition: width 0.3s ease;
}

@media (max-width: 1450px) {
  .previous-brand img {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .previous-brand img {
    width: 100px;
  }
}

.previous-brand img:hover {
  width: 220px;
}

/* Portfolio Section */

.portfolio-container {
  position: relative;
  margin-bottom: 80px;
}

#portfolio h2 {
  color: #fff;
  padding-top: 60px;
  padding-bottom: 40px;
  font-size: 76px;
  text-align: center;
}

@media (max-width: 768px) {
  #portfolio h2 {
    font-size: 42px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.splide__slide,
.carousel-item-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.splide__slide img {
  width: 100%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.splide__slide.is-active .carousel-item-container img {
  transform: scale(1);
}

.splide__pagination.splide__pagination--ltr {
  bottom: -2em;
}

/*Conversation Section*/

#conversation {
  background-color: #f9f9f9;
}

.conversation-container {
  background-image: url("./img/contact-us-image.png");
  background-position: bottom;
  background-repeat: no-repeat;
  height: 1120px;
  margin-bottom: -20px;
}

@media (max-width: 1450px) {
  .conversation-container {
    background-size: contain;
    margin-bottom: 0;
    height: 960px;
  }
}

@media (max-width: 768px) {
  .conversation-container {
    background-image: url('./img/contact-us-image-mobile.png');
    background-size: 750px;
    height: 900px;
  }
}

.conversation-text {
  width: 980px;
  padding-top: 250px;
  padding-left: 330px;
}

@media (max-width: 1450px) {
  .conversation-text {
    padding-top: 60px;
    padding-left: 0;
    margin: 0 auto;
    width: min-content;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .conversation-text {
    width: 100%;
  }
}

.conversation-text h2 {
  padding-top: 40px;
  padding-bottom: 20px;
  font-size: 75px;
  line-height: 80px;
}

@media (max-width: 768px) {
  .conversation-text h2 {
    font-size: 42px;
    line-height: initial;
  }
}

.conversation-text p {
  font-size: 24px;
  width: 700px
}

@media (max-width: 768px) {
  .conversation-text p {
    font-size: 18px;
    width: 250px;
    margin: 0 auto;
  }
}

.conversation-text a {
  margin: 0 auto;
  margin-top: 20px;
  display: block;
  width: fit-content;
  background-color: #367aad;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .conversation-text a {
    font-size: 20px;
  }
}

/* Contact Page */

.contact {
  position: relative;
  height: calc(100vh - 380px);
  overflow: hidden;
}

.contact h1 {
  font-size: 80px;
}

@media (max-width: 1450px) {
  .contact h1 {
    font-size: 50px;
  }
}

.contact p {
  font-size: 24px;
  margin-bottom: 20px;
}

@media (max-width: 1450px) {
  .contact p {
    font-size: 18px;
    margin-bottom: 10px;
  }
}

@media (max-width: 764px) {
  .contact {
    height: calc(100vh - 80px);
  }
}

.contact-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #f3f3f3;
  padding: 20px;
  text-align: center;
  z-index: 1;
}

@media (max-width: 768px) {
  .contact-content {
    padding: 14px;
  }
}

.contact-content form input,
.contact-content form select {
  width: 360px;
  height: 50px;
  border: 1px solid #9b9b9b;
  color: #757575;
  margin: 10px;
  font-size: 20px;
  padding-left: 16px;
}

@media (max-width: 1450px) {
  .contact-content form input,
  .contact-content form select {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .contact-content form input,
  .contact-content form select {
    width: 325px;
    height: 40px;
    margin: 5px;
  }
}

.contact-content form textarea {
  width: 750px;
  height: 100px;
  border: 1px solid #9b9b9b;
  margin: 10px;
  font-size: 20px;
  padding-left: 16px;
  padding-top: 12px;
}

@media (max-width: 1450px) {
  .contact-content form textarea {
    width: 628px;
  }
}

@media (max-width: 768px) {
  .contact-content form textarea {
    width: 325px;
    height: 70px;
    margin: 5px;
  }
}

.contact-content form button {
  margin: 0 auto;
  margin-top: 10px;
  display: block;
  width: fit-content;
  background-color: #367aad;
  padding: 14px;
  border-radius: 14px;
  border: none;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 1px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-content form button {
    font-size: 20px;
  }
}

.contact video {
  width: 100%;
}

@media (max-width: 1600px) {
  .contact video {
    width: initial;
  }
}

/* Service Pages */


/* Popup Overlay */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

/* Popup Content Box */
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 90%;
  max-width: 500px;
  transform: scale(0.7);
  transition: transform 0.3s;
}

.popup.show .popup-content {
  transform: scale(1);
}

/* Close Button Styling */
.popup-close {
  cursor: pointer;
  padding: 10px 20px;
  background-color: #3498db;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  margin-top: 15px;
}

/* Footer Section */

footer {
  background-color: #000;
  color: white;
  padding-top: 20px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section img {
  margin-top: -28px;
  margin-bottom: 20px;
}

.footer-section p {
  margin-bottom: 4px;
}

.footer-section h3 {
  margin-bottom: 22px;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section li a {
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;

}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  border-top: 1px solid #222;
}

#dark-mode-toggle {
  cursor: pointer;
  background-color: #000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Responsive styling */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-around;
    text-align: left;
  }
}
