@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-blue: #0103ff;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #333;
  --text-light: #fff;
  --hover-btn: #ffcc04;
  --purple: #4949ff;
  --light-blue: #ededff;
}

body {
  font-family: "Inter", "Arial", sans-serif;
  line-height: 1.6;
}

p {
  font-size: 28px;
}

h1 {
  font-size: 72px;
  font-weight: 800;
}
.text-left {
  text-align: left;
}
/* Header Styles */
.navbar {
  background: rgba(0, 0, 0, 0);
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
}

.navbar.navbar-scrolled {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 0;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-light) !important;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  margin: 0 1.7rem;
  font-weight: 500;
}

.btn-contact {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  padding: 1.7rem 1.7rem;
  transition: all 0.3s ease;
  margin-left: 1.7rem;
  border-radius: 0;
}

.btn-contact:hover {
  background: var(--text-light);
  color: var(--dark-bg);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding-top: 3rem;
}

/* Hero background video */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3); /* slight zoom to remove black edges */
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero-overlay {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-section > .container,
.hero-section * {
  position: relative;
  z-index: 2;
}

/* Decorative element near hero buttons */
.hero-content {
  position: relative;

  /* NEW!!! */
  top: 1.5rem;
}
.hero-buttons {
  position: relative;
  display: inline-flex;
  gap: 1rem;
}

/* Decorative elements per button */
.hero-buttons .btn {
  position: relative;
}
.hero-buttons .btn-primary-custom::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: 34px;
  bottom: -64px;
  background: url("../img/border-bottom-left.png") no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}
.hero-buttons .btn-outline-custom::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: 62px;
  bottom: -64px;
  background: url("../img/border-bottom-right.png") no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 3.5rem;
  margin-top: 3.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 4rem;
  opacity: 0.9;
}

.btn-primary-custom {
  background: var(--primary-blue);
  border: none;
  border: 2px solid var(--primary-blue);
  padding: 1.25rem 2rem;
  border-radius: 0px;
  color: var(--text-light);
  font-weight: 600;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  padding: 1.25rem 2rem;
  border-radius: 0px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-primary-custom:hover,
.btn-outline-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--hover-btn);
}

.hero-contact-section {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/hero-contact.png");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding-top: 3rem;
}
.hero-contact-section .hero-content {
  max-width: 32vw;
  margin: auto;
  background: url("../img/contact-border.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
}
/* What We Do Section */
.what-we-do {
  background: var(--light-bg);
  padding: 5rem 0;
}

.section-title {
  font-size: 3rem;
  /*  font-weight: lighter; */

  /* NEW */
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  opacity: 0.8;
}

.service-card {
  text-align: left;
  padding: 0;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card-contact {
  background: var(--light-blue);
  padding: 20px;
}
.service-card p {
  font-size: 16px;
}
.service-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.service-card.service-card--tall img {
  height: 620px;
}

/* Align second row bottoms with tall right card */
.cards-row {
  margin-top: -570px !important;
}

@media (max-width: 992px) {
  .cards-row {
    margin-top: 0;
  }

  /*NEW
- Changed position for copyright info for mobile*/
  #footer-copyright {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    top: 2rem;
    bottom: 1.5rem;
  }

  /* NEW
      - Changed the color for the collapsable navbar menu
      - Added top and bottom padding to the container 
      - Rounded the container corners
  */
  .navbar-collapse {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    border-radius: 2%;
  }

  /*NEW*/
  /* .navbar-toggler,
  .navbar-toggler-icon {
    color: var(--light-bg);
   background-color: var(--light-bg);
  } */
}

.service-card h4 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-dark);
  opacity: 0.9;
}

/* New card content wrapper to match design */
.service-card .service-content {
  padding: 1.25rem 1.25rem 1.5rem;
  min-height: 182px;
}

.service-card:hover {
  border-color: var(--purple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Work Gallery Section */
.work-gallery {
  padding: 5rem 0;
  background: var(--text-light);
}

.gallery-title {
  font-size: 3rem;
  /* font-weight: bold; */

  /*NEW
  - changed the font weight to 900
  */
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.work-weve-done {
  background: url(../img/title-bg.png) no-repeat;
  background-size: auto;
  max-width: 460px;
  background-size: contain;
  padding: 26px 15px;
  text-align: center;
}
.gallery-item {
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Hover-to-play video overlay for first gallery item */
.gallery-item-video {
  position: relative;
}
.gallery-item-video .gallery-hover-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery-item-video.playing .gallery-hover-video {
  opacity: 1;
}

/* Draggable gallery */
.draggable-gallery {
  overflow: hidden;
}

.draggable-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 12px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.draggable-track::-webkit-scrollbar {
  display: none;
}

.draggable-item {
  scroll-snap-align: start;
  user-select: none;
}

.draggable-item img {
  height: 480px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  -webkit-user-drag: none;
}

.draggable-track.dragging {
  cursor: grabbing;
}

@media (max-width: 1200px) {
  .draggable-track {
    grid-auto-columns: calc(33.333% - 12px);
  }
}

@media (max-width: 768px) {
  .draggable-track {
    grid-auto-columns: calc(50% - 10px);
  }
  .draggable-item img {
    height: 350px;
  }
  .work-weve-done {
    max-width: 100%;
  }
  .navbar-brand img {
    max-width: 180px;
  }
  .cards-row {
    margin-top: 0px !important;
  }
  .footer img {
    margin-top: 0px;
    vertical-align: top;
  }
  .hero-buttons .btn-primary-custom::after {
    display: none;
  }
  .hero-buttons .btn-outline-custom::after {
    display: none;
  }

  /* NEW
      - Changed position for copyright info for mobile
  */
  #footer-copyright {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    top: 2rem;
    bottom: 1.5rem;
  }

  /*NEW*/
  /*   .navbar-toggler {
    color: #fff;
  }

  .navbar-toggler-icon {
    border-color: #fff;
  } */
}

@media (max-width: 480px) {
  .draggable-track {
    grid-auto-columns: 85%;
  }
  .work-weve-done {
    max-width: 100%;
  }
  .navbar-brand img {
    max-width: 180px;
  }
  .cards-row {
    margin-top: 0px !important;
  }
  .footer img {
    margin-top: 0px;
    vertical-align: top;
  }
  .hero-buttons .btn-primary-custom::after {
    display: none;
  }
  .hero-buttons .btn-outline-custom::after {
    display: none;
  }

  /*NEW
- Changed position for copyright info for mobile*/
  #footer-copyright {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    top: 2rem;
    bottom: 1.5rem;
  }
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Who We Are Section */
.who-we-are {
  background: var(--light-bg);
  padding: 5rem 0;
  position: relative;
}

.who-we-are::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f0f0f0" width="400" height="300"/><circle fill="%23ddd" cx="100" cy="150" r="50" opacity="0.5"/><circle fill="%23ccc" cx="300" cy="100" r="30" opacity="0.3"/></svg>')
    center/cover;
  opacity: 0.1;
}

.who-we-are-content {
  position: relative;
  z-index: 2;
}

/* Vertically align who-we-are content to the bottom */
.who-we-are .who-we-are-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.who-we-are h2 {
  font-size: 3rem;
  /* font-weight: bold; */

  /*NEW
  - Changed font-weight to 800
  */
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.who-we-are p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* Brands Section */
.brands-section {
  padding: 5rem 0;
  background: var(--text-light);
}

.brands-title {
  font-size: 3rem;
  /* font-weight: bold; */

  /*NEW*/
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.brand-logo {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  margin: 0;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Infinite marquee for brand logos */
.brands-marquee {
  overflow: hidden;
  position: relative;
}

.brands-track {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  will-change: transform;
}

.brands-list,
.brands-list-rtl {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
}

.brands-track > div,
.brands-list > div {
  flex: 0 0 auto;
  padding-left: 4px;
  padding-right: 4px;
}

/* Opposite direction list uses rtl animation via transform */
.brands-list-rtl {
  direction: rtl;
}
.brands-list-rtl > div {
  direction: ltr;
}

.brands-section .container {
  overflow: hidden;
}
/* Footer */
.footer {
  background: var(--purple);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer .collaborate-text {
  font-size: 25px;
  max-width: 80%;
}
.footer h5 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer h6 {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer p {
  margin-bottom: 1rem;
  opacity: 1;
  font-size: 16px;
}

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

.footer a:hover {
  opacity: 0.7;
}

.footer .nav-link {
  color: var(--text-light) !important;
  padding: 0.25rem 0;
}

.social-icons a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  padding: 6px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  background: #ffffff36;
}

.social-icons a:hover {
  transform: translateY(-3px);
}
.contact-icons a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  padding: 6px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  background: var(--primary-blue);
  color: white;
}
.i-icons {
  margin-right: 1rem;
  font-size: 1.5rem;
  padding: 13px 6px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  background: var(--primary-blue);
  color: white;
}

.footer .collaborate-text a {
  color: #ffcc04;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  opacity: 1;
}
.footer img {
  margin-top: -130px;
  vertical-align: top;
}
.wolf-logo {
  width: 80px;
  height: 80px;
  opacity: 1;
}
.form-select,
.form-control {
  border: 2px solid gray;
}
/* Responsive Designbutton, input, optgroup, select, textarea */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title,
  .gallery-title,
  .brands-title,
  .who-we-are h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .gallery-title::before,
  .gallery-title::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title,
  .gallery-title,
  .brands-title,
  .who-we-are h2 {
    font-size: 1.8rem;
  }

  .service-card img {
    height: 200px;
  }

  .gallery-item img {
    height: 200px;
  }
}
#contact {
  background: url("../img/contact-map-bg.jpg");
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-bottom: 30vh;
}
