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

/* Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-green));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(101, 184, 145, 0.5);
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-primary, 'Arial', sans-serif); /* Fallback font */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-warm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/* Color Palette & Fonts */
:root {
    --primary-green: #3A6351; /* Deeper, more sophisticated green */
    --light-warm-bg: #F8F6F0; /* Subtle off-white */
    --accent-green: #65B891;  /* Vibrant but professional green for accents */
    --warm-accent: #E8A87C;   /* Refined warm accent */
    --text-dark: #2D2D2D;     /* Near-black for better contrast */
    --text-light: #FFFFFF;    /* White for contrast */
    --border-color: #E5E5E5;  /* Light gray for borders/separators */
    --subtle-shadow: rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    --overlay-dark: rgba(0, 0, 0, 0.4);   /* Dark overlay for images */

    /* Fonts - Assuming Roboto from existing fonts, can be changed */
    /* Ensure these font files are in cloudflare_site/fonts and linked via @font-face if not web fonts */
    --font-primary: 'Roboto', sans-serif; 
    /* --font-secondary: 'AnotherFont', sans-serif; */

    --container-width: 1140px;
    --gutter: 15px;
}

/* Utility Classes (Optional, can be expanded) */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

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

.text-primary {
    color: var(--primary-green);
}

/* Enhanced button-like text links for mobile */
.btn-text {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px 0;
    margin-top: 5px;
    font-size: 1rem;
}

.btn-text:hover {
    color: var(--accent-green);
    text-decoration: none;
}

.btn-text i {
    margin-right: 5px;
}

/* Basic Link Styling */
a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Basic Button Styling (can be refined) */
/* Mobile-optimized buttons with larger touch targets */
.btn {
    display: inline-block;
    padding: 1rem 1.5rem; /* Larger vertical padding for touch */
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1.1rem; /* Slightly larger font for mobile */
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Better touch handling */
    margin: 0.5rem 0.3rem; /* Spacing between buttons on mobile */
}

@media (min-width: 768px) {
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0 0.5rem;
    }
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:active {
    transform: translateY(2px);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(94, 140, 106, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-green);
    box-shadow: 0 6px 20px rgba(101, 184, 145, 0.3);
    transform: translateY(-3px);
}

.btn-primary:active {
    box-shadow: 0 2px 10px rgba(94, 140, 106, 0.2);
    transform: translateY(1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(94, 140, 106, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(94, 140, 106, 0.2);
    transform: translateY(-3px);
}

.btn-secondary:active {
    box-shadow: 0 2px 10px rgba(94, 140, 106, 0.1);
    transform: translateY(1px);
}

/* WhatsApp Float Style - Mobile Optimized & Simplified */
.whatsapp-float {
    position: fixed;
    width: auto;
    padding: 12px 24px; /* Larger padding for touch */
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Standard WhatsApp Green */
    color: white;
    border-radius: 30px; /* Slightly larger radius */
    text-align: center;
    font-size: 16px; /* Larger font for mobile */
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Better touch handling */
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float i {
    font-size: 20px;
    margin-right: 8px;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    color: white;
    text-decoration: none;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(94, 140, 106, 0.3);
    z-index: 100;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(101, 184, 145, 0.4);
}

#back-to-top:active {
    transform: translateY(2px);
}

/* Header Styling */
#header {
    background-color: rgba(248, 246, 240, 0.95); /* Semi-transparent background */
    padding: 1rem 0;
    position: fixed; /* Fixed position for better UX */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure header stays on top */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    backdrop-filter: blur(10px); /* Modern blur effect for depth */
    transition: all 0.3s ease;
}

#header.scrolled {
    padding: 0.7rem 0;
    background-color: rgba(248, 246, 240, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

@media (max-width: 767px) {
    .header-content {
        padding: 0.8rem 0;
    }
    
    .logo img {
        height: 40px;
        transition: all 0.3s ease;
    }
}

.logo img {
    max-height: 60px; /* Adjust as needed */
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-left: 10px; /* Adjust if tagline is used */
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* Spacing between nav items */
}

#main-nav a {
    font-weight: 500; /* Slightly bolder */
    color: var(--text-dark);
    padding-bottom: 0.5rem; /* For hover effect */
    border-bottom: 2px solid transparent;
}

#main-nav a:hover,
#main-nav a.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    text-decoration: none;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-phone {
    font-weight: 500;
    color: var(--text-dark);
}
.contact-phone:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-whatsapp.btn-primary {
    padding: 0.6em 1.2em; /* Larger padding for better touch target */
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.contact-whatsapp.btn-primary::before {
    content: '\f232'; /* WhatsApp icon */
    font-family: 'FontAwesome';
    margin-right: 6px;
    font-size: 1.1rem;
}

/* Mobile Navigation Toggle - Enhanced for touch */
.mobile-nav-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Better touch handling */
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* Active state for hamburger icon (X) */
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle bar disappears */
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Responsive adjustments for header */
@media (max-width: 992px) { /* Tablet and below */
    #header {
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
    /* Mobile Navigation Styles */
    #main-nav {
        display: none;
    }

    #main-nav.active {
        display: block;
        animation: fadeInDown 0.3s ease-out forwards;
    }

    #main-nav ul {
        flex-direction: column;
        padding: 0.5rem 0;
{{ ... }}
    }

    #main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    #main-nav ul li a {
        display: block;
        padding: 1rem 1.5rem; /* Larger touch target */
        font-size: 1.1rem; /* Slightly larger font */
        transition: all 0.2s ease;
    }
    
    #main-nav ul li a:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-toggle {
        display: block; /* Show hamburger icon */
    }
    
    .header-contact {
        display: none;
    }
    
    /* Animation for mobile menu */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-contact .contact-phone {
        display: none; /* Optionally hide phone text on smaller screens, keep button */
    }
}

@media (max-width: 768px) { /* Mobile */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .header-content {
        flex-wrap: wrap;
    }
    .logo {
        margin-right: auto; /* Push logo to left */
    }
    .header-contact {
        order: 2; /* Move contact after toggle button */
    }
    .mobile-nav-toggle {
        order: 1; /* Move toggle before contact */
    }
}

/* Hero Section Styling - Mobile-first approach */
#hero {
    position: relative;
    height: 95vh; /* Almost full height on mobile for first view */
    min-height: 450px; /* Lower min-height for small devices */
    max-height: none; /* Allow natural height on mobile */
    overflow: hidden;
    color: var(--text-light);
    text-align: center;
}

@media (min-width: 768px) {
    #hero {
        height: 85vh;
        min-height: 600px;
        max-height: 800px;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

/* Fix for the inline style lint warnings - these classes will be applied via JS */
.hero-slide[data-bg="slider1"] { background-image: url('../images/slider1.jpg'); }
.hero-slide[data-bg="slider2"] { background-image: url('../images/slider2.jpg'); }
.hero-slide[data-bg="slider3"] { background-image: url('../images/slider3.jpg'); }

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 1rem;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
}

.hero-content h1,
.hero-content h2 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .hero-content {
        max-width: 98vw;
        padding: 0 0.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, -50%, 0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1em 2.5em;
    font-size: 1.1rem;
    border-radius: 50px; /* Rounded buttons for modern look */
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--accent-green);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Slider Navigation */
/* Touch-friendly slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Larger for touch */
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    color: var(--primary-green);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

/* Touch-friendly slider dots */
.slider-dot {
    width: 16px; /* Larger for touch */
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 10px; /* More space between dots */
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (min-width: 768px) {
    .slider-dot {
        width: 12px;
        height: 12px;
        margin: 0 8px;
    }
}

.slider-dot.active {
    background-color: var(--text-light);
    transform: scale(1.2);
}

/* Mobile navigation styling moved to mobile.css */

#main-nav.active {
    display: block;
}

#main-nav ul {
    flex-direction: column;
    padding: 0.5rem 0;
}

#main-nav ul li {
    margin: 0;
    width: 100%;
    text-align: center;
}

#main-nav ul li a {
    display: block;
    padding: 1rem 1.5rem; /* Larger touch target */
    font-size: 1.1rem; /* Slightly larger font */
    transition: all 0.2s ease;
}
    #main-nav ul li a {
        display: block;
        padding: 1rem 1.5rem; /* Larger touch target */
        font-size: 1.1rem; /* Slightly larger font */
        transition: all 0.2s ease;
    }
    
    #main-nav ul li a:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-toggle {
        display: block; /* Show hamburger icon */
    }
    
    .header-contact {
        display: none;
    }
    
    /* Animation for mobile menu */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-contact .contact-phone {
        display: none; /* Optionally hide phone text on smaller screens, keep button */
    }
}

@media (max-width: 768px) { /* Mobile */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .header-content {
        flex-wrap: wrap;
    }
    .logo {
        margin-right: auto; /* Push logo to left */
    }
    .header-contact {
        order: 2; /* Move contact after toggle button */
    }
    .mobile-nav-toggle {
        order: 1; /* Move toggle before contact */
    }
}

/* Scroll Animation Styles */
/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(10px);
    }
    to {
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

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

.delay-400 {
    animation-delay: 0.4s;
}

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

/* Element-specific animations */
.section-header h2.animated {
    animation-name: fadeInDown;
}

.section-header p.animated {
    animation-name: fadeInUp;
    animation-delay: 0.2s;
}

.service-card.animated,
.info-card.animated,
.highlight-card.animated {
    animation-name: scaleIn;
}

.service-card.animated:nth-child(1),
.info-card.animated:nth-child(1),
.highlight-card.animated:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card.animated:nth-child(2),
.info-card.animated:nth-child(2),
.highlight-card.animated:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card.animated:nth-child(3),
.info-card.animated:nth-child(3),
.highlight-card.animated:nth-child(3) {
    animation-delay: 0.3s;
}

.dentist-image.animated,
.contact-info.animated {
    animation-name: fadeInRight;
}

.dentist-info.animated,
.contact-map.animated {
    animation-name: fadeInLeft;
}

.testimonial-content.animated {
    animation-name: fadeInUp;
}

/* Quick Info Section Styling */
/* Mobile-first Quick Info Section - Simplified */
#quick-info {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -60px; /* Even less overlap for cleaner mobile view */
}

#quick-info .container {
    background: transparent;
    padding: 0 10px; /* Tighter padding on mobile */
}

/* Better spacing for mobile */
#quick-info .row {
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-direction: column; /* Stack cards on mobile */
}

#quick-info [class*='col-'] {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 15px; /* Space between stacked cards */
}

/* Refined card appearance on mobile - two card system */
#quick-info [class*='col-']:nth-child(1) .info-card {
    border-left: 4px solid #2196f3; /* Hours card accent */
}

#quick-info [class*='col-']:nth-child(2) .info-card {
    border-left: 4px solid #ff9800; /* Appointment card accent */
}

/* Adjust for tablet and desktop */
@media (min-width: 768px) {
    #quick-info {
        margin-top: -100px;
    }
    
    #quick-info .container {
        padding: 0;
    }
    
    #quick-info .row {
        margin-left: -15px;
        margin-right: -15px;
        flex-direction: row; /* Side by side on larger screens */
    }
    
    #quick-info [class*='col-'] {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 0;
    }
}

.info-card {
    display: flex;
    align-items: center; /* Center align for better mobile appearance */
    padding: 1.5rem; /* Slightly more padding for better spacing */
    height: 100%;
    min-height: 100px; /* Taller minimum height for better touch */
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1; /* Make visible by default to fix overlay issue */
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    margin-bottom: 20px; /* Space between cards */
}

/* Adjust for tablet and desktop */
@media (min-width: 768px) {
    .info-card {
        padding: 2rem;
        align-items: flex-start;
    }
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(101, 184, 145, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--accent-green);
}

.info-icon {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-right: 1rem; /* Less spacing on mobile */
    flex-shrink: 0;
    width: 50px; /* Slightly smaller on mobile */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(101, 184, 145, 0.3);
    transition: all 0.3s ease;
    touch-action: manipulation; /* Better touch handling */
}

/* Adjust for tablet and desktop */
@media (min-width: 768px) {
    .info-icon {
        font-size: 1.8rem;
        margin-right: 1.5rem;
        width: 60px;
        height: 60px;
    }
}

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

.info-content h3 {
    font-size: 1.1rem; /* Smaller on mobile */
    color: var(--primary-green);
    margin-bottom: 0.4rem; /* Slightly more space on mobile */
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Optional second line */
.info-content p {
    font-size: 0.9rem; /* Smaller on mobile */
    margin-bottom: 0.2rem;
}

/* Adjust for tablet and desktop */
@media (min-width: 768px) {
    .info-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .info-content p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.info-content p {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.info-content a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.btn-text {
    color: var(--primary-green) !important;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.8rem;
    position: relative;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-text:hover {
    border-bottom: 2px solid var(--primary-green);
}

.btn-text::after {
    content: '→';
    margin-left: 0.25rem;
    transition: margin-left 0.3s ease;
}

.btn-text:hover::after {
    margin-left: 0.5rem;
}

/* Services Section Styling - Mobile Optimized & Animated */
#services {
    background-color: var(--text-light);
    padding: 4rem 0 3rem; /* Less padding on mobile */
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    #services {
        padding: 7rem 0 5rem;
    }
}

/* Animated Service Tabs */
.services-tabs {
    position: relative;
    margin-top: 2rem;
}

/* Service Navigation */
.service-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-warm-bg);
    border: none;
    border-radius: 12px;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-tab.active::before,
.service-tab:hover::before {
    transform: scaleX(1);
}

.service-tab.active,
.service-tab:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tab-icon {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.service-tab.active .tab-icon,
.service-tab:hover .tab-icon {
    transform: scale(1.2);
    color: var(--accent-green);
}

.service-tab span {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-tab.active span,
.service-tab:hover span {
    color: var(--primary-green);
}

/* Service Panels */
.service-panels {
    position: relative;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 2rem;
    min-height: 350px;
}

.service-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.service-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out forwards;
}

.panel-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.panel-header h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .service-features {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--light-warm-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    transform: translateY(0);
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-3px);
    background-color: rgba(94, 140, 106, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    color: var(--primary-green);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .feature-text {
        font-size: 1rem;
    }
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-warm-bg) 0%, var(--text-light) 100%);
    z-index: -1;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-green));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.6;
}

/* Service Cards - Mobile Touch Optimized */
.service-card {
    background-color: var(--light-warm-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--subtle-shadow);
    height: 100%;
    min-height: 100px; /* Minimum touch height */
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0; /* Start invisible for animation */
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    margin-bottom: 20px; /* More space between cards on mobile */
}

@media (min-width: 768px) {
    .service-card {
        margin-bottom: 30px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(101, 184, 145, 0.1), rgba(94, 140, 106, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(101, 184, 145, 0.3);
}

.service-card:hover h3 {
    color: var(--accent-green);
}

.service-icon {
    text-align: center;
    padding: 1.5rem 1.5rem 0;
}

.service-icon img {
    max-width: 80px;
    margin: 0 auto 1rem;
}

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0 1.5rem;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    margin-top: auto;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.service-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.service-card:hover .service-content {
    transform: translateY(-5px);
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.service-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.service-card:hover .service-content h3::after {
    width: 40px;
}

.service-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.service-card:hover .service-list li {
    transform: translateX(5px);
}

.service-card:hover .service-list li:nth-child(1) {
    transition-delay: 0.05s;
}

.service-card:hover .service-list li:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:hover .service-list li:nth-child(3) {
    transition-delay: 0.15s;
}

.service-card:hover .service-list li:nth-child(4) {
    transition-delay: 0.2s;
}

.service-card:hover .service-list li:nth-child(5) {
    transition-delay: 0.25s;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(94, 140, 106, 0.1), rgba(101, 184, 145, 0.2));
    border-radius: 16px;
    color: var(--primary-green);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(101, 184, 145, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

/* Responsive Adjustments for Quick Info and Services */
@media (max-width: 992px) {
    .info-card, .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Dentist Section Styling */
#dentist {
    background: linear-gradient(135deg, var(--light-warm-bg) 0%, rgba(248, 246, 240, 0.7) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

#dentist::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(101, 184, 145, 0.1); /* accent-green with opacity */
    border-radius: 50%;
    z-index: 1;
}

#dentist::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background-color: rgba(232, 168, 124, 0.1); /* warm-accent with opacity */
    border-radius: 50%;
    z-index: 1;
}

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

.dentist-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--subtle-shadow);
    margin-bottom: 2rem;
    opacity: 0; /* Start invisible for animation */
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.dentist-image:hover {
    transform: perspective(1000px) rotateY(5deg);
}

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

.dentist-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(94, 140, 106, 0.8); /* primary-green with opacity */
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.dentist-image:hover .dentist-social {
    transform: translateY(0);
}

.dentist-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dentist-social a:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.dentist-info {
    opacity: 0; /* Start invisible for animation */
}

.dentist-info h3 {
    color: var(--primary-green);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.dentist-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-green);
}

.dentist-info h4 {
    color: var(--accent-green);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.dentist-info h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dentist-bio p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Highlights Section Styling */
#highlights {
    background-color: var(--text-light);
    padding: 5rem 0;
}

.highlight-card {
    background-color: var(--light-warm-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.press-feature {
    padding: 1rem;
    text-align: center;
}

.highlight-image {
    max-height: 400px;
    margin: 0 auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.highlight-image:hover {
    opacity: 0.9;
}

.highlight-card h4 {
    text-align: center;
    color: var(--primary-green);
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    border-top: 1px solid var(--border-color);
}

/* Responsive adjustments for Dentist and Highlights */
@media (max-width: 992px) {
    .dentist-info {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .dentist-info h3 {
        font-size: 1.8rem;
    }
    
    .dentist-info h4 {
        font-size: 1.1rem;
    }
    
    .highlight-image {
        max-height: 300px;
    }
}

/* Testimonials Section Styling */
#testimonials {
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.7) 0%, var(--light-warm-bg) 100%);
    padding: 5rem 0;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content::after {
    content: '\201D'; /* Right double quotation mark */
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: var(--accent-green);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    padding-left: 2rem;
}

.testimonial-text::before {
    content: '\201C'; /* Left double quotation mark */
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: var(--primary-green);
    line-height: 1;
}

.testimonial-text p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--accent-green);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-green);
}

/* Contact Section Styling */
#contact {
    background-color: var(--text-light);
    padding: 5rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 1rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(94, 140, 106, 0.1); /* primary-green with opacity */
    border-radius: 50%;
}

.contact-text h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-text a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.map-iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(94, 140, 106, 0.1); /* primary-green with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/* Footer Styling */
#footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 1.5rem 0;
}

.copyright {
    margin: 0;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* WhatsApp Float Update */
.whatsapp-float {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Responsive adjustments for Testimonials, Contact, and Footer */
@media (max-width: 992px) {
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .contact-map {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonial-text::before {
        font-size: 2rem;
    }
    
    .testimonial-content::after {
        font-size: 3rem;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
    
    .text-right {
        text-align: center !important;
    }
}

/* Add Bootstrap-like grid system for basic layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4, .col-md-6, .col-md-8, .col-lg-4, .col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .text-right {
        text-align: right;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
