/**
 * TECHNOPLAST Theme Homepage Stylesheet
 * Engineered with high-end modern industrial technology aesthetics.
 *
 * @package Technoplast
 */

/* --- SECTION GENERAL UTILITIES --- */
.section-padding {
    padding: 7rem 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.text-center {
    text-align: center;
}

/* --- DYNAMIC SECTION BADGE & HEADER --- */
.section-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    padding: 4px 12px;
    background: rgba(0, 103, 178, 0.08);
    border: 1px solid rgba(0, 103, 178, 0.15);
    border-radius: 20px;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}
.section-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* --- REUSABLE GLASSMORPHISM CARDS --- */
.glass-card {
    background: rgba(11, 22, 34, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 103, 178, 0.3);
    box-shadow: 0 20px 40px rgba(0, 103, 178, 0.12);
}

/* --- REUSABLE BUTTON TYPES --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #005494;
    border-color: #005494;
    box-shadow: 0 0 20px rgba(0, 103, 178, 0.4);
    transform: translateY(-2px);
}
.btn-accent {
    display: inline-flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    background-color: var(--accent-red);
    border: 1px solid var(--accent-red);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-accent:hover {
    background-color: #d12318;
    border-color: #d12318;
    box-shadow: 0 0 20px rgba(239, 49, 37, 0.4);
    transform: translateY(-2px);
}


/* ==========================================
   1. CINEMATIC HERO SECTION
   ========================================== */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 8rem;
    background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=80'); /* fallback backg */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 22, 34, 0.95) 30%, rgba(0, 103, 178, 0.4) 100%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 100%;
}
.hero-content {
    max-width: 750px;
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

/* 4 Floating stats grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.hero-stats-grid .stat-card {
    text-align: center;
    padding: 2rem 1rem;
}
.stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.hero-stats-grid .stat-card:hover .stat-num {
    color: var(--accent-red);
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}


/* ==========================================
   2. ABOUT PREVIEW SECTION
   ========================================== */
.about-preview {
    background: rgba(11, 22, 34, 0.2);
}
.about-highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}
.about-highlights-list li {
    display: flex;
    gap: 1.25rem;
}
.highlight-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 6px;
    background: rgba(0, 103, 178, 0.08);
    border: 1px solid rgba(0, 103, 178, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.4rem;
}
.highlight-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 4px;
}
.highlight-info p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}
.about-link:hover {
    color: var(--accent-red);
}
.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
}
.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.5s ease;
}
.about-image-wrapper:hover img {
    transform: scale(1.04);
}


/* ==========================================
   3. PRODUCTS OVERVIEW SECTION
   ========================================== */
.products-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.category-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.cat-icon {
    font-size: 2.25rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}
.category-card:hover .cat-icon {
    color: var(--accent-red);
    transform: rotate(6deg) scale(1.08);
}
.category-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--text-light);
}
.category-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: auto;
}
.cat-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}
.cat-link::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s;
}
.category-card:hover .cat-link {
    color: var(--accent-red);
}
.category-card:hover .cat-link::after {
    transform: translateX(4px);
}


/* ==========================================
   4. SERVICES STRIP
   ========================================== */
.services-strip {
    background: #0b1622;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 3rem 0;
}
.services-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.service-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-strip-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}
.service-strip-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}


/* ==========================================
   5. WHY CHOOSE US SECTION
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-header i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}
.feature-card:hover .feature-header i {
    color: var(--accent-red);
}
.feature-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-light);
}
.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ==========================================
   6. INDUSTRIES WE SERVE
   ========================================== */
.industries-serve {
    background: rgba(11, 22, 34, 0.35);
}
.industries-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}
.industry-slide-item {
    text-align: center;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.industry-slide-item i {
    font-size: 2.25rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}
.industry-slide-item:hover i {
    color: var(--accent-red);
    transform: scale(1.08);
}
.industry-slide-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}


/* ==========================================
   7. GALLERY PREVIEW
   ========================================== */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.gallery-item-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    height: 260px;
}
.gallery-item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 22, 34, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s ease;
}
.gallery-item-overlay i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}
.gallery-item-overlay h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--text-light);
}
.gallery-item-wrap:hover img {
    transform: scale(1.05);
}
.gallery-item-wrap:hover .gallery-item-overlay {
    opacity: 1;
}


/* ==========================================
   8. CERTIFICATIONS STRIP
   ========================================== */
.certifications-strip {
    background: #0b1622;
    padding: 3rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.certs-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}
.cert-item i {
    color: var(--accent-red);
}


/* ==========================================
   9. TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


/* ==========================================
   10. BLOG PREVIEW SECTION
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}
.blog-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.blog-card:hover .blog-img img {
    transform: scale(1.04);
}
.blog-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}
.blog-date {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
}
.blog-title a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.4;
    display: block;
}
.blog-title a:hover {
    color: var(--primary-blue);
}
.blog-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: auto;
}
.blog-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
}
.blog-link:hover {
    color: var(--accent-red);
}


/* ==========================================
   12. CONTACT PREVIEW SECTION
   ========================================== */
.contact-preview {
    background: rgba(11, 22, 34, 0.25);
}
.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 103, 178, 0.25);
}


/* ==========================================
   RESPONSIVE DESIGN Breakpoints
   ========================================== */
@media (max-width: 1200px) {
    .home-hero {
        padding-top: 6rem;
    }
    .hero-title {
        font-size: 3.25rem;
    }
}
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-row {
        justify-content: center;
        gap: 1.5rem;
    }
}
@media (max-width: 576px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .products-category-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .industries-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
