
/* Fonts */
/* Global Colors */
:root { 
  --background-color: #eef1f5; /* Soft light gray for a polished look */
  --default-color: #444444; /* Standard dark gray for text */
  --heading-color: #364F6B; /* Slate Blue for a calm and modern look */
  --accent-color: #B0BEC5; /* Silver-gray accent for a refined feel */
  --surface-color: #ffffff; /* White for contrast */
  --contrast-color: #ffffff; /* White contrast text */
}

/* Nav Menu Colors */
:root {
  --nav-color: #364F6B;  /* Slate Blue for a serious corporate tone */
  --nav-hover-color: #B0BEC5; /* Silver-gray hover for a smooth transition */
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #364F6B; 
  --nav-dropdown-hover-color: #B0BEC5;
}

/* Color Presets */
.light-background {
  --background-color: #E3EAF2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #242933;
  --default-color: #ffffff;
  --heading-color: #B0BEC5;
  --surface-color: #323A46;
  --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);
}
@media screen and (min-width:991px){
body{
  font-size:1.1em;
}
}
@media screen and (min-width:1300px){
  body{
    font-size:1.4em;
  }
  }

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-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: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 800;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
  font-size: clamp(1rem, 2vw, 1.5rem); /* Responsive font size */
}

.header .logo img {
  max-height: clamp(24px, 5vw, 36px); /* Responsive image height */
  margin-right: clamp(4px, 1vw, 8px); /* Responsive spacing */
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

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

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

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 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: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  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: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s 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: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

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

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

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

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Hero Section */
.hero {
  width: 100%;
  /* min-height: calc(100vh - 112px);  */
  min-height: 100vh; /* Full viewport height */
  padding-top: 112px; /* Ensures content never goes under navbar */
  /* padding: 80px 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}


/* Swiper container */
.swiper3 {
  width: 100%; /* Inherit from .hero */
  height: 100%; /* Inherit from .hero */
  position: absolute; /* Fill the hero section */
  top: 0;
  left: 0;
  margin: 0; /* Remove auto margin */
}

/* Swiper slides */
.swiper3 .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  width: 100%;
  height: 100%; /* Full height of swiper/hero */
  position: relative;
  z-index: 1;
}

/* Slide image */
.swiper3 .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the full slide */
  z-index: 2;
}

/* Slide overlay */
.swiper3 .swiper-slide .swiper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Match slide, not viewport */
  height: 100%; /* Match slide, not viewport */
  background: rgba(54, 79, 107, 0.5);
  z-index: 3;
  transition: opacity 1s ease;
}

/* Container overlay */
.swiper3 .container {
  position: absolute; /* Overlay on slides */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center horizontally and vertically */
  width: 100%;
  max-width: 1200px; /* Typical container width */
  z-index: 4; /* Above overlay */
  padding: 0 15px; /* Bootstrap-like padding */
}

/* Welcome section */
.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: white;
  font-weight: 900; /* Bolder */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Soft black shadow */
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
  font-weight: bold;
  color: white;
}

/* Content section */
.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
  position: relative;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

/* More button */
.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

/* Navigation buttons */
.swiper3 .swiper-button-next,
.swiper3 .swiper-button-prev {
  color: #fff;
  z-index: 10; /* Above container */
}

/* Unused icon-box styles (keep if needed later) */
.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hero {
    padding: 20px 0; /* Less padding on mobile */
    min-height: 80vh; /* Shorter height for smaller screens */
    
  }

  .swiper3 .container {
    padding: 0 10px; /* Tighter padding */
  }

  .hero .content {
    margin-top: 10px;
  }

  .hero .content .why-box {
    padding: 15px; /* Smaller padding */
  }

  .hero .content .why-box .more-btn {
    padding: 4px 15px; /* Smaller button */
  }
  .swiper3 .swiper-button-next,
.swiper3 .swiper-button-prev {
 font-size: 0.8em;
}
}

@media (max-width: 576px) {
  .hero .welcome h2 {
    font-size: clamp(20px, 6vw, 36px); /* Even smaller max on tiny screens */
   flex-wrap: wrap;
  }

  .hero .welcome p {
    font-size: clamp(14px, 4vw, 18px);
    flex-wrap: wrap;
  }

  .hero .content .why-box h3 {
    font-size: clamp(18px, 5vw, 28px);
    flex-wrap: wrap;
  }

  .hero .content .why-box p {
    font-size: 14px; /* Fixed small size */
    flex-wrap: wrap;
  }
}
/* New Media Query for 334px and below */
@media (max-width: 334px) {
  .hero {
    padding: 10px 0; /* Reduce padding further */
    min-height: 100vh; /* Shorter height for tiny screens */
   
  }

  .swiper3 .container {
    top: 10%; /* Move content higher to avoid clipping */
    transform: translate(-50%, 0); /* Remove vertical centering */
    padding: 0 5px; /* Tighter padding */
  }

  .hero .welcome h2 {
    font-size: clamp(16px, 5vw, 24px); /* Smaller max size */
    line-height: 1.2; /* Prevent overlap */
  }

  .hero .welcome p {
    font-size: clamp(12px, 3vw, 16px);
  }

  .hero .content .why-box {
    padding: 10px;
  }

  .hero .content .why-box h3 {
    font-size: clamp(16px, 4vw, 20px);
  }

  .hero .content .why-box p {
    font-size: 12px;
  }

  .hero .content .why-box .more-btn {
    padding: 3px 10px; /* Smaller button */
    font-size: 12px; /* Smaller text */
  }

  .hero .content .why-box .more-btn i {
    font-size: 10px; /* Smaller icon */
  }

  .swiper3 .swiper-button-next,
  .swiper3 .swiper-button-prev {
    width: 30px; /* Smaller buttons */
    height: 30px;
    font-size: 14px; /* Adjust arrow size if needed */
  }

  .swiper3 .swiper-button-next:after,
  .swiper3 .swiper-button-prev:after {
    font-size: 14px; /* Smaller arrow icon */
  }
  .bi-phone span{
    display:none;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

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

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;

  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  outline: none;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
/* .services .service-item .glightbox img{
 
  height: 100%;
  width: 100%;
  object-fit:cover
} */





/* .services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
} */

/* .services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
} */

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

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

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
/* Apply background colors from root */
#contact-form {
  background: var(--surface-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

/* Form Inputs */
.form-control {
  background: var(--background-color);
  color: var(--default-color);
  border: 1px solid var(--accent-color);
  transition: 0.3s;
}

.form-control:focus {
  border-color: var(--heading-color);
  box-shadow: 0px 0px 8px rgba(54, 79, 107, 0.4);
}

/* Labels */
.form-label {
  color: var(--heading-color);
  font-weight: 600;
}

/* Button Styling */
.btn-custom {
  background: var(--nav-color); /* Your Slate Blue */
  color: var(--contrast-color);
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s;
  border: none;
}

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

/* Status Messages */
.alert {
  font-size: 0.9rem;
  padding: 10px; 
  border-radius: 6px;
}

/* Hide alerts by default */
.d-none {
  display: none;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Custom styles hero section
--------------------------------------------------------------*/


@media screen and (max-width:576px){

.hero .welcome h2 {
  margin: 0;
  font-size: 1.6em;
  font-weight: 700;
  word-wrap: break-word;
}
.hero .content .why-box h3 {
  font-weight: 700;
  font-size: 1.6em;
}
}

/*--------------------------------------------------------------
# Custom styles About section
--------------------------------------------------------------*/


.swiper {
  width: 50vw;
  height:100vh;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.swiper-slide{
  width:100%;
  height:100%;
  position:relative;
  display:flex;
  justify-content:center;
  align-items: center;
  overflow: hidden; /* Ensures no unwanted margins */
}

.swiper-slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
 }
 /* Style pagination bullets */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #B0BEC5; /* Default color */
  opacity: 0.6;
  transition: all 0.3s ease;
}
/* Active pagination bullet */
.swiper-pagination-bullet-active {
  background: #364F6B; /* Change color for the active bullet */
  opacity: 1;
}
/* Style navigation buttons */
.swiper-button-prev, 
.swiper-button-next {
    color: #364F6B; /* Button color */
    font-size: 10px; /* Adjust icon size */
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
/* Hover effect */
.swiper-button-prev:hover, 
.swiper-button-next:hover {
    background: #B0BEC5; /* Change on hover */
}

@media screen and (max-width: 991px) {
  .swiper {
    width: 100vw;
    height:100vh;
    max-width: 100%; 
  } 
  
}
@media screen and (max-width: 765px) {
  .swiper {
    width: 100vw;
    height:50vh;
    max-width: 100%; 
  } 

  .swiper-slide img{
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
   }
  
}

/*--------------------------------------------------------------
# Custom styles Services section
--------------------------------------------------------------*/

.swiper2 {
  width: 100%;
  height: 100%;
 
}

.swiper2 .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 400px;
  position:relative;
}
@media screen and (min-width:1200px){
  .swiper2 .swiper-slide {
    width: 100px;
    height: 600px;
  }
}
@media screen and (max-width:1200px){
  .swiper2 .swiper-slide {
    width: 100px;
    height: 600px;
  }
}
/* Style the glightbox container */
.swiper2 .swiper-slide .glightbox {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Takes up 40% of swiper-slide height */
  display: block;
  z-index: 2; /* Above service-item if needed */
}

/* Image styles */
.swiper2 .swiper-slide .glightbox img {
  display: block;
  width: 100%; /* Full width of glightbox container */
  height: 100%; /* Fill the glightbox height */
  object-fit: cover; /* Ensure image scales properly */
  transition: transform 0.3s ease-in-out;
}

/* Learn More button styles */
.swiper2 .swiper-slide .glightbox .learn-more {
  position: absolute;
  bottom: -50px; /* Hidden below image by default */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0; /* Hidden by default */
  transition: all 0.3s ease-in-out;
  z-index: 3; /* Above image */
}


.swiper2 .swiper-slide .glightbox .learn-more button.btn.btn-primary {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

/* Hover effects */
.swiper2 .swiper-slide .glightbox:hover img {
  transform: scale(1.3); /* Scale up, can cover swiper-slide */
}

.swiper2 .swiper-slide .glightbox:hover .learn-more {
  bottom: 10px; /* Slide up into view */
  opacity: 1; /* Show button */
}

.swiper-pagination2{
  display:flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.swiper-pagination2-bullet {
  width: 12px;
  height: 12px;
  background: #B0BEC5; /* Default color */
  opacity: 0.6;
  transition: all 0.3s ease;
  
  
}
/* Active pagination bullet */
.swiper-pagination2-bullet-active {
  background: #364F6B; /* Change color for the active bullet */
  opacity: 1;
}



/*--------------------------------------------------------------
# Custom styles Services section
--------------------------------------------------------------*/
/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 79, 107, 0.8);
  z-index: 1000;
  overflow: auto;
}
/* Modal content */
.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  background: rgba(54, 79, 107, 0.8); /* Derived from #364F6B with opacity */
  padding: 20px;
  border-radius: 10px;
  color: var(--contrast-color); /* #ffffff - White */
  z-index: 2;
}



.modal-body {
  position: relative;
  z-index: 3; /* Above background image */
}

/* Background image */
.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5; /* Adjust for text readability */
  z-index: 1;
}
/* Modal close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--contrast-color); /* #ffffff - White */
  z-index: 4;
}

.modal-close:hover {
  color: var(--accent-color); /* #B0BEC5 - Silver-gray */
}


/* Button styles (reused from your code) */
.glightbox-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Primary button */
.btn-primary {
  background-color: var(--heading-color); /* #364F6B - Slate Blue */
  color: var(--contrast-color); /* #ffffff - White */
  border: none; /* Clean look */
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--nav-hover-color); /* #B0BEC5 - Silver-gray */
  color: var(--contrast-color); /* #ffffff - White */
}

/* Secondary button */
.btn-secondary {
  background-color: var(--accent-color); /* #B0BEC5 - Silver-gray */
  color: var(--contrast-color); /* #ffffff - White */
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease-in-out;
}

.btn-secondary:hover {
  background-color: var(--default-color); /* #444444 - Dark gray */
  color: var(--contrast-color); /* #ffffff - White */
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
      width: 95%;
      padding: 15px;
  }
  .modal-body {
      font-size: 14px;
  }
  .glightbox-buttons .btn {
      padding: 8px 12px;
      font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Custom styles General animations
--------------------------------------------------------------*/



.animated {
  opacity: 0;
  /* transform: translateY(20px); */
}
.scrolled{
  opacity:0;
  transform:translateY(20px);
  animation: scroll-in 3s forwards;
}


@keyframes scroll-in {
  0%{
    opacity:0;
    transform: translateY(20px);
  }
  100%{
    opacity:1;
    transform:translateY(0);
  }
}

/* For testing effects without JavaScript */
.slide-left {
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  animation: slide-in-left 2s ease forwards;
}

.slide-right {
  opacity: 0;
  transform: translateX(100px); /* Start off-screen to the right */
  animation: slide-in-right 2s ease forwards;
}

/* Keyframes for left slide */
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframes for right slide */
@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade-in and scale-up animation */
@keyframes fade-scale-up {
  0% {
    opacity: 0;
    transform: scale(0.8); /* Slightly smaller */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Full size */
  }
}


/* Class to apply animation */
.fade-scale-up {
  opacity: 0; /* Start hidden */
  transform: scale(0.8); /* Initial size */
  animation: fade-scale-up 1s ease forwards;
}



.rotate-in {
  opacity: 0;
  transform: translateY(50px) rotate(-15deg); /* Starts below and tilted */
  animation: rotate-in 1.5s ease forwards;
}

@keyframes rotate-in {
  0% {
    opacity: 0;
    transform: translateY(50px) rotate(-15deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}


.bounce-in {
  opacity: 0;
  transform: translateY(-50px); /* Starts above */
  animation: bounce-in 1.2s ease forwards;
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  60% {
    opacity: 1;
    transform: translateY(10px); /* Overshoot */
  }
  80% {
    transform: translateY(-5px); /* Bounce back */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Settle */
  }
}

.zoom-in {
  opacity: 0;
  transform: scale(0.5) translateZ(-100px); /* Starts small and "far" */
  animation: zoom-in 1.5s ease forwards;
}

@keyframes zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.5) translateZ(-100px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

.swing-in {
  opacity: 0;
  transform-origin: top center;
  transform: rotate(10deg); /* Starts tilted */
  animation: swing-in 1.4s ease forwards;
}

@keyframes swing-in {
  0% {
    opacity: 0;
    transform: rotate(10deg);
  }
  50% {
    opacity: 1;
    transform: rotate(-5deg); /* Overswing */
  }
  75% {
    transform: rotate(2deg); /* Sway back */
  }
  100% {
    opacity: 1;
    transform: rotate(0deg); /* Settle */
  }
}

/*--------------------------------------------------------------
# Custom styles Hero swiper slides
--------------------------------------------------------------*/

