/* COMMON */
/* ===============================
   GLOBAL RESET (CRITICAL)
================================ */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
}

/* ===============================
   HEADER
================================ */
.site-header {
  width: 100%;
  position: absolute; /* stays over hero */
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  margin: 0;
  padding: 0 20px; /* horizontal padding only */
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 5px 0; /* top/bottom padding */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* LOGO */
.site-logo img {
  max-width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.site-logo {
  text-align: center;
}

/* ===============================
   NAVIGATION
================================ */
.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #d4a64b;
}

/* CTA */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
 margin-top: 20px !important;
}

.cta-btn {
  background: #1D1D1D;
  color: #FBBA62;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px 10px 10px 10px;
  padding: 18px 30px 18px 30px;
  transition: 0.3s;
}

.cta-btn:hover {
    background-color: #FBBA62 !important;
    color: #000 !important;
}

/* ===============================
   HERO / BANNER
================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 0; /* removed extra space */
  margin-top: 0;
}

/* If banner uses <img> */
.hero-banner img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* Remove extra Elementor padding/margins */
.hero-banner .elementor-section,
.hero-banner .elementor-section-wrap,
.hero-banner .elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===============================
   DESKTOP / MOBILE VISIBILITY
================================ */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* ===============================
   MOBILE MENU
================================ */
@media (max-width: 991px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
	margin-top: 30px !important;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
  }

  #mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: #000;
    padding: 100px 20px 20px;
    transition: left 0.5s ease;
    z-index: 999;
  }

  #mobile-nav.active {
    left: 0;
  }

  #mobile-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  #mobile-nav ul li {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeSlide 0.5s forwards;
  }

  #mobile-nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
  #mobile-nav.active ul li:nth-child(2) { animation-delay: 0.2s; }
  #mobile-nav.active ul li:nth-child(3) { animation-delay: 0.3s; }
  #mobile-nav.active ul li:nth-child(4) { animation-delay: 0.4s; }
  #mobile-nav.active ul li:nth-child(5) { animation-delay: 0.5s; }

  .mobile-cta {
    margin-top: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeSlide 0.5s forwards;
    animation-delay: 0.6s;
  }
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===============================
   ELEMENTOR / THEME SPACING FIX
================================ */
.elementor-section,
.elementor-section-wrap,
.elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
}





.acf-video-slider {
    position: relative;
    overflow: hidden;
}

.acf-video-slider .slide {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.acf-video-slider .slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for better readability */
.acf-video-slider .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.acf-video-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.acf-video-slider .slide-heading {
    font-size: 3rem;
    font-weight: 700;
}

.acf-video-slider .slide-desc {
    font-size: 1.2rem;
    margin-top: 10px;
}

.acf-video-slider .slide-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #d4a64b;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.acf-video-slider .slide-btn:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .acf-video-slider .slide {
        height: 70vh;
    }

    .acf-video-slider .slide-heading {
        font-size: 2rem;
    }

    .acf-video-slider .slide-desc {
        font-size: 1rem;
    }
}



/* REMOVE ALL TOP WHITE SPACE */
body,
#page,
#content,
.site,
.site-content,
main,
.elementor,
.elementor-section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


.portfolio-slider-container {
    overflow: hidden !important;
}


.swiper-slide {
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


.swiper-slide-active .portfolio-item {
    transform: scale(1.1);
    opacity: 1;
}


.swiper-slide:not(.swiper-slide-active) .portfolio-item {
    opacity: 0.5;
    transform: scale(0.85);
}


.portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}



/* Portfolio Item Styling */
.portfolio-item {
    width: 100%;
    height: 100%;
    position: relative;   
    border-radius: 20px;
    overflow: hidden !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Styling for Image */
/*.portfolio-image img {
    wdth: 100%;
    height: auto;
    border-radius: 20px;
}*/

/* Portfolio Info (Shows only on active item) */
.portfolio-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    padding: 10px;
    border-radius: 5px; 
    display: none; /* Hide by default */
}

.portfolio-info h3 {
    margin: 0;
    font-size: 1.5em;
}

.portfolio-info p {
    margin: 5px 0 0;
    font-size: 1em;
}

/* Active Item Styling */
.swiper-slide-active .portfolio-item {
    transform: scale(1.75) !important; /* Make active item larger */
    transition: transform 0.5s ease; /* Smooth transition for active item */
}

/* Active Item Info */
.swiper-slide-active .portfolio-info {
    display: block; /* Show info on active slide */
}

/* Inactive Item Styling (Make inactive items smaller) */
.swiper-slide:not(.swiper-slide-active) .portfolio-item {
    opacity: 0.6; /* Make inactive items slightly transparent */
    transform: scale(0.85); /* Make inactive items smaller */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

/* Styling for Navigation Arrows */
.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 50%;
    z-index: 10;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%;
    padding: 10px;
    font-size: 18px;
    transform: translateY(-50%);
}

.swiper-button-next {
    right: 10px; /* Position next arrow to the right */
}

.swiper-button-prev {
    left: 10px; /* Position prev arrow to the left */
}

/* Adjust arrows on hover */
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darken background on hover */
}
.swiper-button-pro{
	display:flex;
    float:left;
    margin-top: 65px;
    gap:20px;
}

/* ===============================
   404 HEADER BAR
================================ */

.main-error-page {
    background-color: #FEF1E0;
    background-image: url(https://stg-kcidevelopment-staging.kinsta.cloud/wp-content/uploads/2025/12/about-banner.png);
    background-position: bottom center;
    background-size: cover;
    height: 400px;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-error-head {
    background: #0b1d3e;
    padding: 40px 0;
}

.main-error-head h2 {
    color: #ffffff;
	text-align:left;
    margin: 0;
}

/* ===============================
   MAIN 404 CONTENT
================================ */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    font-size: 36px;
    color: #FBBA62;
    margin-bottom: 15px;
}

.page-content p {
    font-size: 18px;
    color: #000;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ===============================
   SEARCH FORM STYLING
================================ */
.search-form {
    margin: 0 auto;
    display: flex;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-field {
    width: 100%!important;
    padding: 14px 16px!important;
    font-size: 16px!important;
    border: 1px solid #FBBA62!important;
    outline: none!important;
}

.search-submit {
    padding: 14px 32px !important;
    background: #FBBA62!important;
    color: #000!important;
    border: none!important;
    font-size: 16px!important;
    font-weight: 600!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.search-submit:hover {
    background: #FBBA62!important;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .main-error-head h2 {
        font-size: 36px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-content p {
        font-size: 16px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-field {
        border-right: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .search-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }

    .page-content p {
        font-size: 15px;
    }
}

