:root {
    --dark-blue: #2433cb;
    --orange: #e66020;
    --magenta: #d6138f;
    --purple: #6f42c1;
    --amber: #f5a623;
    --benefit-green: rgb(95, 182, 102);
    --benefit-yellow: rgb(253, 188, 44);
    --benefit-pink: rgb(255, 150, 211);
}

body {
    font-family: "Poppins", system-ui, -apple-system, roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #343a40;
}

body h2 {
    font-size: 2.3rem;
}

@media (max-width: 576px) {
    body h2 {
        font-size: 1.75rem;
    }
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-blue);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 40px;
    transition: opacity 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 32px;
    }

    .navbar.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

.navbar-brand .logo-default {
    display: block;
}

.navbar-brand .logo-white {
    display: none;
}

.navbar.scrolled .navbar-brand .logo-default {
    display: none;
}

.navbar.scrolled .navbar-brand .logo-white {
    display: block;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: white;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--orange);
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--orange);
}

.social-icons a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

.navbar.scrolled .social-icons a {
    color: white;
}

.navbar.scrolled .social-icons img {
    filter: brightness(0) invert(1);
}

.social-icons a:hover {
    color: var(--dark-blue);
}

.navbar.scrolled .social-icons a:hover {
    color: var(--orange);
}

/* Hero Section */
.hero-section {
  padding: 6rem 2rem;
  min-height: 600px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-image: url('/images/banners/homepage_banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px);
  z-index: 0;
  transform: scale(1.05);
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-section p {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 450px;
        padding: 4rem 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

.btn-orange {
    background-color: var(--orange);
    color: white;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

.btn-orange:hover {
    background-color: #d55415;
    color: white;
}

/* Legacy Section */
.legacy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.link-text {
    color: var(--orange);
}

.link-text:hover {
    text-decoration: underline;
}

.video-container {
    max-width: 700px;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: var(--orange);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

@media (max-width: 1100px) and (min-width: 992px) {
    .carousel-control-prev {
        left: 10px;
    }
    .carousel-control-next {
        right: 10px;
    }
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #d55415;
}

@media (max-width: 991.98px) {
    .carousel-control-prev {
        left: 10px;
    }
    .carousel-control-next {
        right: 10px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 40%;
    }
    .format-card h4 {
        margin-top: 1rem;
    }
}


/* Footer */
.footer-section a {
    color: #333;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--orange);
}

.social-footer a {
    width: 45px;
    height: 45px;
    background-color: var(--dark-blue);
}

.social-footer a:hover {
    background-color: var(--orange);
    color: white;
}

/* Hero Sections for inner pages */
.hero-products,
.hero-industries,
.hero-about {
    padding: 6rem 2rem;
    min-height: 500px;
}

.hero-products::before,
.hero-industries::before,
.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-products::before { background-image: url('/images/banners/products.webp'); }
.hero-industries::before { background-image: url('/images/banners/industries.webp'); }
.hero-about::before { background-image: url('/images/banners/about-us.webp'); }

/* Breadcrumb */
.breadcrumb-item a:hover {
    color: var(--dark-blue);
}

/* Pouch Formats Section */
.formats-slider-container {
    max-width: 1100px;
    padding: 0 70px;
}

.formats-track {
    transition: transform 0.4s ease;
    will-change: transform;
}

.format-slide {
    flex: 0 0 25%;
    padding: 0 8px;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .format-slide {
        flex: 0 0 100%;
    }

    .formats-slider-container {
        padding: 0 50px;
    }
}

.formats-btn {
    width: 60px;
    height: 60px;
    background-color: var(--orange);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.formats-btn:hover {
    background-color: #d55415;
}

.formats-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (max-width: 991.98px) {
    .formats-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

.format-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transform: scale(1.15);
}

.format-card h4 {
    font-size: 1.1rem;
}


/* USP Section */
.usp-list li:before {
    content: "✓ ";
    color: var(--orange);
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 0.8rem;
}

/* Finishes Section */
.finishes-section {
    background: var(--orange);
}

.finish-item p {
    line-height: 1.6;
}



.industry-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.13);
}

.industry-card-img {
    height: 160px;
    object-fit: cover;
}

.industry-card-label {
    padding: 0.7rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--dark-blue);
}

@media (max-width: 768px) {
    .industry-card-img {
        height: 120px;
    }

    .industry-card-label {
        font-size: 0.65rem;
        padding: 0.6rem 0.75rem;
    }
}

/* Contact Form Section */
.contact-form-container {
    max-width: 600px;
}

.form-control {
    border: 2px solid #ddd;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(230, 96, 32, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.text-primary {
    color: var(--dark-blue) !important;
}

.text-secondary {
    color: var(--orange) !important;
}

.text-purple {
    color: var(--purple) !important;
}

.text-magenta {
    color: var(--magenta) !important;
}

.text-amber {
    color: var(--amber) !important;
}

.text-benefit-green {
    color: var(--benefit-green) !important;
}

.text-benefit-yellow {
    color: var(--benefit-yellow) !important;
}

.text-benefit-pink {
    color: var(--benefit-pink) !important;
}


.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item summary {
    font-size: 1.1rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    line-height: 1.6;
}
/* End of FAQ Section */

/* Features Bar */
.feature-bar-icon {
    color: var(--orange);
    font-size: 2.75rem;
}

.feature-bar-text {
    min-height: 2.8rem;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .feature-bar-icon {
        font-size: 1.75rem;
    }
}


/* Associations */
.association-logo {
    height: 32px;
}

/* Newsletter Section */
.newsletter-input:focus {
    border-color: var(--dark-blue);
    box-shadow: none;
}

.btn-newsletter {
    background-color: var(--dark-blue);
    color: white;
}

.btn-newsletter:hover {
    background-color: #1a2aa0;
    color: white;
}

/* About Timeline Carousel */
.about-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.about-carousel .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-carousel .carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top,
        rgba(36, 51, 203, 0.95) 0%,
        rgba(36, 51, 203, 0.8) 30%,
        rgba(36, 51, 203, 0.4) 60%,
        transparent 100%);
    pointer-events: none;
}

.about-carousel .carousel-overlay-full {
    height: 100%;
    background: rgba(36, 51, 203, 0.75);
}

.about-carousel .carousel-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 900px;
}

.about-carousel .intro-slide {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
}

.about-carousel .intro-slide .intro-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 1.5rem;
}

.about-carousel .intro-text {
    font-size: 1.4rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.about-carousel .slide-date {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-carousel .slide-description {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel Navigation Arrows */
.about-carousel .about-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--orange);
    border-radius: 50%;
    border: 3px solid white;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.about-carousel .carousel-control-prev.about-carousel-nav {
    left: 80px;
}

.about-carousel .carousel-control-next.about-carousel-nav {
    right: 80px;
}

.about-carousel .carousel-nav-icon {
    font-size: 2.1rem;
    color: white;
}

.about-carousel .carousel-control-prev .carousel-nav-icon {
    margin-left: -2px;
}

.about-carousel .carousel-control-next .carousel-nav-icon {
    margin-right: -2px;
}

.about-carousel .about-carousel-nav:hover {
    background-color: #d55415;
}

/* Carousel Indicators */
.about-carousel .about-carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.about-carousel .about-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border: none;
    margin: 0 5px;
}

.about-carousel .about-carousel-indicators button.active {
    background-color: var(--orange);
    border: 1px solid white;
}

@media (max-width: 991.98px) {
    .about-carousel .carousel-item {
        height: 450px;
    }

    .about-carousel .intro-slide .intro-logo {
        max-width: 300px;
    }

    .about-carousel .intro-text {
        font-size: 1.2rem;
    }

    .about-carousel .slide-date {
        font-size: 1.3rem;
    }

    .about-carousel .slide-description {
        font-size: 1rem;
    }

    .about-carousel .about-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .about-carousel .carousel-control-prev.about-carousel-nav {
        left: 20px;
    }

    .about-carousel .carousel-control-next.about-carousel-nav {
        right: 20px;
    }

    .about-carousel .carousel-nav-icon {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .about-carousel .carousel-item {
        height: 400px;
    }

    .about-carousel .carousel-content {
        width: 75%;
    }

    .about-carousel .intro-slide .intro-logo {
        max-width: 220px;
    }

    .about-carousel .intro-text {
        font-size: 1rem;
    }

    .about-carousel .slide-date {
        font-size: 1.1rem;
    }

    .about-carousel .slide-description {
        font-size: 0.9rem;
        padding: 0;
    }

    .about-carousel .about-carousel-nav {
        width: 35px;
        height: 35px;
    }

    .about-carousel .carousel-nav-icon {
        font-size: 1rem;
    }

    .about-carousel .carousel-content {
        bottom: 50px;
    }
}

/* ===== Products Page ===== */

.products-intro {
    max-width: 960px;
    line-height: 1.75;
}

.product-format-img {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.scroll-video {
    pointer-events: auto;
    cursor: grab;
}

.scroll-video.dragging {
    cursor: grabbing;
}

.scroll-video::-webkit-media-controls,
.scroll-video::-webkit-media-controls-enclosure,
.scroll-video::-webkit-media-controls-panel {
    display: none !important;
}

.rotate-hint {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #adb5bd;
    user-select: none;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Pouches with Personality */
.personality-section {
    background: var(--orange);
}

.personality-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.personality-nav-col {
    padding-top: 8rem;
}

.personality-nav-btn {
    border: 2px solid rgba(255, 255, 255, 0.7);
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.personality-nav-btn:hover:not(:disabled) {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.personality-nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.personality-item {
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 0.65rem;
}

.personality-item:last-child {
    margin-bottom: 0;
}

.personality-item-header {
    gap: 0.85rem;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.personality-icon {
    font-size: 1.2rem;
    min-width: 18px;
}

.personality-item-body {
    display: none;
    padding: 0 1.2rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.6;
}

.personality-item.active .personality-item-body {
    display: block;
}

.personality-image-col {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    z-index: 1;
}

@media (min-width: 992px) {
    .personality-image-col {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 63%;
        height: auto;
        border-radius: 0;
        overflow: visible;
        margin-bottom: 0;
    }
}

.personality-image-wrap {
    background-color: var(--orange);
}

.personality-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (min-width: 992px) {
    .personality-img {
        object-position: left center;
    }
}

.personality-img.active {
    opacity: 1;
}

/* Products Newsletter CTA */
.products-newsletter-input {
    max-width: 440px;
}
