/* style.css - Professional Corporate Theme with specified colors */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 12% 0%, #e0ecff 0%, rgba(224,236,255,0) 32%),
        radial-gradient(circle at 88% 12%, #e8f2ff 0%, rgba(232,242,255,0) 28%),
        #F8FAFC;
    color: #0F172A;
    scroll-behavior: smooth;
    line-height: 1.5;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(37,99,235,0.35);
    outline-offset: 2px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4, .logo-text, .nav-links a, .btn {
    font-family: 'Poppins', sans-serif;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37,99,235,0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease-in-out;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2563EB;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    color: #2563EB;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #eff6ff;
    border-color: #2563EB;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: padding 0.3s ease, background-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 400;
    color: #475569;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1E293B;
    transition: 0.2s;
    font-size: 0.9rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #2563EB;
}

.quote-btn-nav {
    padding: 8px 20px !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1E293B;
    background: transparent;
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(105deg, #F8FAFC 0%, #ffffff 100%);
    padding: 80px 0 70px;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1E293B;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    background: #eef2ff;
    border-radius: 28px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.hero-photo,
.hero-video {
    width: 100%;
    max-height: min(62vh, 520px);
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    object-fit: contain;
    object-position: center;
    display: block;
    box-shadow: 0 12px 28px rgba(37,99,235,0.14);
    background: #0f172a;
}

.hero-image i,
.hero-fallback {
    font-size: 10rem;
    color: #2563EB;
    opacity: 0.85;
}

.hero-fallback {
    display: none;
}

.hero-image-note {
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1E293B;
}

/* Marquee / Clients Section */
.client-marquee-container {
    background: #0f172a;
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-title {
    text-align: center;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 48px;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-x 25s linear infinite;
}

.marquee-track span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
}

.marquee-track span i {
    color: #3b82f6;
    font-size: 1.4rem;
}

@keyframes scroll-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 24px));
    }
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #60a5fa);
    transform: scaleX(0.18);
    transform-origin: left;
    opacity: 0.55;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 36px -20px rgba(37,99,235,0.35);
}

.service-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.service-icon {
    font-size: 2.8rem;
    color: #2563EB;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E293B;
    transition: color 0.28s ease;
}

.service-card:hover h3 {
    color: #1d4ed8;
}

.service-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Machines Section */
.machines-section {
    background: #F8FAFC;
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.machine-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.machine-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 36px -20px rgba(37,99,235,0.35);
}

.machine-img {
    background: #eef2ff;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.machine-img i {
    font-size: 4.2rem;
    color: #2563EB;
}

.machine-img-fallback {
    display: none;
    transition: transform 0.35s ease;
}

.machine-card:hover .machine-img img,
.machine-card:hover .machine-img-fallback {
    transform: scale(1.04);
}

.machine-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 18px 20px 8px;
    color: #1E293B;
}

.machine-card p {
    margin: 0 20px 20px;
    color: #475569;
    font-size: 0.85rem;
}

@media (min-width: 641px) {
    .services-grid > :last-child:nth-child(odd),
    .machines-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 360px);
    }
}

/* About Section */
.about-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-content {
    flex: 1.2;
}

.about-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1E293B;
}

.about-list {
    list-style: none;
    margin: 24px 0;
}

.about-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #1E293B;
}

.about-list li i {
    color: #22C55E;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    background: #eef2ff;
    border-radius: 28px;
    padding: 24px 24px 22px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.about-media {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    background: #f8fafc;
    min-height: 260px;
    aspect-ratio: 4 / 3;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-photo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    background: #eef2ff;
}

.about-photo-fallback i {
    font-size: 4rem;
}

.about-image-title {
    font-weight: 600;
    margin-top: 6px;
}

.about-image-subtitle {
    font-size: 0.8rem;
}

/* Gallery Section */
.gallery-section {
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.gallery-category-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.gallery-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.gallery-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
}

.gallery-category-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563EB;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 999px;
}

.gallery-category-grid {
    gap: 22px;
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.82);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.gallery-arrow:hover {
    background: rgba(37, 99, 235, 0.95);
}

.gallery-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-arrow-prev {
    left: 12px;
}

.gallery-arrow-next {
    right: 12px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: 0.2s ease;
}

.gallery-dot.active {
    width: 24px;
    background: #2563EB;
}

.gallery-dot:hover {
    background: #94a3b8;
}

.hidden {
    display: none !important;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #F8FAFC;
    border: 1px solid #e2e8f0;
    transition: 0.25s;
}

.gallery-img {
    height: 240px;
    aspect-ratio: 4 / 3;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
    overflow: hidden;
}

.gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.86);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.16);
}

.gallery-img i {
    font-size: 3.5rem;
    color: #2563EB;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.02);
}

.gallery-label {
    padding: 16px;
    font-weight: 600;
    color: #1E293B;
    background: white;
    text-align: center;
}

/* Products Section */
.products-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 22px 24px;
    margin-bottom: 32px;
}

.products-note i {
    font-size: 1.6rem;
    color: #2563EB;
    margin-top: 3px;
}

.products-note h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.products-note p {
    color: #475569;
    font-size: 0.92rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

#productsGrid {
    max-width: 1280px;
    margin: 0 auto;
    row-gap: 22px;
}

.products-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.products-view-more {
    min-width: 220px;
    justify-content: center;
}

.products-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 4px auto 28px;
}

.products-intro span {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.products-intro i {
    color: #2563EB;
}

.product-category-block {
    grid-column: 1 / -1;
    margin-top: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d5e2f2;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.product-category-block > .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 420px));
    justify-content: space-between;
}

.product-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
}

.product-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
}

.product-category-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: #2563EB;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 999px;
}

.product-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(15,23,42,0.06);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 36px -20px rgba(37,99,235,0.35);
}

.product-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    background:
        linear-gradient(145deg, #f7fbff 0%, #edf4ff 100%);
    min-height: 200px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #2563EB;
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-card h3 i {
    color: #2563EB;
    background: #eff6ff;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    margin-top: 1px;
}

.product-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
}

#products .section-subtitle {
    max-width: 760px;
    background: linear-gradient(90deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 12px 18px;
}

/* Contact Section */
.contact-section {
    background: #F8FAFC;
    scroll-margin-top: 92px;
}

.contact-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail p {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-detail i {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    color: #2563EB;
    font-size: 1.3rem;
}

.contact-detail p strong {
    display: block;
    color: #1E293B;
}

.contact-link {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
    overflow-wrap: anywhere;
}

.contact-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

.contact-hours {
    margin-top: 28px;
}

.contact-form {
    flex: 1.2;
    min-width: 0;
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.02);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: #ffffff;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.form-note {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 14px;
    color: #475569;
}

.form-status {
    margin-top: 10px;
    font-size: 0.78rem;
    text-align: center;
    min-height: 18px;
}

.form-status.success {
    color: #16a34a;
}

.form-status.error {
    color: #dc2626;
}

/* Footer */
.footer {
    background: #1E293B;
    color: #cbd5e1;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.footer-brand-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand h3 span {
    display: block;
    margin-top: 4px;
    color: #60a5fa;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 52px;
    max-width: 280px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #60a5fa;
    padding-left: 4px;
}

.footer-map h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-map-frame {
    border: 1px solid #334155;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

.footer-map-frame iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.footer-map-link:hover {
    color: #dbeafe;
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #334155;
    font-size: 0.75rem;
}

.admin-footer-link {
    color: #93c5fd;
    text-decoration: none;
    margin-left: 6px;
    font-weight: 600;
}

.admin-footer-link:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.thanks-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    padding: 16px;
}

.thanks-popup.active {
    display: flex;
}

.thanks-popup-card {
    width: min(100%, 420px);
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.22);
    padding: 24px 20px;
    text-align: center;
    position: relative;
}

.thanks-popup-card i {
    font-size: 2.4rem;
    color: #16a34a;
    margin-bottom: 10px;
}

.thanks-popup-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #1e293b;
}

.thanks-popup-card p {
    color: #475569;
    font-size: 0.92rem;
}

.thanks-popup-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.3rem;
    cursor: pointer;
}

.thanks-popup-close:hover {
    background: #e2e8f0;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.38);
    z-index: 200;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    background: #16a34a;
    box-shadow: 0 18px 30px rgba(22, 163, 74, 0.42);
}

.whatsapp-float i {
    line-height: 1;
}

/* Empty State Message */
.empty-state-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.empty-state-message i {
    font-size: 3rem;
    color: #94a3b8;
    opacity: 0.6;
}

/* Logo Image Styles */
.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .nav-container {
        position: relative;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 24px 20px;
        border-radius: 20px;
        margin-top: 16px;
        gap: 16px;
        border: 1px solid rgba(226, 232, 240, 0.6);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-wrapper {
        flex-direction: column;
    }
    section {
        padding: 60px 0;
    }
    .logo-img {
        height: 42px;
    }
    .logo-text h2 {
        font-size: 0.9rem;
    }
    .logo-text span {
        font-size: 0.6rem;
    }

    .footer-logo {
        width: 34px;
        height: 34px;
    }
}

.form-group textarea {
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-grid,
    .about-wrapper,
    .contact-grid {
        gap: 32px;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-video {
        max-height: min(52vh, 420px);
    }

    .hero-image i {
        font-size: 7.2rem;
    }

    .services-grid,
    .machines-grid,
    .gallery-grid {
        gap: 20px;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .hero-image {
        order: -1;
        width: 100%;
    }

    .hero-content {
        width: 100%;
    }

    .nav-links {
        width: auto;
        left: 24px;
        right: 24px;
        padding: 16px;
        gap: 10px;
        border-radius: 16px;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
        background: rgba(248, 250, 252, 0.6);
    }

    .navbar {
        padding: 12px 0;
    }

    .hero {
        padding: 56px 0 52px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image {
        padding: 14px;
        border-radius: 18px;
    }

    .hero-video {
        width: 100%;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

    .hero-image i {
        font-size: 5rem;
    }

    .service-card,
    .machine-card,
    .contact-info,
    .contact-form,
    .about-image,
    .product-card {
        border-radius: 16px;
    }

    .gallery-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-category-title {
        font-size: 1.05rem;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-arrow-prev {
        left: 8px;
    }

    .gallery-arrow-next {
        right: 8px;
    }

    .service-card {
        padding: 24px 18px;
    }

    .machine-img,
    .gallery-img {
        height: 180px;
    }

    .about-media {
        min-height: 210px;
        border-radius: 14px;
    }

    .products-note {
        padding: 18px;
        border-radius: 18px;
    }

    .products-intro {
        justify-content: flex-start;
        margin: 2px 0 20px;
    }

    #products .section-subtitle {
        padding: 10px 12px;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .product-category-block {
        border-radius: 18px;
        padding: 14px;
    }

    .product-category-block > .products-grid {
        grid-template-columns: 1fr;
    }

    #productsGrid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .product-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .products-note,
    .product-card {
        border-radius: 18px;
    }

    .product-image {
        min-height: 190px;
    }

    .product-card h3 {
        font-size: 1.05rem;
    }

    .product-card p {
        font-size: 0.86rem;
    }

    .contact-detail {
        align-items: flex-start;
    }

    .contact-detail i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 20px 16px;
    }

    .contact-section {
        padding-bottom: 96px;
    }

    .contact-form .form-group {
        margin-bottom: 14px;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 16px;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-brand-head {
        align-items: flex-start;
    }

    .footer-brand p {
        margin-left: 0;
        max-width: none;
    }

    .footer-map-frame iframe {
        height: 210px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 10px;
        bottom: 14px;
        font-size: 1.65rem;
    }
}

@media (max-width: 420px) {
    .logo {
        gap: 8px;
    }

    .logo-img {
        height: 34px;
    }

    .logo-text h2 {
        font-size: 0.78rem;
    }

    .logo-text span {
        font-size: 0.52rem;
        letter-spacing: 0.6px;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .footer-map-frame iframe {
        height: 190px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .contact-info,
    .contact-form {
        padding: 16px 14px;
    }

    .contact-detail {
        gap: 10px;
        margin-bottom: 18px;
    }
}