* {
  margin: 0;
  padding: 0;
      border: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* GSAP Animation Performance Optimizations */
.gsap-marker-start,
.gsap-marker-end,
.gsap-marker-scroller-start,
.gsap-marker-scroller-end {
  display: none !important;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Optimize animations for better performance */
.navbar,
.hero-section img,
.counter-con,
.about-heading,
.cta-button,
.logo-slider-container,
.services-section h2,
.options,
.option,
.carrot-img,
.about-carrot-img,
.portfolio-content,
.client-section h2,
.client-slider-container,
.contact-content-part,
.contact-info-part,
.footer-section {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body {
  background: #e2e2e2;
  background-size: contain;
  font-weight: 400;
  line-height: 32px;
  font-size: 16px;
  font-family: var(--base-font);
  --base-font: "Montserrat", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --script-font: "Montserrat", sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  display: inline-table;
}

.logo-img {
    width: 250px;
}
.navbar-brand {
    width: 32%;
}
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px 0px;
    width: 100%;
    z-index: 1;
}

nav .navbar-nav {
    background: #292929;
    padding: 9px 30px;
    border-radius: 8px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #da4238 !important;
}
.nav-link {
    color: #bcbcbc !important;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0 26px !important;
}

.contact-nav-btn{
    background: #737373;
    border-radius: 3px;
}


/* _________________________________________________
carrot-section
____________________________________________________ */

#carrot-section {
    height: 30vh;
}
.counter-con {
    background: linear-gradient(0deg, #121212, #353535);
    text-align: center;
    padding: 38px;
    border-radius: 45px;
    filter: drop-shadow(2px 4px 7px black);
}
.count-text, .count-plus{
  color: #da4238;
    font-size: 3rem;
    font-weight: 800;
}
.counter-title{
    color: #fff;
    font-size: 1.1rem;
}

/* Counter item border styling */
.counter-con .col-xl-4 {
    position: relative;
}

.counter-con .col-xl-4::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        #da4238 20%,
        #da4238 80%,
        transparent 100%);
    opacity: 0.8;
}

/* Remove border from last counter column */
.counter-con .col-xl-4:last-child::after {
    display: none;
}

/* _________________________________________________
About Section
____________________________________________________ */

.about-section {
  background: #e2e2e2;
  background-image: url('../images/about us (home page).jpg');
  background-size: 92%;
  padding: 120px 0 60px;
  position: relative;
  height: 100vh !important;
}

.about-heading {
  font-size: 3.2rem;
  font-weight: 700;
  color: #666666;
  margin-bottom: 65px;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
}

.about-heading .highlight {
    color: #da4238;
}

.reading-text {
    color: #666666;
    display: inline;
}

.reading-text .char {
    display: inline-table;
    transition: color 0.3s ease;
    white-space: pre;
}

.cta-wrapper {
    margin-bottom: 60px;
}
.project-link {
    position: absolute;
    right: 7%;
}
.cta-button {
  background: #e2e2e2;
  border: none;
  padding: 17px 60px;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: drop-shadow(4px 15px 10px #00000050);
}

.cta-button:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    filter: drop-shadow(4px 15px 10px #000000a9);
}

/* CSS Logo Slider */
.logo-slider-container {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    width: 100%;
}

.css-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: logoScroll 40s linear infinite;
    width: max-content;
    gap: 0;
    position: relative;
}

.logo-track:hover {
    animation-play-state: paused;
}

/* Ensure all logo items are visible */
.logo-track .logo-item {
    opacity: 1;
    visibility: visible;
}

.logo-item {
    text-align: center;
    min-width: 150px;
    margin: 0 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #fff; */
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}
.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes clientScroll {
    0% {
        transform: translateX(0);
    }
    9% {
        transform: translateX(0%);
    }
    10% {
        transform: translateX(-11%);
    }
    19% {
        transform: translateX(-11%);
    }
    20% {
        transform: translateX(-22%);
    }
    29% {
        transform: translateX(-22%);
    }
    30% {
        transform: translateX(-33%);
    }
    39% {
        transform: translateX(-33%);
    }
    40% {
        transform: translateX(-44%);
    }
    49% {
        transform: translateX(-44%);
    }
    50% {
        transform: translateX(-55%);
    }
    59% {
        transform: translateX(-55%);
    }
    60% {
        transform: translateX(-66%);
    }
    69% {
        transform: translateX(-66%);
    }
    70% {
        transform: translateX(-77%);
    }
    79% {
        transform: translateX(-77%);
    }
    80% {
        transform: translateX(-88%);
    }
    89% {
        transform: translateX(-88%);
    }
    90% {
        transform: translateX(-99%);
    }
    100% {
        transform: translateX(-99%);
    }
}

/* Ensure smooth scrolling */
.logo-track,
.client-track {
    will-change: transform;
    transform: translateZ(0);
}

/* Pause animation on hover */
.logo-slider-container:hover .logo-slider {
    animation-play-state: paused;
}

/* _________________________________________________
Services Section
____________________________________________________ */

.services-section {
    padding: 0px 0 100px 0;
    min-height: 60vh;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.services-section .container{
    position: relative;
    z-index: 2;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #222222;
    padding: 20px 60px;
    margin-bottom: 50px;
    position: relative;
    display: inline-table;
    /* left: 50%; */
    transform: translateX(-50%);
    letter-spacing: 2px;
}

.services-section h2::before,
.services-section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background-color: #da4238;
}

.services-section h2::before {
    left: 20px;
}

.services-section h2::after {
    right: 20px;
}

 #user-button {
    z-index: 1000;
    bottom: 1rem !important;
    right: 1rem !important;
    color: var(--user-button-text);
    transition: 1s 0s ease-out;
    -webkit-animation: slide 3s ease-out forwards;
            animation: slide 3s ease-out forwards;
  }
  @-webkit-keyframes slide {
    0%, 50% {
      opacity: 0;
      display: block !important;
    }
    100% {
      opacity: 1;
      display: block !important;
    }
  }
  @keyframes slide {
    0%, 50% {
      opacity: 0;
      display: block !important;
    }
    100% {
      opacity: 1;
      display: block !important;
    }
  }
   #user-button .u-card {
    border-radius: 100%;
    box-shadow: 0 0 1rem -0.25rem var(--user-button-shadow), inset 0 0 1rem -0.75rem var(--user-button-shadow);
  }
   #user-button .u-main {
    cursor: pointer;
    --user-button-background:var(--user-button-main, #EC87C0);
  }
   #user-button .u-main img {
    height: 100%;
    width: 100%;
  }
   #user-button .u-main iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    opacity: 1;
    transition: 0s 4s;
  }
   #user-button .u-icons {
    position: relative;
    z-index: 950;
    transform: translate(-50%, -50%);
    background: var(--user-button-circle);
    box-shadow: 0 0 0 0.125rem var(--user-button-cardborder);
    border-radius: 100%;
    transition: 0.25s;
    opacity: 1 !important;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    /*&:before {
       z-index:-1;
       position:absolute;
       top:0; right:0; bottom:0; left:0;
       content:'';

       backdrop-filter: blur(10px);
    }*/
  }
   #user-button .u-icons a {
    color: inherit;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
  }
   #user-button .u-icons a div {
    padding: 0.5rem;
    transition: 0s;
  }
   #user-button .u-icons a[href="https://twitter.com/zed_dash"] {
    position: relative;
  }
   #user-button .u-icons a[href="https://twitter.com/zed_dash"]:before {
    content: "Middle Click";
    position: absolute;
    top: -1.5rem;
    left: 50%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    white-space: pre;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease-in;
    background: #fffc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
  }
   #user-button .u-icons a[href="https://twitter.com/zed_dash"].show:before {
    opacity: 1;
    transition: 0.25s ease-out;
  }
   #user-button .u-icons a[href="https://twitter.com/zed_dash"] div {
    color: #1da1f2;
  }
   #user-button .u-icons a[href="https://codepen.io/z-"] div {
    background: black;
    color: white;
  }
   #user-button .u-icons a.u-random div {
    position: relative;
    top: -1px;
    -webkit-animation: diespin 2s linear infinite;
            animation: diespin 2s linear infinite;
  }
  @-webkit-keyframes diespin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes diespin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
   #user-button .u-icons a.u-random:not(:hover) div {
    -webkit-animation-play-state: paused;
            animation-play-state: paused;
  }
   #user-button .u-icons > * {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--singlecolour);
    border-radius: 100%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: 0.25s -0.05s;
  }
   #user-button .u-icons > *:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
   #user-button .u-icons > *:hover,  #user-button .u-icons > *:focus-within {
    background: var(--hcolour);
  }
   #user-button .u-icons > *:first-child:nth-last-child(1):nth-child(1),  #user-button .u-icons > *:first-child:nth-last-child(1) ~ *:nth-child(1) {
    left: 25%;
    top: 25%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(2):nth-child(1),  #user-button .u-icons > *:first-child:nth-last-child(2) ~ *:nth-child(1) {
    left: 37.5%;
    top: 18.75%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(2):nth-child(2),  #user-button .u-icons > *:first-child:nth-last-child(2) ~ *:nth-child(2) {
    left: 18.75%;
    top: 37.5%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(1),  #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(1) {
    left: 50%;
    top: 15.625%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(2),  #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(2) {
    left: 25%;
    top: 25%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(3),  #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(3) {
    left: 15.625%;
    top: 50%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(1),  #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(1) {
    left: 62.5%;
    top: 18.75%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(2),  #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(2) {
    left: 37.5%;
    top: 18.75%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(3),  #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(3) {
    left: 18.75%;
    top: 37.5%;
  }
   #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(4),  #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(4) {
    left: 18.75%;
    top: 62.5%;
  }
   #user-button:hover .u-icons,  #user-button:focus-within .u-icons {
    width: 300% !important;
    height: 300% !important;
  }
   .credit {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: inherit;
  }
  .options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-width: 600px;
    max-width: 100%;
    width: calc(100%);
    height: 470px;
    padding: 20px 32px;
  }
  @media screen and (max-width: 718px) {
     .options {
      min-width: 520px;
    }
  }
  @media screen and (max-width: 638px) {
     .options {
      min-width: 440px;
    }
  }
  @media screen and (max-width: 558px) {
     .options {
      min-width: 360px;
    }
  }
  @media screen and (max-width: 478px) {
     .options {
      min-width: 280px;
    }
  }
  
  /* Mobile overflow fixes */
  @media (max-width: 768px) {
    .services-section {
      overflow: hidden;
    }
    .options {
      overflow: visible;
    }
    .option {
      overflow: hidden;
    }
    .option.active {
      overflow: visible;
      z-index: 10;
    }
  }
  .options .option
   {
      position: relative;
      filter: drop-shadow(8px 0px 14px black);
      overflow: hidden;
      min-width: 90px;
      margin: 15px;
      background: #222222;
      background-size: auto 120%;
      background-position: center;
      cursor: pointer;
      transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  }
  
  .options .option.active {
    flex-grow: 10000;
    transform: scale(1);
    max-width: 340px;
    margin: 10px;
    border-radius: 40px;
    background-size: auto 100%;
    display: flex;
}
   .options .option.active .shadow {
    box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
  }
   .options .option.active .label {
    bottom: 20px;
    left: 20px;
  }
   .options .option.active .info > div {
    left: 0px;
    opacity: 1;
  }
  .options .option:not(.active) {
    flex-grow: 1;
    border-radius: 15px;
  }
   .options .option:not(.active) .shadow {
    bottom: -40px;
    box-shadow: inset 0 -120px 0px -120px black, inset 0 -120px 0px -100px black;
  }
  .options .option:not(.active) .label {
    bottom: 17px;
    left: 28px;
}
   .options .option:not(.active) .info > div {
    left: 0px;
    opacity: 1;
  }
   .options .option .shadow {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 120px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  }
   .options .option .label {
    display: flex;
    position: absolute;
    right: 0px;
    height: 40px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  }
   .options .option .label .icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    border-radius: 100%;
    color: white;
  }
  .options .option .label .icon img {
    width: 50px;
    height: 100%;
    object-fit: contain;
}
  .options .option .info {
    margin-left: 10px;
    color: white;
    white-space: pre;
    height: max-content;
    width: max-content;
    display: flex;
    flex-direction: column;
    height: 100%;
}
  .options .option .info .main{
    rotate: 90deg;
  }
   .options .option .info > div {
    position: relative;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
  }
  .options .option .info .main {
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    width: 70px;
    top: 10;
    top: 44px;
}
   .options .option .info .service-image {
    transition-delay: 0.1s;
  }
  .service-image {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}
  
.service-image img {
    width: 60%;
    /* height: 100px; */
    object-fit: contain;
    display: none;
}
.service-image p {
    font-size: 0.7rem;
    line-height: 1.5;
    padding-right: 0;
    color: #dadada;
    margin-top: 20px;
    white-space: normal;
    display: none;
}
.options .active .label .icon{
    opacity: 0;
}
.active .service-image img {
    display: block;
}
.active .service-image p {
    display: block;
    text-align: justify;
    padding-right: 15px;
}

/* _________________________________________________
Portfolio Section
____________________________________________________ */

.portfolio-section {
    background-image: url('../images/our work (home page).jpg');
    min-height: 120vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.portfolio-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.portfolio-text {
    margin-left: auto;
    padding: 0 20px;
}
.carrot-img{
    position: relative;
    margin-bottom: -85px;
    z-index: 1;
    margin-top: -112px;
}
.about-carrot-img{
  position: relative;
  margin-bottom: 10px;
  z-index: 1;
}
.portfolio-text h2 {
    font-size: 2.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #222222;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.portfolio-text p {
    font-size: 1.1rem;
    color: #222222;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.portfolio-text a {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #da4238;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    float: right;
}

.portfolio-text a::after {
    content: '>';
    margin-left: 8px;
    color: #da4238;
    font-weight: bold;
}

.portfolio-text a:hover {
    color: #c0392b;
}

.portfolio-text a:hover::after {
    color: #c0392b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-text {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .portfolio-text h2 {
        font-size: 2rem;
    }
    
    .portfolio-text p {
        font-size: 1rem;
    }
}

/* _________________________________________________
Client Section
____________________________________________________ */

.client-section {
    padding: 100px 0;
    text-align: center;
}

.client-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #222222;
    padding: 20px 60px;
    margin-bottom: 50px;
    position: relative;
    display: inline-table;
    /* left: 50%; */
    transform: translateX(-50%);
    letter-spacing: 2px;
}

.client-section h2::before,
.client-section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background-color: #da4238;
}

.client-section h2::before {
    left: 20px;
}

.client-section h2::after {
    right: 20px;
}


/* CSS Client Slider Styles */
.client-slider-container {
    position: relative;
    padding: 0 50px;
    margin-top: 50px;
    overflow: hidden;
    width: 100%;
}

.css-client-slider {
    width: 100%;
    padding: 20px 0 !important;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    align-items: center;
    animation: clientScroll 35s linear infinite;
    width: max-content;
    gap: 0;
    position: relative;
}

.client-track:hover {
    animation-play-state: paused;
}

/* Ensure all client logos are visible */
.client-track .client-logo {
    opacity: 1;
    visibility: visible;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0px;
    border-radius: 10px;
    /* filter: drop-shadow(8px 0px 14px rgba(0, 0, 0, 0.052)); */
    transition: all 0.3s ease;
    margin: 10px;
}

.client-logo:hover {
    transform: translateY(-5px);
    filter: drop-shadow(8px 0px 14px rgba(0, 0, 0, 0.497));
}

.client-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Navigation Arrows */
.client-slider-next,
.client-slider-prev {
    width: 40px;
    height: 40px;
    background-color: #da4238;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.client-slider-next:hover,
.client-slider-prev:hover {
    background-color: #b83228;
    transform: scale(1.1);
}

.client-slider-next::after,
.client-slider-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Pagination Dots */
.client-slider-pagination {
    position: relative;
    margin-top: 30px;
}

.client-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.client-slider-pagination .swiper-pagination-bullet-active {
    background-color: #da4238;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .client-section h2 {
        font-size: 2rem;
        padding: 15px 40px;
    }
    
    .client-slider-container {
        padding: 0 30px;
    }
    
    .client-slider {
        height: 100px;
    }
    
    .client-logo {
        height: 80px;
        padding: 15px;
    }
    
    .client-logo img {
        max-height: 50px;
    }
    
    .client-slider-next,
    .client-slider-prev {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .client-section h2 {
        font-size: 1.5rem;
        padding: 10px 30px;
    }
    
    .client-slider-container {
        padding: 0 20px;
    }
    
    .client-slider {
        height: 80px;
    }
    
    .client-logo {
        height: 60px;
        padding: 10px;
    }
    
    .client-logo img {
        max-height: 40px;
    }
}

/* _________________________________________________
Contact Section
____________________________________________________ */

/* Contact Forms */
.contact-content-part .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 50px;
    padding-bottom: 14px;
    border-bottom: 2px solid #343434;
}
  
  .contact-content-part .form-group label {
    margin-bottom: 0;
    margin-right: 20px;
    color: #343434;
  }
  
  .contact-content-part .form-group input, .contact-content-part .form-group textarea {
    padding: 0;
    border: none;
    color: #343434;
    background: transparent;
}
  
  .contact-content-part .form-group input::-webkit-input-placeholder,
  .contact-content-part .form-group textarea::-webkit-input-placeholder {
    font-size: 18px;
    font-weight: 400;
    color: #343434;
  }
  
  .contact-content-part .form-group input:-ms-input-placeholder,
  .contact-content-part .form-group textarea:-ms-input-placeholder {
    font-size: 18px;
    font-weight: 400;
    color: #343434;
  }
  .form-control:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}
  .contact-content-part .form-group input::-ms-input-placeholder,
  .contact-content-part .form-group textarea::-ms-input-placeholder {
    font-size: 18px;
    font-weight: 400;
    color: #343434;
  }
  
  .contact-content-part .form-group input::placeholder,
  .contact-content-part .form-group textarea::placeholder {
    font-size: 18px;
    font-weight: 400;
    color: #343434;
  }
  
  .contact-content-part .theme-btn i {
    margin-right: 8px;
  }
  
  .contact-content-part.style-two {
    padding: 50px 85px 53px 75px;
    background: #070708;
  }
  
  @media only screen and (max-width: 575px) {
    .contact-content-part.style-two {
      padding-left: 35px;
      padding-right: 35px;
    }
  }
  
  @media only screen and (max-width: 375px) {
    .contact-content-part.style-two {
      padding-left: 25px;
      padding-right: 25px;
    }
  }
  
  .contact-content-part.style-two h3 {
    font-size: 38px;
    margin-bottom: 30px;
  }
  
  .contact-content-part.style-two p {
    color: #555;
  }
  
  .contact-content-part.style-two form {
    margin-top: 50px;
  }
  
  .contact-content-part.style-two .form-group label {
    color: var(--primary-color);
  }
  
  .contact-info-part {
    font-size: 18px;
    padding: 60px 35px 30px;
    background: #222222;
    border-radius: 30px;
}
.contact-info-part h3
 {
    color: #dfdfdf;
    font-weight: 700;
    margin-bottom: 5px;
}
.contact-info-part p {
    color: #666666;
    font-size: 1.4rem;
    font-weight: 500;
}
.contact-info-part h6{
    color: #dfdfdf;
}
.contact-info-part a {
    color: #dfdfdf;
    text-decoration: none;
}
  
  @media only screen and (max-width: 375px) {
    .contact-info-part {
      padding: 40px 20px 20px;
    }
  }
  
  .contact-info-part-two {
    font-size: 18px;
  }
  
  .contact-info-part-two .c-info-item .title {
    color: white;
  }
  .c-info-item .title {
    display: block;
    margin-bottom: 0px;
    color: #666666;
    font-size: 1.3rem;
    font-weight: 500;
}
  .c-info-item {
    margin-bottom: 45px;
  }
  
  @media only screen and (min-width: 376px) {
    .c-info-item h6 {
      font-size: 18px;
    }
  }
  
  .c-info-item .social-style-two a {
    width: 26px;
    height: 26px;
    line-height: 26px;
}
  
  /* Contact Page */
  .our-location iframe {
    height: 500px;
  }
  
  .contact-info-item {
    color: white;
    font-size: 18px;
    padding: 45px 35px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 15px;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
  }
  
  .contact-info-item .icon {
    margin-bottom: 25px;
  }
  
  .contact-info-item h5 {
    margin-bottom: 20px;
  }
  
  .contact-info-item a {
    color: white;
  }
  
  /* Contact Form Validation */
  .has-error .with-errors {
    color: red;
    margin-top: 5px;
    margin-bottom: -15px;
  }
  
  #msgSubmit {
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 10px;
  }
  
  /* Additional Contact Styles */
  #contact a {
    font-size: 11px;
}
  
  .getintouch {
    font-size: 30px;
  }
  .section-title, .contact-section-title{
    margin-bottom: 60px;
}

.contact-title {
    font-weight: 700;
    line-height: 1.35;
    font-size: 1.4rem;
}
  .contact-title span{
    color: #da4238;
}
  
  /* Social Style Two */
  .social-style-two {
    display: flex;
    gap: 10px;
  }
  
  .social-style-two a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: inline-table;
    transition: all 0.3s ease;
  }
  
  .social-style-two a:hover {
    background: white;
    color: var(--primary-color);
  }
  
  /* Theme Button */
  .theme-btn {
    display: inline-table;
    padding: 7px 40px;
    background: transparent;
    color: #da4238;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 6px 20px 0px #00000070;
}
  
  .theme-btn:hover {
    color: #383838;
  }
  
  /* Responsive Design */
  @media only screen and (max-width: 991px) {
    .contact-page {
      padding-top: 100px;
      padding-bottom: 100px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .contact-page {
      padding-top: 80px;
      padding-bottom: 80px;
    }
    
    .contact-title {
      font-size: 24px;
    }
    
    .getintouch {
      font-size: 24px;
    }
  }
  
  @media only screen and (max-width: 575px) {
    .contact-page {
      padding-top: 60px;
      padding-bottom: 60px;
    }
    
    .contact-title {
      font-size: 20px;
    }
    
    .getintouch {
      font-size: 20px;
    }
  }

  
 /* _________________________________________________
 Footer Section
 ____________________________________________________ */
 
 .footer-section {
     padding: 60px 0 40px;
     position: relative;
 }
 
 .footer-content {
     text-align: center;
     max-width: 600px;
     margin: 0 auto;
 }
 
 .footer-divider {
    border: none;
    height: 2px;
    background-color: #222222;
    margin: 0 0 30px 0;
    width: 100%;
    opacity: 0.8;
}
 
.copyright-text{
    color: #222222;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}
 
 /* Responsive Footer */
 @media (max-width: 768px) {
     .footer-section {
         padding: 40px 0 30px;
     }
     
     .footer-content {
         max-width: 100%;
         padding: 0 20px;
     }
     
     .copyright-text {
         font-size: 13px;
     }
 }
 
 @media (max-width: 480px) {
     .footer-section {
         padding: 30px 0 25px;
     }
     
     .footer-divider {
         margin: 0 0 25px 0;
     }
     
     .copyright-text {
         font-size: 12px;
     }
 }
 
/* _________________________________________________
 About Us Page Content Sections
 ____________________________________________________ */

.who-we-are-section, .PURPOSE-section {
    padding: 100px 0;
}
.culture-section {
    padding: 0px 0px 50px 0px !important;
}
.who-we-are-section .section-title, .PURPOSE-section .section-title, .culture-section .section-title, .team-overview-section .section-title {
    padding-left: 25px !important;
}


.section-content {
  margin: 0 auto;
  text-align: start;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  padding-left: 35px;
  color: #222222;
  margin-bottom: 40px;
  position: relative;
  display: inline-table;
  text-transform: uppercase;
}

.title-line {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 40px;
  background-color: #da4238;
}

.section-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.mission-box, .vision-box {
  background: #222222;
  padding: 40px 60px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.box-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

.box-title .title-line {
    left: -30px;
    height: 40px;
}

.box-text {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design for About Us Content */
@media (max-width: 768px) {
    .who-we-are-section,
    .mission-vision-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .title-line {
        left: -30px;
        height: 40px;
    }
    
    .section-text {
        font-size: 1.1rem;
    }
    
    .mission-box,
    .vision-box {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
    
    .box-title {
        font-size: 1.6rem;
    }
    
    .box-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-box,
    .vision-box {
        padding: 30px 20px;
    }
    
    .box-title {
        font-size: 1.4rem;
    }
}
.desktop{
  display: block;
}
.mobile{
  display: none;
}

/* _________________________________________________
 Global Overflow Prevention
 ____________________________________________________ */
 html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100vw;
}

/* _________________________________________________
 Hero Section Styles
 ____________________________________________________ */

.hero-section , .hero-section-about-us{
    position: relative;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: auto;
}

/* Hero Logo Slider Styles */
.hero-logo-slider-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(1px);
  padding: 12px 0 30px;
  z-index: 10;
}

.hero-logo-slider {
    width: 100%;
    overflow: hidden;
}

.hero-logo-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}

.hero-logo-slider .swiper-slide {
    flex-shrink: 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.hero-logo-item {
    text-align: center;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.hero-logo-item:hover {
    transform: scale(1.1);
}

.hero-logo-item img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.hero-logo-item:hover img {
    filter: grayscale(0%);
}

/* Hero Logo Slider Animation */
@keyframes hero-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.hero-logo-slider-container:hover .hero-logo-slider {
    animation-play-state: paused;
}

/* Responsive Design for Hero Logo Slider */
@media (max-width: 768px) {
    .hero-logo-slider-container {
        padding: 20px 0;
    }
    
    .hero-logo-item {
        min-width: 100px;
    }
    
    .hero-logo-item img {
        width: 60px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo-slider-container {
        padding: 15px 0;
    }
    
    .hero-logo-item {
        min-width: 80px;
    }
    
    .hero-logo-item img {
        width: 50px;
        height: 30px;
    }
}
  
 /*____________________________________________________
 Team Section
 ____________________________________________________ */

 .ceo-intro-section{
  padding-top: 180px;
}
.ceo-intro-section .section-title{
  font-size: 2rem;
  font-weight: 700;
  padding-left: 35px;
  color: #222222;
  margin-bottom: 40px;
  position: relative;
  display: inline-table;
  text-transform: uppercase;
}
.section-title, .contact-section-title{
  padding-left: 0;
}
.ceo-content{
  padding-left: 20px;
}

.ceo-intro-section .section-title span{
  color: #da4238; 
} 

.ceo-info .ceo-name {
  color: #da4238;
  font-weight: 700;
  margin-bottom: 0;
}

.ceo-info .ceo-role {
  color: #222222;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 6%;
}

.ceo-info .ceo-bio{
  font-size: 1.5rem;
}
.ceo-info .ceo-links{
  margin-top: 6%;
}
.ceo-info .ceo-links h4{
  font-weight: 700;
}
.ceo-info .social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 19%;
}
.ceo-info .social-link {
  color: #000;
  text-decoration: none;
  display: flex;
  gap: 5px;
  flex-direction: row;
  align-items: center;
}

.ceo-info .social-link i{
  font-size: 1.4rem;
}

.ceo-info .social-link span{
  font-size: 0.9rem;
}

.team-overview-section{
  margin-top: 7%;
}

/* Portfolio Content Section Styling */
.portfolio-content-section {
    margin: 0;
    padding: 0;
    background: transparent;
}

.portfolio-content-section .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* Ensure portfolio page starts from top */
.portfolio-content-section {
    margin-top: 0px;
    padding-top: 0;
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Safari video controls styling */
.video-container video::-webkit-media-controls {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container video:focus::-webkit-media-controls,
.video-container video:hover::-webkit-media-controls {
  opacity: 1;
}

/* Ensure video controls don't interfere with slider */
.video-container video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
}

/* Hide controls when custom overlay is active */
.video-container .play-button-overlay:hover ~ video::-webkit-media-controls {
  opacity: 0;
}

.portfolio-text-content {
  padding: 0;
  text-align: start;
}

.portfolio-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222222;
  transition: opacity 0.3s ease;
}

.portfolio-title .title-accent {
  display: inline-table;
  width: 5px;
  height: 30px;
  background-color: #da4238;
  margin-right: 15px;
  vertical-align: middle;
}

.portfolio-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
  color: #222222;
  transition: opacity 0.3s ease;
}



/* Portfolio Cover Section Styling */
.portfolio-cover-section {
  margin: 0px 0;
  /* width: 100vw; */
  position: relative;
  /* left: 50%; */
  /* right: 50%; */
  /* margin-left: -50vw; */
  /* margin-right: -50vw; */
}

.cover-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 110vh;

}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.cover-image:hover {
    transform: scale(1.05);
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: flex-start;
  flex-direction: column;
}

.cover-content {
  color: #ffffff;
  max-width: 800px;
  padding: 0 7%;
  width: 100%;
}

/* Portfolio Tabs Styling */
.portfolio-tabs {
  margin: -100px 0 40px 0;
  z-index: 1;
  position: relative;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.tab-btn {
  background-color: transparent;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222222;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  border: 1px solid #da4238;
  color: #da4238;
    transform: translateY(-2px);
}

.tab-btn.active {
  border: 1px solid #da4238;
  color: #da4238;
}

/* Project Section Title */
.project-section-title {
    margin: 40px 0 50px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header i {
    font-size: 1.5rem;
    color: #da4238;
}

.section-header .title-accent {
    display: inline-table;
    width: 3px;
    /* height: -webkit-fill-available; */
    background-color: #da4238;
}
#branding-content .section-header .title-accent, #prints-content .section-header .title-accent,
#videography-content .section-header .title-accent, #photography-content .section-header .title-accent {
  height: 25px;
}
#websites-content .section-header .title-accent, #social-media-content .section-header .title-accent{
  height: 45px;
}
.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222222;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-header h3 span{
    font-size: 1rem;
    opacity: 0.5;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #da4238;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.project-link:hover {
    color: #b8352d;
    text-decoration: none;
}

.project-link i {
    font-size: 12px;
}

/* Portfolio Cards Container - Updated for Dynamic Project Sections */
/* Portfolio Cards Container - Updated for Dynamic Project Sections */
.portfolio-cards-container {
  margin-top: 60px;
  padding: 0 7%;
}

.portfolio-cards {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Responsive Design for Portfolio Section */
@media (max-width: 991px) {
    .portfolio-text-content {
        padding-right: 20px;
        margin-bottom: 30px;
    }
    
    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-description {
        font-size: 1rem;
    }
    
    .portfolio-title {
        font-size: 2.2rem;
    }
    
    .portfolio-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .portfolio-content-section {
        padding: 60px 0;
    }
    
    .portfolio-text-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .portfolio-title {
        font-size: 1.8rem;
        justify-content: center;
    }
    
    .cover-image-container {
        height: 300px;
    }
    
    .portfolio-title {
        font-size: 1.8rem;
    }
    
    .portfolio-description {
        font-size: 0.95rem;
    }
    
    .tab-nav {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-cards-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        font-size: 1.5rem;
    }
    
    .cover-image-container {
        height: 250px;
    }
    
    .portfolio-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .portfolio-description {
        font-size: 0.9rem;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .portfolio-cards-container {
        padding: 20px 15px;
    }
}



/*
.picture-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.picture-item.active {
    display: flex;
    opacity: 1;
    z-index: 2;
}

.picture-item:first-child {
    display: flex;
}
*/

/* Image Grid Styles */
/*
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
}

.grid-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 14px;
}
*/

/* Image Grid Layout for Portfolio */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    padding: 20px;
}

.grid-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: transparent;
  transition: transform 0.3s ease;
}

.grid-image:hover {
    transform: translateY(-5px);
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.grid-image:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Pictures Container */
.pictures-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}
.title-icon{
  width: 30px;
}
/* Portfolio Swiper Styles */
.portfolio-swiper {
    height: 100%;
    width: 100%;
}

.portfolio-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: #da4238;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background: #da4238;
    color: white;
    transform: scale(1.1);
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.portfolio-swiper .swiper-pagination {
    bottom: 20px;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: #da4238;
    transform: scale(1.2);
}

.portfolio-swiper .swiper-pagination-bullet:hover {
    background: #da4238;
    transform: scale(1.1);
}

/* Autoplay Control */
.autoplay-control {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.autoplay-control .autoplay-btn {
    background: #28a745;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autoplay-control .autoplay-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

.autoplay-control .autoplay-btn.paused {
    background: #ffc107;
}

.autoplay-control .autoplay-btn.paused:hover {
    background: #e0a800;
}



/* Sliding Pictures Section */
.sliding-pictures {
    padding: 30px;
    background: #fafafa;
    border-radius: 8px;
    min-height: auto;
}

/* Client Info */
.client-info {
    margin-bottom: 30px;
    text-align: center;
}

.client-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Project Section Content */
.project-section-content {
    margin-top: 20px;
}

.picture-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}



/* Pictures Indicators */
.pictures-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #da4238;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.indicator.active::before {
    transform: scale(1);
}

.indicator:hover {
    background: #da4238;
    transform: scale(1.2);
}

.indicator.active {
    background: #da4238;
    transform: scale(1.2);
}

.indicator.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #da4238;
    animation: progressBar 3s linear;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

/* Loading animation for portfolio initialization */
.portfolio-cards-container.loading {
    position: relative;
}

.portfolio-cards-container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #da4238;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-section {
        padding: 20px;
        margin: 0 10px;
    }
    
    .section-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .project-link {
        margin-left: 10px;
        font-size: 12px;
    }
    
    .sliding-pictures {
        padding: 20px;
        min-height: 350px;
    }
    
    .pictures-container {
        height: 250px;
    }
    
    /* Mobile Swiper adjustments */
    .portfolio-swiper .swiper-button-next,
    .portfolio-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .portfolio-swiper .swiper-button-next::after,
    .portfolio-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .portfolio-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .autoplay-control .autoplay-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .project-section {
        padding: 15px;
    }
    
    .section-header {
        padding: 12px;
    }
    
    .section-header h3 {
        font-size: 14px;
    }
    
    .project-link {
        margin-left: 8px;
        font-size: 11px;
    }
    
    .client-info h4 {
        font-size: 14px;
    }
    
    .sliding-pictures {
        padding: 15px;
        min-height: 300px;
    }
    
    .pictures-container {
        height: 200px;
    }
    
    .portfolio-swiper .swiper-button-next,
    .portfolio-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .portfolio-swiper .swiper-button-next::after,
    .portfolio-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .portfolio-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .autoplay-control .autoplay-btn {
        width: 30px;
        height: 30px;
    }
    
    /* Mobile grid adjustments */
    .image-grid {
        gap: 8px;
    }
    
    .grid-image {
        border-radius: 6px;
    }
    
    .image-overlay {
        width: 25px;
        height: 25px;
        top: 8px;
        right: 8px;
    }
    
    .image-overlay i {
        font-size: 12px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .grid-image {
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    .picture-item {
        margin-bottom: 15px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-image {
        margin-bottom: 15px;
    }
}

/* Call to Action Banner Styles */
.cta-banner {
    background: #e2e2e2;
    padding: 80px 0;
    margin: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    margin-bottom: 40px;
}

.cta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.cta-line-vertical {
    width: 2px;
    height: 60px;
    background: #292929;
    display: inline-table;
}

.cta-text-content {
    text-align: center;
}

.cta-subtitle {
  color: #737373;
  font-size: 2.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-family: var(--base-font);
}

.cta-title {
    color: #292929;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: var(--base-font);
}

.cta-button-container {
    margin-top: 30px;
}

.cta-button {
    display: inline-table;
    background: linear-gradient(135deg, #4a4a4a 0%, #292929 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: var(--base-font);
}

.cta-button a {
    text-decoration: none;
    color: white;
}

.cta-button:hover {
    background: linear-gradient(135deg, #292929 0%, #1a1a1a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Responsive styles for CTA banner */
@media (max-width: 768px) {
    .cta-banner {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .cta-line {
        gap: 20px;
    }
    
    .cta-line-vertical {
        height: 50px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 50px 0;
        margin: 30px 0;
    }
    
    .cta-line {
        gap: 15px;
    }
    
    .cta-line-vertical {
        height: 40px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* Mobile and Desktop Image Display Rules - Fixed */
.mobile-image{
  display: none;
} 

.desktop-image{
  display: block;
} 

/* Mobile Slider Styles - Enhanced */
.mobile-image {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
    min-height: 200px;
    background: #f8f8f8;
}

.mobile-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Desktop Grid Styles - More specific to avoid conflicts */
.desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    padding: 20px;
}

/* Responsive adjustments for mobile - Enhanced */
@media (max-width: 768px) {
    .desktop-grid {
        display: none !important;
    }
    
    .mobile-image {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .portfolio-swiper .swiper-slide {
        width: 100% !important;
        min-height: 200px !important;
    }
    
    .portfolio-swiper .swiper-slide .mobile-image {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Ensure desktop grid shows on larger screens */
@media (min-width: 769px) {
    .mobile-image {
        display: none;
    }
    
    .desktop-grid {
        display: grid;
    }
} 

/* Smooth transitions for slider switching */
.portfolio-swiper .swiper-slide {
    transition: all 0.3s ease;
}

/* Mobile slider pagination adjustments - Enhanced */
@media (max-width: 768px) {
    .portfolio-swiper .swiper-pagination {
        bottom: 10px;
    }
    
    .portfolio-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .portfolio-swiper .swiper-button-next,
    .portfolio-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .portfolio-swiper .swiper-button-next::after,
    .portfolio-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .portfolio-swiper .swiper-wrapper {
        display: flex !important;
        width: 100% !important;
    }
    
    .portfolio-swiper .swiper-slide {
        flex-shrink: 0 !important;
        width: 100% !important;
    }
    
    .portfolio-swiper .swiper-slide .mobile-image {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }
}

/* Ensure proper spacing for mobile images - Enhanced */
.mobile-image {
    margin: 0;
    padding: 15px;
}

/* Mobile-specific overrides for mobile images */
@media (max-width: 768px) {
    .mobile-image {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        background: #f8f8f8 !important;
    }
}

/* Desktop grid spacing adjustments */
.desktop-grid .grid-image {
    transition: transform 0.3s ease;
}

.desktop-grid .grid-image:hover {
    transform: translateY(-5px);
} 

/* Force Swiper to properly separate slides */
.portfolio-swiper {
    overflow: hidden;
    position: relative;
}

.portfolio-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}
.back-to-top{
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #da4238;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: block;
}
.portfolio-swiper .swiper-slide img{
    border-radius: 8px;
}

.portfolio-swiper .swiper-slide:not(:first-child) {
    margin-left: 0;
}

.portfolio-swiper .swiper-slide > * {
    width: 100%;
    height: 100%;
}

/* Desktop grid specific styles */
.desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    padding: 20px;
    width: 100%;
}

/* Mobile image specific styles */
.mobile-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.mobile-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio Tab Content Visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Mobile vs Desktop Image Display */
.mobile-image {
    display: none;
}

.desktop-grid {
    display: grid;
}

@media (max-width: 768px) {
    .mobile-image {
        display: block;
    }

    .desktop-grid {
        display: none;
    }

    .mobile-image img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Swiper.js Integration Styles */
.portfolio-swiper.swiper {
    height: 100%;
    width: 100%;
}

.portfolio-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: #da4238;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background: #da4238;
    color: white;
    transform: scale(1.1);
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.portfolio-swiper .swiper-pagination {
    bottom: 20px;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: #da4238;
    transform: scale(1.2);
}

.portfolio-swiper .swiper-pagination-bullet:hover {
    background: #da4238;
    transform: scale(1.1);
}

/* FINAL MOBILE FIXES - Comprehensive override */
@media (max-width: 768px) {
    .mobile-image {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        background: #f8f8f8 !important;
    }
    
    .desktop-grid {
        display: none !important;
    }
    
    .portfolio-swiper .swiper-slide {
        width: 100% !important;
        min-height: 200px !important;
        flex-shrink: 0 !important;
    }
    
    .portfolio-swiper .swiper-slide .mobile-image {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }
    
    .mobile-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
        display: block !important;
    }
} 

/* jQuery Hero Logo Slider Styles */
.jquery-hero-logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.jquery-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.jquery-slide {
    flex: 0 0 auto;
    width: calc(100% / 10);
    padding: 0 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jquery-slide.active {
    opacity: 1;
    visibility: visible;
}

.jquery-slide .hero-logo-item {
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jquery-slide .hero-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.jquery-slide .hero-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Navigation Buttons */
.jquery-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.jquery-prev-btn,
.jquery-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(218, 66, 56, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jquery-prev-btn {
    left: 10px;
}

.jquery-next-btn {
    right: 10px;
}

.jquery-prev-btn:hover,
.jquery-next-btn:hover {
    background: rgba(218, 66, 56, 1);
    transform: translateY(-50%) scale(1.1);
}

.jquery-prev-btn:disabled,
.jquery-next-btn:disabled {
    background: rgba(128, 128, 128, 0.5);
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

/* Pagination Dots */
.jquery-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.jquery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.jquery-dot:hover {
    background: rgba(218, 66, 56, 0.5);
    transform: scale(1.2);
}

.jquery-dot.active {
    background: rgba(218, 66, 56, 1);
    transform: scale(1.2);
    border-color: rgba(218, 66, 56, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .jquery-slide {
        width: calc(100% / 3);
        padding: 0 8px;
    }
    
    .jquery-slide .hero-logo-item {
        padding: 20px;
        border-radius: 10px;
    }
    
    .jquery-slide .hero-logo-item img {
        max-height: 80px;
    }
    
    .jquery-prev-btn,
    .jquery-next-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .jquery-prev-btn {
        left: 5px;
    }
    
    .jquery-next-btn {
        right: 5px;
    }
}

/* Hero Logo Slider Container Styles */
.hero-logo-slider-container {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    width: 100%;
}

.hero-logo-slider-container .css-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-logo-slider-container .logo-track {
    display: flex;
    align-items: center;
    animation: logoScroll 40s linear infinite;
    width: max-content;
    gap: 0;
    position: relative;
}

.hero-logo-slider-container .logo-track:hover {
    animation-play-state: paused;
}

.hero-logo-slider-container .logo-item {
    text-align: center;
    min-width: 150px;
    margin: 0 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
}

.hero-logo-slider-container .logo-item:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); */
}

.hero-logo-slider-container .logo-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.hero-logo-slider-container .logo-item:hover img {
    filter: grayscale(0%);
}

/* Mobile responsive for hero logo slider */
@media (max-width: 768px) {
    .hero-logo-slider-container .logo-track {
        animation: logoScroll 25s linear infinite;
    }
    
    .hero-logo-slider-container .logo-item {
        min-width: 120px;
        margin: 0 10px;
    }
    
    .hero-logo-slider-container .logo-item img {
        width: 80px;
        height: 50px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .nav-link {
        color: #bcbcbc !important;
        text-transform: uppercase;
        font-weight: 500;
        padding: 0 17px !important;
    }
    .options .option {
        min-width: 75px;
    }
    .service-image p {
        text-align: start;
    }
    .options .option .info .main {
        width: 55px;
        font-size: 0.88rem;
    }
    .options .option:not(.active) .label {
        left: 19px;
    }
}

/* Video Play Button Overlay Styles */
.video-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 96%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.4;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.video-container:hover .play-button-overlay {
    opacity: 1;
}

.play-button {
    color: #fff;
    transition: transform 0.2s ease;
}

.video-container:hover .play-button {
    transform: scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}