/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #000000;
  --secondary-color:              #11A48E;
  --section-bg-color:             #11A48E;
  --custom-btn-bg-color:          #11A48E;
  --custom-btn-bg-hover-color:    #000000;
  --dark-color:                   #000000;
  --p-color:                      #ffffff;
  --border-color:                 #7fffd4;
  --link-hover-color:             #11A48E;

  --body-font-family:             'Outfit', sans-serif;

  --h1-font-size:                 74px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --btn-font-size:                14px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.link-fx-1 {
  color: var(--white-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 6px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.link-fx-1:hover {
  color: var(--link-hover-color);
}

.link-fx-1:hover::before {
  transform: translateX(17px) scaleX(0);
  transition: transform .2s;
}

.link-fx-1:hover .icon circle {
  stroke-dashoffset: 200;
  transition: stroke-dashoffset .2s .1s;
}

.link-fx-1:hover .icon line {
  transform: rotate(-180deg);
}

.link-fx-1:hover .icon line:last-child {
  transform: rotate(180deg);
}

.link-fx-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right center;
  transition: transform .2s .1s;
}

.link-fx-1 .icon {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateX(100%) rotate(90deg);
  font-size: 32px;
}

.icon {
  --size: 1em;
  height: var(--size);
  width: var(--size);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.link-fx-1 .icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .2s;
}

.link-fx-1 .icon line {
  transition: transform .4s;
  transform-origin: 13px 15px;
}

.link-fx-1 .icon line:last-child {
  transform-origin: 19px 15px;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.nav-tabs {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  border-bottom: 0;
  padding: 15px;
}

.nav-tabs .nav-link {
  border-radius: var(--border-radius-large);
  border: 0;
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  color: var(--primary-color);
}

.nav-tabs h5 {
  color: var(--p-color); 
  margin-bottom: 0;
}

.nav-tabs .nav-link.active h5,
.nav-tabs .nav-link:focus h5, 
.nav-tabs .nav-link:hover h5 {
  color: var(--primary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  VIDEO              
-----------------------------------------*/
.video-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    overflow: hidden;
  }

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-color: var(--primary-color);
  padding-top: 12px;
  padding-bottom: 12px;
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 51px;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--dark-color);
}

.navbar {
  background: transparent;
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  height: calc(100vh - 51px);
}

.hero-section small {
  color: var(--white-color);
  text-transform: uppercase;
}

.hero-section .section-overlay {
  z-index: 2;
  opacity: 0.45;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-bottom: 50px;
}

.hero-section .container .row {
  height: 100%;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  /*background-image: url('../images/bg1commentedout.jpg');*/
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
}

.about-text-wrap {
  position: relative;
}

.about-text-icon {
  background: var(--primary-color);
  border-radius: 100%;
  font-size: var(--h3-font-size);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
}

.about-text-info {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(209, 213, 219, 0.3);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
  padding: 35px;
}


/*---------------------------------------
  TICKET               
-----------------------------------------*/
.ticket-section {
  background-image: url('../images/bg2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 130px;
}

.ticket-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.ticket-form .form-check {
  position: relative;
  min-height: 52px;
  padding-left: 35px;
}

.ticket-form .form-check .form-check-label {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 12px;
  margin-left: 35px;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  ARTISTS              
-----------------------------------------*/
.artists-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.artists-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 100%;
}

.artists-thumb:hover .artists-hover {
  transform: translateY(0);
  opacity: 1;
}

.artists-hover {
  background-color: var(--primary-color);
  background-color: rgba(237, 31, 36, 0.75);
  border-radius: var(--border-radius-medium);
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  margin: 20px;
  padding: 35px;
  transition: all 0.5s ease;
  transform: translateY(100%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}

.artists-hover p strong {
  color: var(--white-color);
  display: inline-block;
  min-width: 180px;
  margin-right: 20px;
}

.artists-hover p a {
  color: var(--secondary-color);
}

.artists-hover p a:hover {
  color: var(--white-color);
}

.artists-hover hr {
  margin: 1.5rem 0;
}

/*---------------------------------------
  LOCATION & SOCIAL ICON ALIGNMENT              
-----------------------------------------*/
.location-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.location-wrap h5 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.social-share {
    margin-left: auto; /* Pushes social icons to the right */
}

.social-icon {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* For mobile responsiveness */
@media (max-width: 767px) {
    .location-wrap {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-share {
        margin-left: 0;
    }
}

/*---------------------------------------
  SCHEDULE              
-----------------------------------------*/
/*.schedule-section {
  background-image: url('../images/bg3.jpg');
  background-color: #242424;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
} */
.table-responsive {
	filter: drop-shadow(2px 2px 4px #606060);
}

.schedule-table {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.schedule-table .bg-warning {
  background: #f0a5a5 !important;
}

.schedule-table thead th {
  background-color: var(--secondary-color);
}

.schedule-table th,
.schedule-table tr,
.schedule-table td {
  border-bottom-color: #363a3e;
  padding: 30px;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom-color: transparent;
}

.schedule-table thead th {
  border-right: 1px solid #ED1F24;
  border-bottom-color: transparent;
}

.schedule-table th + td {
  border-bottom: 0;
}

.schedule-table thead th:last-child {
  border-right-color: transparent;
}







.table-background-image-wrap {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  position: relative;
}

.schedule-table h3,
.schedule-table p {
  color: var(--white-color);
  position: relative;
  z-index: 2;
}


/*---------------------------------------
  PRICING              
-----------------------------------------*/
.pricing-thumb {
  border: 5px dotted var(--dark-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  padding: 50px;
}

.pricing-thumb h3 small {
  display: inline-block;
  font-size: var(--p-font-size);
  margin-right: 15px;
}

.pricing-list {
  column-count: 2;
  padding-left: 20px;
}

.pricing-list-item {
  line-height: normal;
  margin-right: 10px;
  margin-bottom: 10px;
}

.pricing-tag {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
}

.pricing-tag span {
  font-size: 180%;
  line-height: normal;
}

.pricing-thumb .link-fx-1 {
  color: var(--primary-color);
}

.pricing-thumb .link-fx-1:hover {
  color: var(--link-hover-color);
}

/* This will target paragraphs inside the pricing-section (Why Us) */
.pricing-section p {
  color: #000000 !important; /* Force black color in Why Us section */
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}

.site-footer-top {
  background-color: var(--secondary-color);
  /*background-image: url('../images/bg3.jpg');*/
  background-repeat: no-repeat;
  margin-bottom: 70px;
  padding-top: 30px;
  padding-bottom: 30px;
} 

.site-footer-bottom {
  border-top: 1px solid #1f1c1c;
  margin-top: 60px;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer-link,
.copyright-text {
  color: var(--white-color);
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.social-icon-link span {
  display: block;
}

.social-icon-link span:hover::before{
  animation: spinAround 2s linear infinite;
}
/***************************************************/
.navbar-logo {
    height: 40px; /* Adjust based on your logo's proportions */
    width: auto; /* Maintain aspect ratio */
    transition: all 0.3s ease;
}

/* Optional: Add hover effect */
.navbar-brand:hover .navbar-logo {
    opacity: 0.8;
}

/* For responsive adjustments */
@media (max-width: 991px) {
    .navbar-logo {
        height: 30px; /* Smaller on mobile */
    }
}

.navbar-brand {
    padding: 0; /* Remove default padding */
    margin-right: 15px; /* Add some spacing */
}

.navbar-logo {
    height: 60px; /* Increased from 40px */
    width: auto;
    max-width: 200px; /* Prevent over-stretching */
    transition: all 0.3s ease;
}

/* Adjust for mobile devices */
@media (max-width: 991px) {
    .navbar-logo {
        height: 50px; /* Slightly smaller on mobile */
        max-width: 180px;
    }
}

.pricing-section .row {
    display: flex;
    flex-wrap: wrap;
}

.pricing-thumb {
    display: flex;
    flex-direction: column;
    height: 100%; /* Make both boxes fill available height */
}

.pricing-thumb > *:last-child {
    margin-top: auto; /* Push button to bottom */
}

.artists-hover p {
    margin-bottom: 10px;
    display: flex; /* This keeps label and text on same line */
}

.artists-hover strong {
    min-width: 100px; /* Give consistent width to labels */
    display: inline-block;
}

.description-text {
    display: inline-block;
    max-width: calc(100% - 100px); /* Adjust based on your label width */
}

.imagebackground {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 20px; /* Adjust as needed */
    color: white; /* Text color - change if needed */
}

/* If you want the text to be more readable over the image */
.imagebackground h3,
.imagebackground p {
    position: relative;
    z-index: 2;
}

/* Optional overlay to make text more readable */
.imagebackground::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
    z-index: 1;
}


.artists-thumb {
    position: relative;
    overflow: hidden; /* Ensures content doesn't overflow */
    margin-bottom: 24px;
}

.artists-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    max-height: 80%; /* Limits the height of the pop-up */
    overflow-y: auto; /* Adds scroll if content is too long */
}

.artists-thumb:hover .artists-hover {
    transform: translateY(0);
}

.description-text {
    display: block;
    max-height: 100px; /* Limits description height */
    overflow-y: auto; /* Adds scroll if description is too long */
}


/* Change the "Our Aim" box background to red */
.about-text-info {
    background-color: #ff0000; /* Pure red */
    color: white; /* White text for better readability */
    padding: 20px;
    border-radius: 5px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

/* If you want a darker or softer red, use one of these instead */
.about-text-info {
    background-color: #cc0000; /* Darker red */
    /* OR */
    background-color: #e74c3c; /* Softer red (like tomato) */
}

.scrollable-description-box {
    max-height: 100px; /* Adjust based on your needs */
    overflow-y: auto; /* Enables vertical scroll */
    background-color: #ffebee; /* Light red background */
    border: 1px solid #ffcdd2; /* Slightly darker red border */
    padding: 8px;
    margin-top: 4px; /* Space between label and box */
    border-radius: 4px; /* Optional: rounded corners */
    width: 100%; /* Takes full width */
    box-sizing: border-box; /* Includes padding in width */
}

/* Custom scrollbar styling */
.scrollable-description-box::-webkit-scrollbar {
    width: 6px;
}
.scrollable-description-box::-webkit-scrollbar-thumb {
    background: #d32f2f; /* Red scrollbar */
    border-radius: 3px;
}

.clickable-box {
    position: relative;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Custom background image style matching rock-background-image */
.table-background-image-wrap.custom-background-image {
    /*background-image: url('../images/artists/chesam1.jpg');*/
    background-size: cover;
    background-position: center;
    position: relative;
    color: white; /* or whatever text color matches the other cells */
    text-align: center;
    padding: 20px;
}

/* Make sure the overlay matches the other cells */
.table-background-image-wrap.custom-background-image .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* adjust opacity as needed */
}

/* Projects Gallery Styles */
.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 300px; /* Fixed height for uniform cards */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card {
        height: 250px;
    }
}

/* Progress Gallery Section */
.progress-gallery-section {
    background-color: #f8f9fa;
    padding: 100px 0 80px; /* Increased top padding */
}

.progress-scroll-container {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.progress-scroll-wrapper {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    transition: transform 0.5s ease;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.progress-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.progress-item {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.progress-item:hover {
    transform: translateY(-10px);
}

.progress-image {
    height: 200px;
    overflow: hidden;
}

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

.progress-item:hover .progress-image img {
    transform: scale(1.05);
}

.progress-info {
    padding: 20px;
}

.progress-info h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.progress-info h5 {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 10px;
}

.progress-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.scroll-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-item {
        min-width: 250px;
    }
    
    .progress-scroll-wrapper {
        gap: 15px;
    }
}

/* Progress Gallery Background */
.progress-gallery-section {
    position: relative;
    background: url('../images/bg2.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: white; /* Make text white to contrast with dark background */
}

.progress-gallery-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.progress-gallery-section .container {
    position: relative;
    z-index: 2;
}

/* Update text colors for visibility */
.progress-gallery-section h2 {
    margin-top: 30px; /* Adds space below the navbar */
    margin-bottom: 15px;
}

.progress-gallery-section p {
    color: white;
    margin-bottom: 40px;

}

/* Update card styles for better visibility on dark background */
.progress-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.progress-info h4 {
    color: #2c3e50;
}

.progress-info h5 {
    color: #e74c3c;
}

.progress-info p {
    color: #34495e;
}

/* Update button styles */
.scroll-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

/* Modal Styles */
.modal-image {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
}

#portfolioModal .modal-content {
    background-color: transparent;
    border: none;
}

#portfolioModal .modal-header {
    border-bottom: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

#portfolioModal .modal-title {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

#portfolioModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

#portfolioModal .modal-dialog {
    max-width: 95vw;
    margin: 0 auto;
}

#portfolioModal img {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
}

#portfolioModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
}


/* Modal Navigation Buttons */
.modal-nav-btn {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
}

.modal-nav-btn:hover {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.modal-nav-btn i {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

/* Hide buttons when not needed */
.modal-nav-btn.hidden {
    display: none;
}

body.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

.modal {
    overflow-y: auto;
}


/* Add this to your CSS */
.navbar {
    background-color: #000 !important; /* Solid black background */
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* Ensure the navbar stays black when scrolling */
.navbar.sticky {
    background-color: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.portfolio-section h2 {
    margin-top: 50px; /* Adjust this value as needed */
    margin-bottom: 20px; /* Optional: Adjust spacing below the heading */
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scroll-btn:disabled:hover {
    background-color: initial;
}

/*testinggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg*/

.artists-image-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.artists-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transition: all 0.3s ease;
}

.artists-caption h5 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.artists-caption p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.artists-image {
    width: 100%;
    display: block;
}

.drag-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch; /* smooth momentum on iOS */
  touch-action: pan-y; /* allow vertical page scroll */
  padding-bottom: 10px;
}

.drag-scroll-content {
  display: inline-flex;
  gap: 20px; /* spacing between project boxes */
}

.progress-item-link {
  display: inline-block;
  vertical-align: top;
  width: 300px; /* fixed width for each project box */
  text-decoration: none;
  color: inherit;
  user-select: none; /* prevent text selection while dragging */
}

.progress-item {
  background: #d1c1c1; /* or your design color */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.progress-item:hover {
  transform: scale(1.05);
}

.progress-image img {
  width: 100%;
  display: block;
}

.progress-info {
  padding: 15px;
  color: white;
}

.scroll-btn {
  background: #444;
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.scroll-btn:hover:not(:disabled) {
  background: #666;
}

.scroll-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
/* Hide horizontal scrollbar but keep scroll functionality */
.drag-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.drag-scroll-container::-webkit-scrollbar {
  display: none;             /* Chrome, Safari and Opera */
}

.scroll-btn {
  background-color: rgba(255, 255, 255, 0.85); /* semi-transparent white */
  border: none;
  border-radius: 50%;        /* round buttons */
  width: 40px;
  height: 40px;
  margin: 0 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(95, 72, 72, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;               /* icon color */
  font-size: 20px;
}

.scroll-btn:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: #000;
}

.scroll-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.scroll-btn i {
  pointer-events: none; /* make sure icon doesn’t block clicks */
}


/* Add these styles to your CSS file */

/* Section 4 - Projects Gallery Fixes */
.progress-item {
    width: 300px; /* Fixed width */
    height: 400px; /* Fixed height to maintain consistency */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure nothing overflows the box */
}

.progress-image {
    height: 200px; /* Fixed height for image */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.progress-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

.progress-info {
    padding: 15px;
    flex-grow: 1; /* Allow this section to take remaining space */
    display: flex;
    flex-direction: column;
}

.progress-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.progress-info h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.progress-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    white-space: normal; /* Allow text to wrap */
    margin-bottom: 10px;
    flex-grow: 1; /* Push the link to the bottom */
}

/* Make sure the link stays at the bottom */
.progress-info a {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-item {
        width: 280px;
        height: 380px;
    }
    
    .progress-image {
        height: 180px;
    }
}


.gallery-section {
    position: relative;
    background: url('../images/bg2.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    background-color: rgb(211, 80, 23);
    color: white; /* Make text white to contrast with dark background */
}




.artists-image-wrap {
    border-radius: 20px; /* or your preferred value */
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* ensures full containment */
}

.artists-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
}

.artists-caption {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.artists-section {
    position: relative;
    background: url('../images/your-background.gif') no-repeat center center / cover; /* or your video background setup */
    color: white;
    z-index: 0;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1); /* Adjust opacity here */
    z-index: 1;
}

/* Ensure content appears above overlay */
.artists-section .container {
    position: relative;
    z-index: 2;
}





.card {
    height: 350px;       /* Set a consistent height for all cards */
    display: flex;
    flex-direction: column;
}

.card-img-top {
    height: 500px;       /* Keep all images same height */
    object-fit: cover;
}

.card-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



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


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: var(--dark-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .hero-section {
    padding-top: 150px;
  }

  .pricing-thumb {
    padding: 35px;
  }

  .schedule-table h3 {
    font-size: 22px;
  }

  .schedule-table th {
    padding: 20px;
  }

  .schedule-table tr, 
  .schedule-table td {
    padding: 25px;
  }

  .ticket-section {
    padding-top: 130px;
  }

  .ticket-form {
    padding: 30px;
  }
  
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .custom-video {
        /* Some mobile browsers need this */
        position: fixed;
    }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

/* =========================================== */
/* FIX: PREVENT NAVBAR ELEMENTS FROM DROPPING  */
/* =========================================== */

/* CRITICAL: Make navbar container a proper flex container */
.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
}

/* Logo - stays fixed on left */
.navbar-brand {
    flex-shrink: 0;
    order: 1;
    margin-right: auto;
}

/* Book Online Button - moved to right side before hamburger */
.book-online-btn-persistent {
    background-color: #11A48E;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
    white-space: nowrap;
    
    /* FLEX POSITIONING - MOVED TO RIGHT SIDE */
    display: inline-block;
    flex-shrink: 0;
    order: 2;
    margin-right: 15px;
    
    box-shadow: 0 3px 10px rgba(17, 164, 142, 0.2);
}

.book-online-btn-persistent:hover {
    background-color: #43b5a4;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(17, 164, 142, 0.3);
}

/* Hamburger Menu - stays on far right */
.navbar-toggler {
    order: 3;
    flex-shrink: 0;
}

/* NAVBAR COLLAPSE - Only affects menu items */
.navbar-collapse {
    order: 4;
    flex-basis: 100%;
    flex-grow: 0;
}

/* Mobile: Make navbar-collapse appear BELOW, not between */
@media (max-width: 991px) {
    .navbar > .container {
        flex-wrap: wrap; /* Allow wrapping ONLY for the menu */
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%; /* Position below navbar */
        left: 0;
        right: 0;
        background-color: var(--dark-color); /* Your navbar color */
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Ensure logo, button, and hamburger stay on first row */
    .navbar-brand,
    .book-online-btn-persistent,
    .navbar-toggler {
        position: static !important;
        transform: none !important;
    }
    
    /* Adjust button for mobile */
    .book-online-btn-persistent {
        margin-right: 10px;
        padding: 6px 15px;
        font-size: 14px;
    }
}

/* =========================================== */
/* SAMSUNG GALAXY S8+ SPECIFIC FIX             */
/* =========================================== */

@media screen and (min-width: 360px) and (max-width: 740px) and (orientation: portrait),
       screen and (min-device-width: 360px) and (max-device-width: 740px) and (orientation: portrait) {
    
    .navbar > .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: auto !important;
        min-height: 56px !important;
    }
    
    /* Logo on left */
    .navbar-brand {
        flex-shrink: 0;
        margin-right: auto !important;
    }
    
    /* Book Online Button - right side before hamburger */
    .book-online-btn-persistent {
        margin-left: auto !important;
        margin-right: 10px !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
        flex-shrink: 0;
        order: 2 !important;
    }
    
    /* Hamburger Menu - far right */
    .navbar-toggler {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
        order: 3 !important;
    }
    
    /* Navbar Collapse - FORCE BELOW */
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 0 !important;
        z-index: 9999 !important;
        background-color: var(--dark-color) !important;
    }
}


/* =========================================== */
/* CIRCULAR WHATSAPP BUTTON                    */
/* Always visible at bottom-left of screen     */
/* =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999; /* Very high to stay above everything */
}

.whatsapp-link {
    background-color: #11A48E; /* Official WhatsApp green */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Circle diameter */
    height: 60px;
    border-radius: 50%; /* Makes it a perfect circle */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-link:hover {
    background-color: #128C7E; /* Official WhatsApp darker green */
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-link i {
    font-size: 30px; /* Larger icon for the circle */
    margin-right: 0; /* Remove margin since no text */
}

/* Remove the text entirely */
.whatsapp-text {
    display: none !important;
}

/* Optional: Add a subtle pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Add the pulse animation */
.whatsapp-link {
    animation: whatsapp-pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-link i {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 26px;
    }
}

/*---------------------------------------
  PARTNERS BAR - NO TEXT, NO EXTRA SPACE
-----------------------------------------*/
.partners-bar {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    line-height: 0; /* Remove any line height space */
    font-size: 0; /* Remove any font space */
}

.partners-track {
    display: inline-flex;
    align-items: center;
    animation: scrollPartners 40s linear infinite;
    white-space: nowrap;
}

.partners-track img {
    height: 60px;
    width: auto;
    margin: 0 40px; /* Only space between logos */
    display: inline-block;
    vertical-align: middle;
}

/* Pause on hover */
.partners-bar:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Scroll exactly half to create seamless loop */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .partners-track img {
        height: 40px;
        margin: 0 25px;
    }
}

@media (max-width: 576px) {
    .partners-track img {
        height: 30px;
        margin: 0 20px;
    }
}

/* ===== WHAT ARE IMPLANTS SECTION - Dental Implants Page Only ===== */
.what-are-implants-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.what-are-implants-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.what-are-implants-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.what-are-implants-section .align-items-center {
    align-items: center;
}

.what-are-implants-section [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.what-are-implants-section .section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #333;
}

.what-are-implants-section .section-description {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}

.what-are-implants-section .btn-learn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.what-are-implants-section .btn-learn-more:hover {
    background-color: #004999;
}

.what-are-implants-section .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.what-are-implants-section .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 992px) {
    .what-are-implants-section .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .what-are-implants-section {
        padding: 50px 0;
    }
    
    .what-are-implants-section .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .what-are-implants-section .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .what-are-implants-section .col-12:first-child {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .what-are-implants-section .section-title {
        font-size: 28px;
    }
    
    .what-are-implants-section .section-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ===== MATERIALS SECTION - Dental Implants Page Only ===== */
.materials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.materials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.materials-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.materials-section .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.materials-section .section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.materials-section .section-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.materials-section .row.mt-5 {
    margin-top: 3rem !important;
}

.materials-section .material-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.materials-section .material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.materials-section .material-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.materials-section .material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.materials-section .material-card:hover .material-image img {
    transform: scale(1.05);
}

.materials-section .material-content {
    padding: 30px;
    position: relative;
    text-align: left;
}

.materials-section .material-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
}

.materials-section .material-description {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
}

.materials-section .material-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 48px;
    color: var(--secondary-color, #11A48E);
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.materials-section .material-card:hover .material-icon {
    opacity: 0.3;
}

.materials-section .material-link {
    display: inline-block;
    color: var(--secondary-color, #11A48E);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.materials-section .material-link:hover {
    color: #0d8a78;
    transform: translateX(5px);
}

.materials-section .material-link i {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.materials-section .material-link:hover i {
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .materials-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .materials-section {
        padding: 60px 0;
    }
    
    .materials-section .section-title {
        font-size: 32px;
    }
    
    .materials-section .material-image {
        height: 220px;
    }
    
    .materials-section .material-content {
        padding: 25px;
    }
    
    .materials-section .material-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .materials-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .materials-section .row.mt-5 {
        margin-top: 2rem !important;
    }
}

@media (max-width: 576px) {
    .materials-section {
        padding: 40px 0;
    }
    
    .materials-section .section-title {
        font-size: 28px;
    }
    
    .materials-section .material-image {
        height: 180px;
    }
    
    .materials-section .material-content {
        padding: 20px;
    }
    
    .materials-section .material-title {
        font-size: 22px;
    }
    
    .materials-section .material-description {
        font-size: 14px;
    }
    
    .materials-section .material-icon {
        font-size: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Green text color using your secondary color */
.green-text {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* ===== DENTAL IMPLANTS PAGE - ULTRA MINIMAL SPACING ===== */
.dental-implants-page .what-are-implants-section {
    padding-top: 100px !important;
    padding-bottom: 30px;
}

/* Mobile spacing fixes */


.dental-implants-page .materials-section {
    padding-top: 10px !important; /* Almost no top spacing */
    padding-bottom: 40px !important;
}

.dental-implants-page .materials-section .section-title {
    margin-bottom: 5px !important;
}

.dental-implants-page .materials-section .section-subtitle {
    margin-bottom: 20px !important;
}

.dental-implants-page .materials-section .row.mt-5 {
    margin-top: 0.5rem !important;
}

@media (max-width: 768px) {
    .dental-implants-page .what-are-implants-section {
        padding-top: 70px !important;
    }
    
    .dental-implants-page .materials-section {
        padding-top: 5px !important;
    }
}



/* ===== CENTER THE TEXT IN THE FIRST COLUMN ===== */
.dental-implants-page .what-are-implants-section .col-lg-6:first-child {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dental-implants-page .what-are-implants-section .section-title {
    text-align: center !important;
    width: 100%;
}

.dental-implants-page .what-are-implants-section .section-description {
    text-align: center !important;
    width: 100%;
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep video column left-aligned */
.dental-implants-page .what-are-implants-section .col-lg-6:last-child {
    text-align: left !important;
}

/* ===== MATERIALS SECTION SPACING ===== */
.dental-implants-page .materials-section {
    padding-top: 10px !important; /* Almost no top spacing */
    padding-bottom: 40px !important;
}

.dental-implants-page .materials-section .section-title {
    margin-bottom: 5px !important;
}

.dental-implants-page .materials-section .section-subtitle {
    margin-bottom: 20px !important;
}

.dental-implants-page .materials-section .row.mt-5 {
    margin-top: 0.5rem !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991px) {
    .dental-implants-page .what-are-implants-section .section-description {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .dental-implants-page .what-are-implants-section {
        padding-top: 100px !important;
    }
    
    .dental-implants-page .what-are-implants-section .section-description {
        max-width: 100%;
    }
    
    .dental-implants-page .materials-section {
        padding-top: 5px !important;
    }
}

.dental-implants-page .material-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dental-implants-page .material-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    transition: transform 0.5s ease;
    background-color: #f8f9fa; /* Background for any empty space */
}





/*---------------------------------------
  TREATMENT DROPDOWN - ELEGANT STYLING
  Smooth corners with green hover effects
-----------------------------------------*/



/* Dropdown wrapper - centers the dropdown */
.treatment-dropdown-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 10;
}

/* Main dropdown styling */
.treatment-select {
    display: block;
    width: 100%;
    padding: 16px 25px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
    
    /* Single arrow - green */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2311A48E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

/* Hover state for the dropdown itself */
.treatment-select:hover {
    border-color: var(--secondary-color, #11A48E);
    box-shadow: 0 8px 25px rgba(17, 164, 142, 0.2);
    transform: translateY(-2px);
    background-color: #fafffe;
    /* Keep the same arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2311A48E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

/* Focus state */
.treatment-select:focus {
    outline: none;
    border-color: var(--secondary-color, #11A48E);
    box-shadow: 0 0 0 4px rgba(17, 164, 142, 0.15), 0 8px 25px rgba(17, 164, 142, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2311A48E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

/* 
  NOTE: Styling <option> hover is VERY limited across browsers.
  Most browsers (Chrome, Safari, Edge) do NOT support option:hover.
  Only Firefox has limited support.
  
  As an alternative, we'll style the dropdown when open and
  ensure the selected item is clearly green.
*/

/* Style for the dropdown options container */
.treatment-select optgroup,
.treatment-select option {
    font-size: 15px;
    padding: 12px 15px;
}

/* Style for the placeholder option (first one) */
.treatment-select option:first-of-type {
    color: #999;
}

/* Style for all options - this works in all browsers for the selected state */
.treatment-select option:checked {
    background: var(--secondary-color, #11A48E) !important;
    color: white !important;
    font-weight: 500;
}

/* Firefox-specific hover support (limited) */
@-moz-document url-prefix() {
    .treatment-select option:hover {
        background: var(--secondary-color, #11A48E) !important;
        color: white !important;
    }
}

/* For Chrome/Edge/Safari - we can't style option hover directly,
   but we can add a custom dropdown implementation if needed.
   For now, we'll enhance the visual feedback when the dropdown is open.
*/

/* Add a visual indicator when the dropdown is open */
.treatment-select:active {
    border-color: var(--secondary-color, #11A48E);
    background-color: #e8f7f4;
}

/* Animation for the dropdown */
@keyframes gentlePulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 0 5px 20px rgba(17, 164, 142, 0.1);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
}

.treatment-select {
    animation: gentlePulse 3s infinite ease-in-out;
}

.treatment-select:hover {
    animation: none;
}

/* Responsive styles */
@media (max-width: 991px) {
    .treatment-dropdown-wrapper {
        max-width: 400px;
    }
    
    .treatment-select {
        padding: 14px 22px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .treatment-dropdown-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .treatment-select {
        padding: 14px 20px;
        font-size: 15px;
        background-position: right 18px center;
    }
    

}

@media (max-width: 576px) {
    .treatment-select {
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 22px;
    }
    
    #projects .text-center h2 {
        font-size: 28px;
    }
}

/* Remove any pseudo-element arrows */
.treatment-dropdown-wrapper::before,
.treatment-dropdown-wrapper::after {
    display: none !important;
    content: none !important;
}

/* Style for when an option is selected */
.treatment-select.has-value {
    border-color: var(--secondary-color, #11A48E);
    background-color: #fafffe;
}

/* Add a subtle background color when dropdown is open */
.treatment-select[aria-expanded="true"],
.treatment-select:focus-within {
    border-color: var(--secondary-color, #11A48E);
    background-color: #f0fbf9;
}





/*---------------------------------------
  GOOGLE REVIEWS POPUP - COMPLETE FIX
-----------------------------------------*/

/* Floating Google Reviews Button */
.google-reviews-float {
    position: fixed;
    bottom: 100px;
    left: 25px;
    z-index: 9998;
}

.google-reviews-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: var(--body-font-family, 'Outfit', sans-serif);
    border: none;
    outline: none;
}

.google-reviews-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
}

.google-icon {
    width: 24px;
    height: 24px;
}

.google-rated-text {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.google-stars {
    color: #FBBC05;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-modal.show {
    display: block;
}

/* Popup Content */
.popup-content {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.popup-modal.show .popup-content {
    right: 0;
}

/* Popup Header */
.popup-header {
    padding: 20px 25px;
    background: var(--secondary-color, #11A48E);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-google-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.popup-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Popup Body */
.popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
}

/* Rating Summary */
.rating-summary {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.rating-summary-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.google-logo-small {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-logo-small img {
    width: 24px;
    height: 24px;
}

.rating-text {
    display: flex;
    align-items: baseline;
}

.rating-big {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.rating-out-of {
    font-size: 16px;
    color: #888;
    margin-left: 2px;
}

.rating-summary-right {
    text-align: right;
}

.rating-stars-large {
    color: #FBBC05;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 4px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

/* Reviews Container */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.reviewer-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f4;
    padding: 8px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 16px;
}

.review-stars {
    color: #FBBC05;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.review-date {
    color: #888;
    font-size: 12px;
    text-align: right;
}

/* Popup Footer */
.popup-footer {
    margin-top: 25px;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--secondary-color, #11A48E);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    font-size: 15px;
}

.btn-google-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.view-all-btn:hover {
    background: var(--primary-color, #000);
    transform: scale(1.05);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .google-reviews-float {
        bottom: 90px;
        left: 15px;
    }
    
    .popup-content {
        width: 100%;
        max-width: 350px;
    }
    
    .rating-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .rating-summary-left {
        justify-content: center;
    }
    
    .rating-summary-right {
        text-align: center;
    }
}


.write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: var(--secondary-color, #11A48E);
    padding: 10px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color, #11A48E);
    font-size: 14px;
    margin-top: 5px;
    width: fit-content;
}

.write-review-btn:hover {
    background: var(--secondary-color, #11A48E);
    color: white;
    transform: translateY(-2px);
}

.write-icon {
    font-size: 16px;
}

/*---------------------------------------
  GOOGLE REVIEWS BUTTON - RESPONSIVE FIXES
-----------------------------------------*/

/* iPhone SE and other very small phones (320px width) */
@media (max-width: 375px) {
    .google-reviews-float {
        bottom: 90px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .google-reviews-btn {
        padding: 8px 12px;
        gap: 6px;
        width: 100%;
        justify-content: center;
    }
    
    .google-icon {
        width: 18px;
        height: 18px;
    }
    
    .google-rated-text {
        font-size: 13px;
    }
    
    .google-stars {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
}

/* iPhone 6/7/8 and similar (375px width) */
@media (min-width: 376px) and (max-width: 390px) {
    .google-reviews-float {
        bottom: 95px;
        left: 12px;
    }
    
    .google-reviews-btn {
        padding: 9px 14px;
        gap: 7px;
    }
    
    .google-icon {
        width: 19px;
        height: 19px;
    }
    
    .google-rated-text {
        font-size: 13.5px;
    }
    
    .google-stars {
        font-size: 13px;
    }
}

/* Standard mobile (390px - 428px) */
@media (min-width: 391px) and (max-width: 480px) {
    .google-reviews-float {
        bottom: 95px;
        left: 15px;
    }
    
    .google-reviews-btn {
        padding: 10px 16px;
        gap: 8px;
    }
    
    .google-icon {
        width: 20px;
        height: 20px;
    }
    
    .google-rated-text {
        font-size: 14px;
    }
    
    .google-stars {
        font-size: 14px;
    }
}

/* Landscape mode on small phones */
@media (max-width: 667px) and (orientation: landscape) {
    .google-reviews-float {
        bottom: 80px;
        left: 15px;
    }
    
    .google-reviews-btn {
        padding: 7px 12px;
    }
}

/* For very tiny screens (iPhone SE in landscape) */
@media (max-width: 568px) and (orientation: landscape) {
    .google-reviews-float {
        bottom: 70px;
    }
    
    .google-reviews-btn {
        padding: 6px 10px;
    }
    
    .google-icon {
        width: 16px;
        height: 16px;
    }
    
    .google-rated-text {
        font-size: 12px;
    }
    
    .google-stars {
        font-size: 11px;
    }
}

/* Popup responsive for small phones */
@media (max-width: 375px) {
    .popup-content {
        width: 100%;
        max-width: 300px;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-header h3 {
        font-size: 18px;
    }
    
    .popup-body {
        padding: 15px;
    }
    
    .rating-big {
        font-size: 28px;
    }
    
    .review-text {
        font-size: 13px;
    }
}

/* WhatsApp button adjustment */
@media (max-width: 375px) {
    .whatsapp-float {
        bottom: 15px;
        left: 10px;
    }
    
    .whatsapp-link {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-link i {
        font-size: 24px;
    }
}



/*---------------------------------------
  TRULY SEAMLESS LOGO SLIDER - NO BLINKING
-----------------------------------------*/
.logo-slider {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  position: relative;
  width: 100%;
}

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

.logo-slider:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logo-slider:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
  /* Hardware acceleration */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  -webkit-perspective: 1000;
}

.logo-track a {
  display: inline-block;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-track img {
  height: 50px;
  width: auto;
  margin: 0 40px;
  display: block;
}

@keyframes scrollLogos {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* Move exactly half the total width */
  }
}

/* Pause on hover (desktop only) */
@media (hover: hover) {
  .logo-slider:hover .logo-track {
    animation-play-state: paused;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .logo-slider {
    padding: 40px 0;
  }
  
  .logo-track {
    animation: scrollLogos 20s linear infinite;
  }
  
  .logo-track img {
    height: 40px;
    margin: 0 25px;
  }
  
  .logo-slider:before,
  .logo-slider:after {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .logo-track {
    animation: scrollLogos 15s linear infinite;
  }
  
  .logo-track img {
    height: 30px;
    margin: 0 15px;
  }
  
  .logo-slider:before,
  .logo-slider:after {
    width: 60px;
  }
}

/*---------------------------------------
  TESTIMONIALS SECTION - PATIENT STORIES
-----------------------------------------*/
.testimonials-section {
    background-color: #ffffff;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
}

.testimonials-section .section-overlay {
    background-color: var(--secondary-color, #11A48E);
    opacity: 0.03;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.testimonials-section h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.testimonials-subtitle {
    color: var(--secondary-color, #11A48E);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}



.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 164, 142, 0.1);
    border-color: rgba(17, 164, 142, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    color: var(--secondary-color, #11A48E);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #FBBC05;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color, #11A48E), #0d8a78);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 10px rgba(17, 164, 142, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-verified {
    color: var(--secondary-color, #11A48E);
    font-size: 12px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.author-verified i {
    font-size: 14px;
}

.testimonials-btn {
    background: var(--secondary-color, #11A48E);
    color: white;
    padding: 14px 35px;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonials-btn:hover {
    background: var(--primary-color, #000);
    transform: scale(1.05);
    color: white;
    box-shadow: 0 10px 25px rgba(17, 164, 142, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .testimonials-section {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-section h2 {
        font-size: 32px;
    }
    
    .testimonials-subtitle {
        font-size: 16px;
    }
    
    .testimonials-subtitle::after {
        width: 50px;
        height: 2px;
    }
    
    .testimonial-card {
        padding: 20px 18px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .author-name {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    
    .testimonials-section h2 {
        font-size: 28px;
    }
    
    .testimonials-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}


/*---------------------------------------
  TREATMENTS SECTION - NO UNDERLINES
-----------------------------------------*/
/* Remove the green underline from "Click For More Treatments" */
#projects .text-center p {
    color: var(--secondary-color, #11A48E);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 0; /* Remove padding that was for the underline */
}

/* Remove the ::after pseudo-element that creates the underline */
#projects .text-center p::after {
    display: none; /* Hide the underline */
    content: none; /* Ensure it's completely removed */
}

/*---------------------------------------
  MOST POPULAR TREATMENTS TEXT - NO UNDERLINE
-----------------------------------------*/
.most-popular-text {
    color: var(--secondary-color, #11A48E);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-bottom: 0; /* Remove any padding */
}

/* Remove the underline from Most Popular Treatments */
.most-popular-text::after {
    display: none; /* Hide the underline */
    content: none; /* Ensure it's completely removed */
}

/* Responsive */
@media (max-width: 768px) {
    .most-popular-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .most-popular-text {
        font-size: 15px;
    }
}

/* Gallery Section Styles */
#treatments .gallery-section {
    position: relative;
    background-color: #000;
    padding: 100px 0;
    color: white;
}

#treatments .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#treatments .gallery-slider {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

#treatments .gallery-slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

#treatments .gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#treatments .gallery-slider .swiper-slide:hover img {
    transform: scale(1.1);
}

#treatments .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    transition: transform 0.3s ease;
}

#treatments .gallery-slider .swiper-slide:hover .project-info {
    transform: translateY(0);
}

#treatments .project-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

#treatments .project-info p {
    font-size: 14px;
    margin-bottom: 0;
}

#treatments .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

#treatments .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

#treatments .swiper-pagination-bullet-active {
    background-color: #fff;
}

/* Center text */
#treatments .text-center {
    text-align: center;
}

/* Container styling */
#treatments .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) {
    #treatments .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    #treatments .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    #treatments .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    #treatments .container {
        max-width: 1140px;
    }
}

/* Row styling */
#treatments .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

#treatments .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

#treatments .mb-5 {
    margin-bottom: 3rem !important;
}

/* Text white */
#treatments .text-white {
    color: white !important;
}

/* Project link styling */
#treatments .project-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/*---------------------------------------
  LOGO SLIDER - NEW STYLING
-----------------------------------------*/
.judger-wrapp {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.judger-wrapp .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.judger-row1 {
    text-align: center;
    margin-bottom: 30px;
}

.judger-bar1 {
    display: inline-block;
}

.judger-bar1 img {
    max-width: 100%;
    height: auto;
}

.judger-row2 {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color, #11A48E), transparent);
    margin: 20px 0 40px 0;
    opacity: 0.3;
}

.judger-row3 {
    position: relative;
}

.logo-slick-slider {
    margin: 0 -15px;
}

.logo-item {
    padding: 15px;
    outline: none;
}

.judger-bar3 {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 164, 142, 0.1);
}

.judger-bar3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(17, 164, 142, 0.15);
    border-color: var(--secondary-color, #11A48E);
}

.judger-bar3 img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(0%);
    transition: all 0.3s ease;
    object-fit: contain;
}

.judger-bar3:hover img {
    filter: grayscale(0%);
}

/* Slick slider custom styling */
.logo-slick-slider .slick-track {
    display: flex;
    align-items: center;
}

.logo-slick-slider .slick-slide {
    float: none;
    height: auto;
}

.logo-slick-slider .slick-dots {
    bottom: -40px;
}

.logo-slick-slider .slick-dots li button:before {
    color: var(--secondary-color, #11A48E);
    opacity: 0.3;
}

.logo-slick-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--secondary-color, #11A48E);
}

/* Responsive */
@media (max-width: 768px) {
    .judger-wrapp {
        padding: 40px 0;
    }
    
    .judger-bar3 {
        height: 100px;
        padding: 15px;
    }
    
    .judger-bar3 img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .judger-bar3 {
        height: 90px;
        padding: 12px;
    }
    
    .judger-bar3 img {
        max-height: 50px;
    }
}

/*---------------------------------------
  DENTAL IMPLANT LONGEVITY SECTION - FULL SCREEN CENTERED
-----------------------------------------*/
.implant-longevity-section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
    position: relative;
}

.implant-longevity-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.implant-longevity-section .section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.implant-longevity-section .green-text {
    color: var(--secondary-color, #11A48E);
}

/* Centered content */
.implant-longevity-section .longevity-content {
    text-align: center;
    margin: 0 auto;
}

.implant-longevity-section .longevity-description {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

/* Feature highlights */
.implant-longevity-section .feature-highlights {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color, #11A48E);
    padding: 30px;
    border-radius: 0 10px 10px 0;
    margin: 30px auto 0 auto;
    max-width: 600px;
    text-align: left; /* Keep feature items left-aligned within the centered box */
}

.implant-longevity-section .feature-item {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align within the box */
}

.implant-longevity-section .feature-item:last-child {
    margin-bottom: 0;
}

.implant-longevity-section .feature-item i {
    font-size: 20px;
    margin-right: 12px;
    color: var(--secondary-color, #11A48E);
    flex-shrink: 0;
}

/* Image container */
.implant-longevity-section .longevity-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 100%;
}

.implant-longevity-section .longevity-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.implant-longevity-section .longevity-image-wrapper:hover .longevity-image {
    transform: scale(1.02);
}

.implant-longevity-section .longevity-stats-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(17, 164, 142, 0.2);
}

.implant-longevity-section .stat-item {
    text-align: center;
}

.implant-longevity-section .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color, #11A48E);
    line-height: 1.2;
}

.implant-longevity-section .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {
    .implant-longevity-section {
        padding: 50px 0;
    }
    
    .implant-longevity-section .section-title {
        font-size: 36px;
    }
    
    .implant-longevity-section .longevity-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .implant-longevity-section {
        padding: 40px 0;
    }
    
    .implant-longevity-section .section-title {
        font-size: 32px;
    }
    
    .implant-longevity-section .feature-highlights {
        padding: 20px;
    }
    
    .implant-longevity-section .feature-item {
        font-size: 15px;
    }
    
    .implant-longevity-section .stat-number {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .implant-longevity-section .section-title {
        font-size: 28px;
    }
    
    .implant-longevity-section .longevity-description {
        font-size: 15px;
    }
    
    .implant-longevity-section .stat-number {
        font-size: 22px;
    }
}

/*---------------------------------------
  FIX: REDUCE TOP PADDING ON IMPLANT LONGEVITY TITLE
-----------------------------------------*/
.implant-longevity-section .section-title {
    margin-top: 0 !important; /* Remove any top margin */
    padding-top: 0 !important; /* Remove any top padding */
}

/* If the section itself has too much top padding */
.implant-longevity-section {
    padding-top: 0px !important; /* Reduce from 60px to 30px */
}

/* For mobile screens, reduce it even more if needed */
@media (max-width: 768px) {
    .implant-longevity-section {
        padding-top: 20px !important;
    }
}

/*---------------------------------------
  FIX: REDUCE SLIDER SECTION TOP PADDING
-----------------------------------------*/
.judger-wrapp.logo-slider-section {
    padding-top: 0px !important; /* Reduce from default */
}

/* If that doesn't work, try more specific selectors */
.logo-slider-section {
    padding-top: 0px !important;
}

/* Even more specific */
section.judger-wrapp.logo-slider-section {
    padding-top: 0px !important;
}

/* For mobile screens */
@media (max-width: 768px) {
    .judger-wrapp.logo-slider-section {
        padding-top: 0px !important;
    }
}

/*---------------------------------------
  IMPLANT LONGEVITY SECTION - CONSISTENT BOTTOM PADDING
-----------------------------------------*/
.implant-longevity-section {
    padding: 10px 0 0px 0; /* Top: 40px, Bottom: 30px */
    background-color: #ffffff;
}

/* Adjust based on your preference */
@media (max-width: 768px) {
    .implant-longevity-section {
        padding: 30px 0 20px 0;
    }
}

/*---------------------------------------
  TEAM SECTION - CURRENT WORKING STYLE
-----------------------------------------*/

.team-section {
    padding: 120px 0 80px 0; /* Increased top padding from 80px to 120px */
    background-color: #ffffff;
    position: relative;
}

.team-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.team-section .section-title::after {
    display: none;
}

.team-section .section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Main card - completely flat */
.team-card {
    background: transparent;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    border: none !important;
}

/* Make the entire image box clickable */
.team-image-box {
    width: 100%;
    aspect-ratio: 410 / 520;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 20px;
    box-shadow: none !important;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: none !important;
    filter: none !important;
    transition: transform 0.4s ease;
    pointer-events: none;
}

/* Remove all hover effects that might add shadows */
.team-card:hover .team-image-box {
    box-shadow: none !important;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

/* Text section - completely flat */
.team-info {
    padding: 15px 5px 5px 5px;
    text-align: center;
    background: transparent;
    box-shadow: none !important;
    border: none !important;
}

/* Clickable name styling - DARK BLUE */
.team-name {
    margin-bottom: 2px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none !important;
}

.team-name-link {
    color: #003366 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: none !important;
}

.team-name-link:hover {
    color: var(--secondary-color, #11A48E) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Role styling - NOT BOLD, SMALLER, NO AUTO CAPS */
.team-role {
    font-size: 15px;
    font-weight: 400;
    color: #0e8f7c;
    margin-bottom: 0;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none !important;
}

/* Grid Gap */
.team-section .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-section {
        padding: 110px 0 70px 0; /* Adjusted for tablet */
    }
}

@media (max-width: 991px) {
    .team-section {
        padding: 100px 0 60px 0; /* More top padding for mobile */
    }
    
    .team-section .section-title {
        font-size: 36px;
    }
    
    .team-section .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .team-image-box {
        border-radius: 18px;
    }
    
    .team-name {
        font-size: 18px;
    }
    
    .team-role {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 90px 0 50px 0; /* Even more top padding for smaller screens */
    }
    
    .team-section .section-title {
        font-size: 32px;
    }
    
    .team-section .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .team-image-box {
        border-radius: 16px;
    }
    
    .team-info {
        padding: 12px 5px 5px 5px;
    }
    
    .team-name {
        font-size: 17px;
    }
    
    .team-role {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .team-section {
        padding: 80px 0 40px 0; /* Maximum top padding for very small screens */
    }
    
    .team-section .section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .team-section .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .team-image-box {
        border-radius: 14px;
    }
    
    .team-name {
        font-size: 16px;
    }
    
    .team-role {
        font-size: 12px;
    }
}

/* Also check the container and row for any shadows */
.container,
.row,
[class*="col-"] {
    box-shadow: none !important;
}

/*---------------------------------------
  DOCTOR PROFILE PAGE - INDIVIDUAL PROFILES
  Matches the style from perladentalclinics.com
-----------------------------------------*/

.doctor-profile-section {
    padding: 120px 0 80px 0;
    background-color: #ffffff;
    position: relative;
}

/* Back to team link */
.back-to-team-link {
    color: var(--secondary-color, #11A48E);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-team-link:hover {
    color: var(--primary-color, #000);
    transform: translateX(-5px);
}

.back-to-team-link i {
    font-size: 20px;
}

/* Mobile Name - Hidden on desktop */
.doctor-name-mobile {
    display: none;
}

/* Desktop Name - Visible on desktop */
.doctor-name-desktop {
    display: block;
}

/* Left Card - Doctor Image & Contact */
.doctor-card-left {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.doctor-image-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1.1;
}

.doctor-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-image-wrapper:hover .doctor-profile-image {
    transform: scale(1.03);
}

/* Contact Box */
.doctor-contact-box {
    margin-top: 10px;
}

.contact-box-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.contact-info-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 18px;
    color: var(--secondary-color, #11A48E);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-link {
    color: #444;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--secondary-color, #11A48E);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-text {
    color: #444;
    font-size: 15px;
    line-height: 1.5;
}

/* Right Column - Doctor Info */
.doctor-info-right {
    padding-left: 20px;
}

.doctor-name-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.doctor-specialty {
    font-size: 22px;
    font-weight: 400;
    color: var(--secondary-color, #11A48E);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(17, 164, 142, 0.2);
    letter-spacing: -0.2px;
}

/* Biography Styling */
.doctor-bio {
    margin-top: 20px;
}

.doctor-bio p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    font-weight: 400;
}

.doctor-bio p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.doctor-cta {
    margin-top: 30px !important;
}

.doctor-cta .custom-btn {
    background: var(--secondary-color, #11A48E);
    border: 2px solid transparent;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 35px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.doctor-cta .custom-btn:hover {
    background: var(--primary-color, #000);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(17, 164, 142, 0.3);
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/

/* Desktop and iPad Air (821px and above) */
@media (min-width: 821px) {
    .doctor-name-desktop {
        display: block;
    }
    
    .doctor-name-mobile {
        display: none;
    }
    
    .doctor-card-left {
        position: sticky;
        top: 100px;
    }
    
    .doctor-info-right {
        padding-left: 20px;
    }
}

/* iPad Mini and below (820px and below) */
@media (max-width: 820px) {
    .doctor-profile-section {
        padding: 100px 0 60px 0;
    }
    
    .doctor-name-desktop {
        display: none;
    }
    
    .doctor-name-mobile {
        display: block;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .doctor-card-left {
        position: static;
        margin-bottom: 30px;
        padding: 25px 20px;
    }
    
    .doctor-info-right {
        padding-left: 0;
    }
    
    .doctor-name-title {
        font-size: 36px;
    }
    
    .doctor-specialty {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .doctor-bio p {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .doctor-profile-section {
        padding: 90px 0 50px 0;
    }
    
    .doctor-name-title {
        font-size: 32px;
    }
    
    .doctor-specialty {
        font-size: 18px;
    }
    
    .doctor-image-wrapper {
        aspect-ratio: 1 / 1.2;
    }
    
    .contact-box-title {
        font-size: 17px;
    }
    
    .contact-link,
    .contact-text {
        font-size: 14px;
    }
    
    .doctor-cta .custom-btn {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .doctor-profile-section {
        padding: 80px 0 40px 0;
    }
    
    .doctor-name-title {
        font-size: 28px;
    }
    
    .doctor-specialty {
        font-size: 17px;
    }
    
    .doctor-bio p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .doctor-card-left {
        padding: 20px 15px;
    }
    
    .contact-item {
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }
    
    .contact-icon {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .doctor-name-title {
        font-size: 26px;
    }
    
    .doctor-specialty {
        font-size: 16px;
    }
    
    .back-to-team-link {
        font-size: 14px;
    }
}

/*---------------------------------------
  STRAIGHTENING OPTIONS SECTION - PICTURE WITH TEXT BELOW
-----------------------------------------*/
.straightening-options-section {
    padding: 20px 0 60px 0;
    background-color: #ffffff;
}

.straightening-options-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.straightening-options-section .section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.straightening-options-section .section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.straightening-options-section .option-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 164, 142, 0.1);
}

.straightening-options-section .option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(17, 164, 142, 0.1);
    border-color: var(--secondary-color, #11A48E);
}

.straightening-options-section .option-image-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.straightening-options-section .option-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.straightening-options-section .option-card:hover .option-image {
    transform: scale(1.03);
}

.straightening-options-section .option-content {
    padding: 10px 0 5px 0;
}

.straightening-options-section .option-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.straightening-options-section .option-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.straightening-options-section .option-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.straightening-options-section .feature-badge {
    background: #f8f9fa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 15px;
    color: #333;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(17, 164, 142, 0.2);
    transition: all 0.3s ease;
}

.straightening-options-section .feature-badge:hover {
    background: var(--secondary-color, #11A48E);
    color: white;
    border-color: var(--secondary-color, #11A48E);
}

.straightening-options-section .feature-badge:hover i {
    color: white !important;
}

.straightening-options-section .feature-badge i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .straightening-options-section {
        padding: 20px 0 50px 0;
    }
    
    .straightening-options-section .section-title {
        font-size: 36px;
    }
    
    .straightening-options-section .option-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .straightening-options-section {
        padding: 15px 0 40px 0;
    }
    
    .straightening-options-section .section-title {
        font-size: 32px;
    }
    
    .straightening-options-section .section-subtitle {
        font-size: 16px;
    }
    
    .straightening-options-section .option-card {
        padding: 20px;
    }
    
    .straightening-options-section .option-title {
        font-size: 26px;
    }
    
    .straightening-options-section .option-description {
        font-size: 15px;
    }
    
    .straightening-options-section .option-features {
        gap: 12px;
    }
    
    .straightening-options-section .feature-badge {
        padding: 6px 14px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .straightening-options-section .section-title {
        font-size: 28px;
    }
    
    .straightening-options-section .option-title {
        font-size: 24px;
    }
    
    .straightening-options-section .option-features {
        flex-direction: column;
        align-items: center;
    }
    
    .straightening-options-section .feature-badge {
        width: 100%;
        justify-content: center;
    }
}

/*---------------------------------------
  PRICING SECTION STYLES
  Matches perladentalclinics.com style
  Uses Waterden Dental CSS variables
-----------------------------------------*/

.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Section Header */
.pricing-section .badge {
    background-color: var(--secondary-color) !important;
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.pricing-section h2 {
    color: var(--dark-color);
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-section .lead {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Member Benefits Alert */
.pricing-section .alert {
    background-color: rgba(17, 164, 142, 0.08);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    max-width: 800px;
    margin: 20px auto 0;
}

.pricing-section .alert i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 15px;
}

.pricing-section .alert span {
    color: #333;
    font-size: 16px;
}

.pricing-section .alert a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(17, 164, 142, 0.08);
}

/* Special card for free services */
.pricing-card.special-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(17, 164, 142, 0.2) !important;
}

/* Icon Circle */
.pricing-card .icon-circle {
    width: 48px;
    height: 48px;
    background-color: rgba(17, 164, 142, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card .icon-circle.large {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.pricing-card .icon-circle i {
    color: var(--secondary-color);
    font-size: 24px;
}

.pricing-card .icon-circle.large i {
    font-size: 32px;
}

/* Card Header */
.pricing-card-header {
    padding: 20px 20px 10px 20px;
    background: #ffffff;
}

.pricing-card-header h3 {
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}

.pricing-card-header p {
    color: #666;
    font-size: 14px;
    margin-left: 60px;
}

/* Pricing Table */
.pricing-table {
    padding: 0 15px 15px 15px;
    flex: 1;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row .treatment-name {
    color: #444;
    font-size: 15px;
    padding-right: 15px;
}

.pricing-row .treatment-price {
    color: var(--secondary-color);
    font-weight: 600;
    white-space: nowrap;
}

/* Category Headers */
.pricing-category {
    background-color: rgba(17, 164, 142, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 10px 0 5px;
}

.pricing-category span {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.pricing-footer {
    padding: 0 20px 20px 20px;
    margin-top: auto;
}

.pricing-footer small {
    color: #888;
    font-size: 13px;
}

/* CTA Button */
.pricing-card .btn {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 10px;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    width: 100%;
    font-weight: 500;
}

.pricing-card .btn:hover {
    background-color: var(--dark-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 164, 142, 0.3);
}

/* Cancellation Policy Box */
.pricing-section .policy-box {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
}

.pricing-section .policy-box i {
    color: var(--secondary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.pricing-section .policy-box h4 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-section .policy-box p {
    color: #666;
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Quote Button */
.pricing-section .quote-btn {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.pricing-section .quote-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 164, 142, 0.3);
    color: white;
}

/* Small Print */
.pricing-section .small-print {
    color: #888;
    font-size: 14px;
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
}

/* Check icon in free services */
.pricing-row .bi-check-circle-fill {
    color: var(--secondary-color);
    font-size: 16px;
    margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .pricing-section {
        padding: 70px 0;
    }
    
    .pricing-section h2 {
        font-size: 40px;
    }
    
    .pricing-section .lead {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-section h2 {
        font-size: 36px;
    }
    
    .pricing-section .alert {
        padding: 15px 20px;
        border-radius: 20px;
    }
    
    .pricing-section .alert span {
        font-size: 15px;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .pricing-row {
        padding: 10px 0;
    }
    
    .pricing-row .treatment-name {
        font-size: 14px;
    }
    
    .pricing-row .treatment-price {
        font-size: 14px;
    }
    
    .pricing-section .policy-box {
        padding: 20px;
    }
    
    .pricing-section .policy-box .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-section .policy-box i {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 50px 0;
    }
    
    .pricing-section h2 {
        font-size: 32px;
    }
    
    .pricing-section .lead {
        font-size: 16px;
    }
    
    .pricing-section .badge {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .pricing-card-header {
        padding: 15px 15px 5px 15px;
    }
    
    .pricing-card-header .d-flex {
        gap: 12px !important;
    }
    
    .pricing-card-header h3 {
        font-size: 18px;
    }
    
    .pricing-card-header p {
        font-size: 13px;
        margin-left: 45px;
    }
    
    .pricing-table {
        padding: 0 12px 12px 12px;
    }
    
    .pricing-row {
        padding: 8px 0;
    }
    
    .pricing-row .treatment-name {
        font-size: 13px;
    }
    
    .pricing-row .treatment-price {
        font-size: 13px;
    }
    
    .pricing-footer {
        padding: 0 15px 15px 15px;
    }
    
    .pricing-section .quote-btn {
        padding: 10px 25px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .pricing-section .small-print {
        font-size: 12px;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .pricing-section h2 {
        font-size: 28px;
    }
    
    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .pricing-row .treatment-price {
        align-self: flex-end;
    }
}

.pricing-section {
    margin-top: 0px;
}

/* Or for more precise control */
.pricing-section .row:first-child {
    margin-top: 30px;
}

/*---------------------------------------
  FOOTER POLICY LINKS - MINIMAL STYLING
-----------------------------------------*/
.policy-links-wrapper {
    gap: 8px 15px;
    padding: 15px 0 10px 0;
}

.policy-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.policy-link:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Responsive - Keep links horizontal on all screens */
@media (max-width: 768px) {
    .policy-links-wrapper {
        gap: 8px 12px;
        padding: 12px 0 8px 0;
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
    }
    
    .policy-link {
        white-space: nowrap; /* Keep on single line */
        font-size: 13px;
    }
    
    .policy-separator {
        display: inline-block; /* Keep separators visible */
        color: rgba(255, 255, 255, 0.3);
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .policy-links-wrapper {
        gap: 6px 10px;
        padding: 10px 0 8px 0;
    }
    
    .policy-link {
        font-size: 12px;
    }
    
    .policy-separator {
        font-size: 12px;
    }
}

/* For very small screens where they might still need to wrap */
@media (max-width: 380px) {
    .policy-links-wrapper {
        gap: 4px 8px;
    }
    
    .policy-link {
        font-size: 11px;
    }
    
    .policy-separator {
        font-size: 11px;
    }
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/*---------------------------------------
  POLICY PAGES STYLES
  For Terms of Use, Data Protection, Complaints Procedure, etc.
-----------------------------------------*/

.policy-section {
    padding: 120px 0 80px 0;
    background-color: #ffffff;
}

.policy-header {
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(17, 164, 142, 0.2);
    padding-bottom: 20px;
}

.policy-header h1 {
    color: #333;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.policy-header .last-updated {
    color: #666;
    font-size: 16px;
    margin-bottom: 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section-block {
    margin-bottom: 40px;
}

.policy-section-block h2 {
    color: var(--secondary-color, #11A48E);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(17, 164, 142, 0.1);
}

.policy-section-block h3 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.policy-section-block p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section-block ul, 
.policy-section-block ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-section-block li {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-section-block li strong {
    color: var(--secondary-color, #11A48E);
}

.policy-highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color, #11A48E);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.policy-highlight-box p {
    margin-bottom: 0;
}

.data-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.data-list-item {
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color, #11A48E);
    font-size: 15px;
    color: #333;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(17, 164, 142, 0.1);
    margin-top: 40px;
}

.contact-card h3 {
    color: var(--secondary-color, #11A48E);
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-card p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #444;
}

.contact-card i {
    color: var(--secondary-color, #11A48E);
    font-size: 18px;
    width: 28px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--secondary-color, #11A48E);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #0d8a78;
    transform: translateX(-5px);
}

.back-link i {
    margin-right: 8px;
}

/* Table styles for future use */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.policy-table th {
    background-color: var(--secondary-color, #11A48E);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

/*---------------------------------------
  COMPLAINTS PROCEDURE STEP LIST
-----------------------------------------*/
.step-list {
    margin: 30px 0;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--secondary-color, #11A48E);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    margin-bottom: 8px;
}

@media (max-width: 576px) {
    .step-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/*---------------------------------------
  POLICY TABLE STYLES
-----------------------------------------*/
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-table thead tr {
    background-color: var(--secondary-color, #11A48E);
    color: white;
    font-weight: 600;
}

.policy-table th,
.policy-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    vertical-align: top;
}

.policy-table tbody tr:hover {
    background-color: rgba(17, 164, 142, 0.02);
}

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

@media (max-width: 768px) {
    .policy-table {
        font-size: 14px;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .policy-table th,
    .policy-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ===== COOKIE CONSENT BANNER - mydentist style ===== */
.cookie-consent {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 16px 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: calc(100% - 40px);
    max-width: 900px; /* Reduced from 1200px to 900px */
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px; /* Reduced from 20px */
}

.cookie-content {
    flex: 1 1 400px; /* Increased min-width to push buttons sooner */
    color: #1e2b3c;
}

.cookie-title {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #1e2b3c;
    font-weight: 600;
}

.cookie-message {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

.cookie-message p {
    margin: 0;
    color: #4b5563;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Reduced from 12px */
    align-items: center;
}

.cookie-btn {
    padding: 8px 20px; /* Slightly smaller padding */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem; /* Slightly smaller font */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #11A48E;
    color: white;
    border: 1px solid #11A48E;
}

.cookie-btn-accept:hover {
    background-color: #0d7364;
    border-color: #11A48E;
}

.cookie-btn-settings {
    background-color: transparent;
    color: #1e2b3c;
    border: 1px solid #9ba2ad;
}

.cookie-btn-settings:hover {
    background-color: #f3f5f7;
    border-color: #1e2b3c;
}

/* ===== COOKIE PREFERENCES PANEL ===== */
.settings-panel {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 10000;
    max-width: 800px;
    width: calc(100% - 40px);
    max-height: 85vh;
    overflow-y: auto;
    display: none;
    font-family: 'Outfit', -apple-system, sans-serif;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transition: all 0.3s ease;
}

.settings-panel.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    animation: none;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}

.settings-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e2b3c;
}

.close-settings {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
    padding: 0 8px;
}

.close-settings:hover {
    color: #1e2b3c;
}

.settings-description {
    padding: 20px 24px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.settings-description p {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

.settings-description a {
    color: #0066a1;
    text-decoration: underline;
    font-weight: 500;
}

.settings-accordion {
    padding: 16px 24px;
}

.cookie-category {
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.category-title {
    font-weight: 600;
    color: #1e2b3c;
    font-size: 1.1rem;
}

.category-status {
    color: #059669;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-status.always-active {
    color: #6b7280;
    font-size: 0.9rem;
}

.category-description {
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    background: white;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #0066a1;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.settings-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
    background: white;
    position: sticky;
    bottom: 0;
}

.save-settings {
    background-color: #0066a1;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.save-settings:hover {
    background-color: #004b7c;
}

/* Responsive */
@media (max-width: 992px) {
    .cookie-consent {
        max-width: 800px; /* Even smaller on medium screens */
    }
}

@media (max-width: 768px) {
    .cookie-consent {
        top: 16px;
        width: calc(100% - 32px);
        padding: 14px 16px;
        max-width: none; /* Remove max-width on mobile */
    }
    
    .cookie-container {
        flex-direction: row; /* Keep row layout */
        flex-wrap: wrap;
        gap: 12px; /* Reduced gap */
    }
    
    .cookie-content {
        flex: 1 1 100%; /* Take full width */
    }
    
    .cookie-message {
        margin-bottom: 0;
    }
    
    .cookie-buttons {
        justify-content: flex-start;
        width: 100%; /* Take full width */
        gap: 8px; /* Smaller gap between buttons */
    }
    
    .cookie-btn {
        flex: 1 1 auto;
        text-align: center;
        white-space: normal;
        padding: 8px 16px; /* Smaller padding on mobile */
        font-size: 0.85rem; /* Smaller font on mobile */
    }
    
    .settings-panel {
        top: 20px;
        width: calc(100% - 32px);
        max-height: 90vh;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        top: 10px;
        width: calc(100% - 20px);
        padding: 12px 14px;
    }
    
    .cookie-container {
        gap: 10px;
    }
    
    .cookie-buttons {
        flex-direction: row; /* Keep side by side if possible */
        gap: 6px;
    }
    
    .cookie-btn {
        padding: 8px 12px; /* Even smaller padding */
        font-size: 0.8rem; /* Even smaller font */
    }
}

/* For very small screens where buttons need to stack */
@media (max-width: 360px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Add this to ensure banner is completely hidden when not shown */
.cookie-consent {
    display: block; /* Default display */
}

.cookie-consent.show {
    display: block; /* Keep display block when showing */
}

/* When show class is removed, the transform hides it, 
   but we also set display: none via JavaScript after transition */

   /* ===== COOKIE CONSENT BANNER - mydentist style ===== */
.cookie-consent {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 16px 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: calc(100% - 40px);
    max-width: 900px;
    transition: transform 0.3s ease-in-out;
    display: none; /* Start hidden */
}

.cookie-consent.show {
    display: block; /* Show when class is added */
    transform: translateX(-50%) translateY(0);
}

/* Cookie Settings Overlay */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-overlay.show {
    display: block;
    opacity: 1;
}

/* Update settings panel z-index to appear above overlay */
.settings-panel {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 10001; /* Higher than overlay */
    max-width: 800px;
    width: calc(100% - 40px);
    max-height: 85vh;
    overflow-y: auto;
    display: none;
    font-family: 'Outfit', -apple-system, sans-serif;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Rest of your existing CSS remains the same */

/*---------------------------------------
  OPENING HOURS - WITH PROPER MOBILE SPACING
-----------------------------------------*/








.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row .day {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.hours-row .time {
    color: var(--secondary-color, #11A48E);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 5px;
    text-align: right;
    flex-shrink: 0;
}

/* Desktop - good spacing */
@media (min-width: 992px) {
    .opening-hours-wrapper {
        margin-top: 0;
    }
}

/* Tablet and below - increase top margin */
@media (max-width: 991px) {
    .opening-hours-wrapper {
        margin-top: 30px; /* Increased space on tablet */
    }
    
    .hours-row .day,
    .hours-row .time {
        font-size: 14px;
    }
}

/* Mobile - even more space */
@media (max-width: 768px) {
    .opening-hours-wrapper {
        margin-top: 40px; /* Even more space on mobile */
    }
    
    .opening-hours-wrapper h4 {
        font-size: 18px;
        margin-bottom: 12px !important;
    }
    
    .hours-row {
        padding-bottom: 3px;
    }
    
    .hours-row .day,
    .hours-row .time {
        font-size: 14px;
    }
    
    .hours-row .time {
        margin-left: 5px;
    }
}

/* Small mobile - maximum space */
@media (max-width: 576px) {
    .opening-hours-wrapper {
        margin-top: 50px; /* Maximum space on small mobile */
    }
    
    .hours-row .day,
    .hours-row .time {
        font-size: 14px;
    }
}

/* Very small screens - handle wrapping */
@media (max-width: 375px) {
    .opening-hours-wrapper {
        margin-top: 50px;
    }
    

}

/* Add spacing between icons and text in contact cards */
.contact-card i {
    margin-right: 10px; /* Adds space after the icon */
    color: var(--secondary-color, #11A48E);
    font-size: 18px;
    width: 24px; /* Fixed width ensures consistent alignment */
    display: inline-block;
    text-align: center;
}

/* If you want even more precise control over the contact card layout */
.contact-card p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-card p strong {
    margin-right: 5px; /* Small space after the bold label if needed */
    white-space: nowrap; /* Prevents label from breaking */
}