/*
Theme Name: visivle travel
Theme URI: https://visibletravelmarketing.nl/
Author: Amirait
Author URI: https://amirait.com/
Description: Custom wordpress theme based on figma design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluetheme
Tags: custom-theme, elementor, responsive
*/

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

/* Universal reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
}

/* Remove default paragraph margins */
p {
  margin: 0;
}

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
  /* Primary brand colors */
  --primary-color: #0D5C63;
  --secondary-color: #44A1A0;

  /* Bootstrap-like color palette */
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.primary {
  color: var(--primary-color);
}

.secondary {
  color: var(--secondary-color);
}
/* ========================================
   HERO SECTION
   ======================================== */

/* Main hero section with background image and overlay */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;

  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
}
/* .hero-text{
  padding-right: 3vw;
} */
/* Hero image container with flexbox layout */
.hero-image {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 650px;
}

/* Global image styles with hover effects */
img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

/* Hero image containers */
.image1 {
  height: 100%;
  width: 70%;
  overflow: hidden;
  border-radius: 10px;
}

.image1 img:hover {
  transform: scale(1.05);
}

.image2 img:hover {
  transform: scale(1.05);
}

.image2 {
  height: 50%;
  overflow: hidden;
  border-radius: 10px;
}

/* Hero image wrapper with vertical layout */
.hero-img {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  width: 30%;
}
.hero-image img{
  object-fit: cover;
}
.process{
  background-color: #FFFFFA;
}
/* Title and button container */
.title-btn {
  display: flex;
}

/* Hero subtitle section */
.sub-title {
  max-width: 400px;
  margin-top: 20px;
}

.sub-title p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Responsive hero title */
.title h1 {
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.2;
}

/* Desktop hero title size */
@media screen and (min-width: 1024px) {
  .title h1 {
    font-size: 48px;
  }
  .navbar-collapse{
    gap: 20%;
  }
}

/* Hero action buttons */
.btn3{
  background-color: white;
  color: black;
  border: none;
  padding: clamp(5px, 1vw, 10px) clamp(10px, 2vw, 20px);
  border-radius: 10px;
  text-decoration-line: none;
  font-size: clamp(0.875rem, 1vw, 1rem);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

}
.btn1 {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: clamp(5px, 1vw, 10px) clamp(10px, 2vw, 20px);
  border-radius: 10px;
  text-decoration-line: none;
  font-size: clamp(0.875rem, 1vw, 1rem);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

}

.btn2 {
  background-color: rgba(68, 161, 160, 1);
  color: white;
  border: none;
  padding: clamp(5px, 1vw, 10px) clamp(10px, 2vw, 20px);
  border-radius: 10px;
  font-size: clamp(0.875rem, 1vw, 1rem);
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}
.btn2:focus{
  background-color: var(--primary-color);
}

/* ========================================
   LEGACY EXPERTISE SECTION (OLD DESIGN)
   ======================================== */

/* Legacy expertise section background */
.expertise {
  background-image: linear-gradient(to right, rgb(6 47 50), rgb(23 138 148));
}

/* Legacy expertise text styles */
.exp-text1 h2 {
  font-weight: 900;
  text-shadow: #343a40 0px 4px 2px;
}

.exp-text1 p {
  color: rgb(161, 161, 161);
}

.exp-text2 {
  padding: 5px 10px;
  background-color: white;
  color: black;
  text-align: center;
  border-radius: 7px;
}

/* Legacy card styles */
.exp-card {
  border-radius: 15px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
  padding: 20px;
  margin-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: white;
}

/* .card-img {
  height: 80px;
  width: 80px;
} */

.exp-card-img {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.card-parent {
  position: relative;
  /* top: -83px; */
  /* left: 0; */
}
/* Legacy card background (unused) */
/* .card-background was used for gradient backgrounds but is now unused */

/* ========================================
   IMAGE & GALLERY COMPONENTS
   ======================================== */


.parent {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 10px;
	margin-top: 25px;
    max-height: 800px;
}

.parent > div > img{
  border-radius: 10px;
  object-fit: cover;
}
    
.div1 {
    grid-column: span 5 / span 5;
}

.div2 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 2;
}

.div3 {
    grid-column: span 3 / span 3;
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 2;
}

.div4 {
    grid-column: span 3 / span 3;
    grid-row: span 4 / span 4;
    grid-column-start: 1;
    grid-row-start: 5;
}

.div5 {
    grid-column: span 2 / span 2;
    grid-row: span 4 / span 4;
    grid-column-start: 4;
    grid-row-start: 5;
}

.div6 {
    grid-column: span 3 / span 3;
    grid-row: span 5 / span 5;
    grid-column-start: 6;
    grid-row-start: 1;
}

.div7 {
    grid-column: span 3 / span 3;
    grid-row: span 3 / span 3;
    grid-column-start: 6;
    grid-row-start: 6;
}

.div8 {
    grid-column: span 4 / span 4;
    grid-row: span 4 / span 4;
    grid-column-start: 9;
    grid-row-start: 1;
}

.div9 {
    grid-column: span 4 / span 4;
    grid-row: span 4 / span 4;
    grid-column-start: 9;
    grid-row-start: 5;
}

/* ------------------ */
/*   mobile grid system   */
/* ------------------ */
@media (max-width: 576px) {
  .parent {
    grid-template-columns: 1fr 1fr; /* 2 columns */
    grid-template-rows: auto;
    max-height: none; /* allow content to expand */
  }

  .div1 {
    grid-column: 1 / -1; /* full width for heading */
    text-align: center;
    margin-bottom: 1rem;
  }

  /* Every image takes one grid cell */
  .div2, .div3, .div4, .div5,
  .div6, .div7, .div8, .div9 {
    grid-column: span 1;
    grid-row: auto;
  }

  /* Make sure images keep aspect ratio */
  .parent > div > img {
    width: 100%;
    height: 100%;
  }
}
        

/* ========================================
   IMAGE & GALLERY COMPONENTS
   ======================================== */


/* Legacy image text styling */
.img-text {
  text-align: center;
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
}

/* Gallery component with hover effects */
.gallery img {





  
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.4s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ========================================
   GRID LAYOUT SYSTEM
   ======================================== */



.hero-section {
  background-color: #fdfdf8; /* Subtle off-white background */
}

.hero-section h2 {
  font-size: 2rem;
  color: #013d3d; /* Deep green color */
}

.hero-section .text-primary {
  color: #008080; /* Teal accent color */
}

.hero-section p {
  color: #333;
  line-height: 1.6;
}

.hero-section .btn-primary {
  background-color: #008080;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  transition: 0.3s ease;
}

.hero-section .btn-primary:hover {
  background-color: #006666;
}

/* ========================================
   DASHBOARD SWIPER COMPONENT
   ======================================== */

.dashboard-swiper-section {
  overflow: hidden;
  background-color: #013135;
}

.dashboardSwiper {
  width: 100%;
  padding: 20px 0;
}

.dashboardSwiper .swiper-slide {
  opacity: 0.4;
  transform: scale(0.85);
  transition: 0.3s;
}

.dashboardSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.dashboardSwiper .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.dashboardSwiper .swiper-button-next,
.dashboardSwiper .swiper-button-prev {
  color: var(--primary-color);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboardSwiper .swiper-button-next:after,
.dashboardSwiper .swiper-button-prev:after {
  font-size: 18px;
}

.dashboard-card {
  overflow: hidden;
  border-radius: 8px;
}

.dashboard-card img {
  max-height: 350px;
  object-fit: cover;
  transition: transform 0.4s;
}

.dashboard-card:hover img {
  transform: scale(1.02);
}

.custom-pricing-section {
  background: url("your-background.jpg") no-repeat center/cover;
  color: #333;
}

.pricing-card-custom {
  background: #fff;
  /* border-radius: 12px; */
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-card-custom.featured {
  background: #004d4d;
  color: #fff;
}

.plan-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  font-size: 0.9rem;
  color: #666;
}

.featured .plan-subtitle {
  color: #ddd;
}

.price-custom {
  font-size: 1.25rem;
  margin: 1.2rem 0;
}

.price-custom strong {
  font-size: 2rem;
  color: #004d4d;
}

.featured .price-custom strong {
  color: #fff;
}

.btn-custom {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  background: #00796b;
  color: #fff;
  font-weight: 600;
  border: none;
  transition: 0.3s;
}

.btn-custom:hover {
  background: #005f56;
}

.btn-custom.alt {
  background: #f9b233;
  color: #222;
}

.btn-custom.alt:hover {
  background: #d99600;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.4rem 0;
  /* border-bottom: 1px solid #eee; */
  font-size: 0.95rem;
}

.featured .features-list li {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-image-footer {
  border-radius: 10px;
}
/* .hero-image img{
  border-radius:10px;
} */

/* Add these styles at the end of your CSS file */

/* Testimonials Section Styles */
.testi-parent {
  background-image: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: white;
}
.section-header p {
  margin-bottom: 10px;
  color: white;
}

/* Video Testimonials */
/* Video Testimonials */
.video-testimonial {
  position: relative;
  height: 100%;
  min-height: 250px;
  max-height: 350px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-testimonial video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background-color: #f8f9fa;
}

/* Custom video controls styling */
.video-testimonial video::-webkit-media-controls-panel {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

/* .video-testimonial video::-webkit-media-controls-play-button {
  background-color: var(--primary-color);
  border-radius: 50%;
} */

/* Fallback overlay for better UX */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 92, 99, 0.1) 0%, rgba(68, 161, 160, 0.1) 100%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-testimonial:hover .video-overlay {
  opacity: 1;
}

/* Professional play button overlay (optional enhancement) */
.custom-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

.video-testimonial:hover .custom-play-overlay {
  opacity: 1;
}

.custom-play-overlay i {
  color: var(--primary-color);
  font-size: 24px;
  margin-left: 3px;
}

/* Text Testimonials */
.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  color: #444;
}

/* Responsive adjustments for videos */
@media (max-width: 991px) {
  .video-testimonial {
    min-height: 200px;
    max-height: 250px;
  }
}

@media (max-width: 767px) {
  .video-testimonial {
    min-height: 180px;
    max-height: 220px;
    margin-bottom: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .video-testimonial {
    min-height: 160px;
    max-height: 200px;
  }
}

.author-image img {
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Custom Swiper Styles for Testimonials */
.testimonialSwiper {
  padding-bottom: 40px;
  height: 100%;
}

.testimonialSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  opacity: 0.5;
}

.testimonialSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .video-testimonial {
    min-height: 240px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .video-testimonial {
    min-height: 200px;
  }
  .hero-image{
    max-height: 400px;
  }
}
.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
  font-size: 1.4rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.navbar-brand:hover {
  color: var(--secondary-color);
}
.nav-link {
  position: relative;
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}
.btn-nav-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(18, 73, 78, 0.25);
}
.btn-nav-cta:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(18, 73, 78, 0.35);
}

/* Mobile navigation adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .nav-link {
    padding: 0.7rem 0;
  }

  .nav-link::after {
    display: none;
  }

  .btn-nav-cta {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Expertise Section Styling */
.expertise-section {
  background-image: linear-gradient(to right, #12494e, #178a94);
  color: white;
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title em {
  font-style: italic;
  color: #ffffff;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.btn-results {
  background-color: white;
  color: #12494e;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-results:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.expertise-card {
  transition: all 0.3s ease;
  /* border-radius: 10px; */
  overflow: hidden;
  min-height: 230px;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.card-title {
  font-size: 1.2rem;
  color: #12494e;
}

.card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Enhanced Expertise Section Styling */
.expertise-section {
  background-image: url(assets/3439375_61773.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  color: black;
}

.expertise-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgb(255 255 255 / 55%), rgb(255 255 255 / 66%));
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  color: var(--primary-color);
}
.section-title span em {
  color: var(--secondary-color);
}

.highlight-text {
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 300;
}

.btn-results {
  background-color: rgba(255, 255, 255, 0.95);
  color: #12494e;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-results:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
} */

/* ========================================
   EXPERTISE SLIDER STYLES (NEW)
   ======================================== */

/* Expertise Swiper Container - Custom styling for the expertise section slider */
.expertiseSwiper {
  width: 100%;
  padding: 20px 0 60px 0; /* Extra bottom padding for pagination */
  overflow: hidden;
  position: relative;

  /* PERFORMANCE OPTIMIZATION for smooth sliding */
  transform: translateZ(0); /* Force hardware acceleration */
  backface-visibility: hidden; /* Prevent flickering */
  perspective: 1000px; /* Enable 3D transforms */
}

/* Expertise Swiper Slides - Individual slide styling with responsive design */
.expertiseSwiper .swiper-slide {
  /* Set slide width based on screen size for responsive cards */
  width: auto;
  height: auto;
  padding: 0 10px; /* Space between slides */

  /* OPTIMIZED SMOOTH TRANSITIONS for slide animations */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth easing curve */
  transform: scale(0.95); /* Slightly smaller for non-active slides */
  opacity: 0.7; /* Dim non-active slides */

  /* HARDWARE ACCELERATION for smoother performance */
  transform-style: preserve-3d;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Active slide styling - Make the current slide more prominent */
.expertiseSwiper .swiper-slide-active {
  transform: scale(1); /* Full size for active slide */
  opacity: 1; /* Full opacity for active slide */

  /* SMOOTH TRANSITION TIMING for active slide */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* CENTER SLIDE HIGHLIGHTING - Enhanced styling for the center card */
.expertiseSwiper .swiper-slide-active .expertise-card {
  box-shadow: 0 15px 35px rgba(18, 73, 78, 0.2) !important; /* Enhanced shadow for center card */
  transform: translateY(-5px); /* Slight lift effect for center card */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* SMOOTH TRANSITION CURVE */
}

.expertiseSwiper .swiper-slide-active .card-inner {
  border: 2px solid rgba(18, 73, 78, 0.1); /* Subtle border for center card */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #fafafa 100%
  ); /* Subtle gradient background */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* SMOOTH TRANSITION CURVE */
}

/* Previous and next slides styling for better visual flow */
.expertiseSwiper .swiper-slide-prev,
.expertiseSwiper .swiper-slide-next {
  opacity: 0.8; /* Slightly more visible than other slides */
  transform: scale(0.98); /* Slightly larger than other non-active slides */

  /* SMOOTH TRANSITION for adjacent slides */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Expertise card height adjustment for slider - Ensure consistent heights */
.expertiseSwiper .expertise-card {
  height: 100%;
  min-height: 280px; /* Minimum height for consistency */
  border-radius: 10px; /* ADDED 10PX ROUNDED CORNERS */
  overflow: hidden; /* Ensure content doesn't overflow rounded corners */

  /* SMOOTH PERFORMANCE OPTIMIZATION */
  will-change: transform, opacity; /* Optimize for animations */
  backface-visibility: hidden; /* Prevent flickering */
}

.expertiseSwiper .card-inner {
  height: 100%;
  border-radius: 10px; /* ADDED 10PX ROUNDED CORNERS TO INNER CARD */
  /* Remove previous transform effects that might conflict with swiper */
  transform: none !important;

  /* SMOOTH TRANSITION for card content */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: background, border; /* Optimize for property changes */
}

/* Pagination styling - Custom dots for the expertise slider */
.expertiseSwiper .swiper-pagination {
  position: relative !important; /* Override absolute positioning */
  margin-top: 30px;
  height: auto;
}

.expertiseSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(18, 73, 78, 0.3); /* Semi-transparent brand color */
  border-radius: 50%;
  margin: 0 6px;
  transition: all 0.3s ease;
}

/* Active pagination bullet styling */
.expertiseSwiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color); /* Full brand color for active dot */
  transform: scale(1.2); /* Slightly larger active dot */
  box-shadow: 0 2px 8px rgba(18, 73, 78, 0.4); /* Subtle shadow */
}

/* Navigation arrows styling - Custom prev/next buttons */
.expertiseSwiper .swiper-button-next,
.expertiseSwiper .swiper-button-prev {
  color: var(--primary-color); /* Brand color for arrows */
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Circular buttons */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: all 0.3s ease;

  /* Position arrows outside the container on larger screens */
  margin-top: -22px; /* Center vertically */
}

/* Arrow icons size adjustment */
.expertiseSwiper .swiper-button-next:after,
.expertiseSwiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Arrow hover effects */
.expertiseSwiper .swiper-button-next:hover,
.expertiseSwiper .swiper-button-prev:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--secondary-color); /* Change to secondary color on hover */
}

.big-img {
  width: 80%;
  border-radius: 12px;
  display: block;
  min-height: 600px;
}

/* Responsive Design for Expertise Slider */

/* Large screens - 3 slides per view */
@media (min-width: 1200px) {
  .expertiseSwiper .swiper-slide {
    width: calc(33.333% - 20px); /* 3 slides per view with spacing */
  }
}

/* Medium screens - 2 slides per view */
@media (min-width: 768px) and (max-width: 1199px) {
  .expertiseSwiper .swiper-slide {
    width: calc(50% - 20px); /* 2 slides per view with spacing */
  }
}



/* Small screens - 1 slide per view */
@media (max-width: 767px) {
  .expertiseSwiper {
    padding: 20px 0 50px 0; /* Reduced bottom padding on mobile */
  }


  .expertiseSwiper .swiper-slide {
    width: calc(100% - 20px); /* 1 slide per view with spacing */
    padding: 0 5px; /* Reduced padding on mobile */
  }

  /* Hide navigation arrows on mobile to save space */
  .expertiseSwiper .swiper-button-next,
  .expertiseSwiper .swiper-button-prev {
    display: none;
  }

  /* Adjust pagination for mobile */
  .expertiseSwiper .swiper-pagination {
    margin-top: 20px;
  }

  .expertiseSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
  .big-img{
    max-height: 400px;
    min-height: auto;
    width: 100%;
    object-fit: cover;
  }
}

/* Extra small screens - Optimize for very small devices */
@media (max-width: 480px) {
  .expertiseSwiper .expertise-card {
    min-height: 260px; /* Slightly reduced minimum height */
  }

  .expertiseSwiper .card-inner {
    padding: 1.5rem; /* Reduced padding for smaller screens */
  }
}

/* ========================================
   ENHANCED EXPERTISE SECTION
   ======================================== */

/* Enhanced Card Styles with Creative Flip Animations */
.expertise-card {
  position: relative;
  height: 100%;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(30px) rotateX(15deg);
  animation: flipInUp 0.8s ease-out forwards;
}

/* Creative staggered animation delays with different entrance effects */
.expertise-card:nth-child(1) {
  animation-delay: 0.1s;
  animation-name: flipInLeft;
}

.expertise-card:nth-child(2) {
  animation-delay: 0.2s;
  animation-name: flipInUp;
}

.expertise-card:nth-child(3) {
  animation-delay: 0.3s;
  animation-name: flipInRight;
}

.expertise-card:nth-child(4) {
  animation-delay: 0.4s;
  animation-name: bounceInLeft;
}

.expertise-card:nth-child(5) {
  animation-delay: 0.5s;
  animation-name: rotateIn;
}

.expertise-card:nth-child(6) {
  animation-delay: 0.6s;
  animation-name: zoomInRotate;
}

.card-inner {
  background-color: #ffffff;
  /* border-radius: 12px; */
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  /* border-radius: 15px; */
}

.card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(23, 138, 148, 0.1),
    transparent
  );
  transition: all 0.8s ease;
  transform: skewX(-45deg);
}

.card-inner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(23, 138, 148, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: all 0.6s ease;
  transform: scale(0);
}

.expertise-card:hover .card-inner {
  /* transform: translateY(-15px) scale(1.03); */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  /* border-radius: 20px; */
}

.expertise-card:hover .card-inner::before {
  left: 100%;
  transform: skewX(-45deg) scale(1.2);
}

.expertise-card:hover .card-inner::after {
  opacity: 1;
  transform: scale(1) rotate(180deg);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0;
  background: none;
  border: none;
  transform: translateX(-20px) rotateY(-15deg);
  opacity: 0;
  animation: flipSlideIn 0.8s ease-out 0.3s forwards;
  position: relative;
  z-index: 3;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(18, 73, 78, 0.05);
  border-radius: 12px;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  z-index: 3;
}

.icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(
    45deg,
    rgba(18, 73, 78, 0.1),
    rgba(23, 138, 148, 0.1)
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.icon-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.8s ease;
}

.expertise-card:hover .icon-wrapper {
  background-color: rgba(18, 73, 78, 0.1);
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(18, 73, 78, 0.2);
}

.expertise-card:hover .icon-wrapper::before {
  width: 120%;
  height: 120%;
}

.expertise-card:hover .icon-wrapper::after {
  opacity: 1;
  transform: translateX(100%);
}

.expertise-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.expertise-card:hover .expertise-icon {
  transform: rotateY(-360deg) scale(1.3);
  filter: brightness(1.2);
}

.card-title {
  font-size: 1.25rem;
  color: #12494e;
  margin: 0;
  font-weight: 500;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
  position: relative;
  z-index: 4;
}

.expertise-card:hover .card-title {
  color: #178a94;
  transform: translateX(10px) rotateX(10deg);
  text-shadow: 2px 2px 8px rgba(23, 138, 148, 0.3);
}

.card-body {
  flex: 1;
  padding: 0;
  transform: translateY(20px) rotateX(-10deg);
  opacity: 0;
  animation: flipInContent 0.8s ease-out 0.5s forwards;
  transform-style: preserve-3d;
  position: relative;
  z-index: 3;
}

.card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
  position: relative;
  z-index: 4;
}

.expertise-card:hover .card-text {
  color: #555;
  transform: translateY(-5px) rotateX(5deg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.card-footer {
  padding: 0;
  margin-top: auto;
  background: none;
  border: none;
  transform: translateY(20px) rotateX(-15deg);
  opacity: 0;
  animation: flipInFooter 0.8s ease-out 0.7s forwards;
  position: relative;
  z-index: 3;
}

.learn-more {
  color: #12494e;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 0.8rem 1.2rem;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(23, 138, 148, 0.05) 100%
  );
  transform-style: preserve-3d;
}

.learn-more::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #12494e, #178a94);
  transform: translateX(-50%);
  transition: all 0.5s ease;
}

.learn-more::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(23, 138, 148, 0.1),
    transparent
  );
  transition: all 0.8s ease;
}

.learn-more svg {
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
}

.learn-more:hover {
  color: #178a94;
  transform: translateX(8px) translateY(-3px) rotateX(10deg);
  box-shadow: 0 8px 15px rgba(23, 138, 148, 0.2);
  background: linear-gradient(
    135deg,
    rgba(23, 138, 148, 0.05) 0%,
    rgba(23, 138, 148, 0.15) 100%
  );
}

.learn-more:hover::before {
  width: 80%;
}

.learn-more:hover::after {
  left: 100%;
}

.learn-more:hover svg {
  transform: translateX(12px) rotateZ(360deg) scale(1.2);
  filter: drop-shadow(2px 2px 4px rgba(23, 138, 148, 0.3));
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .section-title {
    font-size: 2.2rem;
  }

  .card-inner {
    padding: 1.75rem;
  }
}

@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }

  .card-inner {
    padding: 1.5rem;
  }

  .icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .expertise-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.8rem;
  }

  .btn-results {
    width: 100%;
    justify-content: center;
  }

  .expertise-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575px) {
  .section-title {
    font-size: 1.6rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .card-title {
    margin-top: 0.5rem;
  }

  .card-text {
    text-align: center;
  }

  .card-footer {
    text-align: center;
  }
}

/* contact css */
/* Contact Section Wrapper */
/* Wrapper with half gradient background */
.custom-contact-section {
  position: relative;
  background: #fff;
}

.custom-contact-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15%; /* only bottom half */
  background-color: var(--primary-color);
  z-index: 0;
}

/* Ensure content stays above gradient */
.custom-contact-section .container,
.custom-contact-bottom-text {
  position: relative;
  z-index: 1;
}

/* Contact form card */
.contact-form-card {
  background: #111;
  border-radius: 12px;
  padding: 1.5rem;
  /* border: 2px solid #297f82; */
  /* box-shadow: 0 0 10px #297f82,
              0 0 20px #297f82,
              0 0 40px #297f82; */
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

/* .contact-form-card:hover {
  box-shadow: 0 0 20px #0ff,
              0 0 40px #0ff,
              0 0 80px #0ff;
} */


/* Highlight text */
.highlight-text {
  color: #0a7c74;
}

/* Inputs */
.custom-input {
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 12px;
}

.custom-input:focus {
  border-color: #0a7c74;
  box-shadow: 0 0 0 0.2rem rgba(10, 124, 116, 0.2);
}

/* Button */
.custom-btn {
  background: var(--primary-color);
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: 600;
}

.custom-btn:hover {
  background: var(--secondary-color);
}

/* Bottom text styling */
.logo {
  overflow: hidden;
}

.slider {
  white-space: nowrap;
  overflow: hidden;
}

.logos {
  display: inline-block;
  animation: slidein 30s linear infinite;
}

.logos img {
  display: inline-block;
  max-width: 150px; /* set a max width for consistency */
  width: auto;
  object-fit: contain;
  margin: 0 3vw; /* remove extra margin */
  background: transparent;
  padding: 0 10px; /* optional: small padding for visual balance */
}

@keyframes slidein {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Creative Flip and 3D Animation Keyframes */
@keyframes flipInUp {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes flipInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) rotateY(-90deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

@keyframes flipInRight {
  from {
    opacity: 0;
    transform: translateX(50px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px) scale(0.3);
  }
  50% {
    opacity: 1;
    transform: translateX(10px) scale(1.05);
  }
  70% {
    transform: translateX(-5px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-360deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes zoomInRotate {
  0% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes flipSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px) rotateY(-90deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

@keyframes flipInContent {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(-45deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes flipInFooter {
  from {
    opacity: 0;
    transform: translateY(20px) rotateX(-60deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Original animations for fallback */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Enhanced section animations */
.expertise-section .section-title {
  animation: slideInDown 1s ease-out;
}

.expertise-section .section-subtitle {
  animation: slideInDown 1s ease-out 0.2s both;
}

.expertise-section .btn-results {
  animation: bounceInLeft 1.2s ease-out 0.4s both;
  transition: all 0.3s ease;
}

.expertise-section .btn-results:hover {
  animation: heartbeat 0.8s ease-in-out infinite;
}

/* Removed the section-wide hover effect that was causing blur */

footer {
  background-color: #297f82;
  color: white;
}

/* Achievement Stats Styles */
.achievements-bar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.achievement-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achievement-icon {
  max-width: 45px;
}

.achievement-text {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.achievement-counter {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}
/* Enhanced Responsive Adjustments */
@media (max-width: 991px) {
  .achievements-bar {
    padding: 0.75rem 1rem;
    margin-top: 1.5rem !important;
  }

  .achievement-item:nth-child(2n)::after {
    display: none;
  }

  .achievement-counter {
    font-size: 1.2rem;
  }

  .counter-suffix {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .achievements-bar {
    padding: 0.5rem 0.75rem;
  }

  .achievement-text {
    font-size: 0.7rem;
  }

  .achievement-icon-wrapper {
    width: 35px;
    height: 35px;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
  }

  .achievement-icon {
    width: 30px;
    height: 30px;
  }

  .counter-suffix {
    font-size: 0.8rem;
  }

  .achievement-counter {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .achievement-item::after {
    display: block !important;
  }
}



/* process-section */
.process .row {
  position: relative;
}

.process .row::before {
  content: "";
  position: absolute;
  top: 25%; /* line start */
  bottom: 30%; /* line end */
  left: 50%; /* center */
  width: 1px;
  background: #9b9b9b; /* line color */
}
.process-text {
  color: var(--primary-color);
  font-weight: 400;
}
.process-text span {
  color: var(--secondary-color);
}

/* over-section */
.over-txt span {
  color: var(--secondary-color);
}
.over-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
.over-icon img {
  width: 24px;
  height: 24px;
}
.parent-card {
  position: relative;
  display: flex;
}
.card1 {
  height: 641px;
  width: 434px;
}
.card2 {
  height: 226px;
  width: 131px;
  position: absolute;
  right: 60px;
  top: 70px;
  border-radius: 10px;
  overflow: hidden;
}
.card3 {
  height: 325px;
  width: 220px;
  position: absolute;
  right: 60px;
  bottom: -10px;
  border-radius: 10px;
  overflow: hidden;
}
.over-section {
  background-color: #ECF5F5;
}
.over-txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Card Styles */
.stats h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #0a7c7c; /* teal-like color */
}

.stat-item{
  text-align: center;
  padding: 15px;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  color: #000;
  margin-bottom: 5px;
  text-align: left;
}

.stat-item p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  text-align: left;
}

/* .card-img {
  height: 330px;
  width: 560px;
} */
.rate-list {
  max-width: 350px;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  margin: auto;
}

/* ========================================
   MASONRY GALLERY (NEW) - Added to replace old grid gallery
   ======================================== */
.showcase-gallery {
  background: #ffffff;
}
.showcase-gallery .gallery-heading {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--primary-color);
  line-height: 1.2;
}
/* Decorative vertical/angled line placeholder wrapper */
.decorative-line-wrapper {
  margin-top: 10px;
  min-height: 40px;
}
/* Thin dotted style line to emulate screenshot accent */
.decorative-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 160px;
  background: repeating-linear-gradient(
    to bottom,
    var(--primary-color) 0 6px,
    transparent 6px 12px
  );
  opacity: .4;
}
/* Masonry container using CSS columns for flow */
.masonry-gallery {
  column-count: 4; /* default large */
  column-gap: 18px; /* space between columns */
  orphans: 1;
  widows: 1;
}
/* Each masonry item uses break-inside avoid to preserve shape */
.masonry-item {
  position: relative;
  display: inline-block; /* needed inside columns */
  width: 100%;
  margin: 0 0 18px;
  border-radius: 12px; /* rounded corners like screenshot */
  overflow: hidden;
  background: #f2f5f5; /* placeholder background while loading */
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s ease;
  break-inside: avoid;
}
.masonry-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1; /* base square ratio */
  transition: transform .6s ease;
  will-change: transform;
}
/* Variant sizing classes to create visual rhythm */
.masonry-item.tall img { aspect-ratio: 3/4; }
.masonry-item.wide img { aspect-ratio: 4/3; }
/* Hover effects */
.masonry-item:hover { transform: translateY(-6px); box-shadow:0 10px 26px rgba(0,0,0,.12); }
.masonry-item:hover img { transform: scale(1.05); }
/* Responsive adjustments */
@media (max-width: 1400px) { .masonry-gallery { column-count: 3; } }
@media (max-width: 992px) { .masonry-gallery { column-count: 3; column-gap:14px; } .decorative-line{height:120px;} }
@media (max-width: 768px) { .masonry-gallery { column-count: 2; column-gap:14px; } .masonry-item{margin-bottom:14px;} 
.stat-item h3{
    text-align: center;
    font-size: 2rem;
  }
  .stat-item p{
    text-align: center;
  }
}
@media (max-width: 576px) { .masonry-gallery { column-count: 1; } .decorative-line{display:none;} }
/* Subtle fade-in animation for items */
.masonry-item { opacity:0; animation: fadeMasonry .9s ease forwards; }
.masonry-item:nth-child(2){animation-delay:.05s;} 
.masonry-item:nth-child(3){animation-delay:.1s;}
.masonry-item:nth-child(4){animation-delay:.15s;}
.masonry-item:nth-child(5){animation-delay:.2s;}
.masonry-item:nth-child(6){animation-delay:.25s;}
.masonry-item:nth-child(7){animation-delay:.3s;}
.masonry-item:nth-child(8){animation-delay:.35s;}
.masonry-item:nth-child(9){animation-delay:.4s;}
.masonry-item:nth-child(10){animation-delay:.45s;}
@keyframes fadeMasonry { from {opacity:0; transform:translateY(20px);} to {opacity:1; transform:translateY(0);} }
/* End masonry gallery styles */

.image-wrapper {
  position: relative;
  display: inline-block;
}

.card-img > img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
}



/* small images positioned overlapping */
.small-images {
  position: absolute;
  top: 20%;
  right: -7%;    /* overlap effect */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  min-width: 150px;
}
.small-images img.small-img-2 {
  width: 220px;
}
.small-images img {
  width: 150px;   /* control size */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Responsive: stack below on mobile */
@media (max-width: 768px) {
  .small-images {
    position: static;   /* no overlap */
    flex-direction: row;
    margin-top: 1rem;
    justify-content: center;
  }
  .process .row::before{
    display: none;
  }

  .small-images img {
    width: 48%;
    height: auto !important;
  }
  .small-images img.small-img-2 {
    width: 48%;
}
}

/* Footer Enhancements */
.bg-gradient-dark {
  background-color: var(--primary-color);
  position: relative;
}

/* .bg-gradient-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
} */

.footer-brand {
  position: relative;
}

.footer-heading {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 10px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40px;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.2));
  border-radius: 2px;
}

.footer-link {
  color: #e2e2e2;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-icon {
  font-size: 12px;
  transition: all 0.3s ease;
}

.footer-link:hover .footer-icon {
  transform: translateX(3px);
}

.social-icons {
  display: flex;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-icon-link:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-icon {
  color: #ffffff;
  font-size: 16px;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Add Bootstrap Icons if not already included */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

.scroll-target {
  scroll-margin-top: 80px; 
}

/* new Services section */
/* Services Section - Compact & Elegant Design */
.services-section {
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 85%, rgba(13, 92, 99, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(68, 161, 160, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.services-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Card - Compact & Beautiful */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(13, 92, 99, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  height: 280px;
  max-width: 350px;
  margin: 0 auto;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(13, 92, 99, 0.12);
  border-color: rgba(13, 92, 99, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-inner {
  padding: 1.8rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Service Icon Container - Elegant & Compact */
.service-icon-container {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(13, 92, 99, 0.08), rgba(68, 161, 160, 0.12));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-icon-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 1;
}

.service-card:hover .service-icon-container {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(13, 92, 99, 0.2);
}

.service-card:hover .service-icon-container::before {
  width: 100%;
  height: 100%;
}

.service-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

/* Service Title - Clean & Modern */
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover .service-title {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Service Description - Concise & Readable */
.service-description {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
  flex-grow: 1;
  transition: all 0.3s ease;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card:hover .service-description {
  color: #475569;
}

/* Subtle Accent Elements */
.service-card-inner::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-inner::after {
  opacity: 1;
  width: 50px;
}

/* Responsive Design - Optimized Widths */
@media (max-width: 1199px) {
  .service-card {
    max-width: 320px;
    height: 270px;
  }
  
  .service-card-inner {
    padding: 1.6rem 1.3rem;
  }
  
  .service-title {
    font-size: 1.2rem;
  }
  
  .service-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 991px) {
  .service-card {
    max-width: 300px;
    height: 260px;
  }
  
  .service-card-inner {
    padding: 1.5rem 1.2rem;
  }
  
  .service-icon-container {
    width: 56px;
    height: 56px;
  }
  
  .service-icon {
    width: 28px;
    height: 28px;
  }
  
  .service-title {
    font-size: 1.15rem;
  }
  
  .service-description {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 3rem 0;
  }
  
  .service-card {
    max-width: 280px;
    height: 250px;
  }
  
  .service-card-inner {
    padding: 1.4rem 1rem;
    gap: 0.8rem;
  }
  
  .service-icon-container {
    width: 52px;
    height: 52px;
  }
  
  .service-icon {
    width: 26px;
    height: 26px;
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  .service-description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

@media (max-width: 575px) {
  .service-card {
    max-width: 100%;
    height: auto;
    min-height: 240px;
  }
  
  .service-card-inner {
    padding: 1.3rem 1rem;
  }
  
  .service-title {
    font-size: 1.05rem;
  }
  
  .service-description {
    -webkit-line-clamp: 3;
  }
  .logos img{
    max-height: 100px;
  }
}

/* Enhanced Entrance Animations */
.service-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: fadeInUpServiceSmooth 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpServiceSmooth {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Subtle Background Pattern */
.services-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(13, 92, 99, 0.015) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(68, 161, 160, 0.015) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  animation: patternFloat 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes patternFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-10px, -10px) rotate(360deg); }
}