/**
* Template Name: PhotoFolio
* Template URL: https://bootstrapmade.com/photofolio-bootstrap-photography-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables #343434
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Montserrat", sans-serif;
  /*  --heading-font: -apple-system, BlinkMacSystemFont, Segoe UI, Montserrat,
    Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --nav-font: "Montserrat", sans-serif;*/
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #f8f9fa; /* Background color for the entire website, including individual sections */
  --default-color: #2d7af7; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #343434; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2196f3; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #1565c0; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #fff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #343434; /* The default color of the main navmenu links */
  --nav-hover-color: #2d7af7; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1a1a1a; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #e9e9e9; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: var(
    --accent-color
  ); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #70a4f9; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #1a1a1a;
  --surface-color: #343434;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/
body {
  color: var(--heading-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: #2563eb;
  background-color: transparent;
  border: 2px solid #2563eb;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  color: #ffffff;
  background-color: #2563eb;
  transform: translateY(-2px);
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-btn i {
  margin-right: 12px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.contact-btn:hover i {
  transform: scale(1.1);
}

/* Optional: Add a subtle loading state animation */
.contact-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

/* Add a nice focus state for accessibility */
.contact-btn:focus {
  outline: none;
}

/* Optional: Add a ripple effect on click */
.contact-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.contact-btn:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--heading-color);
  font-family: var(--default-font);
}

h6 {
  color: var(--background-color);
}

/* PHP Email Form Messages
  ------------------------------*/

.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
  # Global Header
  --------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 1500;
}

/* .header.scrolled {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  } */

.header .logo {
  line-height: 1;
  margin-left: 15px;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

@media (max-width: 500px) {
  .header .logo img {
    max-height: 30px;
  }
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.header .logo i {
  font-size: 28px;
  margin-right: 6px;
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: var(--default-color); /* Default icon color - adjust as needed */
  margin-left: 10px;
  display: inline-block;
  transition: 0.3s;
  font-size: 19px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--default-color); /* Add blue border */
  background-color: transparent; /* Remove gray background */
  text-align: center;
  line-height: 28px; /* Adjust line height to account for border */
  position: relative;
}

.header .header-social-links a:hover {
  color: #ffffff;
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.header .header-social-links a i {
  line-height: 32px;
  vertical-align: middle;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .logo h1 {
    font-size: 26px;
  }

  .header .logo i {
    font-size: 20px;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .header-social-links a {
    font-size: 16px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  border-color: color-mix(in srgb, var(--background-color) 90%, white 20%);
}

/*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
/* Arrow animation styles */
/* .toggle-dropdown {
  transition: transform 0.3s ease;
  display: inline-block;
  cursor: pointer;
} */

.toggle-dropdown.rotate-arrow {
  transform: rotate(180deg);
}

/* Dropdown animation base (all devices) */
.navmenu ul li.dropdown ul {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
}

/* Force show class for dropdown open via click */
.navmenu ul li.dropdown ul.force-show {
  opacity: 1 !important;
  visibility: visible !important;
  max-height: 500px !important;
}

/* Navmenu - Desktop Styles */
@media (min-width: 1200px) {
  .header-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Hide mobile version of social icons */
  .mobile-social-links {
    display: none;
  }

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--default-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .navmenu .language a,
  .navmenu .language a:focus {
    justify-content: left;
  }

  .navmenu .language a span {
    margin-left: 10px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    font-weight: bold;
  }

  /* Dropdown styling */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }

  /* Hover effect for desktop - open dropdown */
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    max-height: 500px;
  }

  /* Hover effect for nested dropdown */
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
    max-height: 500px;
  }

  /* Rotate arrow on hover (desktop only) */
  .navmenu li.dropdown:hover > a .toggle-dropdown {
    transform: rotate(180deg);
  }

  /* Force-show positioning (via JS click) */
  .navmenu .dropdown ul.force-show {
    top: 100% !important;
  }

  .navmenu .dropdown .dropdown ul.force-show {
    top: 0 !important;
    left: -100% !important;
  }
}

.navmenu ul li.dropdown > ul.dropdown-active {
  display: block;
  opacity: 1;
  visibility: visible;
  max-height: 500px;
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .navmenu ul li.dropdown ul.force-show {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .navmenu ul li.dropdown ul {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: all 0.3s ease;
  }

  .navmenu ul li.dropdown ul.dropdown-active {
    opacity: 1;
    visibility: visible;
    max-height: 500px; /* adjust if needed */
  }

  /* Hide dropdown arrows on mobile */
  .desktop-only-arrow {
    display: none !important;
  }

  /* Language flags container */
  .language-dropdown ul.language {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    padding: 10px !important;
    margin: 8px auto !important;
    background: none !important;
    border: none !important;
    width: 100%;
  }

  .language-dropdown ul.language li {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
  }

  .language-dropdown ul.language a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent-color);
    width: 100%;
  }

  .language-dropdown ul.language a img {
    width: 30px !important;
    height: auto !important;
    margin-bottom: 5px;
  }

  .language-dropdown ul.language a span {
    text-align: center;
    display: block;
    width: 100%;
    white-space: nowrap;
    padding: 0 5px;
    margin: 0 auto;
  }

  /* Hide desktop social icons on mobile */
  .header-social-links {
    display: none;
  }

  /* Mobile social icons container */
  .mobile-social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0;
    margin: 10px 0;
  }

  /* Individual social icon styling */
  .mobile-social-links a {
    color: var(--nav-dropdown-color);
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
  }

  .mobile-social-links a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Adjustments for very small screens */
  @media (max-width: 320px) {
    .mobile-social-links {
      gap: 8px;
    }

    .mobile-social-links a {
      font-size: 16px;
      width: 32px;
      height: 32px;
    }
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--accent-color) 10%, transparent),
        color-mix(in srgb, var(--accent-color) 5%, transparent)
      );
      border: 1px solid color-mix(in srgb, var(--accent-color) 15%, transparent);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  #navmenu {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .header {
    margin: 0;
    /* padding: 0; */
    box-sizing: border-box;
    overflow: hidden;
  }

  .mobile-nav-toggle * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .mobile-nav-toggle:hover {
    transform: translateY(-1px);
    /*background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 15%, transparent),
      color-mix(in srgb, var(--accent-color) 8%, transparent)
    );*/
  }

  .mobile-nav-toggle:active {
    transform: translateY(1px);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  /* Update the navmenu styles when active */
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Update the menu ul styles */
  .navmenu ul {
    display: none;
    position: relative;
    width: calc(100% - 40px);
    max-width: 400px;
    max-height: 80vh;
    margin: 20px;
    padding: 20px 0;
    border-radius: 24px;
    background: linear-gradient(
      145deg,
      var(--nav-mobile-background-color),
      color-mix(in srgb, var(--nav-mobile-background-color), white 3%)
    );
    overflow-y: auto;
  }

  .navmenu ul::-webkit-scrollbar {
    width: 8px;
  }

  .navmenu ul::-webkit-scrollbar-track {
    background: transparent;
  }

  .navmenu ul::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent-color) 20%, transparent);
    border-radius: 4px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 14px 24px;
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.02em;
    margin: 0 12px;
    border-radius: 12px;
  }

  .navmenu .language a,
  .navmenu .language a:focus {
    justify-content: center;
  }

  .navmenu .language a span {
    margin-left: 10px;
  }

  .navmenu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 4px;
    height: 60%;
    /* background: var(--accent-color); */
    border-radius: 0 2px 2px 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navmenu a:hover::before {
    /*transform: translateY(-50%) scaleX(1);*/
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 10%, transparent),
      color-mix(in srgb, var(--accent-color) 5%, transparent)
    );
    margin-left: 8px;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: scale(1.05) rotate(180deg);
  }

  .navmenu a:hover {
    /*color: var(--nav-dropdown-hover-color);
    /*background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 8%, transparent),
      color-mix(in srgb, var(--accent-color) 3%, transparent)
    );
    transform: translateX(4px);*/
  }

  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
    font-weight: 600;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 12%, transparent),
      color-mix(in srgb, var(--accent-color) 5%, transparent)
    );
  }

  /* Add pulsing dot for active link - Mobile Only */
  .navmenu .active::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: pulse 2s infinite;
  }

  .navmenu .active::before,
  .navmenu .active:focus::before {
    transform: translateY(-50%) scaleX(1);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 8px 24px;
    background: linear-gradient(
      145deg,
      var(--nav-dropdown-background-color),
      color-mix(in srgb, var(--nav-dropdown-background-color), white 2%)
    );
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
  }

  .navmenu .dropdown ul a {
    padding: 12px 20px;
    font-size: 15px;
    opacity: 0.9;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    font-size: 28px;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--accent-color);
    border: 1px solid color-mix(in srgb, var(--contrast-color) 15%, transparent);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    animation: menuSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

/* Desktop styles for dropdown arrows */
@media (min-width: 1200px) {
  .desktop-only-arrow {
    display: inline-flex !important;
  }
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

@keyframes menuSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Add subtle glow effect to flag images */
.navmenu img {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navmenu img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
}

#preloader:before,
#preloader:after {
  content: "";
  background-color: var(--default-color);
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

#preloader:after {
  left: auto;
  right: 0;
}

#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
  transition: all 0.8s ease 0s;
}

#preloader .line:before {
  content: "";
  position: absolute;
  background-color: #ffffff;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0%;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out 0s forwards;
}

#preloader .line:after {
  content: "";
  position: absolute;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear 0s infinite;
  animation-delay: 2000ms;
}

#preloader.loaded .line {
  opacity: 0;
  height: 100% !important;
}

#preloader.loaded .line:after {
  opacity: 0;
}

#preloader.loaded:before,
#preloader.loaded:after {
  animation: preloaderfinish 300ms ease-in-out 500ms forwards;
}

@keyframes lineincrease {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

@keyframes linemove {
  0% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes preloaderfinish {
  0% {
    width: 5 0%;
  }

  100% {
    width: 0%;
  }
}

/*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
  # Global Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
.page-title {
  color: var(--heading-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 40px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 64px;
  font-weight: 400;
}

.page-title .heading .cta-btn {
  color: var(--default-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title .heading .cta-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
section,
.section {
  color: var(--heading-color);
  background-color: var(--background-color);
  scroll-margin-top: 100px;
  overflow: clip;
}

.footer-section {
  color: var(--background-color);
  background-color: var(--heading-color);
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--heading-color);
  position: relative;
}

.section-title h2::after {
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--default-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--default-font);
}

/*--------------------------------------------------------------
  # Hero Section
  --------------------------------------------------------------*/
.hero {
  position: relative;
  /* min-height: 80vh; */
  padding: 80px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #f8f9fa;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2b4c7d 0%, #1a365d 100%);
  opacity: 0.05;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1317px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 80px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-family: var(--default-font);
}

.highlight-text {
  position: relative;
  display: inline-block;
}

.text-wrapper {
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

.highlight-text::before {
  content: "";
  position: absolute;
  bottom: 0.2em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: #49b5fc;
  z-index: 0;
  transform: skew(-12deg);
  transition: height 0.3s ease, transform 0.3s ease;
}

.highlight-text:hover::before {
  height: 100%;
  transform: skew(-12deg) translateY(-0.1em);
  background: linear-gradient(
    135deg,
    var(--accent-color, #3498db) 0%,
    rgba(52, 152, 219, 0.8) 100%
  );
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color, #3498db);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.button-icon {
  position: relative;
  z-index: 2;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s ease;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-2px);
  color: #fff;
}

.cta-button:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

.cta-button:hover .button-icon {
  transform: translateX(4px);
}

/* Scroll Down Button */
.scroll-down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #007bff;
  animation: bounce 2s infinite;
  cursor: pointer;
  margin-top: 2rem; /* Add spacing from the CTA button */
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
    min-height: 60vh;
  }
  .hero-content {
    padding: 0 16px;
  }
  .cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* Modify the hero-content */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 80px;
}

/* Update the scroll-down positioning */
.scroll-down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #007bff;
  animation: bounce 2s infinite;
  cursor: pointer;
  margin-top: 2rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Update media queries for mobile */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 40px; /* Reduced bottom padding */
    min-height: 60vh;
  }

  .hero-content {
    padding: 0 16px 100px; /* Increased bottom padding for mobile */
  }

  .cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  /* Adjust scroll-down specifically for mobile */
  .scroll-down {
    bottom: 20px; /* Move it up slightly on mobile */
    font-size: 1.5rem; /* Slightly smaller icon on mobile */
  }
}

/*--------------------------------------------------------------
  # Gallery Section
  --------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
  # About Section
  --------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
  # Testimonials Section
  --------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  color: var(--contrast-color);
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #dcdcdc;
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #fff;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
  # Gallery Details Section
  --------------------------------------------------------------*/
.gallery-details .portfolio-details-slider img {
  width: 100%;
}

.gallery-details .swiper-wrapper {
  height: auto;
}

.gallery-details .swiper-button-prev,
.gallery-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.gallery-details .swiper-button-prev:after,
.gallery-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.gallery-details .swiper-button-prev:hover:after,
.gallery-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
  .gallery-details .swiper-button-prev,
  .gallery-details .swiper-button-next {
    display: none;
  }
}

.gallery-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.gallery-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.gallery-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.gallery-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.gallery-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.gallery-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.gallery-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.gallery-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.gallery-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery-details .portfolio-description p {
  padding: 0;
}

.gallery-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.gallery-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.gallery-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.gallery-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left,
.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.gallery-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
  # Services Section
  --------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 15px;
}

.services .service-item .icon i {
  color: var(--default-color);
  background-color: var(--accent-color);
  font-size: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  font-family: var(--default-font);
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover p {
  color: var(--default-color);
}

.services .service-item:hover i {
  color: var(--accent-color);
  background-color: var(--default-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
  # Pricing Section
  --------------------------------------------------------------*/
.pricing .pricing-item {
  border-bottom: 1px dashed
    color-mix(in srgb, var(--default-color), transparent 60%);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
}

.pricing .pricing-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
.contact .info-wrap {
  margin-bottom: 30px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--default-font);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-forms input[type="text"],
.contact .php-email-forms input[type="email"],
.contact .php-email-forms textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  /*background-color: var(--);*/
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-forms input[type="text"]:focus,
.contact .php-email-forms input[type="email"]:focus,
.contact .php-email-forms textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-forms input[type="text"]::placeholder,
.contact .php-email-forms input[type="email"]::placeholder,
.contact .php-email-forms textarea::placeholder {
  color: color-mix(in srgb, var(--heading-color), transparent 50%);
}

.contact .php-email-forms button[type="submit"] {
  color: #fff;
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  border: 0;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .php-email-forms button[type="submit"]:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

/*--------------------------------------------- WhatsApp Help --------------------------------------------- */

.whats-float {
  position: fixed;
  transform: translate(108px, 0px);
  top: 13%;
  right: 0;
  width: 150px;
  overflow: hidden;
  background-color: #25d366;
  color: #fff;
  border-radius: 10px 0 0 10px;
  transition: all 0.5s ease-in-out;
  vertical-align: middle;
  z-index: 1000;
}

.whats-float small {
  font-size: 10px;
}

.whats-float a span {
  color: white;
  font-size: 15px;
  padding-top: 8px;
  padding-bottom: 10px;
  position: absolute;
  line-height: 16px;
  font-weight: bolder;
}

.whats-float i {
  font-size: 30px;
  color: white;
  line-height: 30px;
  padding: 10px;
  transform: rotate(0deg);
  transition: all 0.5s ease-in-out;
  text-align: center;
}

.whats-float:hover {
  color: #ffffff;
  transform: translate(0px, 0px);
}

.whats-float:hover i {
  transform: rotate(360deg);
}

/*Service detail part start*/
.service-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  color: #5e5e5e;
}

.service-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.service-hero__image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.service-hero__image:hover {
  transform: scale(1.03);
}

.service-hero__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.service-hero__content {
  padding: 1rem;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-gallery__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-gallery__item:hover {
  transform: translateY(-10px);
}

.service-gallery__item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-gallery__item:hover .service-gallery__overlay {
  opacity: 1;
}

.service-gallery__zoom {
  color: white;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.other-services {
  background-color: var(--bg-color);
  padding: 3rem 0;
}

.other-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.other-service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.other-service-card:hover {
  transform: translateY(-10px);
}

.other-service-card__image {
  height: 250px;
  overflow: hidden;
}

.other-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.other-service-card:hover .other-service-card__image img {
  transform: scale(1.1);
}

.other-service-card__content {
  padding: 1rem;
  text-align: center;
}

.other-services__title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.other-service-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.other-service-card__link:hover {
  color: var(--primary-color);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .service-detail {
    padding: 1.5rem;
  }

  .other-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .service-hero__image img {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .service-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-hero__image {
    max-width: 100%;
  }

  .service-hero__content {
    padding: 0;
  }

  .service-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .service-detail {
    padding: 1rem;
  }

  .other-services {
    padding: 2rem 0;
  }

  .other-services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .service-hero__image img {
    height: 300px;
  }

  .service-gallery__item img {
    height: 200px;
  }

  .other-service-card__image {
    height: 200px;
  }

  .service-gallery__zoom {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-detail {
    padding: 0.75rem;
  }

  .service-hero {
    margin-bottom: 2rem;
    gap: 1rem;
  }

  .service-hero__image {
    border-radius: 10px;
  }

  .service-hero__image img {
    height: 250px;
  }

  .service-gallery {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .service-gallery__item {
    border-radius: 8px;
  }

  .other-services {
    padding: 1.5rem 0;
  }

  .other-services__title {
    margin-bottom: 1.5rem;
  }

  .other-service-card {
    border-radius: 10px;
  }

  /* Disable hover effects on mobile */
  .service-hero__image:hover,
  .service-gallery__item:hover,
  .other-service-card:hover {
    transform: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .service-hero__image:hover,
  .service-gallery__item:hover,
  .other-service-card:hover {
    transform: none;
  }

  .service-gallery__overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
  }
}

/*Service part end*/

/*About Page css start*/
.about-page {
  overflow-x: hidden;
}

/*arrow start*/
/* Scroll indicator */
.scroll-indicator {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.scroll-arrow:nth-child(1) {
  animation: arrowPulse 2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.scroll-arrow:nth-child(2) {
  animation: arrowPulse 2s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translate(4px, 4px);
  }
}

.geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
}

.line-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/*arrow end*/

.about-description {
  color: #606060;
}

.about-image {
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.about-image:hover {
  transform: translateY(-10px);
}

.about-image {
  position: relative;
  overflow: hidden;
}

/*about, services, all_projects part title design start*/
.page-title-brand {
  position: relative;
  padding: 100px 0 120px;
  background: var(--default-color);
  text-align: center;
  overflow: hidden;
  color: #fff;
  perspective: 1000px;
}

.geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  animation: fadeIn 1.5s ease-in-out, floatBackground 15s linear infinite;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: floatParticle 20s linear infinite;
}
.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: floatParticle 25s linear infinite 2s;
}
.particle:nth-child(3) {
  top: 40%;
  left: 40%;
  animation: floatParticle 18s linear infinite 1s;
}

.title-content {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.brand-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
  animation: titleEntry 1.2s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.brand-title::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

.brand-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scaleIn 1s ease-in-out, glowPulse 2s infinite;
}

.description-brand {
  font-size: 1.3rem;
  max-width: 750px;
  margin: 20px auto 0;
  word-spacing: -2px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  opacity: 0;
  animation: fadeIn 1.2s ease-in-out 0.5s forwards;
}

.line-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.line {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transform-origin: center;
}

.line-1 {
  width: 2px;
  height: 60%;
  left: 10%;
  top: 15%;
  transform: rotate(-12deg);
  animation: lineWave 8s ease-in-out infinite;
}

.line-2 {
  width: 2px;
  height: 50%;
  right: 10%;
  top: 25%;
  transform: rotate(12deg);
  animation: lineWave 8s ease-in-out infinite reverse;
}

@keyframes titleEntry {
  0% {
    opacity: 0;
    transform: translateZ(-100px);
  }
  100% {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: translateX(-50%) scaleX(0);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  }
}

@keyframes lineWave {
  0%,
  100% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-12deg) translateY(20px);
  }
}

@keyframes floatBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, 20px);
  }
  50% {
    transform: translate(0, 40px);
  }
  75% {
    transform: translate(-20px, 20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@media (max-width: 768px) {
  .page-title-brand {
    padding: 120px 0 100px;
  }

  .brand-title {
    font-size: 2.5rem;
    position: relative;
  }

  .description-brand {
    font-size: 1.2rem;
  }

  .brand-title::after {
    width: 40px;
  }
}
/*about, services, all_projects title deesign end*/

/*Shining effect in about us image start*/
.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 150%;
  }
}

.about-image img {
  transition: filter 0.3s ease;
}

.about-image:hover img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}
/*shining and other effects in about us image end*/

.about-content {
  padding: 2rem;
  background: #ffffff;
}

.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Custom animation classes */
.fade-up-slow {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-up-slow.active {
  opacity: 1;
  transform: translateY(0);
}
/*About Page css end*/

/* Portfolio Section start */
.portfolio-section {
  padding: 0;
  margin: 0;
  width: 100%;
  background: #f5f5f5;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.portfolio-item {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #f5f5f5;
  margin: -0.25px;
}

.portfolio-item__image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 101%;
  height: 101%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: filter 0.4s ease;
  backface-visibility: hidden;
  will-change: filter;
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item__title {
  color: white;
  font-size: 3.25rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  margin: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Hover Effects */
.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item__title {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-item__image {
  filter: brightness(1.1) contrast(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
/* Portfolio Section end */

/*Other projects design start*/
.other-projects-header {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.other-projects-section {
  padding: 0;
  margin: 0;
  width: 100%;
  background: #f5f5f5;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.other-project-item {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #f5f5f5;
  margin: -0.25px;
}

.other-project-item__image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 101%;
  height: 101%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: filter 0.4s ease;
  backface-visibility: hidden;
  will-change: filter;
}

.other-project-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.other-project-item__title {
  color: white;
  font-size: 3.25rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  margin: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Hover Effects */
.other-project-item:hover .other-project-item__overlay {
  opacity: 1;
}

.other-project-item:hover .other-project-item__title {
  transform: translateY(0);
}

.other-project-item:hover .other-project-item__image {
  filter: brightness(1.1) contrast(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .other-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .other-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .other-projects-grid {
    grid-template-columns: 1fr;
  }
}
/*Other projects design end*/

/*Service Images start*/
.service-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-gallery__big-item {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.service-gallery__big-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover effekti */
.service-gallery__big-item:hover img {
  transform: scale(1.05);
}
/*Service Images end*/

/* Social Icons Animation */
.social-icon {
  transition: all 0.3s ease;
  padding: 8px;
  margin: 0 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
}

/* Hover Link Animation */
.hover-link {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hover-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.hover-link:hover::after {
  width: 100%;
}

/* Contact Icons Animation */
.bounce-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-link:hover .bounce-icon {
  transform: scale(1.2);
}

/* Rotating Gem Icon */
.rotate-icon {
  display: inline-block;
  transition: transform 0.5s ease;
}

h6:hover .rotate-icon {
  transform: rotate(180deg);
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*footer part start*/
.studio-footer {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  color: #ffffff;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-heading {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(45deg, #64b5f6, #0d47a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 
    * font-family fixes text cutoff issues with special characters
    */
  font-family: var(--default-font);
}

.studio-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--accent-color);
}

.footer-text {
  color: #bbb;
  font-size: 1.1rem;
  max-width: 400px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  margin-right: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s;
}

.social-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--default-color);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.social-links a:hover::after {
  width: 100%;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-link:hover {
  color: var(--default-color);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: var(--default-color);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

.location {
  color: #666;
  font-size: 0.9rem;
}

.marquee-container {
  margin: 3rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  border-radius: 8px;
}

.marquee-text {
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: -3px;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .footer-heading {
    font-size: 2.5rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
  .social-links a {
    margin-right: 1rem;
  }
  .marquee-text {
    font-size: 4rem;
  }
}
/*footer part end*/

/* Team Section Styling */
.team-section {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.team-title {
  text-transform: none !important;
}

.reduce-spacing {
  letter-spacing: -1px;
  line-height: 1;
}

.header-line {
  width: 60px;
  height: 3px;
  background-color: var(--bs-primary);
  margin: 0 auto;
}

/* Team Member Card */
.team-member {
  padding: 15px;
}

.team-member-card {
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-10px);
}

/* Member Image Container */
.member-img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-container {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-img {
  width: 100%;
  height: 400px;
  /* Increased height for bigger image */
  object-fit: cover;
  border-radius: 0;
  /* Sharp edges */
  transition: all 0.5s ease;
}

.team-member-card:hover .member-img {
  transform: scale(1.05);
}

/* Social Media */
.member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.team-member-card:hover .member-social {
  opacity: 1;
  transform: translateY(0);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bs-primary);
  color: white;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #0b5ed7;
  transform: translateY(-5px);
}

/* Member Info */
.member-info {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.member-name {
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.member-position {
  color: var(--bs-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* Owl Carousel Customization */
.owl-carousel {
  padding: 0px 0 30px;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 -15px;
}

.owl-prev,
.owl-next {
  width: 44px;
  height: 44px;
  background-color: var(--bs-primary) !important;
  border-radius: 6px !important;
  color: white !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.owl-prev:hover,
.owl-next:hover {
  opacity: 1;
  background-color: var(--bs-primary) !important;
}

.owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0;
  position: relative;
  height: auto;
  overflow: visible;
}

.owl-dot {
  width: 10px;
  height: 10px;
  background-color: #d6d6d6 !important;
  margin: 0 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  display: block;
  overflow: hidden;
}

.owl-dot.active {
  background-color: var(--bs-primary) !important;
  width: 25px;
  border-radius: 10px;
  border: none !important;
  outline: none !important;
}

.owl-dots .owl-dot span {
  display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .section-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .section-header h2 {
    font-size: 28px;
  }
}

/* Reels and Videos */
.media-section {
  padding: 0;
  margin: 0;
}

.media-section__title {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 0;
  text-align: center;
}

.service-gallery,
.reels-section,
.video-section {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-gallery__big-item {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.service-gallery__big-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Video gallery - 2 column layout */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}

.video-item {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.video-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Reels section styles */
.reels-section {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 0;
}

/* Owl Carousel for reels */
.reels-owl {
  padding: 0;
  margin: 0;
  position: relative;
}

.reels-owl .owl-stage-outer {
  overflow: hidden; /* Changed from visible to hidden */
}

.reels-owl .owl-stage {
  display: flex;
  padding: 10px 0;
}

.reels-owl .owl-item {
  padding: 0;
  z-index: 1;
}

/* Reels item styling */
.reels-item {
  height: 600px;
  padding: 0;
  margin: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.reels-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
}

/* Carousel navigation styling */
.reels-owl .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 20; /* Ensure high z-index */
}

.reels-owl .owl-nav button.owl-prev,
.reels-owl .owl-nav button.owl-next {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 20; /* Ensure high z-index */
}

.reels-owl .owl-nav button.owl-prev:hover,
.reels-owl .owl-nav button.owl-next:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.reels-owl .owl-nav i {
  font-size: 18px;
}

.reels-item img,
.video-item img,
.video-large img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.reels-item .play-video,
.video-item .play-video,
.video-large .play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.reels-item .play-video:hover,
.video-item .play-video:hover,
.video-large .play-video:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Make carousel draggable */
.owl-carousel {
  touch-action: manipulation;
  cursor: grab;
}

.owl-carousel:active {
  cursor: grabbing;
}

/* Customize carousel dots */
.owl-dots {
  margin-top: 15px;
  margin-bottom: 0;
  text-align: center;
}

.owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: rgba(0, 0, 0, 0.3);
  display: block;
  transition: opacity 0.2s ease;
  border-radius: 30px;
}

.owl-dot.active span,
.owl-dot:hover span {
  background: rgba(0, 0, 0, 0.7);
}

.video-large {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.video-large iframe {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border: none;
  border-radius: 10px;
}

/* Remove all container padding/margin for reels */
.reels-section .container,
.video-section .container {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Update responsive sizing */
@media (max-width: 1200px) {
  .reels-item {
    height: 550px;
  }
}

@media (max-width: 992px) {
  .video-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .video-item {
    height: 300px;
  }

  .reels-item {
    height: 500px;
  }

  .video-large {
    max-height: 440px;
  }

  .video-large iframe {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .service-gallery__big-item {
    max-height: 400px;
  }

  .video-large {
    max-height: 400px;
  }

  .video-large iframe {
    height: 400px;
  }

  .reels-item {
    height: 550px;
  }
}

@media (max-width: 576px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }

  .video-item {
    height: 350px;
  }

  .service-gallery__big-item {
    max-height: 300px;
  }

  .reels-item {
    height: 600px;
  }

  .video-large {
    max-height: 350px;
  }

  .video-large iframe {
    height: 350px;
  }

  /* Keep navigation visible on mobile and ensure proper z-index */
  .reels-owl .owl-nav {
    display: flex;
    z-index: 20;
  }

  /* Higher z-index for nav buttons to ensure they're clickable */
  .reels-owl .owl-nav button.owl-prev,
  .reels-owl .owl-nav button.owl-next {
    z-index: 20;
  }

  /* Fix positioning of owl-nav buttons */
  .reels-owl .owl-nav button.owl-prev {
    left: 10px;
    position: absolute;
  }

  .reels-owl .owl-nav button.owl-next {
    right: 10px;
    position: absolute;
  }
}

/* Team member specific styles */
.team-member .img-container {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
}

.team-member .member-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Arrows */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.owl-nav button {
  width: 44px !important;
  height: 44px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  pointer-events: auto;
}

.owl-nav button span {
  font-size: 30px;
  line-height: 0;
  position: relative;
  top: -4px;
}

.owl-nav button.owl-prev {
  left: 19px;
}

.owl-nav button.owl-next {
  right: 19px;
}
