@tailwind base;
@tailwind components;
@tailwind utilities;

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

:root {
    --primary-color: #003d5c;
    --secondary-color: #005073;
    --accent-color: #006a8a;
    --light-blue: #0088aa;
    --text-dark: #1a2332;
    --text-light: #5a6b7d;
    --bg-light: #e8f4f8;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 61, 92, 0.15);
    --shadow-hover: 0 12px 40px rgba(0, 61, 92, 0.35);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}
.imgab{
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--light-blue)) 1;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}
.logo img {
    height: 50px;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

.logo a:hover {
    filter: brightness(1.3);
    text-shadow: 0 4px 10px rgba(0, 61, 92, 0.3);
}

.logo i {
    font-size: 28px;
    transition: transform 0.4s ease;
}

.logo a:hover i {
    transform: rotate(360deg) scale(1.15);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 8px 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* Hiệu ứng nền mờ khi hover */
.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Hiệu ứng gạch chân */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Khi hover chỉ hiện hiệu ứng, KHÔNG trượt */
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: none; /* bỏ hiệu ứng trượt */
}

.nav-menu a:hover::before {
    opacity: 0.15;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 0px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.1);
}
.hero-slider .slide {
    background-size: contain !important; /* Hiển thị toàn bộ ảnh */
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000; /* hoặc trắng nếu bạn muốn */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: slideUpFade 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.slide-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 3px 3px 8px rgba(0, 61, 92, 0.6), 0 0 20px rgba(0, 136, 170, 0.3);
    }
    to {
        text-shadow: 3px 3px 8px rgba(0, 61, 92, 0.8), 0 0 30px rgba(0, 136, 170, 0.5);
    }
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--light-blue));
    background-size: 200% 200%;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 61, 92, 0.4);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 61, 92, 0.6);
    border-color: var(--light-blue);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 61, 92, 0.4);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 61, 92, 0.4);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    backdrop-filter: blur(5px);
}



.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
    border-color: var(--light-blue);
    box-shadow: 0 8px 25px rgba(0, 136, 170, 0.5);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-btn.prev:hover {
    transform: translateY(-50%) translateX(-5px) scale(1.2);
}

.slider-btn.next:hover {
    transform: translateY(-50%) translateX(5px) scale(1.2);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--light-blue);
    transition: all 0.4s ease;
}

.dot:hover::before {
    width: 100%;
    height: 100%;
}

.dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    transform: scale(1.3);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 170, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 61, 92, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 45px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    animation: fadeInDown 0.8s ease;
}

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

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    margin: 0 auto 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    animation: fadeIn 1s ease 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.3), rgba(0, 136, 170, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.about-image:hover img {
    transform: scale(1.08) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-left: 20px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--light-blue));
    transition: height 0.4s ease;
}

.about-text:hover h3::before {
    height: 100%;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.about-text p:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 170, 0.15), transparent);
    transition: left 0.6s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover::after {
    width: 100%;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white), var(--bg-light));
}

.stat-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-item:hover i {
    transform: scale(1.3) rotateY(360deg);
    filter: drop-shadow(0 8px 15px rgba(0, 61, 92, 0.4));
    color: var(--light-blue);
}

.stat-item h4 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.stat-item:hover h4 {
    color: var(--primary-color);
    transform: scale(1.1);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.stat-item:hover p {
    color: var(--text-dark);
}

/* Why Choose Us */
.why-choose {
    background: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.reason-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 136, 170, 0.1), transparent);
    transition: top 0.6s ease;
}

.reason-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.5s ease 0.1s;
}

.reason-card:hover::before {
    top: 0;
}

.reason-card:hover::after {
    width: 100%;
}

.reason-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white), var(--bg-light));
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--light-blue));
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px rgba(0, 61, 92, 0.3);
    position: relative;
    z-index: 1;
    animation: gradientRotate 4s ease infinite;
}

@keyframes gradientRotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.reason-card:hover .reason-icon {
    transform: scale(1.25) rotate(360deg);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.6);
}

.reason-icon i {
    font-size: 36px;
    color: var(--white);
    transition: transform 0.5s ease;
}

.reason-card:hover .reason-icon i {
    transform: scale(1.2) rotate(-360deg);
}

.reason-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.reason-card:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}

.reason-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.reason-card:hover p {
    color: var(--text-dark);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: grid;
    grid-template-columns: 400px 1fr;
    border: 2px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 170, 0.05), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.2), rgba(0, 136, 170, 0.2));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.service-card:hover .service-image::before {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-image img {
    transform: scale(1.15) rotate(2deg);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.95), rgba(0, 136, 170, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 40px;
    transition: all 0.4s ease;
}

.service-card:hover .service-content {
    transform: translateX(5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--light-blue));
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px rgba(0, 61, 92, 0.3);
    animation: iconPulse 3s ease infinite;
}

@keyframes iconPulse {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 5px 20px rgba(0, 61, 92, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 8px 30px rgba(0, 136, 170, 0.5);
    }
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 35px rgba(0, 61, 92, 0.6);
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon i {
    transform: rotate(-360deg) scale(1.1);
}

.service-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.4s ease;
}

.service-card:hover .service-content h3 {
    color: var(--primary-color);
}

.service-card:hover .service-content h3::after {
    width: 100%;
}

.service-content > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-content > p {
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-features li:hover::before {
    width: 5px;
}

.service-features li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.service-features i {
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.service-features li:hover i {
    transform: scale(1.3) rotate(360deg);
    color: var(--light-blue);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 8px 0;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.4s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover {
    gap: 15px;
    color: var(--light-blue);
}

.service-link i {
    transition: transform 0.4s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--light-blue));
    transition: width 0.5s ease;
}

.contact-item::after {
    content: '';
    position: absolute;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 136, 170, 0.1));
    transition: top 0.5s ease;
}

.contact-item:hover::before {
    width: 4px;
}

.contact-item:hover::after {
    top: 0;
}

.contact-item:hover {
    transform: translateX(20px) scale(1.03);
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border-left-color: var(--primary-color);
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-item:hover i {
    transform: scale(1.3) rotate(360deg);
    color: var(--light-blue);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-item:hover h4 {
    color: var(--primary-color);
}

.contact-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contact-item:hover p {
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: var(--white);
    position: relative;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 61, 92, 0.15);
    background: var(--bg-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #0d1b2a);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 106, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 136, 170, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.footer a {
text-decoration-line: none;
color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), transparent);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), transparent);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #bdc3c7;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-col p:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #bdc3c7;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-col ul li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.footer-col ul li:hover::before {
    width: 5px;
}

.footer-col ul li:hover {
    transform: translateX(10px);
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col ul li i {
    margin-right: 8px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-col ul li:hover i {
    color: var(--light-blue);
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 136, 170, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 136, 170, 0.3);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--light-blue));
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 136, 170, 0.6);
    border-color: var(--light-blue);
}

.social-links a:hover i {
    transform: rotate(360deg) scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 14px;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer-bottom p:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid .service-card {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 300px;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .slide-content h2 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }
}

/* Page Specific Styles */
.page-header {
    margin-top: 70px;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.95), rgba(0, 136, 170, 0.9)),
                url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: headerShimmer 3s infinite;
}

@keyframes headerShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header p {
    font-size: 20px;
    animation: fadeIn 1s ease 0.3s backwards;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb a:hover {
    transform: translateY(-2px);
}

.breadcrumb span {
    opacity: 0.7;
}

.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 170, 0.08), transparent);
    transition: left 0.6s ease;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: height 0.4s ease;
}

.content-card:hover::before {
    left: 100%;
}

.content-card:hover::after {
    height: 4px;
}

.content-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.content-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.content-card h3 i {
    font-size: 28px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.content-card:hover h3 i {
    transform: rotate(360deg) scale(1.2);
    color: var(--light-blue);
}

.content-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.content-card:hover p {
    color: var(--text-dark);
}

.content-card ul {
    list-style: none;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.content-card ul li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.content-card ul li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.content-card ul li:hover::before {
    width: 8px;
}

.content-card ul li:hover {
    transform: translateX(15px);
    color: var(--primary-color);
}

.content-card ul li i {
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.content-card ul li:hover i {
    transform: rotate(360deg) scale(1.3);
    color: var(--light-blue);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.08), rgba(0, 136, 170, 0.08));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.product-item:hover::before {
    opacity: 1;
}

.product-item:hover {
    transform: translateY(-15px) scale(1.03) rotate(1deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
   
}



.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.7), rgba(0, 136, 170, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-item:hover .product-image::before {
    opacity: 1;
}

.product-image .view-detail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--light-blue));
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 61, 92, 0.5);
}

.product-item:hover .view-detail {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-image .view-detail:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--accent-color));
    transform: translate(-50%, -50%) scale(1.1);
}
@keyframes buttonGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.product-item:hover .product-image::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ảnh ôm trọn khung, không bị cắt */
    transition: filter 0.4s ease; /* chỉ còn hiệu ứng làm tối nhẹ */
}

.product-item:hover .product-image img {
    filter: brightness(0.8); /* chỉ tối nhẹ khi hover */
}

.product-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.product-item:hover .product-info h3 {
    color: var(--primary-color);
    transform: translateX(5px);
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.product-item:hover .product-info p {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }
}




/* Projects Section - Updated with Drag/Scroll */
.projects {
    background: var(--bg-light);
    padding: 80px 0;
}

.projects-scroll-container {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
    cursor: grab;
    user-select: none;
}

.projects-wrapper:active {
    cursor: grabbing;
}

.projects-wrapper::-webkit-scrollbar {
    height: 8px;
}

.projects-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.projects-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.projects-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}

.project-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    min-width: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Fix hiển thị ảnh dự án tiêu biểu */
.projects .project-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* hoặc tăng/giảm tuỳ ý: 500px - 700px */
    overflow: hidden;
}

.projects .project-image img {
    width: 100%;
    height: auto;
    object-fit: contain; /* đổi từ cover sang contain để không bị cắt ảnh */
    border-radius: 15px;
    display: block;
    transition: transform 0.4s ease;
}

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

.project-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.project-details h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.project-card:hover .project-details h3 {
    color: var(--light-blue);
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.project-meta-item:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.project-meta-item i {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.project-meta-item:hover i {
    transform: scale(1.2);
    color: var(--light-blue);
}

.project-meta-item strong {
    color: var(--text-light);
    font-weight: 600;
}

.project-feedback {
    background: linear-gradient(135deg, var(--bg-light), #f0f8fb);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.project-card:hover .project-feedback {
    border-left-color: var(--light-blue);
    transform: translateX(5px);
}

.project-feedback::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: var(--primary-color);
    opacity: 0.08;
}

.project-feedback p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 10px;
}

.project-feedback-author {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
    transition: all 0.3s ease;
}

.project-card:hover .project-feedback-author {
    color: var(--light-blue);
}

.project-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.project-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 61, 92, 0.3);
}

.project-nav-btn:hover {
    background: var(--light-blue);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 136, 170, 0.5);
}

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

@media (max-width: 768px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 200px;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }
}
/* Giữ tỉ lệ slide khi hiển thị trên điện thoại */
@media (max-width: 768px) {
    .hero-slider {
        height: auto; /* để slide tự co giãn theo tỉ lệ ảnh */
        min-height: 40vh; /* vẫn đủ cao trên điện thoại */
    }
    .slide {
        height: auto;
        min-height: 40vh; /* vẫn đủ cao trên điện thoại */
    }

    .slide-content {
        padding: 0 20px;
        text-align: center;
    }

    .slide-content h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 16px;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Với màn hình rất nhỏ (điện thoại mini) */
@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}









//* Manufacturing Section - 2 ảnh mỗi hàng */
.manufacturing {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.manufacturing::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 106, 138, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.manufacturing-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--bg-light), #f0f8fb);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.manufacturing-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.manufacturing-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
}

.manufacturing-card-centered {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.manufacturing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.05), rgba(0, 136, 170, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.manufacturing-card:hover::before {
    opacity: 1;
}

.manufacturing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.manufacturing-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.manufacturing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.manufacturing-card:hover .manufacturing-image img {
    transform: scale(1.15);
    filter: brightness(0.8);
}

.manufacturing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.85), rgba(0, 136, 170, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.manufacturing-card:hover .manufacturing-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.manufacturing-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 60px;
    margin-bottom: 20px;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.overlay-content h4 {
    font-size: 26px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.manufacturing-info {
    padding: 30px;
}

.manufacturing-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.manufacturing-card:hover .manufacturing-info h3 {
    color: var(--light-blue);
    transform: translateX(5px);
}

.manufacturing-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.manufacturing-card:hover .manufacturing-info p {
    color: var(--text-dark);
}

.manufacturing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(135deg, var(--bg-light), #f0f8fb);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 170, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transition: width 0.5s ease;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover::after {
    width: 100%;
}

.stat-box:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    background: var(--white);
}

.stat-box i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-box:hover i {
    transform: scale(1.3) rotate(360deg);
    color: var(--light-blue);
}

.stat-box h3 {
    font-size: 30px;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.stat-box:hover h3 {
    color: var(--primary-color);
    transform: scale(1.1);
}

.stat-box p {
    font-size: 15px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.stat-box:hover p {
    color: var(--text-dark);
}

/* Responsive Design for Manufacturing Section */
@media (max-width: 1024px) {
    .manufacturing-image {
        height: 350px;
    }

    .manufacturing-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
    }

    .manufacturing-card-centered {
        grid-column: 1;
    }

    .manufacturing-image {
        height: 280px;
    }

    .manufacturing-stats {
        grid-template-columns: 1fr;
    }

    .overlay-content i {
        font-size: 45px;
    }

    .overlay-content h4 {
        font-size: 20px;
    }

    .manufacturing-info h3 {
        font-size: 20px;
    }

    .manufacturing-info p {
        font-size: 15px;
    }
}


.content-section.full-bg {
    background: var(--bg-light);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    
    padding: 100px 0;
}
.view-products-btn {
    position: fixed;
    top: 85px;
    right: 5px;
    background: linear-gradient(135deg, #007BFF, #00C6FF);
    color: white;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  .view-products-btn  a{
    text-decoration: none;
    color: whitesmoke;
  }
  
  .view-products-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #0056D2, #0099FF);
  }
  
  .view-products-btn i {
    font-size: 18px;
  }
  .view-color-btn{
    position: fixed;
    top: 140px;
    right: 5px;
    background: linear-gradient(135deg, #e18c14, #e61437);
    color: white;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  .view-color-btn a{
    text-decoration: none;
    color: whitesmoke;
  }
  .view-color-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #0056D2, #0099FF);
  }
  
  .view-color-btn i {
    font-size: 18px;
  }
  
