/* ==========================================================================
   1. ROOT CONFIGURATIONS & RESET SYSTEM
   ========================================================================== */
:root {
    /* Core Brand Palette - Preserved Theme Colors */
    --primary: #2f9e56;
    --primary-dark: #267f45;
    --primary-light: #4dbd74;
    --secondary: #266394;
    --secondary-dark: #1d4f77;
    --secondary-light: #4a82af;
    --accent: #edf3c3;
    --accent-dark: #e8f1a9;
    --accent-light: #e4e9c8;

    /* Interface Neutrals */
    --white: #ffffff;
    --light: #F5F9FF;
    --dark: #222222;
    --text: #4b5563;
    
    /* Layout Variables */
    --border: #E5EAF2;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    
    /* Dynamic Brand Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--primary));
    --gradient-mixed: linear-gradient(135deg, #2f9e56, #266394);
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

/* Container Framework Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. REUSABLE UTILITIES & SECTION STYLES
   ========================================================================== */
.section-tag {
    display: inline-block;
    background: rgba(10, 77, 156, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 17px;
    color: #666;
    max-width: 750px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.section-subtitle-left {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-heading-main {
    color: #2f9e56;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
}

/* Adaptive Dotted Image Placeholders (From Screenshot Reference) */
.image-placeholder {
    width: 100%;
    min-height: 400px;
    height: 100%;
    border-radius: 25px;
    background: var(--white);
    border: 2px dashed #0A4D9C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f9e56;
    font-size: 24px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

/* Custom UI Action Elements */
.btn-primary-custom {
    background: var(--white);
    color: var(--primary);
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================================================
   3. HERO & ASYMMETRIC BANNER ARCHITECTURES
   ========================================================================== */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-media {
    flex: 1;
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 15px;
}

.hero-line {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Container Centered Modern Rounded Infrastructure Hero Layout */
.infra-hero {
    margin: 40px auto;
    padding: 85px 40px;
    background: linear-gradient(110deg, #2f9e56 0%, #225a88 100%);
    color: var(--white);
    text-align: center;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.infra-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin: 0 auto 24px auto;
    max-width: 880px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.infra-hero p {
    font-size: 17px;
    opacity: 0.92;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   4. TWO-COLUMN SPLIT INFORMATION SYSTEM (ABOUT / OVERVIEWS)
   ========================================================================== */
.about-section, .unit-overview, .machinery-section, .dispatch-section {
    padding: 60px 0;
    background: var(--white);
}

.facility-highlights, .product-handling {
    padding: 100px 0;
    background: var(--light);
}

/* Two Column Flex Matrix used across sections */
.split-grid-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-column-text {
    flex: 1.1;
}

.split-column-media {
    flex: 0.9;
}

.section-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 22px;
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Highlight Informational Panels */
.highlight-box {
    background: var(--light);
    border-left: 5px solid var(--primary);
    padding: 25px;
    margin-top: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.highlight-box h5 {
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
}

.highlight-box ul {
    margin: 0;
    padding-left: 18px;
}

.highlight-box li {
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.6;
}

.infra-list {
    padding-left: 20px;
    margin-top: 20px;
}

.infra-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Card Variations used within Overviews */
.highlight-card, .process-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: .3s ease;
    border: 1px solid var(--border);
}

.highlight-card:hover, .process-card:hover {
    transform: translateY(-8px);
}

.highlight-card h5, .process-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

/* ==========================================================================
   5. GRID-BASED PRODUCT COMPONENT SHOWCASE
   ========================================================================== */
.product-section, .products-section {
    padding: 100px 0;
    background: var(--light);
}

.grid-matrix-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: .4s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
}

.product-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(10, 77, 156, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.product-icon i {
    font-size: 40px;
    color: var(--primary);
    transition: .4s ease;
}

.product-card h4 {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: .4s ease;
}

.product-card p {
    color: #666;
    line-height: 1.8;
    transition: .4s ease;
}

/* Card Interactive Hover Transforms */
.product-card:hover .product-icon {
    background: rgba(255, 255, 255, .15);
}

.product-card:hover .product-icon i,
.product-card:hover h4,
.product-card:hover p {
    color: var(--white);
}

.products-footer p {
    max-width: 750px;
    margin: 40px auto 0 auto;
    font-size: 17px;
    color: var(--primary-dark);
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   6. INDUSTRY MATRICES SECTIONS
   ========================================================================== */
.industry-section {
    padding: 100px 0;
    background: var(--white);
}

.industry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .4s ease;
    height: 100%;
    border: 1px solid var(--border);
}

.industry-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(10, 77, 156, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: .4s ease;
}

.industry-icon i {
    font-size: 34px;
    color: var(--primary);
    transition: .4s ease;
}

.industry-card h5 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    transition: .4s ease;
}

.industry-card p {
    color: #666;
    line-height: 1.7;
    transition: .4s ease;
}

.industry-card:hover .industry-icon {
    background: rgba(255, 255, 255, .15);
}

.industry-card:hover .industry-icon i,
.industry-card:hover h5,
.industry-card:hover p {
    color: var(--white);
}

.industry-bottom p {
    max-width: 850px;
    margin: 40px auto 0 auto;
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

/* ==========================================================================
   7. VALUE proposition MODULES (WHY CHOOSE US)
   ========================================================================== */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-card {
    background: var(--light);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
    height: 100%;
}

.why-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
    transition: 0.3s ease;
}

.why-card h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}

.why-card:hover {
    transform: translateY(-8px);
    background: var(--primary);
    color: var(--white);
}

.why-card:hover h5,
.why-card:hover p,
.why-card:hover .why-icon {
    color: var(--white);
}

.why-card:hover .why-icon {
    transform: rotate(10deg) scale(1.2);
}

.why-tagline {
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
}

/* ==========================================================================
   8. INTERACTIVE TIMELINE PROCESS REGMENTS
   ========================================================================== */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-wrapper {
    max-width: 1000px;
    margin: auto;
    position: relative;
}

.process-wrapper::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.process-icon {
    min-width: 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: .3s ease;
}

.process-content {
    flex: 1;
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: .3s ease;
}

.process-content h5 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.process-content p {
    margin: 0;
    line-height: 1.8;
    color: #666;
}

.process-item:hover .process-icon {
    transform: scale(1.1);
    background: var(--secondary);
}

.process-item:hover .process-content {
    transform: translateY(-5px);
}

/* ==========================================================================
   9. MEDIA IMAGERY PANELS (GALLERY MESH)
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--light);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .5s ease;
}

.gallery-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(10, 77, 156, .95), rgba(10, 77, 156, .2));
    color: var(--white);
    transform: translateY(100%);
    transition: .4s ease;
}

.gallery-overlay h5 {
    margin: 0;
    font-weight: 600;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-footer p {
    max-width: 800px;
    margin: 40px auto 25px auto;
    color: #555;
    line-height: 1.8;
    font-size: 17px;
    text-align: center;
}

.gallery-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s ease;
    margin: 0 auto;
}

/* ==========================================================================
   10. FEEDBACK SLIDER ELEMENTS (TESTIMONIALS)
   ========================================================================== */
.testimonial-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonial-card {
    max-width: 850px;
    margin: auto;
    background: var(--light);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.quote-icon {
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 55px;
    color: var(--primary);
}

.testimonial-card p {
    font-size: 20px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-card h5 {
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 18px;
}

.testimonial-footer p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-top: 30px;
}

/* ==========================================================================
   11. DATA COLLAPSE PANELS (FAQ)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: var(--light);
}

.faq-wrapper {
    max-width: 900px;
    margin: auto;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 17px;
    padding: 22px 25px;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 25px;
    line-height: 1.8;
    color: #666;
    background: var(--white);
}

.accordion-button::after {
    filter: brightness(0.4);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(100);
}

/* ==========================================================================
   12. CALL TO ACTIONS BRIDGES (CTA MATRIX)
   ========================================================================== */
.infra-cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--gradient-primary);
    color: #fff;
    padding: 70px;
    border-radius: 25px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 36px;
}

.contact-cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
}

.contact-cta-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
    color: var(--white);
}

.contact-cta-content .section-tag {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-cta-content .section-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.9;
    opacity: .95;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: .3s ease;
}

.contact-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-4px);
}

/* ==========================================================================
   13. MEDIA RESPONSIVENESS MATRIX
   ========================================================================== */
@media(max-width: 992px) {
    .split-grid-wrapper, .hero-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .split-column-text, .split-column-media, .hero-content, .hero-media {
        width: 100%;
        flex: none;
    }

    .infra-hero h1 {
        font-size: 36px;
    }

    .hero-title {
        font-size: 34px;
        text-align: center;
    }

    .hero-subtitle, .hero-line {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-placeholder {
        min-height: 300px;
        height: 300px;
    }

    .cta-box {
        padding: 40px 25px;
    }
}

@media(max-width: 768px) {
    .infra-hero {
        padding: 50px 20px;
        margin: 20px 10px;
    }

    .infra-hero h1 {
        font-size: 28px;
    }

    .contact-cta-section {
        padding: 70px 20px;
    }

    .contact-cta-content .section-title {
        font-size: 32px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-btn {
        padding: 14px 30px;
    }

    .process-wrapper::before {
        left: 20px;
    }

    .process-item {
        gap: 15px;
    }

    .process-icon {
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
