/*! ----------------------------------------------  
 * Project Name: Medilab - HTML Medical Landing Page Template
 * Build Date: May 2025
 * This product is available exclusively on Templatemonster
 * Author Name : Theme Elite
 * Author Url : https://www.templatemonster.com/authors/theme_elite/
 *! File name: main.css
/* ------------------------------------------------

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: #02015A;
  background-color: #F4F4F9;
  font-family: "Lato", sans-serif !important;
}

a {
  color: #02015A !important;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #02015A !important;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", sans-serif !important;
}

p {
  color: #02015aa3 !important;
  font-family: "Lato", sans-serif !important;
}

.btn_color {
  background: #02015A;
  color: #f0f0f0 !important;
  border: none;
  width: 200px;
  height: 50px;
  line-height: 50px;
  padding: 0;
}

.color_bg_primary {
  background-color: #02015A !important;
}

.color_icon i {
  color: #02015A !important;
}

.text_left {
  text-align: left !important;
}

.m_0 {
  margin: 0!important;
}

.p_0 {
  padding: 0!important;
}

.mt_20 {
  margin-top: 20px!important;
}


.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none !important;
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  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%;
  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 #F4F4F9;
  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 #F4F4F9;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  transform: scale(20);
}

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
}

.header .topbar {
  background-color: #975b35;
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  color: #F4F4F9!important;
  font-style: normal;
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
}

@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;
  color: #F4F4F9 !important;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: #F4F4F9;
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: #F4F4F9!important;
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .branding {
  background-color: #551c7a !important;
  min-height: 60px;
  padding: 10px 0;
  display:none !important;
}

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

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .cta-btn,
.header .cta-btn:focus {
  color: #02015A !important;
  background: #F4F4F9;
  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: #02015A !important;
  background: #F4F4F9;
}

.navmenu a {
  color: #F4F4F9 !important;
}

@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 {
    font-size: 16px;
    padding: 0 2px;
    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;
    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;
    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;
  }

  .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: #F4F4F9;
    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: 12px; /* Increased border radius */
    background-color: #02015A; /* Changed background color */
    border: 1px solid rgba(2, 1, 90, 0.1); /* Changed border color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Added box shadow */
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    height: 50%;
    justify-items: center;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #02015A; /* Changed text color */
    padding: 12px 20px; /* Increased padding */
    font-family: "Rubik", sans-serif; /* Changed font */
    font-size: 16px; /* Changed font size */
    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: rgba(2, 1, 90, 0.1); /* Changed background color */
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: #02015A; /* Changed hover background color */
    color: #F4F4F9; /* Changed hover text color */
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #02015A; /* Changed hover text color */
    font-weight: 600; /* Added bold on hover */
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: #02015A; /* Changed active background color */
    color: #F4F4F9; /* Changed active text color */
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: rgba(2, 1, 90, 0.05); /* Changed dropdown background color */
    transition: all 0.5s ease-in-out;
    border-radius: 8px; /* Added border radius to dropdown */
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(2, 1, 90, 0.08); /* Changed nested dropdown background */
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(2, 1, 90, 0.03); /* Changed active dropdown background */
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #F4F4F9;
    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(2, 1, 90, 0.7); /* Changed overlay background */
    transition: 0.3s;
  }

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #F4F4F9;
  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: #02015A;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  line-height: 0;
  color: #F4F4F9;
  background-color: #02015A;
}

.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 {
  position: relative;
}

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

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

.page-title nav {
  background-color: color-mix(in srgb, 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, transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  padding: 100px 0px 0px 0px;
  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: 600;
  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, transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

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

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  background-color: #551c7a;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #F4F4F9;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-badge::before,
.hero-badge::after {
  content: '•';
  display: inline-block;
  color: #F4F4F9;
  margin: 0 8px;
}

.hero-content h1 {
  color: #F4F4F9;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 90%;
}

.btn-primary {
  background-color: #F4F4F9;
  border: none;
  color: #551c7a !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  color: #F4F4F9 !important;
  background-color: #551c7a;
  border: 1px solid #F4F4F9;
  transform: translateY(-3px);
}

.btn-video {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F4F4F9;
  color: #551c7a !important;
  border: none;
  transition: all 0.3s ease;
}

.btn-video:hover {
  background-color: #00E77F;
  transform: scale(1.1);
}

.btn-video i {
  font-size: 20px;
  margin-left: 3px;
}

.hero-images {
  position: relative;
  height: 400px;
}

.hero-image-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  z-index: 3;
}

.hero-image-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  z-index: 3;
}

.hero-shape-1 {
  position: absolute;
  top: 20px;
  right: 100px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(0, 231, 127, 0.2);
  z-index: 1;
}

.hero-shape-1 {
  animation: floatBubble 3s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: 30px;
  left: 75px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.09);
  z-index: 1;
}

.hero-shape-2 {
  animation: floatBubble 3s ease-in-out infinite;
}

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



@media (max-width: 991px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .hero-images {
    margin-top: 60px;
    height: 350px;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 30px;
  }
  
  .hero-images {
    height: 300px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-box {
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  height: 100%;
}

.features .feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.features .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #02015A 0%, rgba(2,1,90,0.8) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.features .feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(2,1,90,0.2);
}

.features .feature-icon i {
  font-size: 32px;
  color: #F4F4F9;
  transition: all 0.4s ease;
}

.features .feature-box:hover .feature-icon i {
  transform: scale(1.1);
}

.features .feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #02015A;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.features .feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(2,1,90,0.75);
  margin-bottom: 0;
}

.features .feature-box .learn-more {
  display: inline-flex;
  align-items: center;
  color: #02015A;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.features .feature-box .learn-more i {
  margin-left: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.features .feature-box:hover .learn-more {
  color: #3793d5;
}

.features .feature-box:hover .learn-more i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .features .feature-box {
    padding: 30px;
  }
  
  .features .feature-title {
    font-size: 20px;
  }
  
  .features .feature-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 60px 0;
  }
  
  .features .feature-box {
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 3rem;
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.about .content ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.about .content ul li:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-right: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(2,1,90,0.08) 0%, rgba(2,1,90,0.03) 100%);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.about .content ul li:hover i {
  transform: scale(1.15) rotate(10deg);
  background: var(--accent-color);
  color: #F4F4F9;
  box-shadow: 0 10px 20px rgba(2,1,90,0.2);
}

.about .content ul h5 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #02015A;
  letter-spacing: -0.01em;
}

.about .content ul p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(2,1,90,0.75);
  margin: 0;
}

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

.about .pulsating-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 10;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
  transition: all 0.4s ease;
}

.about .pulsating-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.3);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.3));
}


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  width: 64px;
  height: 64px;
  font-size: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(5px);
}

.stats i:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stats .stats-item {
  background: rgba(255, 255, 255, 0.95);
  margin-top: -32px;
  padding: 40px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  z-index: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stats .stats-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  margin: 15px 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color) 0%, #02015A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-size: 18px;
  color: rgba(2, 1, 90, 0.75);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.services .service-box {
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  height: 100%;
}

.services .service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.services .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #02015A 0%, rgba(2,1,90,0.8) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.services .service-box:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(2,1,90,0.2);
}

.services .service-icon i {
  font-size: 32px;
  color: #F4F4F9;
  transition: all 0.4s ease;
}

.services .service-box:hover .service-icon i {
  transform: scale(1.1);
}

.services .service-title {
  font-size: 24px;
  font-weight: 700;
  color: #02015A;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.services .service-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(2,1,90,0.75);
  margin-bottom: 0;
}

.services .service-box .learn-more {
  display: inline-flex;
  align-items: center;
  color: #02015A;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.services .service-box .learn-more i {
  margin-left: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.service_card_item {
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(2,1,90,0.05);
  height: 100%;
}

.service_card_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: rgba(2,1,90,0.1);
}

.service_card_item .icon {
  width: 70px;
  height: 70px;
  background: rgba(2,1,90,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service_card_item:hover .icon {
  background: #02015A;
  transform: rotate(10deg) scale(1.1);
}

.service_card_item .icon i {
  font-size: 32px;
  color: #02015A;
  transition: all 0.3s ease;
}

.service_card_item:hover .icon i {
  color: #fff;
}

.service_card_item h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #02015A;
  transition: all 0.3s ease;
}

.service_card_item:hover h4 {
  transform: translateX(5px);
}

.service_card_item p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(2,1,90,0.7);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .services .service-box {
    padding: 30px;
  }
  
  .services .service-title {
    font-size: 20px;
  }
  
  .services .service-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }
  
  .services .service-box {
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
/* Appointment Form Styles */
.appointment-form-container {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.appointment-form .form-control,
.appointment-form .form-select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  height: calc(3.5rem + 2px);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: none;
  box-shadow: none;
}

.appointment-form textarea.form-control {
  min-height: 120px;
}

.appointment-form .form-floating > label {
  padding: 1rem;
  color: #6c757d;
}

.appointment-form .form-floating > .form-control:focus ~ label,
.appointment-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.appointment-form .form-floating > .form-select ~ label {
  color: #02015A;
  opacity: 0.8;
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.appointment-form .btn-primary {
  background-color: #02015A;
  color: #F4F4F9 !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.appointment-form .btn-primary:hover {
  background-color: #F4F4F9;
  color: #02015A !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(77, 171, 247, 0.15);
}

.form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.form-select option {
  color: #02015A;
}

.form-select {
  color: #6c757d;
}

.form-control {
  color: #6c757d;
}

/* Loading Animation */
.appointment-form .loading-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #F4F4F9;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Status Messages */
.appointment-form .alert {
  border-radius: 8px;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .appointment-form .btn-primary {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Case Studies Section
--------------------------------------------------------------*/
.case-studies {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.case-studies .case-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.case-studies .case-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.case-studies .case-img {
  position: relative;
  overflow: hidden;
}

.case-studies .case-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.case-studies .case-content {
  padding: 25px;
  background: #F4F4F9;
}

.case-studies .case-category {
  font-size: 14px;
  color: #02015aa3;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.case-studies .case-title {
  font-size: 24px;
  font-weight: 700;
  color: #02015A;
  margin-bottom: 15px;
  line-height: 1.3;
}

.case-studies .case-description {
  font-size: 16px;
  line-height: 1.6;
  color: #02015aa3;
  margin-bottom: 20px;
}

.case-studies .case-link {
  display: inline-flex;
  align-items: center;
  color: #02015A;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.case-studies .case-link i {
  margin-left: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.case-studies .case-item:hover .case-link {
  color: #02015A;
}

.case-studies .case-item:hover .case-link i {
  color: #02015A;
  transform: translateX(5px);
}

/* Custom Navigation Links */
.nav-link {
  position: relative;
  color: #02015A !important;
  padding: 10px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #02015A;
  transition: width 0.3s ease;
}

.nav-link:hover:before {
  width: 100%;
}

.nav-link.active {
  color: #02015A !important;
  font-weight: 600;
}

.nav-link.active:before {
  width: 100%;
}

@media (max-width: 768px) {
  .case-studies {
    padding: 60px 0;
  }
  
  .case-studies .case-img img {
    height: 250px;
  }
  
  .case-studies .case-title {
    font-size: 20px;
  }
  
  .case-studies .case-description {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: #F4F4F9;
  position: relative;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq .faq-container .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  transition: 0.3s;
}

.faq .faq-container .faq-item .faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #f5f5f5;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item .faq-toggle i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-right: 30px;
}

.text_muted_p {
  font-weight: 500;
}

.faq .faq-container .faq-item .faq-content p {
  margin: 15px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  display: block; /* Ensure paragraph is displayed as block */
  visibility: visible; /* Ensure visibility */
  opacity: 1; /* Ensure opacity */
}

.faq .faq-container .faq-item.active {
  background-color: #F4F4F9;
}

.faq .faq-container .faq-item.active .faq-toggle {
  background-color: #f0f0f0;
  transform: rotate(45deg);
}

.faq .faq-container .faq-item.active .faq-content {
  max-height: 1000px; /* Large enough to fit content */
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors {
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.doctors .member {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.doctors .member:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.doctors .member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 25px;
}

.doctors .member .member-img:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(2,1,90,0.8), rgba(63,63,161,0.8));
  opacity: 0;
  transition: all 0.3s ease;
}

.doctors .member:hover .member-img:before {
  opacity: 0.85;
}

.doctors .member .member-img img {
  transition: all 0.5s ease;
  transform: scale(1.01);
}

.doctors .member:hover .member-img img {
  transform: scale(1.05);
}

.doctors .member .member-info {
  text-align: center;
  padding: 0 15px;
}

.doctors .member .member-info h4 {
  font-weight: 700;
  font-size: 24px;
  color: #02015A;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.doctors .member .member-info h4:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #02015A, transparent);
}

.doctors .member .member-info span {
  display: inline-block;
  font-size: 14px;
  color: #02015aa3;
  padding: 8px 20px;
  background: rgba(2,1,90,0.05);
  border-radius: 30px;
  margin-bottom: 15px;
}

.doctors .member .member-info p {
  font-size: 15px;
  line-height: 1.7;
  color: #02015aa3;
  margin-bottom: 20px;
}

.doctors .member .social {
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.doctors .member:hover .social {
  opacity: 1;
  transform: translateY(0);
}

.doctors .member .social a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.doctors .member .social a:hover {
  transform: translateY(-3px) rotate(8deg);
  box-shadow: 0 5px 15px rgba(2,1,90,0.2);
}

.rounded-circle {
  border-radius: 0px !important;
  font-size: 20px;
  margin: o !important;
}
.rounded-circle {
  margin: 0!important;
}

.doctor-overlay {
  border-left: 1px solid #02015a36;
  border-right: 1px solid #02015a36;
  border-bottom: 1px solid #02015a36;
  padding: 25px 20px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

@media (max-width: 768px) {
  .doctors {
    padding: 60px 0;
  }

  .doctors .member {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .doctors .member .member-info h4 {
    font-size: 20px;
  }

  .doctors .member .member-info span {
    font-size: 13px;
    padding: 6px 15px;
  }
  
  .doctors .member .social {
    margin-top: 15px;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, 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 {
  padding-right: 5px;
}

.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-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

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

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials .info h3 {
  font-weight: 900;
  font-size: 48px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -1px;
}

.testimonials .testimonial-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  text-align: center;
  padding: 40px;
  border-radius: 20px;
  background: #F4F4F9;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials .testimonial-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.testimonials .testimonial-item .testimonial-img {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  margin: 0 auto 30px;
  transition: all 0.5s ease;
  position: relative;
  filter: contrast(1.1) brightness(1.1);
}

.testimonials .testimonial-item:hover .testimonial-img {
  border-radius: 50%;
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonials .testimonial-item h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #02015A;
  letter-spacing: -0.5px;
}

.testimonials .testimonial-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.testimonials .testimonial-item .stars i {
  color: #FFD700;
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(255,215,0,0.3));
}

.testimonials .testimonial-item .quote {
  position: relative;
  padding: 35px;
  background: linear-gradient(145deg, #f6f6f6, #ffffff);
  border-radius: 25px;
  box-shadow: inset 5px 5px 10px #e6e6e6, inset -5px -5px 10px #ffffff;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  font-size: 32px;
  position: absolute;
  opacity: 0.15;
  transition: all 0.3s ease;
}

.testimonials .testimonial-item:hover .quote-icon-left,
.testimonials .testimonial-item:hover .quote-icon-right {
  opacity: 0.3;
  transform: scale(1.2);
}

.testimonials .testimonial-item .quote-icon-left {
  top: 20px;
  left: 20px;
}

.testimonials .testimonial-item .quote-icon-right {
  bottom: 20px;
  right: 20px;
  transform: scale(-1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
  color: #02015A;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
}

.testimonials .swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  background: rgba(2,1,90,0.2);
  opacity: 1;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.testimonials .swiper-pagination-bullet-active {
  width: 60px;
}

.swiper-pagination-bullet {
  display: none;
}



@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 50px 20px;
  }
  
  .testimonials .info h3 {
    font-size: 36px;
  }

  .testimonials .testimonial-item {
    padding: 30px 20px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 120px;
    height: 120px;
  }
  
  .testimonials .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
  }
  
  .testimonials .swiper-pagination-bullet-active {
    width: 45px;
  }
}
/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
Newsletter Section
--------------------------------------------------------------*/
.newsletter-section {
  margin-top: 100px;
  background-color: #02015A;
  padding: 40px 0;
  color: #F4F4F9;
}
.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.newsletter-icon i {
  font-size: 48px;
  color: #F4F4F9;
  transition: transform 0.3s ease;
}

.newsletter-icon i:hover {
  transform: scale(1.1);
}

.newsletter-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #F4F4F9;
}

.newsletter-text h6 {
  font-size: 20px;
  margin: 0;
  padding-top: 12px;
  color: rgba(244, 244, 249, 0.8);
}

.newsletter-form {
  display: flex;
  flex-grow: 1;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form form {
  display: flex;
  width: 100%;
  gap: 20px;
  position: relative;
}

.newsletter-form input[type="email"] {
  width: 100%;
  flex-grow: 1;
  padding: 16px 24px;
  border: 2px solid rgba(244, 244, 249, 0.2);
  background-color: rgba(244, 244, 249, 0.08);
  color: #F4F4F9;
  font-size: 16px;
  min-width: 320px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(244, 244, 249, 0.5);
  background-color: rgba(244, 244, 249, 0.12);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(244, 244, 249, 0.5);
}

.newsletter-form .submit-btn {
  width: 100%;
  background-color: #F4F4F9;
  color: #02015A;
  border: 2px solid transparent;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-form .submit-btn:hover {
  background-color: transparent;
  border-color: #F4F4F9;
  color: #F4F4F9;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-form .submit-btn:focus {
  outline: none;
}

.newsletter-form .submit-btn:active {
  transform: translateY(1px);
}

/* Error state */
.newsletter-form input[type="email"].error {
  border-color: #FF4444;
  animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  background-color: rgba(255, 68, 68, 0.1);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Success state */
.newsletter-form.success input[type="email"] {
  border-color: #00E676;
  background-color: rgba(0, 230, 118, 0.1);
}

.b_r_f {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.b_r{
  margin-left: 0 !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

/* Responsive styles */
@media (max-width: 992px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .newsletter-form {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .newsletter-form form {
    flex-direction: column;
    gap: 16px;
  }
  
  .newsletter-form input[type="email"] {
    min-width: 100%;
    width: 100%;
  }
  
  .newsletter-form .submit-btn {
    width: 100%;
  }
  
  .newsletter-text h3 {
    font-size: 24px;
  }
  
  .newsletter-text h6 {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Agency Footer Style */
.agency-footer {
  background-color: #551c7a;
  padding: 0px 0px 0px 0px;
}

.agency-footer a {
  text-decoration: none;
  transition: opacity 0.3s;
}

.agency-footer a:hover {
  color: #F4F4F9 !important;
  opacity: 0.8;
}

.agency-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.agency-footer h5 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.agency-footer p {
  font-size: 12px;
  margin-bottom: 8px;
  color:#eee !important;
}

.office-email, .office-phone {
  margin-bottom: 15px;
}

.office-address {
  margin-bottom: 15px;
  line-height: 1.4;
}

.map-link, .newsletter-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.agency-footer .social-links a {
  font-size: 20px;
}

.agency-footer .social-links a:hover {
  transform: none;
}

.footer-brand img {
  margin-bottom: 20px;
  width: 150px;
  height: auto;
}

.footer-menu a {
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  line-height: 35px;
}

.copyright {
  padding-bottom: 4px;
  padding-top: 05px;
}

@media (max-width: 768px) {
  .agency-title {
    font-size: 28px;
  }
  
  .agency-footer {
    padding: 40px 0;
  }
}
/* Reverse hero columns on mobile */
@media (max-width: 991.98px) {
  #hero .row {
    flex-direction: column-reverse;
  }

  #hero .hero-content {
    text-align: center;
    margin-top: 20px;
  }

  #hero .hero-buttons {
    justify-content: center;
  }
  .hero-image {
  margin-top: -125px;
}
}