@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Typography Overrides (Section 8) */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
textarea,
li,
select {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.3px !important;
}

body {
    line-height: 1.8 !important;
    color: #222222 !important;
    background-color: #F8FAFC !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
    color: #0F4C81 !important;
    /* Secondary */
}

p,
.descrip {
    color: #666666 !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

/* Colors & Styling (Section 7) */
:root {
    --primary-color: #0056B3;
    --secondary-color: #0F4C81;
    --accent-color: #FF6B00;
    --text-color: #222222;
    --paragraph-color: #666666;
    --bg-color: #F8FAFC;
}

/* Spacing (Section 9) */
.section-space {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

@media (max-width: 991px) {
    .section-space {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}

@media (max-width: 575px) {
    .section-space {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

/* Premium Buttons */
.rs-btn,
button[type="submit"] {
    border-radius: 50px !important;
    padding: 16px 34px !important;
    font-weight: 600 !important;
    transition: all 0.4s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: capitalize !important;
    letter-spacing: 0.5px !important;
}

.rs-btn:hover,
button[type="submit"]:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Premium Cards */
.rs-card,
.rs-services-item,
.rs-contact-form,
.rs-why-choose-video-container,
.rs-faq-thumb,
.rs-contact-form-wrapper {
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease !important;
    background: #ffffff;
}

.rs-services-item:hover {
    transform: translateY(-8px) !important;
}

/* Premium Product Cards (Section 5) */
.rs-portfolio-item {
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.rs-portfolio-item:hover {
    transform: translateY(-8px) !important;
}

.rs-portfolio-thumb {
    position: relative !important;
    overflow: hidden !important;
    height: 280px !important;
}

.rs-portfolio-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    border-radius: 20px 20px 0 0 !important;
}

.rs-portfolio-thumb:hover img {
    transform: scale(1.05) !important;
}

/* Modern Blog Cards (Section 6) */
.rs-blog-card {
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease !important;
    background: #ffffff !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.rs-blog-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12) !important;
}

.rs-blog-card .blog-img-wrapper {
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
}

.rs-blog-card .blog-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.rs-blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05) !important;
}

.rs-blog-card .blog-body {
    padding: 30px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.rs-blog-card .blog-badge {
    background: rgba(255, 107, 0, 0.1) !important;
    color: #FF6B00 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
    align-self: flex-start !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.rs-blog-card .blog-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F4C81 !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
}

.rs-blog-card .blog-desc {
    font-size: 14px !important;
    color: #666666 !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
    flex-grow: 1 !important;
}

.rs-blog-card .blog-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 20px !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
}

.rs-blog-card .blog-meta a {
    color: #0F4C81 !important;
    font-weight: 600 !important;
}

/* Premium Tabs Style (Section 2) */
.rs-history-tab .nav-pills {
    display: flex !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e2e8f0 !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

.rs-history-tab .nav-item {
    flex: 1 !important;
    text-align: center !important;
}

.rs-history-tab .nav-link {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-top: 3px solid transparent !important;
    transition: all 0.4s ease !important;
}

.rs-history-tab .nav-link:hover {
    color: #FF6B00 !important;
    background: rgba(255, 107, 0, 0.04) !important;
}

.rs-history-tab .nav-link.active {
    color: #FF6B00 !important;
    background: rgba(255, 107, 0, 0.08) !important;
    border-top: 3px solid #FF6B00 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.05) !important;
}

/* Blue Gradient Button */
.rs-btn-blue-gradient {
    background: linear-gradient(135deg, #0056B3, #0F4C81) !important;
    color: #ffffff !important;
    border: none !important;
}

.rs-btn-blue-gradient:hover {
    background: linear-gradient(135deg, #0F4C81, #0056B3) !important;
    color: #ffffff !important;
}

/* About Us Hero Column styling (Section 1) */
.about-hero-content-col {
    max-width: 45% !important;
}

@media (max-width: 991px) {
    .about-hero-content-col {
        max-width: 80% !important;
    }
}

@media (max-width: 575px) {
    .about-hero-content-col {
        max-width: 100% !important;
    }
}

/* Image Gallery Layout (Section 2) */
.about-gallery-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.about-gallery-left {
    flex: 0 0 calc(65% - 10px) !important;
    width: calc(65% - 10px) !important;
    min-height: 480px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.about-gallery-left img,
.about-gallery-right-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.about-gallery-left:hover img,
.about-gallery-right-item:hover img {
    transform: scale(1.05) !important;
}

.about-gallery-right {
    flex: 0 0 calc(35% - 10px) !important;
    width: calc(35% - 10px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.about-gallery-right-item {
    flex: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
    height: calc(50% - 10px) !important;
}

@media (max-width: 991px) {

    .about-gallery-left,
    .about-gallery-right {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .about-gallery-left {
        min-height: 350px !important;
    }

    .about-gallery-right {
        flex-direction: row !important;
    }

    .about-gallery-right-item {
        height: 250px !important;
    }
}

@media (max-width: 575px) {
    .about-gallery-right {
        flex-direction: column !important;
    }

    .about-gallery-right-item {
        height: 200px !important;
    }
}

/* Packaging Story Collage Layout (Section 3) */
.about-story-collage {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.about-story-large {
    flex: 0 0 calc(60% - 7.5px) !important;
    width: calc(60% - 7.5px) !important;
    min-height: 380px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.about-story-large img,
.about-story-stack-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.about-story-large:hover img,
.about-story-stack-item:hover img {
    transform: scale(1.05) !important;
}

.about-story-stack {
    flex: 0 0 calc(40% - 7.5px) !important;
    width: calc(40% - 7.5px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.about-story-stack-item {
    flex: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
    height: calc(50% - 7.5px) !important;
}

@media (max-width: 991px) {

    .about-story-large,
    .about-story-stack {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .about-story-large {
        min-height: 300px !important;
    }

    .about-story-stack {
        flex-direction: row !important;
    }

    .about-story-stack-item {
        height: 200px !important;
    }
}

@media (max-width: 575px) {
    .about-story-stack {
        flex-direction: column !important;
    }

    .about-story-stack-item {
        height: 180px !important;
    }
}

/* Premium Feature Cards (Section 4) */
.rs-feature-card {
    border-radius: 20px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    padding: 40px !important;
    height: 100% !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
}

.rs-feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.rs-feature-card .feature-icon-box {
    background: rgba(255, 107, 0, 0.08) !important;
    color: #FF6B00 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
    transition: all 0.4s ease !important;
}

.rs-feature-card:hover .feature-icon-box {
    background: #FF6B00 !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

.rs-feature-card .feature-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 15px !important;
}

.rs-feature-card .feature-desc {
    font-size: 14px !important;
    color: #666666 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* ==========================================================================
   Header Responsive Enhancements for 1200px - 1550px (including 1440px)
   ========================================================================== */
@media only screen and (max-width: 1550px) and (min-width: 1200px) {

    .rs-header-one .rs-theme-social,
    .rs-header-menu .rs-theme-social,
    .rs-header-hamburger {
        display: none !important;
    }

    .rs-header-one .main-menu,
    .main-menu {
        border-inline-start: none !important;
        padding-inline-start: 0 !important;
        margin-inline-start: 15px !important;
    }

    .main-menu li a {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 16px !important;
        white-space: nowrap !important;
    }

    .rs-header-one .rs-header-logo-wrapper {
        width: 200px !important;
    }

    .rs-header-one .rs-header-right {
        gap: 15px !important;
    }

    .rs-header-btn .rs-btn {
        padding: 12px 22px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   Legibility & Color Accessibility Overrides
   ========================================================================== */
/* Hero Banner Text Visibility Fix */
.rs-banner-title,
.rs-banner-area h1,
.rs-banner-area h2,
.rs-banner-area h3,
.rs-banner-area h4,
.rs-banner-area h5,
.rs-banner-area h6 {
    color: #ffffff !important;
}

.rs-banner-content .descrip,
.rs-banner-area .descrip,
.rs-banner-area p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Page Header & Breadcrumbs — Hero Style (Home-like Background) */
.rs-breadcrumb-area.rs-breadcrumb-one {
    position: relative !important;
    min-height: 55vh !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Ensure background image fills completely */
.rs-breadcrumb-area .rs-breadcrumb-bg {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
}

.rs-breadcrumb-area .rs-breadcrumb-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Container must sit above the overlay */
.rs-breadcrumb-area>.container {
    position: relative !important;
    z-index: 2 !important;
}

/* Text Visibility Fix */
.rs-breadcrumb-title,
.rs-breadcrumb-area h1,
.rs-breadcrumb-area h2,
.rs-breadcrumb-area h3,
.rs-breadcrumb-area h4,
.rs-breadcrumb-area h5,
.rs-breadcrumb-area h6,
.rs-breadcrumb-area p,
.rs-breadcrumb-list a,
.rs-breadcrumb-list span {
    color: #ffffff !important;
}

/* Breadcrumb title sizing for hero look */
.rs-breadcrumb-area .rs-breadcrumb-title {
    font-size: clamp(28px, 4vw, 48px) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

/* Subtitle/meta text */
.rs-breadcrumb-area .rs-breadcrumb-list {
    margin-top: 12px !important;
}

/* Footer Contrast & Readability Fix */
.rs-footer-area,
.rs-footer-area h1,
.rs-footer-area h2,
.rs-footer-area h3,
.rs-footer-area h4,
.rs-footer-area h5,
.rs-footer-area h6,
.rs-footer-area p,
.rs-footer-area a,
.rs-footer-area span,
.rs-footer-area li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.rs-footer-area a:hover {
    color: #FF6B00 !important;
}

.rs-footer-area h1,
.rs-footer-area h2,
.rs-footer-area h3,
.rs-footer-area h4,
.rs-footer-area h5,
.rs-footer-area h6,
.rs-footer-area strong {
    color: #ffffff !important;
}

/* ==========================================================================
   Interactive Reveal Animations (bizpack-fade-up)
   ========================================================================== */
.bizpack-fade-up {
    opacity: 0 !important;
    transform: translateY(35px) !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    visibility: hidden !important;
}

.bizpack-fade-up.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* ==========================================================================
   Responsive & GSAP Animation Enhancements
   ========================================================================== */
/* Section Title Scale for Mobile Devices */
@media (max-width: 767px) {
    .rs-section-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 575px) {
    .rs-section-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
}

/* Fix GSAP SplitText character-by-character vertical text wrapping */
.rs-split-text-enable .word,
.rs-split-text-enable div,
.rs-split-text-enable span {
    white-space: nowrap !important;
    display: inline-block !important;
}

.rs-split-text-enable {
    white-space: normal !important;
    word-break: normal !important;
    word-wrap: normal !important;
}


/* ==========================================================================
   History Tab Section — Image + Text Layout Fix
   ========================================================================== */

/* Image takes 55%, text takes 45% */
.rs-history-one .rs-history-tab-item {
    display: flex !important;
    gap: 40px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.rs-history-one .rs-history-tab-thumb {
    flex: 0 0 52% !important;
    max-width: 52% !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.rs-history-one .rs-history-tab-thumb img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.rs-history-one .rs-history-tab-content {
    flex: 1 1 48% !important;
    min-width: 0 !important;
}

.rs-history-one .rs-history-tab-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #032B5F !important;
    margin-bottom: 15px !important;
}

.rs-history-one .rs-history-tab-content p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #555 !important;
}

/* Stack vertically on mobile */
@media (max-width: 991px) {
    .rs-history-one .rs-history-tab-item {
        flex-direction: column !important;
    }

    .rs-history-one .rs-history-tab-thumb,
    .rs-history-one .rs-history-tab-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Counter Section Styles without Background Image
   ========================================================================== */
.bizpack-counter-section {
    background: linear-gradient(135deg, #071230 0%, #0e204c 100%) !important;
    padding-top: 140px !important;
    padding-bottom: 100px !important;
    margin-bottom: 0 !important;
}

/* Remove default background thumb */
.bizpack-counter-section .rs-counter-bg-thumb {
    display: none !important;
}

/* Fix title and text color */
.bizpack-counter-section .rs-section-title {
    color: #ffffff !important;
}

/* Style the counter numbers with high contrast white/orange theme */
.bizpack-counter-section .rs-counter-number,
.bizpack-counter-section .prefix {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    -webkit-text-stroke-width: 0px !important;
    font-weight: 700 !important;
    font-size: 80px !important;
}

.bizpack-counter-section .prefix {
    color: #FF6B00 !important;
    -webkit-text-fill-color: #FF6B00 !important;
}

/* Style the counter titles */
.bizpack-counter-section .rs-counter-title {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
}

/* Style the borders below counters */
.bizpack-counter-section .rs-counter-number-wrapper {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   Footer Useful Links – Complete Layout Fix
   ========================================================================== */

/* ── 1. Force the TOP-LEVEL ul to a single vertical column ─────────────── */
/* main.css sets display:grid; grid-template-columns:repeat(2,1fr) on ALL ul
   inside .rs-footer-widget-links – we override that here for the root list  */
.rs-footer-widget-links > ul {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* ── 2. Top-level list items – block, full width ───────────────────────── */
.rs-footer-widget-links > ul > li {
    display: block !important;
    width: 100% !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* ── 3. Nested submenu (sub-items under parent categories) ─────────────── */
.rs-footer-widget-links ul ul,
.rs-footer-widget-links ul.submenu,
.rs-footer-widget-links .submenu {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 4px 0 8px 14px !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
    gap: 2px !important;
}

/* ── 4. Nested submenu list-items ──────────────────────────────────────── */
.rs-footer-widget-links ul ul li,
.rs-footer-widget-links ul.submenu li,
.rs-footer-widget-links .submenu li {
    display: block !important;
    width: 100% !important;
    padding: 1px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* ── 5. Sub-item links – slightly smaller, muted colour ───────────────── */
.rs-footer-widget-links ul ul li a,
.rs-footer-widget-links ul.submenu li a,
.rs-footer-widget-links .submenu li a {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.60) !important;
    display: block !important;
    padding: 1px 0 !important;
    line-height: 1.6 !important;
}

.rs-footer-widget-links ul ul li a:hover,
.rs-footer-widget-links ul.submenu li a:hover,
.rs-footer-widget-links .submenu li a:hover {
    color: #f26522 !important;
    padding-left: 4px !important;
}

/* ── 6. Parent category label (e.g. "Plastic Packaging") ─────────────── */
.rs-footer-widget-links .menu-item-has-children > a {
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 14px !important;
    display: block !important;
    padding: 2px 0 !important;
    margin-top: 8px !important;
}

/* Remove dropdown arrow from footer parent items */
.rs-footer-widget-links .menu-item-has-children > a::after {
    display: none !important;
}

/* ── 7. Footer row gutter ──────────────────────────────────────────────── */
.rs-footer-area .row {
    --bs-gutter-x: 30px !important;
}

/* ── 8. Office / email address spacing ────────────────────────────────── */
.rs-footer-widget-meta .rs-footer-widget-address {
    margin-bottom: 25px !important;
}

.rs-footer-widget-meta .rs-footer-widget-email {
    margin-top: 5px !important;
}

/* ── 9. Mobile – keep single column on small screens ─────────────────── */
@media (max-width: 575px) {
    .rs-footer-widget-links > ul {
        gap: 2px !important;
    }
}