@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Custom Variables & Tokens --- */
:root {
  /* Colors */
  --primary-blue: #1e5aa9;
  --primary-blue-hover: #15427d;
  --primary-blue-light: #e6f0fa;
  --dark-slate: #091216; /* Rooft black */
  --text-muted: #797979; /* Rooft body grey */
  --light-bg: #f4f4f4; /* Rooft light background */
  --border-color: #e9ebef;
  --white: #ffffff;
  --black: #000000;
  --bg-white: #ffffff;

  /* Fonts */
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-family: var(--font-body);

  /* Desktop Typography Defaults */
  --fs-display-home: 45px;
  --fs-display-sub: 41px;
  --fs-h2: 36px;
  --fs-h3: 20px;
  --fs-body: 15px;
  --fs-small: 16px;

  /* Desktop Spacing Defaults */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 60px;
  --spacing-xl: 55px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
}

/* Tablet Responsive Variables */
@media (max-width: 991.98px) {
  :root {
    --fs-display-home: 40px;
    --fs-display-sub: 38px;
    --fs-h2: 33px;
    --fs-h3: 19px;
    --fs-body: 14.5px;
    --fs-small: 15px;

    --spacing-md: 20px;
    --spacing-lg: 60px;
    --spacing-xl: 40px;
  }
}

/* Mobile Responsive Variables */
@media (max-width: 767.98px) {
  :root {
    --fs-display-home: 28px;
    --fs-display-sub: 26px;
    --fs-h2: 24px;
    --fs-h3: 17px;
    --fs-body: 14px;
    --fs-small: 15px;

    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 55px;
    --spacing-xl: 28px;
  }

}

/* --- Base Reset & General Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  color: var(--dark-slate);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-slate);
}

p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  font-family: var(--font-body);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

button,
.btn {
  font-family: var(--font-family);
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0 24px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  height: 48px;
  box-sizing: border-box;
}

/* Button overrides for precise colors */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 90, 169, 0.3);
}

/* --- Custom Fluid Spacing Helpers --- */
.section-padding {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.section-margin-bottom {
  margin-bottom: var(--spacing-lg);
}

.title-margin-bottom {
  margin-bottom: var(--spacing-md);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* --- Redesigned Modern Header Section --- */
:root {
  --header-bg-grey: #f5f6f8;
  --header-border-grey: #e9ebef;
}

/* Main Header Wrapper */
.main-header {
  position: relative;
  z-index: 1030;
  width: 100%;
  background-color: transparent;
}

/* Mobile Header & Mobile Top Bar */
.mobile-header {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.custom-navbar-mobile {
  height: 64px;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

/* --- Redesigned Desktop Header Layout --- */
.desktop-header-wrapper {
  display: block;
  width: 100%;
  position: relative;
}

.header-top-row-bg {
  background-color: var(--dark-slate);
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bottom-row-bg {
  background-color: var(--white);
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1020;
}

.logo-container-overlay .container {
  position: relative;
  height: 100%;
}

.logo-block-wrapper {
  background-color: var(--primary-blue);
  width: 240px;
  height: 122px; /* 42px top bar + 80px navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 12px; /* Align with Bootstrap container left gutter padding */
  top: 0;
  z-index: 1025;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 25px;
  pointer-events: auto;
}

.logo-block-wrapper .logo-img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: max-height 0.3s ease;
}

.header-top-bar {
  background-color: transparent;
  height: 42px;
  display: flex;
  align-items: center;
  padding-left: 260px; /* Offset to clear the logo block (240px width + 20px gap) */
  padding-right: 12px;
  font-size: 10px;
  box-sizing: border-box;
  width: 100%;
}

.header-top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.top-bar-info-list {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.top-bar-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.top-bar-info-item i {
  color: var(--primary-blue);
  font-size: 14px;
}

.top-bar-info-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.top-bar-info-item a:hover {
  color: var(--white);
}

.info-divider-line {
  color: rgba(255, 255, 255, 0.15);
}

.top-bar-links-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  transition: color 0.2s ease;
}

.top-bar-links a:hover {
  color: var(--white);
}

.top-bar-links span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.15);
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-socials .social-box {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  transition: all 0.3s ease;
}

.top-bar-socials .social-box:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

/* Custom Navbar */
.custom-navbar {
  background-color: transparent;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 260px !important; /* Offset to clear the logo block (240px width + 20px gap) */
  padding-right: 12px !important;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.custom-navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.custom-navbar .navbar-nav .nav-item {
  position: relative;
}

.custom-navbar .navbar-nav .nav-link {
  color: var(--dark-slate) !important;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 16px !important;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
}

.custom-navbar .navbar-nav .nav-link:hover::after,
.custom-navbar .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-search-btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: #f4f4f4;
  color: var(--dark-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.nav-search-btn-circle:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Sticky Header styling */
.main-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  animation: slideDown 0.3s ease-out;
}

.main-header.scrolled .header-top-row-bg {
  display: none !important;
}

.main-header.scrolled .header-bottom-row-bg {
  height: 70px;
  box-shadow: var(--shadow-md);
  border-bottom: none;
}

.main-header.scrolled .logo-block-wrapper {
  height: 70px;
  min-height: 70px;
  padding: 5px 20px;
}

.main-header.scrolled .logo-block-wrapper .logo-img {
  max-height: 40px;
}

.main-header.scrolled .custom-navbar {
  height: 70px;
  border-bottom: none;
  box-shadow: none;
}

.main-header.scrolled .custom-navbar-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background-color: var(--dark-slate);
  height: clamp(650px, 650px, 850px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Hero Background Swiper Slider */
.hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  z-index: 0;
}

/* Ken Burns Zoom Effect ONLY on active slide background */
.hero-swiper .swiper-slide-active .hero-bg-img {
  animation: kenBurnsZoom 6s ease-out forwards;
}

@keyframes kenBurnsZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

/* Hero overlay for centered content legibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.548) 0%, rgba(0, 0, 0, 0.137) 40%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
}

/* Modern Capsule Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 90, 169, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #38ef7d;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.hero-badge .pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #38ef7d;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero-badge span:last-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-blue-light);
  text-transform: uppercase;
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

@media (max-width: 1035px) {
  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 37px;
  }
}

@media (max-width: 786px) {
  .hero-title {
    font-size: 35px;
  }
}

@media (max-width: 570px) {
  .hero-title {
    font-size: 30px;
  }
}

/* Glowing text highlight */
.text-gradient {
  color: #4da3ff;
  font-weight: 800;
}

.hero-description {
  font-size: clamp(14.5px, 1.1vw, 17px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 620px;
}

/* Trust features list */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
}

.hero-feature-item i {
  color: #38ef7d;
  font-size: 14px;
}

/* Interactive CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-cta-buttons .btn {
  height: 52px;
  padding: 0 32px !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-buttons .btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.hero-cta-buttons .btn-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
}

.hero-cta-buttons .btn-primary i {
  transition: transform 0.3s ease;
}

.hero-cta-buttons .btn-primary:hover i {
  transform: translateX(5px);
}

.hero-cta-buttons .btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--white);
}

.hero-cta-buttons .btn-outline-light:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Inline Title Pill Image */
.hero-title-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 44px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  vertical-align: middle;
  margin: 0 6px;
  border: 2px solid var(--white);
}

.hero-title-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .hero-title-pill {
    width: 60px;
    height: 32px;
  }
}

/* Trusted Customers Section */
.hero-trusted-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-circle-custom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  margin-left: -12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  font-family: var(--font-headings);
  font-weight: 700;
}

.avatar-circle-custom:first-child {
  margin-left: 0;
}

.avatar-circle-custom.c-1 {
  background: linear-gradient(135deg, var(--primary-blue), #4da3ff);
}

.avatar-circle-custom.c-2 {
  background: linear-gradient(135deg, #e03b3b, #ff7e7e);
}

.avatar-circle-custom.c-3 {
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
}

.avatar-badge-custom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background-color: var(--dark-slate);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: -12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  font-family: var(--font-headings);
}

.trusted-text {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2px;
}

/* Slide Content Text Animations (Ken Burns Slider) */
.hero-swiper .swiper-slide .hero-badge,
.hero-swiper .swiper-slide .hero-title,
.hero-swiper .swiper-slide .hero-description,
.hero-swiper .swiper-slide .hero-cta-buttons,
.hero-swiper .swiper-slide .hero-trusted-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Fallback: show first slide's content before Swiper is initialized */
.hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-badge,
.hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-title,
.hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-description,
.hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-cta-buttons,
.hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-trusted-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.hero-swiper .swiper-slide-active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-swiper .swiper-slide-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-swiper .swiper-slide-active .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.hero-swiper .swiper-slide-active .hero-cta-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.0s;
}

.hero-swiper .swiper-slide-active .hero-trusted-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

/* Custom Swiper navigation for Hero */
.hero-swiper-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-swiper-btn:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(30, 90, 169, 0.4);
}

.hero-swiper-btn-prev {
  left: 30px;
}

.hero-swiper-btn-next {
  right: 30px;
}

/* Hide swiper navigation arrows on mobile/tablet */
@media (max-width: 991.98px) {
  .hero-swiper-btn {
    display: none !important;
  }
}

/* Custom Swiper pagination indicator at the bottom of hero */
.hero-swiper-pagination {
  position: absolute;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  width: auto !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary-blue);
  width: 30px;
  border-radius: 10px;
}


/* --- Stats Counter Section --- */
.stats-section {
  padding-top: 60px;
  position: relative;
  z-index: 5;
}

/* Stats Ticker Layout Styles */
.stats-ticker-container {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
  position: relative;
}

.stats-ticker-container::before,
.stats-ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.stats-ticker-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.stats-ticker-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.stats-ticker-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.stats-ticker-item {
  flex-shrink: 0;
  width: 270px;
}

.stats-ticker-item .stats-card {
  width: 100%;
  height: 100%;
}

.stats-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  height: 100%;
  min-height: 90px;
  background-color: #fcfcfc;
}

.stats-number {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: #1e5aa9;
  line-height: 1;
  white-space: nowrap;
}

.stats-text {
  font-size: var(--fs-small);
  color: var(--dark-slate);
  font-weight: 500;
  line-height: 1.3;
}

/* Card 3 (Qualified Technical Professionals) Specific Style - Centered Text, No Number */
.stats-card.text-only {
  text-align: center;
  flex-direction: column;
}

.stats-card.text-only .stats-text {
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark-slate);
}

@media (max-width: 575.98px) {
  .stats-card {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: var(--spacing-sm) var(--spacing-xs) !important;
    min-height: auto;
  }

  .stats-card.text-only {
    padding: var(--spacing-sm) var(--spacing-xs) !important;
  }

  .stats-number {
    font-size: 1.8rem;
  }

  .stats-text {
    font-size: 11px;
  }
}

/* --- About Section --- */
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--spacing-sm);
}

.about-title span {
  color: var(--primary-blue);
}

.about-text {
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
}

.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.about-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 12px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--dark-slate);
}


/* --- Services Section --- */
.services-section {
  background-color: var(--light-bg);
}

.services-title {
  font-size: var(--fs-h2);
  margin-bottom: 10px;
}

.services-title span {
  color: var(--primary-blue);
}

.services-subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
}

/* Service Card Styles */
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 250px;
  transition: all 0.4s ease;
  margin-bottom: var(--spacing-md);
  border: none;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.85) 100%);
  padding: var(--spacing-md);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.service-card-title {
  color: var(--white);
  font-size: clamp(0.95rem, 1.2vw + 0.45rem, 1.2rem);
  font-weight: 600;
  margin: 0;
  max-width: 75%;
  line-height: 1.35;
  text-decoration: none;
}

.service-card-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  font-size: 16px;
  flex-shrink: 0;
}

.service-card-btn i {
  transform: rotate(45deg);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}

/* Hover effects for service cards */
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  color: inherit;
  text-decoration: none;
}

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

.service-card:hover .service-card-btn {
  background-color: var(--primary-blue);
  color: var(--white);
}

.service-card:hover .service-card-btn i {
  transform: rotate(90deg);
}

/* Text-only block in service grid */
.service-text-block {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 250px;
  margin-bottom: var(--spacing-md);
}

.service-text-title {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-slate);
}

.service-text-p {
  font-size: clamp(0.8rem, 0.2vw + 0.75rem, 0.95rem);
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.service-text-block .btn {
  align-self: flex-start;
  font-size: var(--fs-body);
}


/* --- Ready CTA Banner Section --- */
.ready-section {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 29, 36, 0.85) 0%, rgba(30, 90, 169, 0.75) 100%), url('../assets/home/ctaimage.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  border-top: none;
  border-bottom: none;
  color: var(--white);
}

.ready-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ready-title {
  font-size: var(--fs-h2);
  margin-bottom: 8px;
  color: var(--white);
}

.ready-title span {
  color: #5ba2f4;
}

.ready-subtitle {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.ready-btn-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.ready-section .btn-primary {
  background-color: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--primary-blue) !important;
}

.ready-section .btn-primary:hover {
  background-color: var(--primary-blue-light) !important;
  border-color: var(--primary-blue-light) !important;
  color: var(--primary-blue-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* --- Footer --- */
.main-footer {
  background-color: var(--white);
  padding-top: var(--spacing-xl);
  padding-bottom: 0 !important;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--spacing-sm);
}

.footer-desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 80px;
}

.footer-heading {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--dark-slate);
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--fs-body);
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
}

.footer-contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info i {
  color: var(--primary-blue);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  margin-top: var(--spacing-lg);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.footer-social-links a {
  color: var(--text-muted);
  margin-left: 15px;
}

.footer-social-links a:hover {
  color: var(--primary-blue);
}

/* --- Responsiveness Adjustments --- */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 0;
    height: 690px;
    align-items: flex-start;
  }

  .hero-content {
    text-align: left;
    padding-top: 160px;
  }

  .hero-badge .pulse-dot {
    width: 5px;
    height: 5px;
  }

  .hero-description {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-form-card {
    margin: 0 auto;
  }

  .ready-section {
    background-attachment: scroll;
  }

  .ready-btn-container {
    justify-content: flex-start;
    margin-top: var(--spacing-md);
  }
}

@media (max-width: 767.98px) {
  .top-bar-item {
    font-size: 11px;
  }

  .stats-section {
    margin-top: var(--spacing-md);
    padding-top: 10px;
  }

  .stats-card {
    min-height: 80px;
    padding: var(--spacing-sm);
  }

  .service-card {
    height: 220px;
  }

  .service-text-block {
    height: auto;
    padding: var(--spacing-sm) 0;
  }

  .stats-ticker-item {
       flex-shrink: 0;
       width: 200px;
   }
}

/* --- Custom Mobile Drawer Menu Styles (Rooft Template design) --- */
.custom-burger-btn {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-blue) !important;
  border-radius: 4px;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
  z-index: 2005;
  outline: none !important;
  box-shadow: none !important;
  position: relative;
  transition: background-color 0.3s ease;
}

.custom-burger-btn:hover {
  background-color: var(--primary-blue-hover) !important;
}

.custom-burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white) !important;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-sidebar {
  position: absolute;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background-color: var(--dark-slate);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  padding: 35px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2001;
}

.mobile-menu-overlay.active .mobile-menu-sidebar {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.sidebar-logo img {
      height: 33px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sidebar-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.sidebar-close-btn:hover {
  color: var(--white);
}

.sidebar-menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-direction: column;
}

.sidebar-menu-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.sidebar-menu-links a .link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.sidebar-menu-links a:hover,
.sidebar-menu-links a.active {
  color: var(--primary-blue) !important;
  padding-left: 5px;
}

.sidebar-menu-links a:hover .link-arrow,
.sidebar-menu-links a.active .link-arrow {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: rgba(30, 90, 169, 0.1);
}

.sidebar-contact-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-contact-info .contact-title {
  font-family: var(--font-headings);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item .contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background-color: var(--primary-blue-hover);
  transform: scale(1.05);
}

.contact-item .contact-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}

.contact-item .contact-text span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item .contact-text a,
.contact-item .contact-text span:last-child {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.contact-item .contact-text a:hover {
  color: var(--primary-blue);
}



/* --- Lenis Smooth Scroll Recommended Styles --- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}



/* --- Subpage Hero Banner --- */
.subpage-hero {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: clamp(60px, 6vw + 20px, 90px) 0;
  color: var(--white);
  text-align: center;
}

.subpage-hero-title {
  font-size: var(--fs-display-sub);
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.subpage-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  margin-top: 10px;
}

.subpage-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.subpage-hero .breadcrumb a:hover {
  color: var(--white);
}

.subpage-hero .breadcrumb span {
  color: var(--white);
}

/* --- Vision & Mission Cards --- */
.info-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.info-card-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
}

.info-card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 12px;
}

/* --- Values Grid / Icons --- */
.value-card {
  text-align: center;
  padding: var(--spacing-md) var(--spacing-sm);
  border-radius: var(--radius-md);
  background-color: var(--light-bg);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.value-card:hover {
  background-color: var(--white);
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-card-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
}

.value-card-title {
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card-text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Detailed Services Page --- */
.service-detail-row {
  margin-bottom: var(--spacing-xl);
}

.service-detail-row:last-child {
  margin-bottom: 0;
}

.service-detail-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 280px;
  width: 100%;
}

@media (min-width: 768px) {
  .service-detail-img-wrapper {
    height: 100%;
  }
}

.service-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-num {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-blue-light);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.service-detail-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.service-detail-text {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.service-detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--dark-slate);
}

.service-detail-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-blue);
}

/* --- Contact Page Specific Styles --- */
.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.contact-info-title {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-slate);
}

.contact-info-text {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-info-text a {
  color: var(--dark-slate);
  font-weight: 600;
}

.contact-info-text a:hover {
  color: var(--primary-blue);
}

/* Contact Form Styling */
.contact-form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-md);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: var(--spacing-lg);
  }
}

.contact-form-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-slate);
}

.contact-form-subtitle {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin-bottom: var(--spacing-md);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--dark-slate);
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: var(--fs-body);
  border: 1px solid var(--border-color);
  background-color: #f8f9fa;
  color: var(--dark-slate);
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background-color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 169, 0.15);
  outline: none;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Map Styling */
.contact-map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 450px;
  width: 100%;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Project Gallery Section --- */
.gallery-section {
  background-color: var(--white);
}

.gallery-title {
  font-size: var(--fs-h2);
  margin-bottom: 10px;
}

.gallery-title span {
  color: var(--primary-blue);
}

.gallery-subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 400;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  background-color: var(--white);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.1) 40%, rgba(24, 29, 36, 0.9) 100%);
  padding: var(--spacing-md);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-content {
  width: 100%;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-category {
  font-size: var(--fs-small);
  color: #5ba2f4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.gallery-card-title {
  color: var(--white);
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.gallery-location {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-location i {
  color: #5ba2f4;
}

/* Hover States */
.gallery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

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

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-content {
  transform: translateY(0);
}

/* --- Swiper Custom Styles --- */
.project-swiper {
  padding: 15px 0 50px 0;
  /* bottom padding for pagination dots, top/bottom to prevent shadow clipping */
}

/* Custom Arrows container and layout */
.project-slider-wrapper .swiper-button-prev,
.project-slider-wrapper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

/* Hide Swiper default chevron icon */
.project-slider-wrapper .swiper-button-prev::after,
.project-slider-wrapper .swiper-button-next::after {
  display: none !important;
}

.project-slider-wrapper .swiper-button-prev i,
.project-slider-wrapper .swiper-button-next i {
  font-size: 16px;
  font-weight: 900;
}

/* Position Arrows outside the slider container on desktop */
.project-slider-wrapper .swiper-button-prev {
  left: -23px;
}

.project-slider-wrapper .swiper-button-next {
  right: -23px;
}

/* Hover States - scale to preserve translateY centering */
.project-slider-wrapper .swiper-button-prev:hover,
.project-slider-wrapper .swiper-button-next:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(30, 90, 169, 0.25);
}

/* Pagination Dots */
.project-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--text-muted);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.project-swiper .swiper-pagination-bullet-active {
  background-color: var(--primary-blue);
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* Slide Spacing Adjustments */
.project-swiper .swiper-slide {
  height: auto;
  /* Ensure slides stretch fully */
  padding: 10px 0;
  /* Add top/bottom padding so card hover shadows are not clipped */
}

/* Reposition arrows inside container on medium/tablet screens */
@media (max-width: 1199.98px) {
  .project-slider-wrapper .swiper-button-prev {
    left: 10px;
  }

  .project-slider-wrapper .swiper-button-next {
    right: 10px;
  }
}

/* Hide navigation arrows on small mobile screens */
@media (max-width: 767.98px) {

  .project-slider-wrapper .swiper-button-prev,
  .project-slider-wrapper .swiper-button-next {
    display: none !important;
  }

  .project-swiper {
    padding-bottom: 40px;
    padding-top: 0;
  }

  .mobile-top-bar {
    background-color: var(--dark-slate) !important;
    gap: 20px;
    padding: 6px 15px !important;
  }

  .mobile-top-bar i {
    color: var(--primary-blue) !important;
  }

  .mobile-top-bar a,
  .mobile-top-bar span {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 11.5px;
    font-weight: 500;
  }

  .mobile-top-bar a:hover {
    color: var(--white) !important;
  }

  /* Always show gallery card details without hover on mobile */
  .gallery-card .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(24, 29, 36, 0.2) 30%, rgba(24, 29, 36, 0.85) 100%);
  }

  .gallery-card .gallery-content {
    transform: translateY(0);
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.322) 0%, rgba(0, 1, 2, 0.322) 40%, rgba(0, 0, 0, 0.075) 100%);
    z-index: 1;
  }

  .footer-logo {
    height: 30px;
  }

}

/* --- Floating Action Buttons (Call & WhatsApp) --- */
.floating-actions {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.float-btn.float-call {
  background-color: var(--primary-blue);
}

.float-btn.float-whatsapp {
  background-color: #25d366;
  /* WhatsApp Green */
}

.float-btn.float-tiktok {
  background-color: #010101;
  /* TikTok Black */
}

/* Custom soundwaves tilt animation on the call handset */
.float-btn.float-call i {
  transform: rotate(-10deg);
}

/* Responsive adjustments for smaller mobile displays */
@media (max-width: 575.98px) {
  .floating-actions {
    bottom: 40px;
    left: 20px;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

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

  

  .pdng {
    padding-top: 50px;
  }
}

/* --- Back To Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(30, 90, 169, 0.3);
  color: var(--white);
}

/* Responsive adjustment for mobile displays */
@media (max-width: 575.98px) {
  .back-to-top {
    bottom: 40px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .footer-desc {
    padding-right: 0 !important;
  }


}


@media (min-width: 1650px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1600px;
    }
  }

/* ==========================================================================
   ROOFT TEMPLATE REDESIGN STYLE ADDITIONS (PRELOADER, CURSOR, ANIMATIONS)
   ========================================================================== */

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader {
  width: 60px;
  height: 60px;
  position: relative;
}
.preloader span {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-blue);
  opacity: 0.6;
  animation: preloader-anim 2s infinite ease-in-out;
}
.preloader span:nth-child(2) {
  animation-delay: -1s;
}
@keyframes preloader-anim {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/* --- Magic Cursor Follower --- */
#magic-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  z-index: 10000;
  left: -50px;
  top: -50px;
}
#magic-cursor.hovering {
  width: 45px;
  height: 45px;
  background-color: rgba(30, 90, 169, 0.12);
  border-color: transparent;
}
@media (max-width: 991.98px) {
  #magic-cursor {
    display: none;
  }
}
@media (min-width: 992px) {
  /* Keep default cursor visible alongside custom magic-cursor */
  body.it-magic-cursor {
    /* cursor: none; */
  }
  body.it-magic-cursor a,
  body.it-magic-cursor button,
  body.it-magic-cursor .btn,
  body.it-magic-cursor select,
  body.it-magic-cursor input,
  body.it-magic-cursor textarea {
    /* cursor: none; */
  }
}

/* --- Entrance Reveals & Clip Reveals --- */
.wow.itfadeUp {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.wow.itfadeUp.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.it-img-anim-wrap {
  position: relative;
  overflow: hidden;
}
.it-img-anim-wrap img {
  transform: scale(1.1);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.it-img-anim-wrap.animated img {
  transform: scale(1);
}
.it-img-anim-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-blue-light);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 2;
}
.it-img-anim-wrap.animated::after {
  transform: scaleY(0);
}

/* --- Custom Slide Button (.it-btn-theme) --- */
.it-btn-theme {
  display: inline-flex;
  align-items: center;
      justify-content: space-between;
  gap: 12px;
  background-color: var(--primary-blue);
  color: var(--white) !important;
  padding: 0 35px;
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  position: relative;
  overflow: hidden;
  height: 54px;
  z-index: 1;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: capitalize;
  width: fit-content !important;
}
.it-btn-theme span {
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.it-btn-theme span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--white);
}
.it-btn-theme:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 90, 169, 0.3);
}
.it-btn-theme:hover span {
  transform: translateY(-100%);
}
.it-btn-theme i {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.it-btn-theme:hover i {
  transform: translateX(5px);
}