/* ========== COLOR VARIABLES ========== */
:root {
    --primary-blue: #2081f9;
    --white: #ffffff;
    --orange: #f99820;
    --dark-navy: #09264a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
}

/* ========== NAVBAR STYLES ========== */
.navbar-custom {
    background-color: var(--dark-navy);
    padding: 3px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    color: var(--white) !important;
    font-size: 1.8rem;
    font-weight: bold;
}

.navbar-brand span {
    color: var(--orange);
}

/* Curved Logo - Rounded Corners */
.navbar-logo {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    padding: 2px;
    background: #ffffff;
}

/* Nav Links - Less Padding */
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 4px 10px !important;
    margin: 0 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #f99820 !important;
    transform: translateY(-2px);
}

/* Appointment Button - Less Padding */
.btn-appointment {
    background-color: #f99820;
    color: #09264a;
    border: none;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-appointment:hover {
    background-color: #e08510;
    transform: scale(1.05);
    color: #09264a;
}

/* Navbar Toggler - Less Padding */
.navbar-toggler {
    background-color: var(--orange);
    border: none;
    padding: 2px 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
    width: 1.2rem;
    height: 1.2rem;
}

/* ========== RESPONSIVE NAVBAR ========== */

/* Large screens */
@media (min-width: 1200px) {
    .navbar-logo {
        height: 55px;
        max-height: 55px;
        border-radius: 12px;
        padding: 3px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .navbar-logo {
        height: 52px;
        max-height: 52px;
        border-radius: 10px;
        padding: 2px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 5px 0;
    }
    
    .nav-link {
        text-align: center;
        padding: 10px 0 !important;
    }
    
    .btn-appointment {
        margin-top: 10px;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 2px 0;
    }
    
    .navbar-logo {
        height: 58px;
        max-height: 58px;
        border-radius: 8px;
        padding: 2px;
    }
    
    .footer-custom {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .emergency-number {
        margin-top: 10px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .navbar-custom {
        padding: 2px 0;
    }
    
    .navbar-logo {
        height: 52px;
        max-height: 52px;
        border-radius: 6px;
        padding: 2px;
    }
}

/* ========== FOOTER STYLES ========== */
.footer-custom {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 50px 0 0 0;
    margin-top: 50px;
}

.footer-custom h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-custom h3 span {
    color: var(--orange);
}

.footer-custom h4 {
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-custom p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-custom ul {
    list-style: none;
    padding: 0;
}

.footer-custom ul li {
    margin-bottom: 12px;
}

.footer-custom ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-custom ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.contact-info li {
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info li i {
    color: var(--orange);
    width: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
}

.emergency-number {
    text-align: center;
    background-color: rgba(249, 152, 32, 0.15);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--orange);
}

.emergency-number i {
    font-size: 2rem;
    color: var(--orange);
    display: block;
    margin-bottom: 10px;
}

.emergency-number span {
    display: block;
    font-size: 0.9rem;
    color: #cccccc;
}

.emergency-number h2 {
    color: var(--orange);
    font-size: 1.8rem;
    margin-top: 10px;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #999999;
    font-size: 0.9rem;
}

/* ========== FLOATING BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--orange);
    color: var(--dark-navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(249, 152, 32, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e08510;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(249, 152, 32, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* Floating animation */
.back-to-top {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hover removes float animation */
.back-to-top:hover {
    animation: none;
}

/* Responsive sizing */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
} 
