/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


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


body .body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


/* Mobile slider styles */
@media (max-width: 767px) {
  .mobile-feature-slider {
    overflow: visible !important;
  }
  
  /* Style for slides */
  .mobile-feature-slider .slick-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
    margin: 0 10px;
  }
  
  /* Active/center slide */
  .mobile-feature-slider .slick-slide.slick-center {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
  }
  
  /* Slick dots styling */
  .mobile-feature-slider .slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-feature-slider .slick-dots li {
    margin: 0;
    width: 8px;
    height: 8px;
  }
  
  .mobile-feature-slider .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
  }
  
  .mobile-feature-slider .slick-dots li button:before {
    width: 8px;
    height: 8px;
    font-size: 8px;
    opacity: 0.4;
  }
  
  .mobile-feature-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #000;
  }
  
  /* Add padding bottom for dots */
  .mobile-feature-slider {
    padding-bottom: 60px !important;
  }
}

/* Desktop: ensure normal grid behavior */
@media (min-width: 768px) {
  .mobile-feature-slider .slick-slide {
    opacity: 1;
    transform: none;
  }
}











/* Custom Accordion develpment */

/* 
==============================================
CUSTOM ACCORDION WITH CENTERED HEADER
==============================================
Apply class: "custom-centered-accordion" to your accordion widget
In Elementor: Select Accordion Widget → Advanced → CSS Classes
Add: custom-centered-accordion
==============================================
*/

/* Reset and counter initialization */
.custom-centered-accordion .e-n-accordion {
    counter-reset: accordion-counter;
}

/* Container positioning for toggle button */
.custom-centered-accordion .e-n-accordion-item {
    position: relative;
    transition: all 0.4s ease;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
/*     border-radius: 8px; */
    overflow: visible;
}

/* Hide the summary (header) when accordion is open */
.custom-centered-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Show summary when closed */
.custom-centered-accordion .e-n-accordion-item:not([open]) > .e-n-accordion-item-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s, visibility 0s ease 0.15s;
}

/* Accordion Header Layout - Flexbox with 3 equal sections */
/* .custom-centered-accordion .e-n-accordion-item-title {
    padding: 25px 0px !important;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
} */

.custom-centered-accordion .e-n-accordion-item-title {
    padding: 25px 0px !important;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px !important;
    position: relative;
}


.custom-centered-accordion .e-n-accordion-item-title:hover {
/*     background: #f9f9f9; */
}

/* Counter - Left Section */
/* Counter - Left Section (15%) */

.custom-centered-accordion .e-n-accordion-item-title::before {
    counter-increment: accordion-counter;
    content: "0" counter(accordion-counter) ".";
    font-size: 25px;
    font-weight: 300;
    color: #1d1d1d;
    flex: 0 0 15%;
    text-align: left;
}

/* Title Section - Center with flex grow */
/* Title Section (40%) */

.custom-centered-accordion .e-n-accordion-item-title-header {
    flex: 0 0 40%;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Third Section (auto takes remaining space) */
.custom-centered-accordion .e-n-accordion-item-title > *:last-child {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.custom-centered-accordion .e-n-accordion-item-title-text {
    font-size: 35px !important;
    font-weight: 600;
    color: #1d1d1d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icon Section - Right */
.custom-centered-accordion .e-n-accordion-item-title-icon {
    flex: 0 0 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.3s ease;
}

.custom-centered-accordion .e-n-accordion-item-title-icon svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

/* Hide closed icon, show opened icon when open */
.custom-centered-accordion .e-n-accordion-item:not([open]) .e-n-accordion-item-title-icon .e-opened {
    display: none;
}

.custom-centered-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed {
    display: none;
}

.custom-centered-accordion .e-n-accordion-item:not([open]) .e-n-accordion-item-title-icon .e-closed {
    display: block;
}

.custom-centered-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened {
    display: block;
}

/* Small Collapse Button - No border, minimal style */
/* .custom-centered-accordion .e-n-accordion-item::after {
    content: '×';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-size: 24px;
    font-weight: 300;
    color: #333;
    line-height: 1;
    transition: all 0.2s ease;
    pointer-events: none;
} */

.custom-centered-accordion .e-n-accordion-item::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}


/* Show collapse button when accordion is open */
.custom-centered-accordion .e-n-accordion-item[open]::after {
    display: flex;
    pointer-events: auto;
}

/* Hover effect for collapse button */
.custom-centered-accordion .e-n-accordion-item[open]::after:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Adjust content padding when open */
.custom-centered-accordion .e-n-accordion-item[open] > div {
    padding-top: 60px;
}

/* Smooth transitions for content */
.custom-centered-accordion .e-n-accordion-item > div {
    transition: padding 0.3s ease;
}

/* Make the custom toggle button clickable */
.custom-centered-accordion .custom-accordion-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 101;
    display: none;
    border-radius: 50%;
}

.custom-centered-accordion .e-n-accordion-item[open] .custom-accordion-toggle {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-centered-accordion .e-n-accordion-item-title {
        padding: 20px 15px !important;
        gap: 15px;
    }
    
    .custom-centered-accordion .e-n-accordion-item-title::before {
        flex: 0 0 40px;
        font-size: 14px;
    }
    
    .custom-centered-accordion .e-n-accordion-item-title-text {
        font-size: 16px;
    }
    
    .custom-centered-accordion .e-n-accordion-item-title-icon {
        flex: 0 0 40px;
    }
    
    .custom-centered-accordion .e-n-accordion-item::after,
    .custom-centered-accordion .custom-accordion-toggle {
        width: 24px;
        height: 24px;
        top: 12px;
        right: 12px;
        font-size: 20px;
    }
}
@media (max-width: 480px) {
.custom-centered-accordion .e-n-accordion-item-title-text {
    font-size: 20px !important;
}
}


/* Ensure proper spacing and alignment */
.custom-centered-accordion .e-n-accordion-item-title > * {
    margin: 0 !important;
}

/* Fix for Elementor's default styles */
.custom-centered-accordion .e-n-accordion-item-title-header > * {
    width: 100%;
}

/* Optional: Alternative button styles - uncomment one if you prefer */

/* Option 1: Minimal dot style 
.custom-centered-accordion .e-n-accordion-item[open]::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    font-size: 0;
}
*/

/* Option 2: Chevron up style 
.custom-centered-accordion .e-n-accordion-item[open]::after {
    content: '▲';
    font-size: 12px;
    background: transparent;
}
*/

/* Option 3: Simple minus 
.custom-centered-accordion .e-n-accordion-item[open]::after {
    content: '−';
    font-size: 20px;
    font-weight: 400;
}
*/





.ct-min-height-10 {
  min-height: 10px;
}
.ct-min-height-20 {
  min-height: 20px;
}
.ct-min-height-30 {
  min-height: 30px;
}
.ct-min-height-40 {
  min-height: 40px;
}
.ct-min-height-50 {
  min-height: 50px;
}
.ct-min-height-70 {
  min-height: 70px;
}
.ct-min-height-100 {
  min-height: 100px;
}

/* applied to the elementor widget that has class "read-more-content" */
.elementor-widget-text-editor.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
/* expanded (shows full content) */
.elementor-widget-text-editor.read-more-content.expanded {
  max-height: 5000px; /* adjust if you have very tall content */
  overflow: visible;
}
/* button */
.read-more-btn {
  display: inline-block;
  margin-top: -10px;
  color: #666666;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}
.read-more-btn:hover { color: #004a99; }

/* Add SVG after the headline - visible only on mobile */
.ct-right-shape .elementor-heading-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='71' viewBox='0 0 80 71' fill='none'%3E%3Cpath d='M57.3839 0H79.605L22.8222 70.9754H0.601074L57.3839 0Z' fill='%233BC3FF'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: -15px;
    right: -130px;
}

/* Hide on desktop/tablet - show only on mobile */
@media (min-width: 768px) {
    .ct-right-shape .elementor-heading-title::after {
        display: none;
    }
}
/* 

*, html, body {
	outline: 1px solid red;
} */

* {
  box-sizing: border-box; /* Ensures padding/margins are included in width */
}
html, body {
  width: 100%;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}



/* ========== FADE-IN-UP ANIMATIONS ========== */

/* Base fade-in-up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base class - apply to all elements that need animation */
.fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Delay variations - use these along with .fade-up */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.delay-5 {
  animation-delay: 1s;
}

.delay-6 {
  animation-delay: 1.2s;
}

.delay-7 {
  animation-delay: 1.4s;
}

.delay-8 {
  animation-delay: 1.6s;
}

/* Alternative: Combined classes (if you prefer single class approach) */
.fade-up-1 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.fade-up-2 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.fade-up-3 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.fade-up-4 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.fade-up-5 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1s forwards;
}

.fade-up-6 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.fade-up-7 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.fade-up-8 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.6s forwards;
}


/* ========== IMAGE ZOOM ANIMATIONS ========== */

/* Zoom on hover - subtle effect */
.img-zoom-hover {
  overflow: hidden;
}

.img-zoom-hover img {
  transition: transform 0.6s ease;
  transform: scale(1);
}

.img-zoom-hover:hover img {
  transform: scale(1.08);
}

/* Zoom on hover - medium effect */
.img-zoom-hover-medium {
  overflow: hidden;
}

.img-zoom-hover-medium img {
  transition: transform 0.6s ease;
  transform: scale(1);
}

.img-zoom-hover-medium:hover img {
  transform: scale(1.12);
}

/* Zoom on hover - slow transition */
.img-zoom-hover-slow {
  overflow: hidden;
}

.img-zoom-hover-slow img {
  transition: transform 1s ease;
  transform: scale(1);
}

.img-zoom-hover-slow:hover img {
  transform: scale(1.08);
}

/* ========== BG image ZOOM on HOVER ========== */

/* Manufacturing Section Styles */
/* Fade in up animation on viewport */
.images-section .image-wrapper {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.images-section .image-wrapper.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Second image delayed animation */
.images-section .image-wrapper:nth-child(2) {
  transition-delay: 0.2s;
}

/* Hover zoom effect */
.images-section .image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.8s ease;
}

.images-section .image-wrapper:hover img {
  transform: scale(1.05);
}

/* Text fade-in-up animations */
.text-content h2,
.text-content p,
.text-content .know-more-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-content h2.in-view {
  opacity: 1;
  transform: translateY(0);
}

.text-content p.in-view {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.text-content p:nth-of-type(2).in-view {
  transition-delay: 0.4s;
}

.text-content .know-more-btn.in-view {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Background zoom on hover for Elementor containers */
.img-zoom-hover-slower.e-con {
  position: relative !important;
  overflow: hidden !important;
}
.img-zoom-hover-slower.e-con::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.8s ease;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

/* Only enable hover effect when in viewport */
.img-zoom-hover-slower.e-con.in-viewport::before {
  opacity: 1;
}

.img-zoom-hover-slower.e-con.in-viewport:hover::before {
  transform: scale(1.05);
}

.img-zoom-hover-slower.e-con > .e-con-inner {
  position: relative !important;
  z-index: 1 !important;
}


/* ========== CONTINUOUS ZOOM (NO HOVER) ========== */

/* Continuous zoom animation keyframes */
@keyframes continuousZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes continuousZoomMedium {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Continuous zoom - subtle (3 seconds cycle) */
.img-zoom-continuous {
  overflow: hidden;
}

.img-zoom-continuous img {
  animation: continuousZoom 3s ease-in-out infinite;
}

/* Continuous zoom - medium (4 seconds cycle) */
.img-zoom-continuous-medium {
  overflow: hidden;
}

.img-zoom-continuous-medium img {
  animation: continuousZoomMedium 4s ease-in-out infinite;
}

/* Continuous zoom - slow (6 seconds cycle) */
.img-zoom-continuous-slow {
  overflow: hidden;
}

.img-zoom-continuous-slow img {
  animation: continuousZoom 6s ease-in-out infinite;
}


/* ========== COMBINATION CLASSES ========== */

/* Fade-in + zoom on hover */
.fade-zoom {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  overflow: hidden;
}

.fade-zoom img {
  transition: transform 0.6s ease;
  transform: scale(1);
}

.fade-zoom:hover img {
  transform: scale(1.08);
}




/* Ken Burns Effect - Reusable Class with Higher Specificity */
.ken-burns-effect.e-con {
  overflow: hidden !important;
  position: relative !important;
}

.ken-burns-effect.e-con::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.ken-burns-effect.e-con > .e-con-inner {
  position: relative !important;
  z-index: 1 !important;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.2) translate(-5%, -5%);
  }
}

.elementor-element-00259ed .elementor-counter .elementor-counter-title {
    margin-top: -30px;

}
.ct-scale-in {
  overflow: hidden !important;
  position: relative !important;
}

.ct-scale-in::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.4s ease-in-out;
  transform: scale(1);
}

.ct-scale-in:hover::after {
  transform: scale(1.05);
}

.ct-scale-in > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
    .ct-m-font-50 {
        font-size: 50% !important;
        line-height: 1.5em  !important;
    }
    .ct-m-font-75 {
        font-size: 75% !important;
line-height: 1.5em  !important;
    }
    .ct-m-font-100 {
        font-size: 100% !important;
line-height: 1.5em  !important;
    }
    .ct-m-font-200 {
        font-size: 200% !important;
line-height: 1.5em  !important;
    }
    .ct-m-font-150 {
        font-size: 150% !important;
line-height: 1.5em  !important;
    }
	.elementor-element-00259ed .elementor-counter .elementor-counter-title {
    margin-top: 0px;

}
}

@media (min-width: 767px and max-width: 1024px) {
	 .ct-m-font-100 {
        font-size: 50% !important;
line-height: 1.5em  !important;
    }
	
}


@media (min-width: 1024px) {
.ct-popup-max-height {
	max-height: 400px;
}


#jet-popup-912 .jet-popup__container {
    width: 800px;
    border-radius: 15px;
    max-height: 450px;
    min-height: 350px;
}
}