/* Reset and base styles */
:root {
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --transition2: transform 0.3s;
    --transition-btn: background-color 0.3s;
    --border-radius: 10px;
    --line-height: 1.6;
    --header-height: 50px;
    --footer-height: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s, color 0.3s;
    /* top | right | bottom | left */
    margin: var(--header-height) 0 var(--footer-height) 0;
}

.preload * {
    /* IDEA: this is to stop the side navbar from
        appeating and disappearing fast when page is refreshed */
    transition: none !important;
}
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(var(--button-bg), 0.8);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--button-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--box-shadow);
}
.cta-button.learnmore {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.learnmore:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

a{
    text-decoration: none;
}
/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 1002;
    width: 0;
    transition: width 0.3s;
}

/* THEME BUTTON */
.theme-btn,
#toggle-theme {
    display: flex;
    align-items: center;
    justify-content: center;
}

#toggle-theme {
    height: 40px;
    width: 40px;
    border-radius: 50px;
    background-color: var(--bg-primary) !important;
}

#toggle-theme span {
    font-size: 30px !important;
}

/* New Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 5px;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.scroll-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: rgba(var(--button-bg), 0.5);
    padding: 1px 6px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    z-index: 4;
}

.scroll-button:hover {
    background-color: var(--button-bg-hover);
}

.scroll-button:hover a {
    color: var(--text-primary);
}

.scroll-button a {
    text-decoration: none;
    color: var(--text-primary);
}

.scroll-button a i {
    font-size: 20px !important;
}

#scroll-to-top.show-button {
    display: block;
}


.book-button {
    background-color: var(--accent-color);
    color: rgb(44, 42, 42);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.book-button:hover {
    background-color: var(--button-bg-hover);
}

.appointment {
    margin: 2rem;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .cta-button {
        /* display: inline-block; */
        display: flex;
        align-items: center;
        padding: 5px 25px;
        justify-content: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* Smallest mobile screens */
@media (max-width: 384px) {
    body {
        font-size: 14px;
        padding: 8px;
    }
    .container {
        width: 100%;
        padding: 10px;
    }
}

/* Footer
footer {
    background-color: #1a252f;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
} */