/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --primary-cyan: #01C3FF;
  --primary-cyan-dark: #009ccb;
  --primary-dark: #4C4847;
  --primary-dark-deep: #3a3736;
  --primary-dark-deeper: #2e2c2b;

  --light-steel-blue: hsl(218, 33%, 77%);
  --royal-blue-light: var(--primary-cyan);
  --royal-blue-light-dark: var(--primary-cyan-dark);
  --flickr-blue_30: rgba(1, 195, 255, 0.3);
  --carolina-blue: var(--primary-cyan);
  --oxford-blue-1: var(--primary-dark);
  --oxford-blue-2: var(--primary-dark-deep);
  --oxford-blue-3: var(--primary-dark-deeper);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: #f0faff;
  /* Light cyan-ish white */
  --sonic-silver: hsl(0, 0%, 47%);
  --light-gray: #A9A8A4;
  --cultured: hsl(0, 0%, 97%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);

  /**
   * gradient color
   */

  --gradient: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);

  /**
   * typography
   */

  --ff-roboto: "Roboto", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 4rem;
  --fs-2: 3.6rem;
  --fs-3: 3.2rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.6rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * shadow
   */

  --shadow-1: 4px 4px 15px var(--black_10);
  --shadow-2: 0 10px 15px var(--black_10);
  --shadow-3: 0px 20px 60px var(--black_8);
  --shadow-4: 0px 10px 30px var(--flickr-blue_30);
  --shadow-5: 0px 2px 60px 0px var(--black_10);

  /**
   * border radius
   */

  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.5rem;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 25px;
}

.section {
  padding-block: var(--section-padding);
}

.section-subtitle {
  color: var(--primary-dark);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.4;
  margin-block-end: 20px;
}

.h1 {
  color: var(--oxford-blue-1);
  font-size: var(--fs-2);
}

.h2,
.h3 {
  color: var(--oxford-blue-2);
}

.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-5);
}

.btn {
  background-image: linear-gradient(var(--deg, 90deg), var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  padding: 20px 30px;
  text-align: center;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-4);
}

.btn:is(:hover, :focus) {
  --deg: -90deg;
}

.w-100 {
  width: 100%;
}

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

.card-text,
.section-text {
  line-height: 1.7;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

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





/*-----------------------------------*\
  #HEDER
\*-----------------------------------*/

.header-top,
.header-bottom .btn {
  display: none;
}

.header-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
}

.header-bottom.active {
  position: fixed;
  top: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-2);
  padding-block: 8px;
  animation: slideIn 0.5s var(--cubic-out) forwards;
}

.header-bottom:not(.active) .logo {
  background-color: rgba(169, 168, 164, 0.5);
  padding: 10px;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.header-bottom:not(.active) .navbar-link,
.header-bottom:not(.active) .nav-toggle-btn {
  color: var(--primary-dark);
}

.header-bottom:not(.active) .navbar-link:is(:hover, :focus) {
  color: var(--primary-dark);
}

.header-bottom:not(.active) .logo img {
  filter: brightness(0) invert(1);
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header-bottom>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  color: var(--oxford-blue-1);
  font-family: var(--ff-poppins);
  font-size: 3.4rem;
  font-weight: var(--fw-800);
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 130px;
  height: auto;
  transition: var(--transition);
}

.header-bottom.active .logo img {
  max-width: 100px;
}

.nav-toggle-btn {
  color: var(--primary-dark);
  font-size: 30px;
  border: 1px solid var(--gainsboro_50);
  padding: 5px;
  border-radius: var(--radius-4);
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
  display: none;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
  display: block;
}

.navbar {
  position: absolute;
  top: calc(100% + 5px);
  left: 25px;
  right: 25px;
  background-color: var(--white);
  padding-inline: 0;
  box-shadow: var(--shadow-1);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  visibility: visible;
  max-height: 400px;
  overflow-y: auto;
  transition-duration: 0.5s;
}

.navbar-list>li:not(:last-child) {
  border-block-end: 1px solid var(--gainsboro_50);
}

.navbar-link {
  color: var(--jet);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 18px 25px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-link ion-icon {
  font-size: 1.6rem;
  --ionicon-stroke-width: 50px;
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .navbar-item.has-dropdown:hover .navbar-link ion-icon {
    transform: rotate(180deg);
  }
}



/*-----------------------------------*\
  #DROPDOWN
\*-----------------------------------*/

.navbar-item.has-dropdown {
  position: relative;
}

.dropdown-list {
  background-color: var(--white);
  padding-inline: 20px;
  display: none;
  /* Hidden by default on mobile */
}

.dropdown-link {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  padding-block: 8px;
  transition: var(--transition);
}

.dropdown-link:is(:hover, :focus) {
  color: var(--primary-dark);
}

@media (min-width: 992px) {
  .dropdown-list {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    padding: 20px;
    border-radius: var(--radius-6);
    box-shadow: var(--shadow-3);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
  }

  /* Bridge the gap between the Services link and the dropdown menu */
  .dropdown-list::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
  }

  .navbar-item.has-dropdown:hover .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
    pointer-events: all;
  }

  .dropdown-list li:not(:last-child) {
    margin-block-end: 10px;
  }
}

/* Mobile Toggle logic */
.navbar-item.has-dropdown.active .dropdown-list {
  display: block;
  border-left: 2px solid var(--primary-dark);
  margin-left: 25px;
}

.navbar-item.has-dropdown.active .navbar-link ion-icon {
  transform: rotate(180deg);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 160px 60px;
}

.hero-content {
  margin-block-end: 50px;
}

.hero .section-subtitle {
  color: var(--black);
}

.hero-title {
  margin-block: 15px 30px;
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-form {
  background-color: var(--white);
  max-width: 95%;
  margin-inline: auto;
  padding: 15px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);
}

.hero-form .email-field {
  background-color: var(--cultured);
  color: var(--black);
  min-height: 70px;
  padding-inline: 15px;
  border-radius: var(--radius-4);
  margin-block-end: 15px;
}

.hero-form .btn {
  width: auto;
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
}

.hero .btn,
.header-bottom .btn {
  background-image: none;
  background-color: #4C4847;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(76, 72, 71, 0.3);
}

.hero .btn:is(:hover, :focus),
.header-bottom .btn:is(:hover, :focus) {
  background-color: #A9A8A4;
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-banner {
  display: none;
}

.service {
  padding-block-end: 0;
}

.service .section-title {
  margin-block-end: 50px;
}

.service-list {
  display: grid;
  gap: 15px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 100%;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  padding: 30px;
}

.service-card .card-icon {
  width: 50px;
  flex-shrink: 0;
}

.service-card .card-title {
  margin-block-end: 8px;
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  padding-block-end: 0;
}

.about-banner {
  margin-block-end: 50px;
  position: relative;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.about-banner::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-dark);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.about-banner:hover {
  transform: translateY(-5px);
}

.about-banner:hover::before {
  opacity: 1;
  transform: translate(-5px, 5px);
}

.about-banner img {
  border-radius: 30px;
  display: block;
}

.about .section-text-1 {
  margin-block: 25px 15px;
}

.doctor-social-wrapper {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.doctor-social-title {
  color: var(--primary-dark);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  font-family: var(--ff-poppins);
}

.doctor-social-list {
  display: flex;
  gap: 12px;
}

.doctor-social-link {
  width: 45px;
  height: 45px;
  background-color: var(--white);
  color: var(--primary-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-social-link:hover {
  transform: translateY(-5px);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doctor-social-link.fb:hover {
  background-color: #1877f2;
}

.doctor-social-link.ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.doctor-social-link ion-icon {
  font-size: 22px;
}

.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;
  background-image: none;
  background-color: #4C4847;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(76, 72, 71, 0.3);
}

.about .btn:is(:hover, :focus) {
  background-color: #A9A8A4;
}

.cert-marquee-full {
  width: 100%;
  margin-top: 50px;
  padding-bottom: 20px;
}

.cert-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

/* Gradient masks for smooth edges */
.cert-slider::before,
.cert-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cert-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.cert-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.cert-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollCert 20s linear infinite;
}

.cert-track:hover {
  animation-play-state: paused;
}

.cert-item {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-item img {
  width: 200px;
  height: 140px;
  object-fit: contain;
  transition: var(--transition);
}

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

@keyframes scrollCert {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 3 - 30px * 3));
  }
}

@media (max-width: 575px) {
  .cert-item {
    width: 120px;
  }

  .cert-item img {
    height: 80px;
  }

  @keyframes scrollCert {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-120px * 3 - 30px * 3));
    }
  }
}





/*-----------------------------------*\
  #DOCTOR
\*-----------------------------------*/

.doctor .section-title {
  margin-block-end: 50px;
}

.doctor-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;
}

.doctor-card {
  padding: 30px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  text-align: center;
  min-height: 100%;
}

.doctor-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);
}

.doctor-card:is(:hover, :focus-within) .card-title {
  color: var(--royal-blue-light);
}

.doctor-card .card-subtitle {
  color: var(--royal-blue-light);
  margin-block: 10px 15px;
}

.doctor-card .card-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.doctor-card .card-social-link {
  background-color: var(--lavender-web);
  color: var(--royal-blue-light);
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.doctor-card .card-social-link:is(:hover, :focus) {
  background-color: var(--royal-blue-light);
  color: var(--white);
}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar {
  height: 10px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background-color: var(--light-gray);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--royal-blue-light);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button {
  width: calc(25% - 30px);
}





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  background-color: var(--primary-cyan) !important;
}

.cta-banner {
  margin-block-end: 50px;
}

.cta .section-subtitle {
  text-transform: capitalize;
}

.cta .section-title {
  color: var(--white);
  font-size: var(--fs-3);
  margin-block-end: 30px;
}

.cta .btn {
  max-width: max-content;
  background-image: none;
  background-color: var(--primary-dark) !important;
}

.cta .btn:is(:hover, :focus) {
  background-color: var(--primary-dark-deep);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .section-title {
  margin-block-end: 50px;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-3);
  transition: var(--transition);
  overflow: hidden;
}

.blog-card:is(:hover, :focus-within) {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2);
}

.blog-card .card-banner {
  position: relative;
  overflow: hidden;
}

.blog-card .card-banner img {
  transition: var(--transition);
}

.blog-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.1);
}

.blog-card .card-badge {
  background-color: var(--royal-blue-light);
  color: var(--white);
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);
}

.blog-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
  color: var(--white);
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.blog-card:is(:hover, :focus-within) .card-content {
  transform: translateY(-5px);
}

.blog-card .card-title,
.blog-card .card-title>a {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: var(--fw-700);
  line-height: 1.3;
  transition: var(--transition);
}

.blog-card .card-title:is(:hover, :focus),
.blog-card .card-title>a:is(:hover, :focus) {
  color: var(--white);
  opacity: 0.8;
}

.blog-card .card-text {
  color: var(--white);
  margin-block: 8px 0;
  line-height: 1.6;
  font-size: 1.3rem;
  opacity: 0.8;
}

.blog-card .card-link {
  display: none;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  background-color: var(--light-gray) !important;
  color: var(--primary-dark);
  border-block-start: 1px solid var(--gainsboro_50);
}

.footer-top .container {
  display: grid;
  gap: 30px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-text {
  line-height: 1.6;
  margin-block: 15px;
}

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

.schedule-icon,
.footer-item .item-icon {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 18px;
  padding: 11px;
  border-radius: 50%;
}

.schedule .span,
.footer-item .item-text {
  line-height: 1.6;
}

.footer-list-title {
  color: var(--primary-dark);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link ion-icon {
  color: var(--primary-dark);
  --ionicon-stroke-width: 50px;
}

.footer-link:is(:hover, :focus) {
  color: var(--white);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-item:not(:first-child) {
  margin-block-start: 20px;
}

.footer-bottom {
  background-color: var(--cultured) !important;
  padding-block: 50px;
  text-align: center;
}

.copyright {
  color: var(--primary-dark);
  line-height: 1.6;
  margin-block-end: 25px;
}

.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer .social-link {
  padding: 11px;
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 18px;
  border-radius: 50%;
}

.footer .social-link:is(:hover, :focus) {
  background-image: var(--gradient);
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: var(--primary-dark);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * BLOG
   */

  .blog-card .h3 {
    --fs-5: 2.6rem;
  }



  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 4.8rem;

  }



  /**
   * RESET
   */

  body {
    font-size: 1.6rem;
  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
  }

  .section-subtitle {
    --fs-6: 2.2rem;
  }



  /**
   * HERO
   */

  .hero {
    overflow: hidden;
    padding-block-start: 280px;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .hero-content {
    max-width: 800px;
    margin-inline: auto;
    margin-block-end: 0;
  }

  .hero-form {
    position: relative;
  }

  .hero-form .email-field {
    margin-block-end: 0;
    padding-inline-end: 190px;
  }

  .hero-form .btn {
    width: auto;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
  }

  .hero-banner {
    margin-inline-end: -60px;
  }



  /**
   * SERVICE
   */

  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }



  /**
   * DOCTOR
   */

  .scrollbar-item {
    min-width: calc(50% - 15px);
  }



  /**
   * CTA
   */

  .cta {
    padding-block: 0;
  }

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .cta-banner {
    margin-block-end: 0;
  }

  .cta-content {
    padding-block: 60px;
  }



  /**
   * BLOG
   */

  .blog-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * FOOTER
   */

  .footer-bottom {
    padding-block: 30px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }



  /**
   * BACK TO TOP
   */

  .back-top-btn {
    bottom: 100px;
    right: 30px;
  }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 6rem;
    --fs-1: 4.6rem;
    --fs-3: 4.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 980px;
  }



  /**
   * HEADER
   */

  .header-top {
    display: block;
    background-color: var(--oxford-blue-1);
    color: var(--white);
    padding-block: 20px;
  }

  .header-top :is(.container, .social-list),
  .contact-list,
  .contact-item {
    display: flex;
    align-items: center;
  }

  .header-top .container {
    justify-content: space-between;
  }

  .contact-list {
    gap: 20px;
  }

  .contact-item {
    gap: 5px;
  }

  .contact-item ion-icon {
    color: var(--light-gray);
    --ionicon-stroke-width: 40px;
  }

  .contact-link {
    font-size: 1.5rem;
  }

  .header-top .social-list {
    gap: 15px;
  }

  .header-top .social-link {
    font-size: var(--fs-6);
    transition: var(--transition);
  }

  .header-top .social-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }

  .header-bottom {
    top: 58px;
    padding-block: 20px;
    transition: var(--transition);
  }

  .header-bottom.active {
    top: 0;
    padding-block: 12px;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;
    align-items: center;
  }

  .navbar-list>li:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    color: var(--oxford-blue-1);
    font-family: var(--ff-poppins);
    text-transform: capitalize;
    transition: var(--transition);
  }

  .header-bottom:not(.active) .navbar-link {
    color: var(--white);
  }

  .header-bottom:not(.active) .navbar-link:is(:hover, :focus) {
    color: var(--primary-dark);
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--primary-dark);
  }

  .header-bottom .btn {
    display: block;
    padding: 15px 20px;
  }



  /**
   * SERVICE
   */

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-banner {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-block-end: 0;
  }



  /**
   * DOCTOR
   */

  .scrollbar-item {
    min-width: calc(33.33% - 20px);
  }



  /**
   * CTA
   */

  .cta-content {
    padding-block: 80px;
  }



  /**
   * BLOG
   */

  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }



  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr;
  }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 8rem;
    --fs-1: 5.5rem;
    --fs-3: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1180px;
  }



  /**
   * HEADER
   */

  .contact-list {
    gap: 30px;
  }

  .header-bottom .btn {
    padding: 18px 30px;
  }

  .header-bottom>.container {
    gap: 40px;
  }

  .navbar-list {
    gap: 15px;
  }



  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }



  /**
   * DOCTOR
   */

  .doctor {
    padding-block-end: 180px;
  }

  .scrollbar-item {
    min-width: calc(25% - 22.5px);
  }

  .has-scrollbar {
    padding-block-end: 0;
    margin-block-end: 0;
  }



  /**
   * CTA
   */

  .cta .container {
    align-items: center;
  }

  .cta-banner {
    margin-block-start: -120px;
  }

}




/*-----------------------------------*\
  #BEFORE AFTER SLIDER
\*-----------------------------------*/

.ba-slider-section {
  background-color: var(--light-gray);
}

.ba-slider-grid {
  display: grid;
  gap: 30px;
}

.ba-slider-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
  user-select: none;
  -webkit-user-drag: none;
}

.ba-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ba-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.after-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  /* Default starting point */
  overflow: hidden;
  border-right: 2px solid var(--white);
  z-index: 1;
}

/* Important: The after image must have a fixed width 
   matching the card's width so it doesn't scale 
   when its container's width changes. */
.after-container .ba-image {
  width: auto;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background-color: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  cursor: ew-resize;
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-2);
  color: var(--oxford-blue-1);
  font-size: 1.4rem;
}

.ba-label {
  position: absolute;
  top: 20px;
  padding: 5px 12px;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--oxford-blue-1);
  font-size: 1.2rem;
  font-weight: var(--fw-600);
  border-radius: var(--radius-4);
  pointer-events: none;
  z-index: 3;
}

.before-label {
  right: 20px;
}

.after-label {
  left: 20px;
}

/* Responsive */
@media (min-width: 768px) {
  .ba-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ba-slider-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-image-container {
    aspect-ratio: 1 / 1;
  }
}

/*-----------------------------------*\
  #HORAIRES
\*-----------------------------------*/

.horaires-modern {
  position: relative;
  padding-block: 80px;
  background-image: url('../images/img-dental.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  margin-block: 50px;
}

.horaires-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(169, 168, 164, 0.5), rgba(169, 168, 164, 0.9));
  z-index: 0;
}

.horaires-container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .horaires-container {
    grid-template-columns: 1fr 1fr;
  }
}

.horaires-banner {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.horaires-banner:hover {
  transform: scale(1.02);
}

.horaires-card-modern {
  position: relative;
  z-index: 3;
  background-color: var(--white);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.horaires-card-modern h2 {
  color: var(--oxford-blue-2);
  font-family: var(--ff-poppins);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.horaires-card-modern .subtitle {
  color: var(--sonic-silver);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 10px;
}

.horaires-card-modern .address-link {
  display: block;
  color: var(--primary-dark);
  text-align: center;
  font-size: 1.3rem;
  text-decoration: underline;
  margin-bottom: 30px;
  line-height: 1.5;
}

.horaires-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.horaires-table td {
  padding: 12px 10px;
  border-bottom: 1px dashed var(--gainsboro_50);
  font-size: 1.3rem;
  color: var(--oxford-blue-1);
  font-weight: 500;
}

.horaires-table tr:last-child td {
  border-bottom: none;
}

.horaires-table td:last-child {
  text-align: right;
  color: var(--sonic-silver);
}

.horaires-table .urgences {
  color: var(--carolina-blue);
}

.btn-reserver {
  background-color: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto;
  transition: var(--transition);
  width: max-content;
}

.btn-reserver:hover {
  background-color: var(--oxford-blue-1);
  transform: translateY(-2px);
}

.contact-badge {
  position: absolute;
  bottom: -30px;
  right: 20px;
  background-color: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 4;
  transition: transform 0.3s ease;
}

.contact-badge .icon-box {
  background-color: var(--white);
  color: var(--primary-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-badge .text-sm {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin-bottom: 5px;
  font-family: var(--ff-poppins);
}

.contact-badge .phone-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--ff-poppins);
  line-height: 1;
}

@media (max-width: 768px) {
  .horaires-container {
    flex-direction: column;
    align-items: center;
  }

  .horaires-card-modern {
    padding: 30px 20px;
  }

  .contact-badge {
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
  }
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact {
  background-color: var(--cultured);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-map {
  width: 100%;
  border-radius: var(--radius-6);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  line-height: 0;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card.modern-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-info-card.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-dark);
}

.contact-info-icon {
  background: var(--primary-dark);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px var(--primary-dark);
  transition: all 0.3s ease;
}

.contact-info-card.modern-card:hover .contact-info-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-info-title {
  font-family: var(--ff-poppins);
  font-weight: 700;
  color: var(--oxford-blue-2);
  font-size: 1.8rem;
}

.contact-info-text {
  color: var(--sonic-silver);
  font-size: 1.5rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: var(--carolina-blue);
}

/*-----------------------------------*\
  #SERVICE PAGES STYLES
\*-----------------------------------*/

.service-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-block: 250px 100px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

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

.service-hero .section-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--fw-800);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.service-hero .section-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.service-section {
  padding: 80px 0;
}

.service-section.bg-cultured {
  background-color: var(--cultured);
}

.service-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.service-section-header .section-title {
  color: var(--oxford-blue-2);
  margin-bottom: 20px;
}

.service-section-header .section-text {
  font-size: 1.6rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card-modern {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card-modern.center-align {
  text-align: center;
  border-bottom: 4px solid var(--carolina-blue);
}

.service-card-modern.left-align {
  text-align: left;
  border-top: 4px solid var(--royal-blue-light);
}

.service-icon-circle {
  background: var(--lavender-web);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--royal-blue-light);
  font-size: 40px;
}

.service-icon-left {
  color: var(--royal-blue-light);
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card-title {
  color: var(--oxford-blue-1);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.service-card-text {
  color: var(--sonic-silver);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Split layout for services */
.service-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .service-split {
    grid-template-columns: 1fr 1fr;
  }

  .service-split.reverse .service-split-content {
    order: -1;
  }
}

.service-split-banner {
  position: relative;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.service-split-banner::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  left: auto;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-dark);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.service-split.reverse .service-split-banner::before {
  right: auto;
  left: -15px;
}

.service-split-banner:hover {
  transform: translateY(-5px);
}

.service-split-banner:hover::before {
  opacity: 1;
}

.service-split:not(.reverse) .service-split-banner:hover::before {
  transform: translate(-5px, 5px);
}

.service-split.reverse .service-split-banner:hover::before {
  transform: translate(5px, 5px);
}

.service-split-banner img {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.service-split-content .h2 {
  color: var(--oxford-blue-2);
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-700);
}

.service-split-content>.section-text {
  margin-bottom: 25px;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  line-height: 1.6;
  max-width: 600px;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-feature-item {
  border-radius: 24px;
  border-left: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 15px;
}

.service-section:not(.bg-cultured) .service-feature-item {
  background: rgba(169, 168, 164, 0.1);
}

.service-section.bg-cultured .service-feature-item {
  background: var(--white);
}

.service-feature-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-feature-item.border-royal {
  border-left: none;
}

.feature-toggle {
  width: 100%;
}

.feature-toggle summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 25px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.feature-toggle summary::-webkit-details-marker {
  display: none;
}

.service-section.bg-cultured .feature-toggle[open] summary {
  background-color: rgba(169, 168, 164, 0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.service-section:not(.bg-cultured) .feature-toggle[open] summary {
  background-color: var(--white);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.feature-toggle .toggle-icon {
  margin-left: auto;
  font-size: 1.8rem;
  width: 32px;
  height: 32px;
  background: rgba(169, 168, 164, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  color: var(--primary-dark);
}

.feature-toggle[open] .toggle-icon {
  transform: rotate(180deg);
  background: var(--primary-dark);
  color: var(--white);
}

.feature-content {
  padding: 10px 25px 25px 95px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  animation: fadeIn 0.4s ease;
}

.service-section.bg-cultured .feature-content {
  background-color: rgba(169, 168, 164, 0.05);
}

.service-section:not(.bg-cultured) .feature-content {
  background-color: var(--white);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-feature-icon {
  background: var(--lavender-web);
  color: var(--primary-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.service-feature-icon.text-royal {
  color: var(--light-gray);
}

.service-feature-item-title {
  color: var(--oxford-blue-1);
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  font-weight: var(--fw-600);
  margin-bottom: 5px;
}

.service-feature-item-text {
  font-size: clamp(1.3rem, 1.4vw, 1.4rem);
  line-height: 1.6;
  color: var(--sonic-silver);
}

/* Global Responsive Fixes */
@media (max-width: 575px) {
  :root {
    --fs-1: 3.4rem;
    --fs-2: 3.2rem;
  }

  .section {
    padding-block: 60px;
  }

  .header-bottom {
    padding-block: 10px;
  }

  .hero {
    padding-block-start: 240px !important;
  }

  .service-hero {
    padding-block: 200px 60px !important;
  }

  .blog-card .card-content {
    padding: 15px;
  }

  .footer-top {
    padding-block: 40px;
  }

  .service-card {
    gap: 15px;
    padding: 20px;
  }
}

.section-title {
  margin-block-end: 50px !important;
}


/*-----------------------------------*\
  #CERTIFICATES
\*-----------------------------------*/

.certificates-section {
  margin-block-start: 80px;
  padding-block: 60px;
  background-color: var(--lavender-web);
  overflow: hidden;
  /* Prevent horizontal scroll on body */
}

.certificates-section .container {
  margin-block-end: 50px;
}

.certificates-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  gap: 40px;
  padding-block: 20px;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content img {
  height: 250px;
  width: auto;
  border-radius: var(--radius-6);
  box-shadow: var(--shadow-3);
  transition: var(--transition);
  border: 6px solid var(--white);
  flex-shrink: 0;
}

.marquee-content img:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: var(--shadow-2);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .marquee-content img {
    height: 350px;
  }

  .certificates-section {
    padding-block: 100px;
  }
}

@media (max-width: 575px) {
  .marquee-content img {
    height: 180px;
    border-width: 4px;
  }

  .marquee-content {
    gap: 20px;
  }
}

/*-----------------------------------*\
  #FIXED BUTTONS
\*-----------------------------------*/

.fixed-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  box-shadow: var(--shadow-3);
  z-index: 100;
  transition: var(--transition);
}

.fixed-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-btn {
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

.emergency-btn {
  bottom: 30px;
  left: 30px;
  background-color: #FF3B30;
  animation: pulse-red 2s infinite;
  justify-content: center;
  transition: all 0.5s ease-in-out;
  padding: 0 14px;
}

.emergency-btn .btn-text {
  font-size: 1.4rem;
  font-weight: var(--fw-600);
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
}

.emergency-btn:is(:hover, :focus-within) {
  width: auto;
  border-radius: 30px;
  padding-inline: 20px;
}

.emergency-btn:is(:hover, :focus-within) .btn-text {
  opacity: 1;
  max-width: 250px;
  margin-left: 10px;
}

.emergency-btn:hover {
  background-color: #D32F2F;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 59, 48, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}


/*-----------------------------------*\
  #VIDEO SHOWREEL
\*-----------------------------------*/

.video-showreel {
  background-color: var(--cultured);
  padding-block: 100px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 25px;
  margin-top: 50px;
}

.video-box {
  position: relative;
  background-color: #000;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.video-box.large {
  grid-column: span 2;
  grid-row: span 2;
}

.video-box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.video-box:hover video {
  opacity: 1;
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 250px);
  }
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 250px);
  }
  
  .video-box.large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 575px) {
  .video-showreel {
    padding-block: 60px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .video-box {
    height: 350px;
  }

  .video-box.large {
    grid-column: span 1;
    grid-row: span 1;
    height: 400px;
  }
}


@media (max-width: 575px) {
  .fixed-btn {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }

  .emergency-btn {
    bottom: 20px;
    left: 20px;
  }
}