/**
* Zanokuhle Environmental Services - Modern Website
* Customized for environmental consulting firm
*/

/*--------------------------------------------------------------
# Font & Color Variables - ZES Branding
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Poppins", "Montserrat", sans-serif;
  --nav-font: "Inter", "Raleway", sans-serif;
}

/* Global Colors - ZES Green & Earth tones */
:root { 
  --background-color: #ffffff;
  --default-color: #2C3E50; /* Dark slate for text - professional contrast */
  --heading-color: #1A2B3C; /* Deeper navy for headings */
  --accent-color: #4A90E2; /* Sky blue - your logo color */
  --accent-gradient: linear-gradient(135deg, #177ff7 0%, #618dbe 100%);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --glass-background: rgba(74, 144, 226, 0.1);
  --glass-border: rgba(74, 144, 226, 0.2);
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(255, 255, 255, 0.9);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #2C3E50; /* Matching default text */
  --nav-dropdown-hover-color: #4A90E2; /* Your sky blue */
}

/* Light Background */
.light-background {
  --background-color: #F8FAFC; /* Soft, clean off-white */
  --surface-color: #ffffff;
  --default-color: #2C3E50;
  --heading-color: #1A2B3C;
}

/* Dark Background */
.dark-background {
  --background-color: #1A2B3C; /* Deep navy from logo gradient */
  --default-color: #F8FAFC;
  --heading-color: #ffffff;
  --surface-color: #2C3E50;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.7;
  font-weight: 400;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Glassmorphism Effect */
.glass-effect {
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Modern Card Style */
.modern-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px -20px rgba(74, 144, 226, 0.3);
  border-color: rgba(74, 144, 226, 0.3);
}

/* Contact Form Messages (hidden until JS reveals them) */
.contact-form .error-message,
.contact-form .sent-message,
.contact-form .loading {
  display: none;
}

.contact-form .error-message {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 500;
  border-radius: 12px;
}

.contact-form .sent-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 500;
  border-radius: 12px;
}

.contact-form .loading {
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 12px;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(15, 23, 42, 0.1);
  --heading-color: #ffffff;
  color: var(--default-color);
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 0;
  transition: all 0.3s ease;
  z-index: 997;
}

.scrolled .header {
  --background-color: rgba(15, 23, 42, 0.9);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

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

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/*--------------------------------------------------------------
# Navigation Menu - Modern
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation Menu - Modern (FIXED MOBILE VERSION)
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 992px) {
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: #ffffff;
    background: rgba(39, 119, 240, 0.54);
    border-radius: 30px;
  }
}

/* Mobile Navigation - SIMPLIFIED */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(39, 119, 240, 0.54);
    border-radius: 50%;
    z-index: 9999;
    position: relative;
    transition: all 0.3s ease;
  }

  .mobile-nav-toggle:hover {
    background: rgba(39, 119, 240, 0.54);
  }

  .navmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .navmenu.active {
    opacity: 1;
    visibility: visible;
  }

  .navmenu ul {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

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

  .navmenu li {
    width: 100%;
    margin: 0;
  }

  .navmenu a {
    color: #101110;
    padding: 15px 25px;
    display: block;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(46, 139, 86, 0.1);
    transition: all 0.3s ease;
  }

  .navmenu li:last-child a {
    border-bottom: none;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: #121214;
    background: rgba(11, 88, 255, 0.1);
    padding-left: 35px;
  }

  body.mobile-nav-active {
    overflow: hidden;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .navmenu ul {
    top: 70px;
    left: 15px;
    right: 15px;
    padding: 15px 0;
  }

  .navmenu a {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Global Footer - Modern
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  font-size: 15px;
  position: relative;
  border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.footer .footer-top {
  padding-top: 70px;
  padding-bottom: 40px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 45px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.footer .footer-about .logo:hover img {
  transform: scale(1.05);
}

.footer .footer-about .logo span {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: var(--heading-font);
  background: linear-gradient(135deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer .footer-about p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.8;
}

.footer .social-links a {
  color: #ffffff;
  background: rgba(22, 73, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(24, 149, 233, 0.3);
}

.footer .social-links a:hover {
  color: #ffffff;
  background: var(--accent-gradient);
  transform: translateY(-3px);
  border-color: transparent;
}

.footer h4 {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  color: #ffffff;
}

.footer h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
}

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

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: #cbd5e1;
  display: inline-block;
  line-height: 1;
  transition: all 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: #19a1f0;
  transform: translateX(5px);
}

.footer .footer-contact p {
  margin-bottom: 8px;
  color: #cbd5e1;
}

.footer .footer-contact strong {
  color: #3370f5;
  font-weight: 600;
}

.footer .footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer .footer-contact a:hover {
  color: #93c5fd;
}

.footer .copyright {
  border-top: 1px solid rgba(74, 144, 226, 0.2);
  margin-top: 20px;
  padding: 25px 0;
  color: #94a3b8;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
  color: #94a3b8;
}

.footer .credits a {
  color: #4A90E2;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 4px solid rgba(74, 144, 226, 0.1);
  border-top-color: #4A90E2;
  border-right-color: #ec4899;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 25px;
  bottom: 25px;
  z-index: 99999;
  background: var(--accent-gradient);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -5px rgba(74, 144, 226, 0.5);
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -5px rgba(74, 144, 226, 0.6);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title:before {
  content: "";
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(74, 144, 226, 0.7));
  position: absolute;
  inset: 0;
}

.page-title .container {
  position: relative;
  z-index: 2;
}

.page-title h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.page-title .breadcrumbs ol li {
  color: rgba(255, 255, 255, 0.8);
}

.page-title .breadcrumbs ol li a {
  color: #ffffff;
  font-weight: 500;
}

.page-title .breadcrumbs ol li a:hover {
  color: #4A90E2;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.5);
}

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

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 80px 0;
  scroll-margin-top: 100px;
  overflow: clip;
  position: relative;
}

.section.with-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 4px;
}

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Hero Section - Modern
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(74, 144, 226, 0.6));
  z-index: 2;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: zoomIn 20s ease infinite alternate;
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

.hero blockquote {
  color: rgba(255, 255, 255, 0.9);
  padding-left: 25px;
  border-left: 4px solid #4A90E2;
  margin: 40px 0;
  font-size: 1.2rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn-get-started {
  color: #ffffff;
  background: var(--accent-gradient);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 10px 30px -5px rgba(74, 144, 226, 0.5);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(74, 144, 226, 0.7);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: all 0.3s ease;
  margin-left: 25px;
  color: #ffffff;
  font-weight: 500;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn-watch-video i {
  color: #ffffff;
  font-size: 40px;
  transition: 0.3s;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.hero .btn-watch-video:hover i {
  background: #4A90E2;
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Why Us Section - Modern
--------------------------------------------------------------*/
.why-us {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.why-us .img-bg {
  min-height: 600px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
}

.why-us .img-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-us .img-bg:hover img {
  transform: scale(1.05);
}

.why-us .slides {
  background: var(--surface-color);
  border-radius: 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.why-us h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-us h4 {
  font-size: 20px;
  font-weight: 400;
  color: var(--default-color);
  margin-bottom: 20px;
}

.why-us p {
  font-size: 16px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.why-us .swiper {
  margin: 60px;
  overflow: hidden;
}

.why-us .swiper-button-prev,
.why-us .swiper-button-next {
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  border-radius: 50%;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.why-us .swiper-button-prev:hover,
.why-us .swiper-button-next:hover {
  background: var(--accent-color);
  color: white;
}

.why-us .swiper-button-prev:after,
.why-us .swiper-button-next:after {
  font-size: 20px;
  color: var(--default-color);
}

.why-us .swiper-button-prev:hover:after,
.why-us .swiper-button-next:hover:after {
  color: white;
}

.why-us .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s ease;
}

.why-us .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background: var(--accent-gradient);
}

/*--------------------------------------------------------------
# Services Section - Modern
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  height: 100%;
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(74, 144, 226, 0.3);
  border-color: rgba(74, 144, 226, 0.3);
}

.services .service-item .icon {
  margin-bottom: 30px;
}

.services .service-item .icon i {
  font-size: 60px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.services .service-item:hover .icon i {
  transform: scale(1.1) rotate(5deg);
}

.services .service-item .title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item .description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  line-height: 1.7;
}

.services .service-item .readmore {
  display: flex;
  align-items: center;
  color: var(--accent-color);
  transition: 0.3s;
  font-weight: 600;
  font-size: 15px;
}

.services .service-item .readmore i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.services .service-item:hover .readmore i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Call To Action Section - Modern
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.call-to-action img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(74, 144, 226, 0.8));
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.call-to-action p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.call-to-action .cta-btn {
  background: #ffffff;
  color: #4A90E2;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 15px 50px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(74, 144, 226, 0.5);
}

/*--------------------------------------------------------------
# Features Section - Modern
--------------------------------------------------------------*/
.features {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.features h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.features h3:first-of-type {
  color: var(--heading-color);
}

.features h3:last-of-type {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features .icon-list {
  margin-bottom: 25px;
  padding: 15px 20px;
  background: var(--surface-color);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.features .icon-list:hover {
  transform: translateX(10px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px -10px rgba(74, 144, 226, 0.2);
}

.features .icon-list i {
  margin-right: 15px;
  font-size: 28px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features .icon-list span {
  font-size: 16px;
  font-weight: 500;
  color: var(--default-color);
}

.features .phone-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.features .details {
  margin-top: 80px;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 50px;
}

.features .details h4 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.features .details p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.features .details .btn-get-started {
  color: #ffffff;
  background: var(--accent-gradient);
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
}

.features .details .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(74, 144, 226, 0.5);
}

/*--------------------------------------------------------------
# Recent Posts Section - Modern
--------------------------------------------------------------*/
.recent-posts .post-box {
  background: var(--surface-color);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.recent-posts .post-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(74, 144, 226, 0.3);
  border-color: rgba(74, 144, 226, 0.3);
}

.recent-posts .post-box .post-img {
  overflow: hidden;
  height: 250px;
}

.recent-posts .post-box .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recent-posts .post-box:hover .post-img img {
  transform: scale(1.1);
}

.recent-posts .post-box .meta {
  padding: 25px 25px 0;
}

.recent-posts .post-box .post-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
}

.recent-posts .post-box .post-author {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-box .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  margin: 15px 25px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-posts .post-box:hover .post-title {
  color: var(--accent-color);
}

.recent-posts .post-box p {
  margin: 0 25px 25px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
}

.recent-posts .post-box .readmore {
  display: flex;
  align-items: center;
  padding: 15px 25px 25px;
  font-weight: 600;
  color: var(--accent-color);
  border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.recent-posts .post-box .readmore i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.recent-posts .post-box:hover .readmore i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# About Section - Modern
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about .content p {
  margin: 30px 0;
  font-size: 16px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 12px 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.about .content ul i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 15px;
  background: rgba(74, 144, 226, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.about img {
  border-radius: 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.about img:hover {
  transform: scale(1.02);
}

/*--------------------------------------------------------------
# Service Cards Section - Modern
--------------------------------------------------------------*/
.service-cards .card-item {
  background: var(--surface-color);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.service-cards .card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(74, 144, 226, 0.3);
  border-color: rgba(74, 144, 226, 0.3);
}

.service-cards .card-item .card-bg {
  height: 300px;
  overflow: hidden;
}

.service-cards .card-item .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-cards .card-item:hover .card-bg img {
  transform: scale(1.1);
}

.service-cards .card-item .card-body {
  padding: 30px;
}

.service-cards .card-item h4 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.service-cards .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# Testimonials Section - Modern
--------------------------------------------------------------*/
.testimonials {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.testimonials .testimonial-item {
  background: var(--surface-color);
  border-radius: 30px;
  padding: 40px;
  margin: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px rgba(74, 144, 226, 0.3);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 20px;
}

.testimonials .testimonial-item .stars i {
  color: #fbbf24;
  font-size: 18px;
  margin: 0 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 25px;
}

.testimonials .testimonial-item .profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background: var(--accent-gradient);
}

/*--------------------------------------------------------------
# Service Details Section - Modern
--------------------------------------------------------------*/
.service-details .service-box {
  background: var(--surface-color);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.service-details .service-box h4 {
  font-size: 22px;
  font-weight: 700;
  border-bottom: 2px solid rgba(74, 144, 226, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.service-details .services-list a {
  color: var(--default-color);
  background: rgba(74, 144, 226, 0.05);
  display: flex;
  align-items: center;
  padding: 15px 20px;
  margin-top: 10px;
  transition: all 0.3s ease;
  border-radius: 15px;
  font-weight: 500;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 18px;
  margin-right: 12px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.service-details .services-list a:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: translateX(5px);
}

.service-details .services-list a:hover i {
  color: #ffffff;
  transform: translateX(3px);
}

.service-details .services-list a.active {
  background: var(--accent-gradient);
  color: #ffffff;
}

.service-details .services-list a.active i {
  color: #ffffff;
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.service-details .download-catalog a:last-child {
  border-bottom: none;
}

.service-details .download-catalog a i {
  font-size: 28px;
  margin-right: 15px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
  padding-left: 10px;
}

.service-details .download-catalog a:hover i {
  transform: scale(1.1);
}

.service-details .help-box {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 30px;
  text-align: center;
}

.service-details .help-box .help-icon {
  font-size: 60px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.service-details .help-box h4 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 15px;
  border-bottom: none;
}

.service-details .help-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.service-details .help-box a {
  color: #ffffff;
  font-weight: 600;
}

.service-details .services-img {
  border-radius: 30px;
  margin-bottom: 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
}

.service-details h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.service-details ul i {
  font-size: 22px;
  margin-right: 15px;
  color: var(--accent-color);
  background: rgba(74, 144, 226, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Portfolio Section - Modern
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 40px auto;
  list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.3s ease;
  border-radius: 50px;
  background: var(--surface-color);
  color: var(--default-color);
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px rgba(74, 144, 226, 0.3);
}

.portfolio .portfolio-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio .portfolio-item .portfolio-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), #4A90E2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio .portfolio-item .portfolio-info h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.portfolio .portfolio-item:hover .portfolio-info h4 {
  transform: translateY(0);
}

.portfolio .portfolio-item .portfolio-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.2s;
}

.portfolio .portfolio-item:hover .portfolio-info p {
  transform: translateY(0);
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  color: #ffffff;
  font-size: 28px;
  margin-right: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: inline-block;
}

.portfolio .portfolio-item .portfolio-info .preview-link {
  transition-delay: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  transition-delay: 0.4s;
}

.portfolio .portfolio-item:hover .portfolio-info .preview-link,
.portfolio .portfolio-item:hover .portfolio-info .details-link {
  opacity: 1;
  transform: translateY(0);
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  transform: translateY(-3px);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section - Modern
--------------------------------------------------------------*/
.team .team-member {
  background: var(--surface-color);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px #4A90E2;
  border-color: #4A90E2;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.team .team-member .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .team-member:hover .member-img img {
  transform: scale(1.1);
}

.team .team-member .social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  transition: all 0.3s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px 0 20px;
}

.team .team-member:hover .social {
  bottom: 0;
}

.team .team-member .social a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.team .team-member .social a:hover {
  background: var(--accent-gradient);
  transform: translateY(-3px);
}

.team .team-member .member-info {
  padding: 30px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--heading-color);
}

.team .team-member .member-info span {
  display: block;
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Contact Section - Modern
--------------------------------------------------------------*/
.contact {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact .info-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px #4A90E2;
  border-color: #4A90E2;
}

.contact .info-item i {
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.contact .info-item:hover i {
  transform: rotate(5deg) scale(1.1);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.contact .info-item p {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--default-color);
}

.contact .contact-form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.1);
  height: 100%;
}

.contact .contact-form .form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.contact .contact-form .form-subtitle {
  color: var(--default-color);
  font-size: 15px;
  margin-bottom: 28px;
}

.contact .contact-form input,
.contact .contact-form textarea {
  border: 2px solid rgba(74, 144, 226, 0.1);
  padding: 15px 20px;
  border-radius: 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--surface-color);
  color: var(--default-color);
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.contact .contact-form button[type=submit] {
  color: #ffffff;
  background: var(--accent-gradient);
  border: none;
  padding: 15px 45px;
  transition: all 0.3s ease;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.contact .contact-form button[type=submit]:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px #4A90E2;
}

/* Clickable contact details */
.contact .info-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-word;
}

.contact .info-item a:hover {
  color: #4A90E2;
}

/* Compact, consistent info cards */
.contact .info-item {
  display: flex;
  align-items: flex-start;
}

.contact .info-item i {
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .contact .info-item {
    padding: 22px;
    border-radius: 22px;
  }

  .contact .info-item i {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-right: 15px;
  }

  .contact .info-item h3 {
    font-size: 17px;
  }

  .contact .contact-form {
    padding: 24px;
    border-radius: 22px;
  }
}

/*--------------------------------------------------------------
# Blog Posts Section - Modern
--------------------------------------------------------------*/
.blog-posts article {
  background: var(--surface-color);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.blog-posts article:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px #4A90E2;
  border-color: #4A90E2;
}

.blog-posts .post-img {
  height: 250px;
  overflow: hidden;
}

.blog-posts .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-posts article:hover .post-img img {
  transform: scale(1.1);
}

.blog-posts .post-category {
  display: inline-block;
  background: rgba(74, 144, 226, 0.1);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin: 20px 20px 0;
}

.blog-posts .title {
  font-size: 22px;
  font-weight: 700;
  padding: 15px 20px;
  margin: 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Widgets - Modern
--------------------------------------------------------------*/
.widgets-container {
  background: var(--surface-color);
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 15px;
  margin-bottom: 25px;
  position: relative;
}

.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
}

.search-widget form {
  position: relative;
}

.search-widget form input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(74, 144, 226, 0.1);
  border-radius: 50px;
  background: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.search-widget form input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.search-widget form button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 25px;
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-widget form button:hover {
  background: var(--accent-color);
}

.categories-widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.categories-widget ul li:last-child {
  border-bottom: none;
}

.categories-widget ul a {
  color: var(--default-color);
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
  padding-left: 10px;
}

.recent-posts-widget .post-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-widget .post-item img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.tags-widget ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-widget ul li a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(74, 144, 226, 0.1);
  color: var(--default-color);
  border-radius: 50px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.tags-widget ul li a:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Animation Classes */
.fade-up {
  animation: fadeUp 0.6s ease both;
}

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

.zoom-in {
  animation: zoomIn 0.5s ease both;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 32px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero blockquote {
    font-size: 1rem;
  }
  
  .why-us .swiper {
    margin: 20px;
  }
  
  .features h3 {
    font-size: 28px;
  }
  
  .features .details h4 {
    font-size: 28px;
  }
  
  .page-title h1 {
    font-size: 36px;
  }
  
  .contact .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero .btn-get-started,
  .hero .btn-watch-video {
    display: block;
    margin: 10px 0;
    width: 100%;
  }
  
  .hero .btn-watch-video {
    margin-left: 0;
  }
  
  .service-item {
    padding: 30px 20px;
  }
}

/*--------------------------------------------------------------
# ZES Logo Styling
--------------------------------------------------------------*/
.logo-container {
  display: flex;
  align-items: center;
}

.logo-text-large {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1;
}

.tagline {
  font-family: 'Inter', sans-serif;
  border-left: 2px solid rgba(46, 139, 86, 0.3);
  padding-left: 12px;
}

.tagline span:first-child {
  font-weight: 700;
  letter-spacing: 1px;
}

.tagline span:last-child {
  font-size: 11px;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Dark background version for hero section if needed */
.dark-background .tagline span:first-child {
  color: #ffffff !important;
}

.dark-background .tagline span:last-child {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tagline {
    display: none !important;
  }
  
  .vr {
    display: none !important;
  }
  
  .logo-text-large {
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .logo-container {
    max-width: 200px;
  }
}

/*--------------------------------------------------------------
# About Section - Experience Badge
--------------------------------------------------------------*/
.about .experience-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 139, 86, 0.2);
  min-width: 180px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.about .experience-badge:hover {
  transform: translateY(15px);
}

.about .experience-badge .years {
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #4A90E2 0%, #177ff7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about .experience-badge .text {
  line-height: 1.3;
}

.about .experience-badge .text .small {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.about .experience-badge .text .fw-bold {
  font-size: 1.1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about .experience-badge {
    min-width: 150px;
    padding: 0.75rem !important;
    margin: 1rem !important;
  }
  
  .about .experience-badge .years {
    font-size: 2rem;
  }
  
  .about .experience-badge .text .fw-bold {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Consultation Section - Balanced Design
--------------------------------------------------------------*/
.consultation {
  background: var(--background-color);
}

/* Profile Card */
.consultation-profile-card {
  background: var(--surface-color);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(46, 139, 86, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.consultation-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px rgba(46, 139, 86, 0.3);
  border-color: rgba(46, 139, 86, 0.3);
}

.profile-image-wrapper {
  position: relative;
  background: linear-gradient(135deg, #4b6583 0%, #4ea2e6 100%);
  padding: 40px 40px 30px 40px;
  text-align: center;
}

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

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.profile-badge {
  position: absolute;
  bottom: 0;
  right: 0;
}

.profile-badge .badge {
  background: white;
  color: #f9faf9;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-content {
  padding: 30px;
  text-align: center;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.profile-title {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.profile-quote {
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(46, 139, 86, 0.1);
}

.profile-contact {
  background: rgba(46, 139, 86, 0.05);
  padding: 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: rgba(46, 139, 86, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.contact-icon i {
  color: #2e698b;
  font-size: 16px;
}

/* Right Card Enhancements */
.feature-block {
  background: rgba(46, 139, 86, 0.03);
  padding: 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-block:hover {
  background: rgba(46, 139, 86, 0.08);
  transform: translateY(-3px);
}

.testimonial-quote {
  position: relative;
  border-left: 4px solid #4A90E2;
}

.testimonial-quote .bi-quote {
  position: absolute;
  top: 10px;
  right: 15px;
  opacity: 0.2;
}

.small-line {
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  margin-right: 10px;
}

.booking-benefits {
  justify-content: center;
}

.benefit-item {
  font-size: 13px;
  color: var(--default-color);
  background: rgba(46, 139, 86, 0.05);
  padding: 5px 12px;
  border-radius: 50px;
}

@media (max-width: 991px) {
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .profile-image-wrapper {
    padding: 30px 30px 20px 30px;
  }
}

@media (max-width: 576px) {
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .profile-content {
    padding: 20px;
  }
  
  .feature-block {
    padding: 15px;
  }
}

//*--------------------------------------------------------------
# Hero Section with Zoom Animation
--------------------------------------------------------------*/
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
  overflow: hidden;
}

.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slideshow .slide-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: inherit;
  transform: scale(1);
  animation: zoomOut 2s ease-in-out forwards;
}

.hero-slideshow .slide.active .slide-zoom {
  animation: zoomIn 2s ease-in-out forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 36, 40, 0.85) 0%, rgba(232, 233, 240, 0.75) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Slideshow Dots */
.slideshow-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

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

.slideshow-dots .dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.slideshow-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Pause animations on hover */
.hero:hover .slide-zoom {
  animation-play-state: none;
}

/* Responsive */
@media (max-width: 768px) {
  .slideshow-dots {
    bottom: 20px;
  }
  
  .slideshow-dots .dot {
    width: 10px;
    height: 10px;
  }
}
/* Enhanced Text Justification */
.text-justify {
  text-align: justify;
  text-justify: inter-word; /* Distributes space between words, not characters */
  
  /* Hyphenation is the key to fixing large gaps */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  
  /* Fine-tuning the spacing */
  word-break: break-word; /* Prevents long words from pushing to next line */
  line-break: relaxed;
  
  /* Optional: Slight letter spacing can help "fill" lines more naturally */
  letter-spacing: -0.01em; 
}

/* Ensure parents don't restrict the flow */
.content {
  overflow-wrap: break-word;
}

/* Ensure consistent spacing in ticks section */
.about .row.g-3 {
  --bs-gutter-y: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-justify {
    text-align: left;
  }
}