/* Import Lato font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* Reset and Base Styles */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: 'Lato', sans-serif;
}

/* Colors */
:root {
    --primary-color: #ff9600;
    --secondary-color: #3a3a3a;
    --tertiary-color: #b7b365;
    --quaternary-color: #41b672;
    --quinary-color: #000000;
}


.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    transition: 0.3s;
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--secondary-color);
    transition: 0.3s;
    font-size: 1.2rem;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-success {
    background-color: var(--tertiary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--tertiary-color);
    transition: 0.3s;
    font-size: 1.2rem;
}

.btn-success:hover {
    background-color: #fff;
    color: var(--tertiary-color);
    border: 1px solid var(--tertiary-color);
    /* padding: 10px 20px !important; */
    border-radius: 5px;
    transition: 0.3s;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.orange {
    color: #ff9600 !important;
}

.green {
    color: #b7b365 !important;
}

.form-control:focus {
    border-color: #ff9600 !important;
    box-shadow: none !important;

}

.cart-icon {
    font-size: 1.2rem;
}

.btn:disabled {
    background-color: #ff9600 !important;
    border-color: #ff9600 !important;
    color: #fff !important;
}

:not(.btn-check)+.btn:active {
    background-color: #ff9600 !important;
    border-color: #ff9600 !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    padding: 20px;
    margin: 0;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-screen img {
    width: 100%;
    max-width: 150px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
    object-fit: contain;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Loading Screen */
@media (max-width: 767.98px) {
    .loading-screen img {
        max-width: 120px;
    }

    .cart-icon {
        font-size: 1rem;
    }

    .btn-primary, .btn-success, .btn-secondary {
        padding: 7px 12px;
        font-size:1rem;
    }
}

@media (max-width: 575.98px) {
    .loading-screen img {
        max-width: 100px;
    }
}

/* AOS Animation Fixes */
[data-aos] {
    overflow: hidden;
}

.aos-animate {
    overflow: visible;
}

body {
    font-family: 'Lato', sans-serif !important;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-bar .social-links a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-bar .social-links a:hover {
    color: var(--primary-color);
}

/* Header Styles */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0;
}

.navbar-brand img.logo {
    max-width: 80px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Donate Button Style */
.nav-btn-donate {
    background-color: var(--tertiary-color) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0.6rem 1.8rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(139, 154, 62, 0.3);
}

.nav-btn-donate:hover {
    background-color: #7A8835 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 154, 62, 0.4);
}

.nav-btn-donate i {
    margin-left: 5px;
    font-size: 14px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Nested Dropdown Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu .dropdown-menu.show {
    display: block;
}

.dropdown-submenu>.dropdown-item::after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

/* Announcement Bar Styles */
.announcement-bar {
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.announcement-bar .contact-info {
    display: inline-block;
}

.announcement-bar .contact-info a {
    transition: opacity 0.3s ease;
}

.announcement-bar .contact-info a:hover {
    opacity: 0.8;
}

/* Cart Sidebar Styles */
.cart-sidebar-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.cart-sidebar-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-sidebar-item h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cart-sidebar-item p {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.cart-sidebar-item small {
    font-size: 0.75rem;
}

.remove-cart-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

p,
span {
    /* font-size: 1.2rem; */
    font-family: 'Lato', sans-serif !important;
}

.social-media-section {
    padding: 60px 0;
    background: #ff9600;
    color: white;
}

.social-media-section h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

.social-media-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #1e7b1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 139, 34, 0.4);
}

.back-to-top.show {
    display: flex;
}

@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

    .dropdown-submenu>.dropdown-item::after {
        display: none;
    }

}

.green-title {
    color: var(--tertiary-color);
    font-size: 3rem;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 0;
    color: var(--secondary-color);
    padding-top: 50px;
}

.footer-map-section {
    width: 100%;
    background-color: #e9ecef;
    border-top: 3px solid var(--primary-color);
    margin-top: 40px;
}

.footer-map-section iframe {
    display: block;
    width: 100%;
}

.footer .container {
    padding: 5px 15px 0;
}

.footer-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-info h5 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-newsletter h5 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-newsletter .form-control {
    border-radius: 5px 0 0 5px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 14px;
}

.footer-newsletter .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 150, 0, 0.25);
}

.footer-newsletter .btn {
    border-radius: 0 5px 5px 0;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.footer-newsletter #footerNewsletterMessage {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
}

.footer-links h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px 0;
    margin-top: 0px;
}

.footer-bottom .copyright {
    margin: 0;
    font-size: 14px;
}

.footer-bottom .social-links {
    text-align: right;
}

.footer-bottom .social-links span {
    margin-right: 5px;
    font-size: 14px;
}

.footer-bottom .social-links a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-bottom .social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .green-title {
        font-size: 2rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-btn-donate {
        display: inline-block;
        text-align: center;
        margin: 0.5rem 0;
    }

    .footer-info,
    .footer-links {
        margin-bottom: 30px;
    }

    .footer-bottom .copyright,
    .footer-bottom .social-links {
        text-align: center;
        margin: 10px 0;
    }

    .footer-map-section iframe {
        height: 250px;
    }

    .footer-newsletter .btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .contact-info,
    .top-bar .social-links {
        text-align: center !important;
        margin: 5px 0;
    }

    .navbar-brand img.logo {
        height: 50px;
    }
}

.relative {
    position: relative !important;
}