:root {
  --primary-color: #00b6ed;
  --accent-color: #ea1f66;
  --dark-bg: #1a2a3a;
  --text-color: #555555;
  --heading-color: #2c3e50;
  --body-bg: #ffffff;
  --section-bg-color: #f4f8fb;
  --card-bg: rgba(255, 255, 255, 0.75);
  --input-bg: rgba(255, 255, 255, 0.5);
  --border-color: rgba(226, 232, 240, 0.8);
  --glass-blur: 16px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 10px 30px -5px rgba(0, 70, 100, 0.08);
  --box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0px 15px 40px rgba(0, 182, 237, 0.2);
  --border-radius: 16px;
}

[data-theme="dark"] {
  --text-color: #cbd5e1;
  --heading-color: #f1f5f9;
  --body-bg: #0f161c;
  --section-bg-color: #121b24;
  --card-bg: rgba(26, 42, 58, 0.55);
  --input-bg: rgba(21, 34, 43, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background-color: var(--body-bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(0, 182, 237, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(234, 31, 102, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  transition:
    background-color 0.3s,
    color 0.3s;
  overflow-x: hidden;
  position: relative;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(at 0% 0%, rgba(0, 182, 237, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(234, 31, 102, 0.05) 0px, transparent 50%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--heading-color);
  font-weight: 700;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  background: var(--accent-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(234, 31, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #d91b5c;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(234, 31, 102, 0.6);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

section {
  padding: 120px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--section-bg-color);
  transition: background-color 0.3s;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .section-bg {
  border-top: none;
  border-bottom: none;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(150, 150, 150, 0.3);
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 4px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
  font-size: 16px;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

[data-theme="dark"] .section-title p {
  color: #94a3b8;
}

.text-justify {
  text-align: justify;
}

#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  background: rgba(26, 42, 58, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

#header .logo a {
  font-size: 24px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#header .logo span {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: #e0e0e0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 1rem;
  --bs-navbar-nav-link-padding-x: 1rem;
  transition: 0.3s;
  white-space: nowrap;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 182, 237, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.theme-switch {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switch:hover {
  color: var(--primary-color);
  transform: rotate(15deg);
}

.btn-getstarted {
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  background: rgba(0, 182, 237, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  white-space: nowrap;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 182, 237, 0.3);
}

.btn-getstarted:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 20px rgba(234, 31, 102, 0.4);
}

.lang-switch {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.lang-current {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  font-family: "Montserrat", sans-serif;
  padding: 5px 10px;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-color);
}

.lang-dropdown {
  position: absolute;
  top: 130%;
  right: 0;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 130px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.lang-dropdown.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.lang-option {
  padding: 8px 15px;
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  transition: 0.2s;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(0, 182, 237, 0.15);
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
  color: #fff;
  margin-left: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas {
  background-color: rgba(26, 42, 58, 0.95);
  backdrop-filter: blur(20px);
  color: #fff;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100vh !important;
  height: 100dvh !important;
  width: 100% !important;
  z-index: 1050;
  border-right: none;
}

@media (min-width: 768px) and (max-width: 991px) {
  .offcanvas {
    width: 50% !important;
  }
}

.offcanvas-header {
  justify-content: center;
  position: relative;
}

.offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  position: absolute;
  right: 20px;
}

.offcanvas-body .nav-link {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 16px;
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }

  #navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .offcanvas {
    background: none;
    backdrop-filter: none;
    height: auto !important;
    width: auto !important;
    position: static;
    visibility: visible;
    transform: none;
    border: none;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    z-index: auto;
  }

  .offcanvas-header {
    display: none;
  }

  .offcanvas-body {
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
  }

  .offcanvas-body .nav-link {
    padding: 10px 18px;
    border-bottom: none;
    font-size: 15px;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  #header {
    padding: 12px 0;
  }

  #header .logo {
    flex-grow: 0;
    font-size: 20px;
    margin-right: auto;
  }

  .btn-getstarted {
    padding: 6px 12px;
    font-size: 12px;
  }

  .lang-current {
    padding: 4px 10px;
  }

  .lang-current i {
    font-size: 10px;
    margin-left: 4px;
  }

  .header-actions {
    gap: 8px;
  }

  .navbar-toggler {
    font-size: 24px;
    margin-left: 5px;
  }

  section {
    padding: 80px 0;
    overflow: hidden;
  }

  .container {
    padding-right: calc(var(--bs-gutter-x) * 1.1);
    padding-left: calc(var(--bs-gutter-x) * 1.1);
  }

  .contact .info p {
    padding: 0;
    margin-top: 15px;
  }

  .contact .info i {
    float: none;
    display: inline-flex;
    margin: 0 auto 15px;
  }

  .contact .info {
    text-align: center;
  }

  #hero h1 {
    font-size: 28px !important;
  }

  #hero .hero-img {
    width: 100% !important;
    margin: 50px auto 0;
  }

  #hero h1,
  #hero h2 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  #hero .d-flex {
    flex-direction: column !important;
    align-items: center;
  }

  #hero .btn-watch-video {
    margin: 20px 0 0 0 !important;
  }

  #hero .btn-get-started,
  #hero .btn-watch-video {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

#hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f161c 0%, #2c3e50 100%);
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 182, 237, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  filter: blur(50px);
}

#hero::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(234, 31, 102, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  filter: blur(50px);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#hero .container {
  z-index: 2;
  position: relative;
}

#hero h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: 400;
  max-width: 600px;
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 0 0 0;
  color: #fff;
  background: rgba(0, 182, 237, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 20px rgba(0, 182, 237, 0.3);
}

#hero .btn-get-started:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(234, 31, 102, 0.5);
}

#hero .btn-watch-video {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: 0.5s;
  margin: 10px 0 0 25px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

#hero .btn-watch-video i {
  line-height: 0;
  color: var(--primary-color);
  font-size: 36px;
  margin-right: 10px;
  transition: 0.3s;
  filter: drop-shadow(0 0 5px rgba(0, 182, 237, 0.5));
}

#hero .btn-watch-video:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

#hero .hero-img img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 10px;
}

#hero .animated {
  animation: up-down 3s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
  0% {
    transform: translateY(15px);
  }

  100% {
    transform: translateY(-15px);
  }
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 35px;
  position: relative;
  margin-bottom: 15px;
  font-size: 16px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 22px;
  color: var(--primary-color);
  background: rgba(0, 182, 237, 0.1);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.about .btn-outline-dark {
  border-color: var(--heading-color);
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
}

.about .btn-outline-dark:hover {
  background-color: var(--heading-color);
  color: var(--body-bg);
}

.about .fw-bold.text-dark {
  color: var(--heading-color) !important;
}

.why-us .content {
  padding: 0 30px;
}

.why-us .video-box {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  min-height: 400px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  border: var(--glass-border);
}

.why-us .accordion-list {
  padding: 0 30px;
}

.why-us .accordion-item {
  border: var(--glass-border);
  margin-bottom: 20px;
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: 0.3s;
}

.why-us .accordion-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .why-us .accordion-item:hover {
  background: rgba(26, 42, 58, 0.7);
}

.why-us .accordion-button {
  padding: 20px 25px;
  font-weight: 700;
  border: 0;
  font-size: 16px;
  color: var(--heading-color);
  text-align: left;
  background: transparent;
  font-family: "Montserrat", sans-serif;
}

.why-us .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(0, 182, 237, 0.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.why-us .accordion-button:focus {
  box-shadow: none;
}

.why-us .accordion-button span {
  color: var(--accent-color);
  font-size: 20px;
  margin-right: 15px;
  font-weight: 800;
}

.why-us .accordion-body {
  padding: 20px 25px 20px 65px;
  color: var(--text-color);
  background: transparent;
}

@media (max-width: 991px) {
  .why-us .content {
    padding: 30px 0;
  }

  .why-us .accordion-list {
    padding: 0;
  }
}

.skills .progress {
  height: 50px;
  display: block;
  background: none;
  border-radius: 0;
  margin-bottom: 25px;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--heading-color);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
  color: var(--primary-color);
}

.skills .progress-bar-wrap {
  background: rgba(200, 200, 200, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 1.5s;
  background-color: var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 182, 237, 0.5);
}

.services .icon-box {
  box-shadow: var(--glass-shadow);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  height: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.services .icon-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: 0.4s;
}

.services .icon-box:hover::after {
  width: 100%;
}

.services .icon-box .icon {
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  background: rgba(0, 182, 237, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border: 1px solid rgba(0, 182, 237, 0.2);
}

.services .icon-box:hover .icon {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 182, 237, 0.4);
}

.services .icon-box:hover .icon i {
  color: #fff;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .icon-box h4 a {
  color: var(--heading-color);
}

.services .icon-box:hover h4 a {
  color: var(--primary-color);
}

.services .icon-box p {
  line-height: 26px;
  font-size: 15px;
  margin-bottom: 0;
  color: var(--text-color);
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .services .icon-box:hover {
  background: rgba(26, 42, 58, 0.7);
}

#portfolio-flters {
  padding: 0;
  margin: 0 auto 40px auto;
  list-style: none;
  text-align: center;
}

#portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--heading-color);
  margin: 0 5px 10px 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border: var(--glass-border);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 182, 237, 0.3);
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  z-index: 1;
  box-shadow: var(--glass-shadow);
  background-color: var(--card-bg);
  border: var(--glass-border);
}

.portfolio-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s;
}

.portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio-wrap .portfolio-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  background: rgba(26, 42, 58, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  transition: all 0.4s ease-in-out;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-wrap:hover .portfolio-info {
  bottom: 0;
}

.portfolio-info p {
  font-size: 14px;
  color: #e0e0e0;
  margin-bottom: 15px;
  line-height: 1.5;
}

.portfolio-title h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
}

.portfolio-links {
  display: flex;
  gap: 10px;
}

.portfolio-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.portfolio-links a:hover {
  background: var(--accent-color);
}

.team .member {
  position: relative;
  box-shadow: var(--glass-shadow);
  padding: 30px;
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  height: 100%;
  transition: 0.5s;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  justify-content: flex-start;
}

.team .member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 182, 237, 0.3);
}

.team .member .pic {
  overflow: visible;
  width: 90px;
  height: 90px;
  border-radius: 0;
  flex-shrink: 0;
  margin: 0 auto 20px auto;
  border: none;
  background: transparent;
}

.team .member .pic img {
  transition: ease-in-out 0.3s;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.team .member:hover .pic img {
  transform: scale(1.1);
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--heading-color);
}

.team .member span {
  display: block;
  font-size: 13px;
  padding-bottom: 12px;
  position: relative;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
}

.team .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.team .member p {
  margin: 12px 0 0 0;
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

.team .row.team-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  /* Added padding-left/right to prevent shadow clipping and improve aesthetics */
  padding: 20px 10px 40px 10px;
  margin-right: 0;
  margin-left: 0;
}

.team .row.team-slider::-webkit-scrollbar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.team .row.team-slider::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.team .team-slide {
  /* Mobile: 1 card full width (100%) to avoid cut-off look */
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: center;
  padding: 0;
  margin-bottom: 0 !important;
}

@media (min-width: 576px) {
  .team .team-slide {
    /* Tablet: 2 cards perfectly fit. Calc accounts for 24px gap. */
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (min-width: 992px) {
  .team .team-slide {
    /* Desktop: 3 cards perfectly fit. Calc accounts for 2 gaps (48px). */
    flex: 0 0 calc(33.333333% - 16px);
    max-width: calc(33.333333% - 16px);
  }
}

@media (max-width: 991px) {
  .team .member {
    padding: 40px 20px;
  }
}

.blog .post-item {
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: 0.4s;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog .post-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(234, 31, 102, 0.3);
}

.blog .post-img {
  overflow: hidden;
  height: 200px;
}

.blog .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.blog .post-item:hover .post-img img {
  transform: scale(1.1);
}

.blog .post-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog .meta {
  margin-bottom: 12px;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
}

.blog .meta span {
  color: var(--accent-color);
}

.blog .post-title {
  font-size: 18px;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.blog .post-title a {
  color: var(--heading-color);
}

.blog .post-title a:hover {
  color: var(--primary-color);
}

.blog p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.blog .readmore {
  margin-top: auto;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: var(--primary-color);
}

.blog .readmore i {
  margin-left: 5px;
  transition: 0.3s;
}

.blog .readmore:hover i {
  transform: translateX(5px);
  color: var(--accent-color);
}

.contact .info {
  padding: 30px;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-top: 5px solid var(--primary-color);
  border-bottom: 0;
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
}

.contact .info i {
  font-size: 20px;
  color: var(--primary-color);
  float: left;
  width: 44px;
  height: 44px;
  background: rgba(0, 182, 237, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
  border: 1px solid rgba(0, 182, 237, 0.2);
}

.contact .info:hover i {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 182, 237, 0.4);
}

.contact .info h4 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
  font-family: "Montserrat", sans-serif;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

.contact .php-email-form {
  width: 100%;
  border-top: 5px solid var(--accent-color);
  border-bottom: 0;
  padding: 30px;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact .php-email-form .form-control {
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  backdrop-filter: blur(5px);
  color: var(--text-color);
  transition: 0.3s;
}

.contact .php-email-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 182, 237, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.contact .php-email-form button[type="submit"] {
  background: rgba(0, 182, 237, 0.9);
  backdrop-filter: blur(4px);
  border: 0;
  padding: 12px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0, 182, 237, 0.3);
  width: 100%;
}

@media (min-width: 768px) {
  .contact .php-email-form button[type="submit"] {
    width: auto;
  }
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--accent-color);
  box-shadow: 0 8px 25px rgba(234, 31, 102, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .contact .info p {
    padding: 0;
    margin-top: 15px;
  }

  .contact .info i {
    float: none;
    display: inline-flex;
    margin: 0 auto 15px;
  }

  .contact .info {
    text-align: center;
  }
}

#footer {
  font-size: 14px;
  background: var(--dark-bg);
  color: #fff;
  background: linear-gradient(180deg, #15222b 0%, #101a21 100%);
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: transparent;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#footer .footer-top .footer-contact h3 span {
  color: var(--primary-color);
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 26px;
  color: #cfdadd;
}

#footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

#footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 50px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

#footer .footer-bottom {
  padding-top: 25px;
  padding-bottom: 25px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

#footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#footer .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-links ul a {
  color: #cfdadd;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-links ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
  text-shadow: 0 0 10px rgba(0, 182, 237, 0.5);
}

#footer .footer-links ul i {
  padding-right: 10px;
  color: var(--primary-color);
  font-size: 12px;
  line-height: 1;
}

#footer .social-links a {
  font-size: 16px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1;
  padding: 10px 0;
  margin-right: 10px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#footer .social-links a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(234, 31, 102, 0.4);
}

#lightbox {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-shadow: 0 0 10px black;
}

#lightbox .close:hover {
  color: var(--primary-color);
}

#lightbox .prev,
#lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#lightbox .next {
  right: 20px;
}

#lightbox .prev {
  left: 20px;
}

#lightbox .prev:hover,
#lightbox .next:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

#video-lightbox {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#video-lightbox.active {
  opacity: 1;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  transition: 0.3s;
  text-shadow: 0 0 10px black;
}

.close-video:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .close-video {
    top: -35px;
    right: 10px;
  }
}

.clients {
  padding: 30px 0;
  text-align: center;
}

.clients img {
  max-width: 60%;
  max-height: 50px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  filter: grayscale(100%);
  opacity: 0.5;
  cursor: pointer;
  pointer-events: auto; /* Mengaktifkan hover */
  -webkit-user-drag: none; /* Mencegah drag native */
}

.clients img:hover {
  filter: none;
  transform: scale(1.5); /* Memperbesar 1.5x */
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .clients img {
  filter: grayscale(100%) brightness(300%) contrast(0%);
  opacity: 0.5;
}

[data-theme="dark"] .clients img:hover {
  filter: none;
  opacity: 1;
}

/* CSS MARQUEE STYLES - Updated for Interactivity */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  cursor: grab;
  user-select: none;
  padding: 30px 0; /* Memberi ruang agar logo tidak terpotong saat zoom */
}

.marquee-container:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: fit-content;
  will-change: transform;
  /* Kita hapus animasi CSS murni agar bisa dikontrol JS */
}

.client-logo {
  flex: 0 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50vw;
}

@media (min-width: 576px) {
  .client-logo {
    width: 25vw;
  }
}

@media (min-width: 992px) {
  .client-logo {
    width: 16.666vw;
  }
}
