/* ==========================================================================
   1. RESET & CORPORATE PALETTE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
    --primary-blue: #0087cb;
    --dark-blue: #005a8b;
    --text-dark: #222222;
    --text-light: #555555;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --whatsapp-green: #25D366;
}
html {
    scroll-behavior: smooth;
}
body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}
.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}
.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text .brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.logo-text .brand-tag {
    font-size: 11px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: width 0.25s ease;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--primary-blue);
}
nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    margin-top: 74px;
    min-height: 380px;
    background-image: url('Implementing-AI-driven-automation-in-Manufacturing-Industrys.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 58, 90, 0.92), rgba(0, 135, 203, 0.80));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeUpHero 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
}

@keyframes fadeUpHero {
    0% { opacity: 0; transform: translateY(35px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Global Section Containers */
section {
    padding: 80px 20px;
}
.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-weight: 700;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 10px auto 0 auto;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
}

/* Scroll Reveal Keyframe Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   4. VISION & MISSION CARDS
   ========================================================================== */
.vision-section {
    background-color: var(--white);
}
.vision-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-left: 6px solid var(--primary-blue);
}
.vision-image-wrapper {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}
.vision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vision-card:hover .vision-img {
    transform: scale(1.06);
}
.vision-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vision-badge {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 135, 203, 0.3);
}
.vision-content h3 {
    color: var(--dark-blue);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
}
.vision-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 15px;
}

/* Mission Section */
.mission-section {
    background-color: var(--bg-light);
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.mission-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border-top: 4px solid var(--primary-blue);
}
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 135, 203, 0.2);
}
.mission-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}
.mission-card:hover .mission-icon-box {
    transform: rotate(360deg) scale(1.1);
}
.icon-mission-1 { background: linear-gradient(135deg, #00f2fe, #4facfe); }
.icon-mission-2 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.icon-mission-3 { background: linear-gradient(135deg, #ff0844, #ffb199); }
.icon-mission-4 { background: linear-gradient(135deg, #f6d365, #fda085); }

.mission-card h3 {
    color: var(--dark-blue);
    font-size: 19px;
    margin-bottom: 12px;
}
.mission-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   5. ABOUT US DIRECT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--white);
}
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.about-block.reverse {
    direction: rtl;
}
.about-block.reverse .about-text {
    direction: ltr;
}
.about-text h3 {
    color: var(--dark-blue);
    font-size: 24px;
    margin-bottom: 15px;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: justify;
}
.about-img-box {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.about-img-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.about-img-box:hover img {
    transform: scale(1.08);
}
.theme-glow-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 135, 203, 0.3);
    margin-top: 10px;
}
.theme-glow-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 90, 139, 0.4);
}

/* ==========================================================================
   6. INDUSTRIES WE SERVE
   ========================================================================== */
.industries-section {
    background-color: var(--bg-light);
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.industry-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 135, 203, 0.2);
}
.ind-img-box {
    height: 180px;
    overflow: hidden;
}
.ind-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.industry-card:hover .ind-img-box img {
    transform: scale(1.1);
}
.ind-content {
    padding: 25px;
    position: relative;
}
.ind-icon {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ind-content h3 {
    color: var(--dark-blue);
    font-size: 19px;
    margin-bottom: 10px;
}
.ind-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ==========================================================================
   7. SOLUTIONS ALTERNATING SECTIONS
   ========================================================================== */
.solutions-section {
    background-color: var(--white);
}
.solution-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
}
.solution-item.reverse {
    grid-template-columns: 1.2fr 1fr;
}
.solution-item.reverse .sol-img-wrapper {
    order: 2;
}
.sol-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.sol-img-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.sol-img-wrapper:hover img {
    transform: scale(1.08);
}
.sol-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.sol-icon {
    font-size: 28px;
    color: var(--primary-blue);
}
.sol-details h3 {
    color: var(--dark-blue);
    font-size: 24px;
}
.sol-details p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 15px;
}
.sol-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.sol-pills span {
    background: var(--bg-light);
    color: var(--dark-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #dbe6ee;
}

/* ==========================================================================
   8. SERVICES BREAKDOWN & SPARE PARTS SUPPLY
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
}
.services-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-cat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}
.service-cat-card:hover {
    transform: translateY(-5px);
}
.cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}
.cat-icon {
    font-size: 24px;
    color: var(--primary-blue);
}
.cat-header h3 {
    color: var(--dark-blue);
    font-size: 19px;
}
.service-cat-card ul {
    list-style: none;
}
.service-cat-card li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-cat-card li i {
    color: var(--primary-blue);
    font-size: 13px;
}

/* Spare Parts Grid */
.spares-section {
    background-color: var(--white);
}
.spares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.spare-card {
    background: var(--bg-light);
    padding: 25px 18px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}
.spare-card:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 135, 203, 0.15);
}
.spare-icon {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.spare-card:hover .spare-icon {
    transform: scale(1.18);
}
.spare-card h4 {
    color: var(--dark-blue);
    font-size: 16px;
    margin-bottom: 6px;
}
.spare-card p {
    color: var(--text-light);
    font-size: 12px;
}

/* ==========================================================================
   9. INTERACTIVE LIGHTBOX GALLERY
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-light);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 90, 139, 0.85);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gallery-item:hover img {
    transform: scale(1.12);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    font-size: 28px;
    margin-bottom: 8px;
}
.gallery-overlay h4 {
    font-size: 18px;
    font-weight: 700;
}
.gallery-overlay span {
    font-size: 12px;
    color: #7cd2ff;
    text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   10. FOOTER & FLOATING WIDGETS
   ========================================================================== */
.cta-banner-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
}
.cta-banner-content {
    max-width: 1000px;
    margin: 0 auto;
}
.cta-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-banner-content p {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
}
.cta-banner-btn {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta-banner-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.footer-bg { background-color: #111a24; color: #bdc8d3; padding: 60px 20px 20px 20px; }
.footer-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
    border-bottom: 1px solid #223142; padding-bottom: 40px;
}
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 18px; position: relative; }
.footer-col h3::after { content: ''; display: block; width: 30px; height: 2px; background-color: var(--primary-blue); margin-top: 8px; }
.footer-col p, .footer-col li { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.footer-col a { color: #bdc8d3; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }

.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    text-decoration: none;
}
.whatsapp-label {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.floating-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.scroll-top-btn {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 48px;
    height: 48px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 135, 203, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.bottom-bar {
    max-width: 1200px; margin: 20px auto 0 auto;
    display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}

/* Mobile Breakpoints */
@media (max-width: 992px) {
    .vision-card, .about-block, .solution-item, .solution-item.reverse {
        grid-template-columns: 1fr;
    }
    .solution-item.reverse .sol-img-wrapper {
        order: 1;
    }
    .about-block.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    nav.active { max-height: 380px; }
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 15px; }
    .whatsapp-label { display: none; }
}