/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    padding-top: 76px; /* Adjust this value based on your navbar height */
    opacity: 1;
    background-color: #FBFAFF; /* Very light lavender base */
    background-image: none;
    background-size: auto;
    background-position: 0 0;
    background-attachment: scroll;
}

html {
    scroll-behavior: smooth;
}

/* Add this for Safari support */
body {
    -webkit-overflow-scrolling: touch;
}

/* Optional: If you want to disable smooth scrolling for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Navbar Styles */
.navbar-nav .nav-item {
    padding: 0 20px;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    color: #B19CD9 !important;
}

.nav-link:hover {
    color: #B19CD9 !important;
}

.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B19CD9;
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Animation Styles */
.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-fade.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade:nth-child(1) { transition-delay: 0.1s; }
.scroll-fade:nth-child(2) { transition-delay: 0.3s; }
.scroll-fade:nth-child(3) { transition-delay: 0.5s; }
.scroll-fade:nth-child(4) { transition-delay: 0.7s; }

/* Carousel Styles */
.carousel-item img {
    height: 300px;
    object-fit: cover;
}

.carousel-caption {
    padding: 20px;
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    width: auto;
    min-width: 80%;
    backdrop-filter: blur(5px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background-color: rgba(0,0,0,0.2);
}

.carousel-control-prev {
    border-radius: 0 5px 5px 0;
}

.carousel-control-next {
    border-radius: 5px 0 0 5px;
}

/* Facility Styles */
.facility-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.facility-image:hover {
    transform: scale(1.02);
}

.mobile-schedule-btn {
    background-color: #B19CD9;
    color: #333333;
    border: 2px solid #B19CD9;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
}

.mobile-schedule-btn:hover {
    background-color: transparent;
    color: #B19CD9;
    border: 2px solid #B19CD9;
    text-decoration: none;
}

/* Ensure the button is visible in mobile nav */
.mobile-nav-links li:last-child {
    margin-top: 2rem;
}

.mobile-nav-links li:last-child a {
    font-size: 1.2rem;
}

/* Button Styles */
.schedule-btn {
    background-color: #ffb5b9;
    color: #333333;
    border: 2px solid #ffb5b9;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background-color: transparent;
    color: #ffb5b9;
    border: 2px solid #ffb5b9;
}

/* Icon Styles */
.dental-icon-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #ffb5b9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dental-icon-circle i {
    font-size: 28px;
    color: #333333;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
}

.card-body {
    padding: 1.5rem;
}

/* Service Page Specific Styles */
.service-category {
    margin-bottom: 4rem;
}

.service-item {
    background-color: white;
    padding: 1.5rem;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-category h3 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

/* .service-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ffb5b9;
} */

/* Update background color for services page */
/* section.services-section {
    background-color: white !important;
} */

/* Table Styles */
.table {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
}

.table thead {
    background-color: #ffb5b9;
    color: #333333;
}

.table th {
    font-weight: 600;
    border: none;
}

.table td {
    border-color: #f0f0f0;
}

/* Media Queries */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .carousel-item .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #facilitiesCarousel {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #facilitiesCarousel .row {
        margin-left: 0;
        margin-right: 0;
    }

    #facilitiesCarousel .carousel-item {
        padding-left: 0;
        padding-right: 0;
    }

    #facilitiesCarousel .rounded-3,
    #facilitiesCarousel .rounded-4 {
        border-radius: 0 !important;
    }
    
    .schedule-btn-container {
        width: 100%;
    }
    
    .schedule-btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-category h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .carousel-item .row {
        display: flex;
        justify-content: center;
    }
    
    .carousel-item:first-child .row {
        justify-content: space-between;
    }
    
    .carousel-item:first-child .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Add/Update Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Treatment Fee Styles */
.treatment-fee-content p {
    margin-bottom: 0;
    color: #333333;
}

/* Modal Styles */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

.modal-content {
    background-color: white;
    border-radius: 1rem;
    border: none;
}

.modal-header {
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.btn-close {
    opacity: 1;
}

.btn-close:hover {
    opacity: 0.75;
}

.testimonial-pill {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.testimonial-pill.active {
    background: none !important;
    opacity: 1;
}

.testimonial-pill:hover {
    opacity: 0.8;
}

.background-shape {
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(243, 240, 255, 0.3);
    border-radius: 1rem;
    top: 0;
    left: 0;
    z-index: 1;
    animation: floatShape1 6s ease-in-out infinite;
}

.testimonial-pill {
    background: none !important;
    border: none;
    padding: 4px 12px;
    border-radius: 50px !important;
    color: #666 !important;
    transition: all 0.3s ease;
}

.testimonial-pill.active {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-pill:hover:not(.active) {
    background: rgba(255,255,255,0.5) !important;
}

.testimonial-pill span {
    font-size: 14px;
    font-weight: 500;
}


.tab-pane.fade {
    transition: opacity 0.3s ease-in-out;
}

/* Hero Section Styles */
.text-primary {
    color: #ff9da2 !important;
}

.bg-primary {
    background-color: #ffb5b9 !important;
}

#home h1 {
    line-height: 1.2;
    color: #333;
}

#home .lead {
    color: #666;
    max-width: 500px;
    margin-left: auto;
}

.schedule-btn {
    background-color: #b19cd9;
    color: #333333;
    border: 2px solid #b19cd9;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background-color: transparent;
    color: #b19cd9;
    border: 2px solid #b19cd9;
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
}

/* Background Shapes */
.bg-shape {
    z-index: 0;
    width: 90%;
    height: 90%;
    background-color: #ffb5b9;
    opacity: 0.2;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphing 15s ease-in-out infinite;
}

.bg-shape-1 {
    transform: translateX(5%) translateY(5%);
}

.bg-shape-2 {
    animation-delay: -5s;
    opacity: 0.1;
}

.bg-shape-3 {
    animation-delay: -10s;
    opacity: 0.15;
}

@keyframes morphing {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateX(5%) translateY(5%);
    }
    25% {
        border-radius: 50% 40% 30% 70% / 60% 40% 50% 40%;
        transform: translateX(7%) translateY(3%);
    }
    50% {
        border-radius: 30% 60% 50% 40% / 50% 60% 30% 60%;
        transform: translateX(3%) translateY(7%);
    }
    75% {
        border-radius: 60% 40% 30% 70% / 40% 50% 60% 40%;
        transform: translateX(5%) translateY(5%);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateX(5%) translateY(5%);
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .bg-shape {
        width: 95%;
        height: 95%;
    }
}

/* Optional: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .bg-shape {
        animation: none;
    }
}

/* Home Section Animation Styles */
.animate-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-down {
    opacity: 0;
    transform: translateY(-100%);  /* Start fully outside the viewport */
    animation: slideDown 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-left {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideLeft 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-right {
    opacity: 0;
    transform: translateX(100px);
    animation: slideRight 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.5s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .animate-up,
    .animate-down {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Mobile animation for schedule button */
@media (max-width: 768px) {
    .animate-left {
        transform: translateY(100px); /* Start from below */
        animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }
}

/* Keep existing animations */
@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update media query */
@media (prefers-reduced-motion: reduce) {
    .animate-up,
    .animate-down,
    .animate-left {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Smooth Scroll Snap - Only for desktop */
@media (min-width: 769px) {
    body.home-page {
        height: 100vh;
        overflow-y: auto;
    }

    body.home-page #home,
    body.home-page section {
        min-height: 100vh;
        position: relative;
    }
}

/* Default scroll behavior for mobile */
@media (max-width: 768px) {
    body.home-page {
        height: auto;
        overflow-y: auto;
    }

    body.home-page #home,
    body.home-page section {
        min-height: 100vh;
    }
}

/* Policy Page Styles */
.policy-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #ffb5b9;
    border-radius: 50%;
}

.policy-card h3 {
    color: #333;
}

/* Updated Service Section Styles */
.service-card {
    height: 100%;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-image-container {
    margin: 0 -1.5rem -1.5rem;
}

.service-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* Remove hover animations */
.service-card:hover,
.service-card:hover .service-image-container img {
    transform: none;
}

/* Update text colors to match your scheme */
.text-primary {
    color: #b19cd9 !important;
}

.text-secondary {
    color: #666666 !important;
}

.schedule-btn i {
    transition: transform 0.3s ease;
}

.services-more-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(50%); /* Adjust this value to fine-tune vertical position */
}

/* Simplified Review Styles */
.review-container {
    max-width: 500px;
    position: relative;
    height: auto;
    min-height: 200px;
    overflow: hidden;
}

.review-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: rgba(255, 181, 185, 0.2);
    border-radius: 1px;
    z-index: 2;
}

.review-progress-bar {
    height: 100%;
    background-color: #ffb5b9;
    width: 0;
    border-radius: 1px;
    transition: width linear;
}

.reviews {
    margin-top: 8px;
}

.reviews .review {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.reviews .review.active {
    opacity: 1;
    position: relative;
}

.stars {
    color: #ffb5b9;
    letter-spacing: 2px;
}

.review-author {
    margin-top: 1rem;
}

.ratings-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rating-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.rating-link:hover {
    transform: translateX(5px);
}

.rating-icon {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.rating-score {
    font-size: 0.9rem;
    color: #666;
}

.rating-score strong {
    color: #333;
    font-size: 1rem;
}

/* Platform-specific colors */
.fa-google {
    color: #4285F4;
}

.fa-facebook {
    color: #1877F2;
}

.fa-clinic-medical {
    color: #FF6B6B;
}

/* Services section header responsive layout */
@media (max-width: 768px) {
    .services-more-btn {
        position: static; /* Remove absolute positioning on mobile */
        margin-top: 1rem; /* Add some space between text and button */
        transform: none; /* Remove transform */
        width: 100%; /* Make button full width on mobile */
        justify-content: center; /* Center button text */
    }
}

/* Equipment Styles */
.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.equipment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.equipment-item i {
    font-size: 1.25rem;
    min-width: 24px;
}

.digital-records-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .digital-records-card {
        margin-top: 1rem;
    }
}

/* Equipment Section Styles */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.equipment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.equipment-header i {
    font-size: 1.25rem;
    color: #ffb5b9;
}

.equipment-header h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.equipment-content {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.equipment-content li {
    margin-bottom: 0.5rem;
}

.equipment-content li:last-child {
    margin-bottom: 0;
}

.digital-records-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #fff0f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.digital-records-icon i {
    font-size: 1.25rem;
    color: #ffb5b9;
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.team-member-card {
    /* background: white; */
    border-radius: 1rem;
    padding: 3rem;
}

.team-member-image-container {
    position: relative;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.background-shape {
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(213, 200, 237, 0.3);
    border-radius: 1rem;
    top: 0;
    left: 0;
    z-index: 1;
    animation: floatShape1 6s ease-in-out infinite;
}

.background-shape-2 {
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(213, 200, 237, 0.3);
    border-radius: 1rem;
    bottom: 0;
    right: 0;
    z-index: 1;
    animation: floatShape2 8s ease-in-out infinite;
}

.team-member-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-10px, -10px);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 10px);
    }
}

.team-member-content {
    padding: 2rem;
}

@media (max-width: 991px) {
    .team-member-card {
        padding: 1.5rem;
    }
    
    .team-member-content {
        padding: 1.5rem 0 0 0;
    }
}

.team-assistants-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
}

.team-photo-container {
    position: relative;
    height: 100%;
    /* min-height: 400px; */
}

.team-photo {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.assistant-profile {
    padding: 1.5rem;
    background: #F3F0FF;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.assistant-profile:last-child {
    margin-bottom: 0;
}

.assistant-profile h4 {
    color: #333;
}

.assistant-profile p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .team-assistants-card {
        padding: 0;
    }

    /* .team-photo-container {
        min-height: 300px;
        margin-bottom: 2rem;
    } */
}

/* Update hero section image styles for mobile */
@media (max-width: 768px) {
    .position-relative.animate-up.delay-2 {
        padding-bottom: 0 !important; /* Remove bottom padding */
    }

    .hero-image {
        height: 300px !important; /* Fixed height for mobile */
        width: 100%;
        object-fit: cover;
    }

    /* Adjust ratings and review layout */
    .d-flex.align-items-start.justify-content-between {
        flex-direction: column-reverse; /* Stack elements vertically, ratings on top */
        gap: 1.5rem; /* Add space between ratings and reviews */
    }

    .ratings-container {
        width: 100%;
        margin-left: 0 !important; /* Remove left margin */
        display: flex;
        flex-direction: row !important; /* Force horizontal layout */
        justify-content: space-between;
        gap: 0.75rem;
    }

    .rating-item {
        flex: 1; /* Equal width distribution */
    }

    .rating-link {
        justify-content: center; /* Center the content */
    }

    .review-container {
        margin-top: 1rem;
    }
}

/* Additional adjustment for very small screens */
@media (max-width: 400px) {
    .ratings-container {
        flex-direction: column; /* Stack ratings vertically on very small screens */
        width: 100%;
        gap: 0.75rem;
    }

    .rating-item {
        width: 100%;
        padding: 0.2rem;
    }

    .rating-link {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Spread icon and score */
        width: 100%;
        padding: 0.5rem;
    }

    .rating-icon {
        font-size: 1.25rem; /* Slightly smaller icon */
        width: auto; /* Remove fixed width */
    }

    .rating-score {
        margin-left: auto; /* Push score to the right */
        white-space: nowrap; /* Prevent score from wrapping */
    }
}

/* Additional fix for extra small screens */
@media (max-width: 320px) {
    .rating-link {
        padding: 0.5rem 0.25rem; /* Reduce padding further */
    }

    .rating-icon {
        font-size: 1rem; /* Even smaller icon */
    }

    .rating-score {
        font-size: 0.8rem; /* Smaller text */
    }


}

/* Add these styles to remove focus outline/border */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus,
.nav-link:focus,
.nav-link:active,
.btn-close:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Optional: If you want to keep accessibility but hide the visual outline */
.navbar-toggler:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid #ffb5b9;
    outline-offset: 2px;
}

/* Fix horizontal scrolling on mobile */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

/* Update container padding */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px !important;  /* Reduce from your current px-5 */
        padding-right: 15px !important;
    }
    
    /* Ensure all rows don't create overflow */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Ensure columns don't create overflow */
    [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    #home {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #home .col-12.col-lg-6:last-child {
        padding: 0;
        margin-top: 2rem;
    }
    
    #home .position-relative img {
        border-radius: 0 !important;
    }
}

/* Update navbar logo size for mobile */
@media (max-width: 768px) {
    .team-member-image {
        object-fit: contain !important;
    }
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Custom hamburger menu styles */
.hamburger {
    cursor: pointer;
    position: relative;
    z-index: 1002; /* Higher than mobile-nav */
    display: none; /* Hide by default */
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2em; /* Slightly smaller than original */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: #ffb5b9; /* Website's pink color */
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Mobile navigation overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.mobile-nav-links a:hover {
    color: #ffb5b9;
}

/* Add transition delays for staggered animation */
.mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-links li:nth-child(6) { transition-delay: 0.6s; }

/* Ensure navbar stays above content but below mobile menu */
.navbar {
    z-index: 1000;
    background: white !important;
}

/* Show hamburger only on mobile */
@media (max-width: 991px) {
    .hamburger {
        display: block;
    }
}

/* Smooth scrolling enhancements */
html {
    scroll-behavior: smooth;
}

body {
    transition: scroll-behavior 0.3s ease;
}

@media (min-width: 769px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: 76px; /* Adjust based on your navbar height */
    }
}

/* Add these new animation classes */
.team-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.team-fade.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for team members */
.team-fade:nth-child(1) { transition-delay: 0.1s; }
.team-fade:nth-child(2) { transition-delay: 0.3s; }
.team-fade:nth-child(3) { transition-delay: 0.5s; }
.team-fade:nth-child(4) { transition-delay: 0.7s; }

/* Optional: Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .team-fade {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991px) {
    /* .team-photo-container {
        margin-left: -15px;
        margin-right: -15px;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .team-photo {
        border-radius: 0 !important;
        width: 100%;
        height: 300px;
        object-fit: cover;
    } */

    /* Adjust the container padding */
    .team-assistants-card {
        padding: 0;
    }

    /* Add padding to the content below the image */
    .team-assistants-card .col-lg-6:last-child {
        padding: 2rem 15px;
    }
    
    .mobile-full-width {
        margin-left: -15px;
        margin-right: -15px;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .mobile-full-width-img {
        border-radius: 0 !important;
        width: 100vw;
    }

    /* Ensure parent containers don't clip the full-width effect */
    /* .container, .container-fluid {
        overflow-x: hidden;
    } */

    /* Ensure body and html don't create scrollbars */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
}

/* Update sections with colored backgrounds */
section[style*="background-color: #F3F0FF"] {
    background-color: rgba(243, 240, 255, 0.7) !important;
}