:root {
    --primary-blue: #FF7900;
    --sky-blue: #FF9933;
    --light-blue: #FFF3E0;
    --navy-dark: #2C2C2C;
    --accent-teal: #FF7900;
}

/* stronger footer typography */
footer {
    font-weight: 600;
    background-color: #ffffff;
    color: var(--navy-dark);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-blue);
}

footer h6 {
    font-weight: 700;
    font-size: 1.12rem;
    color: #FF7900;
}

footer p {
    font-weight: 600;
    font-size: 1rem;
    color: #64748B;
}

footer .footer-title {
    font-size: 1.1rem;
    color: var(--primary-blue);
}

footer .footer-description {
    color: #64748B;
    line-height: 1.8;
    font-size: 0.95rem;
}

footer .social-link {
    font-size: 1.8rem;
    color: #FF7900;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .phone-link {
    font-size: 1.3rem;
    color: #FF7900;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .phone-number {
    font-size: 1rem;
}

footer .footer-hr {
    background-color: var(--light-blue);
    border: none;
    height: 1px;
    margin: 2rem 0;
    opacity: 0.5;
}

footer .footer-copyright {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
}

footer .footer-address {
    color: #64748B;
    margin: 0;
    font-size: 1.1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 70px;
    background-color: #ffffff;
    color: var(--navy-dark);
}

section {
    padding: 3rem 0;
}

.card {
    border: none;
    box-shadow: 0 8px 20px rgba(255, 121, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 121, 0, 0.3);
    border-top: 4px solid #FF7900;
}

.card img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    filter: brightness(0.95);
    display: block;
}

/* Mobile devices - smaller image height */
@media (max-width: 576px) {
    .card img {
        max-height: 220px;
    }
}

/* Tablets - medium image height */
@media (min-width: 768px) {
    .card img {
        max-height: 280px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .card img {
        max-height: 320px;
    }
}

.card:hover img {
    filter: brightness(1.05);
}

.card-body {
    background: #ffffff;
    color: #2C2C2C;
    padding: 1.5rem;
    border-top: 3px solid #FF7900;
}

.card-title {
    color: #FF7900;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card-text {
    color: #2C2C2C;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* emphasis style for highlighted sentence */
.emphasis {
    display: block;
    color: #FF7900;
    font-weight: 700;
    font-size: 1.18rem;
    margin-bottom: 0.6rem;
}

/* Offset sections for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Navbar styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 121, 0, 0.2);
    border-bottom: 3px solid #FF7900;
}

.navbar-brand {
    color: #FF7900;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.navbar-toggler {
    border-color: #FF7900;
}

.nav-link {
    color: #2C2C2C !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
    background-color: #FF7900 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0;
    padding-bottom: 0.5rem !important;
    transition: all 0.3s ease;
}

.nav-link.active:hover {
    color: #ffffff !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: #FF7900 !important;
    border-radius: 8px;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FF7900' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2C2C2C;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-to-top:hover {
    background-color: #444444;
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.6);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Sticky Contact Us Section */
.sticky-contact {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-contact.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.contact-toggle-btn {
    background-color: #2C2C2C;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-toggle-btn:hover {
    background-color: #444444;
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.6);
    transform: translateY(-2px);
}

.contact-toggle-btn i {
    font-size: 1.2rem;
}

.contact-dropdown {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 15px 12px;
    box-shadow: 0 4px 20px rgba(255, 121, 0, 0.3);
    border: 2px solid rgba(255, 121, 0, 0.8);
    animation: slideDown 0.3s ease;
}

.sticky-contact.expanded .contact-dropdown {
    display: flex;
}

.sticky-contact.expanded .contact-toggle-btn {
    background-color: #2C2C2C;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-header {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2C2C2C;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 44, 44, 0.85);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.3);
}

.contact-icon:hover {
    background-color: rgba(255, 121, 0, 0.95);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 121, 0, 0.5);
    color: white;
}

.contact-footer-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2C2C2C;
    color: #FF7900;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.contact-footer-link:hover {
    background-color: #FF7900;
    color: white;
    transform: scale(1.1);
}

/* Mobile responsive for sticky contact */
@media (max-width: 768px) {
    .sticky-contact {
        right: 20px;
        bottom: 80px;
    }

    .contact-toggle-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .contact-toggle-btn i {
        font-size: 1.1rem;
    }

    .contact-dropdown {
        padding: 12px 10px;
        gap: 10px;
    }

    .contact-header {
        font-size: 0.8rem;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-icons {
        gap: 12px;
    }

    .contact-footer-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sticky-contact {
        right: 15px;
        bottom: 75px;
    }

    .contact-toggle-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .contact-dropdown {
        padding: 10px 8px;
        gap: 8px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .contact-icons {
        gap: 10px;
    }
}
