:root {
    --primary-color: #10558c;
    --primary-dark: #0a3d66;
    --primary-light: #1e74bc;
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #10558c 0%, #1e74bc 100%);
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none !important;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    padding-left: 0;
    list-style: none;
}

/* Header & Navigation */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    transition: padding 0.3s ease;
}

.header-wrapper.sticky-active .header-top {
    padding: 4px 0;
}

.header-wrapper.sticky-active .welcome-text {
    display: none !important;
}

.navbar {
    padding: 10px 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.navbar.sticky {
    padding: 8px 0;
}

.navbar-brand img {
    height: 70px;
    transition: var(--transition);
}

.navbar.sticky .navbar-brand img {
    height: 45px;
}

.header-top a {
    color: var(--white);
    transition: var(--transition);
}

.header-top a:hover {
    color: rgba(255,255,255,0.8);
}

.header-top .social-links a {
    margin-left: 0px;
    font-size: 14px;
}

.header-top .social-links a i {
    color: var(--white);
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 18px;
    padding: 10px 0 !important;
}

.nav-link:hover, .nav-item.dropdown:hover > .nav-link {
    color: var(--primary-color) !important;
}

/* Dropdown Menu Refinement */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    display: block;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 240px;
}

.nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 25px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Multi-level Dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    margin-left: 0;
    transform: translateX(10px);
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Toggle Button 美化 */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Custom Mobile Side Menu Rebuild */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 10001; /* Higher than overlay and header-wrapper */
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: none; /* Initially hide with display none too */
    flex-direction: column;
}

@media (max-width: 991px) {
    .header-wrapper.sticky-active .header-top {
        margin-top: 0;
    }
    
    .mobile-side-menu {
        display: flex !important;
    }
}

.mobile-side-menu.active {
    right: 0 !important;
}

.mobile-menu-header {
    padding: 20px;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
}

.mobile-menu-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav > li {
    display: block;
    width: 100%;
}

.mobile-nav > li > a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333 !important;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
}

.mobile-nav .sub-menu {
    list-style: none;
    padding-left: 15px;
    display: none;
    background: #fcfcfc;
    margin: 0;
}

.mobile-nav .sub-menu a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    color: #666 !important;
    border-bottom: 1px dotted #eee;
    text-decoration: none;
}

.mobile-nav .has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .has-children > a i {
    transition: transform 0.3s;
    font-size: 14px;
}

.mobile-nav .has-children.open > a i {
    transform: rotate(180deg);
}

.mobile-toggle-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle-btn .toggler-icon {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    display: block;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000; /* Lower than side menu */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure header wrapper doesn't trap stacking context */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* Adjust Hero for Fixed Header */
.hero-section {
    padding-top: 110px; /* Space for fixed header */
}

/* Apply unified button style to all primary buttons */
.btn-primary-custom, .btn-inquiry {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(16, 85, 140, 0.2);
}

.btn-primary-custom i, .btn-inquiry i {
    font-size: 18px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-custom::before, .btn-inquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary-custom::after, .btn-inquiry::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -2;
}

.btn-primary-custom:hover, .btn-inquiry:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 85, 140, 0.4);
}

.btn-primary-custom:hover::after, .btn-inquiry:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary-custom:hover::before, .btn-inquiry:hover::before {
    left: 100%;
}

.btn-primary-custom:hover i, .btn-inquiry:hover i {
    transform: translateX(5px) scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: var(--white);
    z-index: 10;
    width: 90%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}

/* Swiper Navigation & Pagination Optimization */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white) !important;
    transition: var(--transition);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: var(--transition);
}

.hero-section .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

/* Buttons */
.btn-custom {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom {
    background: var(--gradient);
    border: none;
    color: var(--white);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 85, 140, 0.3);
    color: var(--white);
}

/* Section General */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--primary-color);
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: -10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section Images */
.about-img-wrapper {
    position: relative;
    padding-top: 133.33%; /* 3:4 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
}

.about-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Video Play Button on About Image */
.about-img-wrapper.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: var(--transition);
}
.about-img-wrapper.video-thumb:hover::after {
    background: rgba(0, 0, 0, 0.3);
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}
.play-pulse {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: pulse-ring 2s ease-out infinite;
    transition: var(--transition);
}
.play-pulse:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}
.play-pulse:hover i {
    color: #fff;
}
.play-pulse i {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-left: 4px;
    transition: var(--transition);
}
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Video Modal */
#videoModal .modal-content {
    overflow: hidden;
    border-radius: 10px;
}
#videoModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

/* Cards */
.custom-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.custom-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Product Section */
.product-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 300px;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    transition: var(--transition);
}

.product-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.product-info h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.view-more {
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding:6px 25px;
    border: none;
    border-radius: 50px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-item:hover .product-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
}

.product-item:hover .view-more {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.product-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #111;
    color: #eee;
    padding: 80px 0 30px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 30px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Utilities */
.w-90{
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.bg-light-gray {
    background-color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 102, 0.85); /* Using primary-dark with opacity */
    z-index: 1;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 15px;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
}

.why-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.why-card h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Hot Products Section */
.hot-products-section {
    position: relative;
    background-color: #fcfcfc; /* Very light gray for contrast with white cards */
}

.hot-products-slider {
    padding: 10px 0 60px !important;
    position: relative !important;
}

.hot-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hot-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.hot-product-img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #fff;
}

.hot-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: transform 0.5s ease;
}

.hot-product-card:hover .hot-product-img img {
    transform: scale(1.08);
}

.hot-product-info {
    padding: 20px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #f5f5f5;
}

.hot-product-info h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-view-detail {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #f0f4f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.hot-product-card:hover .btn-view-detail {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 85, 140, 0.2);
}

/* Navigation Buttons Styling */
.hot-products-section .swiper-button-next,
.hot-products-section .swiper-button-prev {
    width: 46px;
    height: 46px;
    background: var(--white) !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    top: 45%;
    transition: all 0.3s ease;
}

.hot-products-section .swiper-button-next:hover,
.hot-products-section .swiper-button-prev:hover {
    background: var(--primary-color) !important;
    transform: scale(1.1);
}

.hot-products-section .swiper-button-next::after,
.hot-products-section .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 800;
    color: var(--primary-color);
}

.hot-products-section .swiper-button-next:hover::after,
.hot-products-section .swiper-button-prev:hover::after {
    color: var(--white);
}

.hot-products-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px !important;
}

.hot-products-section .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 25px;
    border-radius: 5px;
}

/* News Section */
.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.news-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark);
    transition: var(--transition);
}

.news-card:hover .news-content h4 {
    color: var(--primary-color);
}

.news-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--transition);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Inquiry Section */
.inquiry-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.inquiry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 85, 140, 0.8); /* Light gray overlay to keep form clear */
    z-index: 1;
}

.inquiry-section .container {
    position: relative;
    z-index: 2;
}

.inquiry-wrapper {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.inquiry-image-box {
    height: 100%;
    min-height: 400px;
}

.inquiry-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inquiry-form-box {
    padding: 50px;
}

.form-header h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-control {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 85, 140, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* Floating Toolbar */
.floating-toolbar {
    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-item {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.floating-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--white);
}

.floating-item.whatsapp {
    background: #25D366;
}

.floating-item.whatsapp:hover {
    background: #128C7E;
}

.floating-item.email {
    background: var(--primary-color);
}

.floating-item.email:hover {
    background: var(--primary-dark);
}

.floating-item.back-to-top {
    background: #555;
}

.floating-item.back-to-top:hover {
    background: #333;
}

.floating-item i {
    line-height: 1;
}

/* Tooltip for floating items */
.floating-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 65px;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.floating-item:hover::before {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#back-to-top.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-toolbar {
        right: 20px;
        bottom: 30px;
        gap: 10px;
    }
    .floating-item {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Animation classes for Intersection Observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 { transition-delay: 0.2s; }
.delay-400 { transition-delay: 0.4s; }
.delay-600 { transition-delay: 0.6s; }

/* Responsive Adjustments Refined */
@media (max-width: 992px) {
    .navbar {
        background: var(--white);
    }
    .nav-link {
        color: var(--text-dark) !important;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .custom-card {
        padding: 30px 20px;
    }
}

/* ============================================
   Industries Application Section
   ============================================ */
.industries-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}
.industries-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(16, 85, 140, 0.04);
    pointer-events: none;
}
.industries-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(16, 85, 140, 0.04);
    pointer-events: none;
}
.industries-section .section-title h2 {
    font-size: 2.2rem;
}

/* Industry Card */
.industry-card {
    position: relative;
    height: 280px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(16, 85, 140, 0.22);
}

.industry-img {
    position: absolute;
    inset: 0;
}
.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.industry-card:hover .industry-img img {
    transform: scale(1.12);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.55) 100%);
    transition: all 0.5s ease;
    z-index: 1;
}
.industry-card:hover .industry-overlay {
    background: linear-gradient(135deg,
        rgba(16, 85, 140, 0.82) 0%,
        rgba(30, 116, 188, 0.62) 50%,
        rgba(0, 0, 0, 0.45) 100%);
}

.industry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px;
    z-index: 2;
    text-align: center;
    transition: all 0.5s ease;
}
.industry-card:hover .industry-content {
    transform: translateY(-8px);
}

.industry-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    opacity: 0;
    transform: translateY(20px) scale(0.7);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.industry-card:hover .industry-icon {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.08s;
}
.industry-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
.industry-card:hover .industry-icon i {
    color: var(--primary-dark);
}

.industry-content h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Shimmer sweep on hover */
.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%);
    z-index: 3;
    pointer-events: none;
    transition: none;
}
.industry-card:hover::after {
    animation: industry-shimmer 0.8s ease forwards;
}
@keyframes industry-shimmer {
    0%   { left: -100%; }
    100% { left: 160%; }
}

@media (max-width: 768px) {
    .industry-card {
        height: 220px;
    }
    .industry-content h4 {
        font-size: 1rem;
    }
    .industry-icon {
        width: 44px;
        height: 44px;
    }
    .industries-section .section-title h2 {
        font-size: 1.6rem;
    }
}