:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --accent-color: #0d6efd;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-color: #e9ecef;
    --border-radius-lg: 15px;
    --background-light: #FFF;
}

html {
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 90px; /* compensate for fixed navbar */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 5px;
}
/* Navbar */
.navbar {
    background: #FFF !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Active state for navigation */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}


/* Desktop Dropdown Styles */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-toggle::after {
    display: none; /* Hide default Bootstrap arrow */
}

.navbar .dropdown-toggle {
    position: relative;
}

.navbar .dropdown-toggle .dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.navbar .dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar .dropdown-menu {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block !important; /* Override Bootstrap display:none */
}

/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rotate arrow on hover */
.navbar .dropdown:hover .dropdown-arrow,
.navbar .dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
}

.navbar .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #caddf7;
}
.navbar .dropdown-item.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.navbar .dropdown-item.active::after {
    display: none;
}

.navbar .dropdown li.active .dropdown-item {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.navbar .dropdown li.active .dropdown-item::after {
    display: none;
}

.navbar .dropdown-item i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 18px;
    text-align: center;
    color: var(--primary-color);
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Navigation Styles */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    position: relative;
    z-index: 1050;
}

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

/* Custom Hamburger Icon */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
    top: 8px;
}

.hamburger span:nth-child(4) {
    top: 16px;
}

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Offcanvas Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* keep fully off-canvas without affecting layout */
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
    background: white;
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.mobile-menu-body {
    padding: 2rem 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.mobile-nav-link i {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.mobile-contact-btn {
    margin: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
    color: white;
}

.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: rgba(0, 86, 179, 0.05);
    border-top: 1px solid rgba(0, 86, 179, 0.1);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

/* Mobile Dropdown Styles */
.mobile-nav-dropdown {
    position: relative;
}

.mobile-nav-dropdown .mobile-nav-link {
    position: relative;
}

.mobile-nav-dropdown .dropdown-arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.mobile-nav-dropdown.active .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 86, 179, 0.05);
    transition: all 0.3s ease;
    margin-left: 3rem;
    border-radius: 0 10px 10px 0;
}

.mobile-nav-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
    padding: 0.5rem 0;
}

.mobile-dropdown-item {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.mobile-dropdown-item:hover {
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.mobile-dropdown-item.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    position: relative;
}

.mobile-dropdown-item.active::after {
    display: none;
}

.mobile-nav-item.active .mobile-nav-link {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.mobile-nav-item.active .mobile-nav-link::after {
    display: none;
}

.mobile-dropdown-item i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    color: var(--primary-color);
}

/* Button */
.btn-read-more {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-read-more:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

/* Categories Filter */
.categories-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filter-title h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-filter {
    background: #f8f9fa;
    color: var(--text-dark);
    border: 2px solid #e9ecef;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.badge-featured {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

/* Product Category */
.product-category {
    margin-bottom: 0.5rem;
}

.product-category span {
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Product Price */
.product-price {
    margin: 1rem 0;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-send-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-send-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: #fff;
}

/* Banner Slider Section */
.banner-slider {
    position: relative;
    overflow: hidden;
}


.banner-slider .swiper {
    width: 100%;
    height: 80vh;
    cursor: grab;
    overflow: hidden;
}

.banner-slider .swiper-wrapper {
    height: 100%;
}

.banner-slider .swiper:active {
    cursor: grabbing;
}

.banner-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 80vh;
}

.slide-content {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment fixed can cause mobile overflow; disable by default */
    background-attachment: scroll;
    transition: background-image 0.5s ease;
}

/* .slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
} */

/* Ensure background images load properly */
.slide-content {
    background-color: #f8f9fa; /* Fallback color while image loads */
}

.slide-content[style*="url("] {
    background-color: transparent;
}

/* Slide Link Styles */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slide-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-feature {
    margin-bottom: 1.5rem;
}


.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Product Cards */
.product-tabs {
    border: none;
    justify-content: center;
    margin-bottom: 3rem;
}

.product-tabs .nav-link {
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-tabs-category {
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-tabs-category img {
    filter: invert(46%) sepia(8%) saturate(282%) hue-rotate(169deg) brightness(93%) contrast(86%);
}

.product-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-tabs .nav-link.active img {
    filter: brightness(0) invert(1);
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    /* margin-bottom: 2rem; */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-body h5 {
    min-height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-dark);
}

.product-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    min-height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Gallery */
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Video Section */
.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* News Cards */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-body a {
    text-decoration: none;
}

.news-card-body a h5 {
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    min-height: 50px;
}

.news-card-body p {
    min-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.news-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-floating label {
    color: var(--text-light);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35, var(--primary-color));
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35);
    border-radius: 2px;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
    color: #ffffff;
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Title */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35);
    border-radius: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 1rem;
}

.footer-links a:hover::before {
    width: 8px;
}

/* Contact Info */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item-footer i {
    color: white;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item-footer span {
    flex: 1;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 0;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .brand-description {
        font-size: 0.95rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1rem;
    }
}

/* Desktop: Hide mobile menu */
@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu,
    .hamburger {
        display: none !important;
    }
}

/* Mobile: Hide desktop menu */
@media (max-width: 991.98px) {
    body {
        padding-top: 72px; /* smaller navbar height on mobile */
    }

    .navbar-nav,
    .btn-contact {
        display: none !important;
    }

    .mobile-menu {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1.1rem;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-shop,
    .btn-video {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }


    .slide-content {
        padding: 2rem 0;
        background-attachment: scroll; /* Better performance on mobile */
    }

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

    .mobile-menu {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .slide-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .btn-shop,
    .btn-video {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }


    .mobile-menu {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.banner-mobile {
    display: none;
}

.banner-desktop {
    display: flex;
}

@media (max-width: 768px) {
    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: flex;
    }

    /* Adjust banner height for mobile */
    .banner-slider .swiper {
        height: 50vh;
        min-height: 400px;
    }

    .banner-slider .swiper-slide {
        height: 50vh;
        min-height: 400px;
    }

    .banner-mobile.slide-content {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .banner-slider .swiper,
    .banner-slider .swiper-slide,
    .banner-mobile.slide-content {
        height: 40vh;
        min-height: 300px;
    }
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #007bff, #0056b3);
    z-index: 9999;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(-3px);
}

.reading-progress.visible {
    opacity: 1;
    transform: translateY(0);
}

.reading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* Fixed Action Buttons */
.fixed-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: white;
}

.action-btn:active {
    transform: scale(0.95);
}

/* Zalo Button */
.zalo-btn {
    background: linear-gradient(135deg, #0068ff, #0047cc);
}

.zalo-btn:hover {
    background: linear-gradient(135deg, #0052cc, #003d99);
}

/* Messenger Button */
.messenger-btn {
    background: linear-gradient(135deg, #0084ff, #0066cc);
}

.messenger-btn:hover {
    background: linear-gradient(135deg, #0066cc, #004d99);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.call-btn:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
}

/* Back To Top Button */
.back-to-top-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fixed-action-buttons {
        bottom: 20px;
        right: 15px;
        gap: 12px;
    }

    .action-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .fixed-action-buttons {
        bottom: 15px;
        right: 10px;
        gap: 10px;
    }

    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}
