/* ==========================================
   Selleys Homepage Redesign - Responsive CSS
   ========================================== */

/* CSS Reset & Base Styles */


@font-face {
    font-family: 'gothamlight';
    src: url('/fonts/productpagev2/gothamlight-webfont.eot');
    src: url('/fonts/productpagev2/gothamlight-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/productpagev2/gothamlight-webfont.woff') format('woff'), url('/fonts/productpagev2/gothamlight-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'gothamregular';
    src: url('/fonts/productpagev2/gotham_regular-webfont.eot');
    src: url('/fonts/productpagev2/gotham_regular-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/productpagev2/gotham_regular-webfont.woff') format('woff'), url('/fonts/productpagev2/gotham_regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'gothammedium';
    src: url('/fonts/productpagev2/gothammedium_1-webfont.eot');
    src: url('/fonts/productpagev2/gothammedium_1-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/productpagev2/gothammedium_1-webfont.woff') format('woff'), url('/fonts/productpagev2/gothammedium_1-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'gothambold';
    src: url('/fonts/productpagev2/gothambold-webfont.eot');
    src: url('/fonts/productpagev2/gothambold-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/productpagev2/gothambold-webfont.woff') format('woff'), url('/fonts/productpagev2/gothambold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  
    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-SemiBoldItalic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-ExtraBoldItalic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    }

    @font-face {
    font-family: "Figtree";
    src: url("/fonts/newhomepage/Figtree-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #001489;
    --secondary-blue: #1E3A8A;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-gray: #E5E7EB;
    --hover-blue: #001a4d;
}

/* only for home new page */
.root {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'gothamlight' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: normal !important;
    color: #000000 !important;
    background: #ffffff !important;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================
   Header
   ========================================== */

.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar__hint {
    width: 100%;
}

.search-btn {
    padding: 8px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-blue);
}

.cta-btn {
    background: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background: var(--hover-blue);
}

/* ==========================================
   Hero Carousel Section
   ========================================== */

.hero-carousel-section {
    position: relative;
    overflow: visible;
    /*padding-bottom: 40px;*/
}

.hero-carousel-wrapper {
    position: relative;
    overflow: visible;
    background: var(--bg-white);
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    overflow: visible;
}

.hero-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: visible;
    margin-bottom: 60px;
    /* from design: https://www.figma.com/design/URABiMd8XOSeypYLuYauiH/Selleys?node-id=294-3608&t=fZtS4MleXTocScOt-4 */
    aspect-ratio: 16 / 9;
    max-height: 718px;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.hero-content {
    position: relative;
    z-index: 1;
    padding: 25px 0 0 0;
    width: 100%;
}

.hero-title {
    font-size: 100px;
    font-weight: 700;
    line-height: 85%;
    color: white;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    text-align: center;
    align-content: center;
    font-family: 'Figtree', sans-serif; 
}

.brand-name {
    color: var(--primary-blue);
    background: white;
    padding: 4px 20px;
    display: inline-block;
    font-weight: 700;
}

.hero-card {
  position: absolute;
  bottom: -30px;
  right: 60px;
  z-index: 10;

  background: #AEC35C; 
  color: white;

  padding: 20px 28px 24px;
  border-radius: 14px;

  max-width: 370px;
  min-width: 316px;

  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  overflow: visible;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: var(--primary-blue);
  border-radius: inherit;

  transform: translate(5px, -5px);
  z-index: -1;
}



.hero-card-content h3 {
    font-size: 2p;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    line-height: 1.3;
    margin: 0;
}

.hero-card-content p {
    font-size: 16px;
    font-weight: 400;
    color: white;
    opacity: 0.95;
    line-height: 1.5;
    margin: 0;
    font-family: 'Figtree', sans-serif; 
}

.hero-card-content strong {
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin: 0;
    padding: 0;
    margin-bottom: 18px;
    display: block;
    font-family: 'Figtree', sans-serif; 
}

/* Hero Carousel Navigation Buttons */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-carousel-btn:hover {
    background: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Hero Carousel Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.arrow-link {
    display: block;
    font-size: 24px;
    font-weight: 400;   
    margin-left: 8px;
    line-height: 1;
    transition: transform 0.3s ease;
    text-decoration: none;
    float: right;
}

.arrow-link:hover {
    transform: translateX(4px);
}

/* ==========================================
   Applications & Trade Docs Section
   ========================================== */

.applications-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    margin-bottom: 60px;
    font-family: 'Figtree', sans-serif;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px 4px;
    touch-action: pan-y;
}

.applications-carousel {
    display: flex;
    gap: 8px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
    touch-action: pan-y;
    padding-bottom: 10px;
    padding-left: 32px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: white;
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 20, 137, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 16px rgba(0, 51, 160, 0.3);
}

.carousel-btn.next svg {
    margin-left: 2px;
    margin-top: 2px;
}

.carousel-btn.prev svg {
    margin-right: 2px;
    margin-top: 2px;
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-btn.prev {
    left: 0;
    margin-left: 28px;
}

.carousel-btn.next {
    right: 0;
    margin-right: 40px;
}
a.application-card,
.application-card,
.application-card.is-hidden,
.application-card.is-visible {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex: 0 0 calc(25% - 18px);
    border: 1px solid #D5D5D5;
    text-decoration: none;
    color: inherit;
    display: block;
}

.application-card.not-visible {
    opacity: 0.1;
    filter: blur(0.5px);
    pointer-events: none;
}
  

.application-card:hover {
    border-color: var(--primary-blue);
    cursor: pointer;
}

.application-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-info {
    padding: 16px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.application-info h3 {
    font-size: 20px;
    line-height: 90%;
    font-style: normal;
    font-weight: 500;
    color: var(--primary-blue);
    font-family: "Figtree", sans-serif;
    width: 100%;
    margin: 0;
}

/* Hover Content */
.application-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
    border-radius: 0 0 8px 8px;
}

.application-card:hover .application-hover-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.1s;
    text-decoration:none;
}

.application-card:hover .application-info {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    color: var(--primary-blue);
}

.application-info-card {
    padding: 16px;
    background: white;
}

.application-info-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: var(--primary-blue);
    font-family: "Figtree", sans-serif;
}

.application-info-card p {
    font-size: 14px;
    color: var(--primary-blue);
    margin: 0;
    line-height: 100%;
    font-weight: 400;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.02em;
    font-family: "Figtree", sans-serif;
}

.learn-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.learn-more:hover {
    cursor: pointer;
}


.trade-documents {
    height: fit-content;
    margin: 0 auto;
    margin-bottom: 40px;
}

.trade-documents h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    font-family: 'Figtree', sans-serif;
}

.doc-buttons-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 24px;
}

.doc-buttons-wrapper[style*="display: none"] {
    display: none !important;
}

.doc-buttons-wrapper[style*="display: flex"],
.doc-buttons-wrapper[style*="display: block"] {
    display: flex !important;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

.doc-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.doc-btn {
    padding: 16px 0;
    border: 1px solid var(--primary-blue);
    border-radius: 52px;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 15px;
    transition: background 0.3s ease;
    white-space: nowrap;
    background: white;
    justify-content: center;
    font-family: 'Figtree', sans-serif; 
    min-width: 285px;
    height: 50px;
    text-align: center;
}

.doc-btn a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.doc-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

.doc-btn:hover a {
    color: white;
}

/* ==========================================
   Our Brands Section
   ========================================== */

.brands-section {
    padding: 80px 0;
    background: #FFFFFF;
    border-top: 0.5px solid #E9E9E9 ;
    width: fit-content;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.explore-link {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    font-family: 'Figtree', sans-serif;
}

.explore-link:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

.brands-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    grid-auto-rows: 1fr;
    gap: 24px;
}


.brand-card {
    display: block;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    height: fit-content;
    border: 1px solid #D9D9D9;
}

.brand-card:hover {
    opacity: 0.8;
    color: unset;
    text-decoration: none;
}

.brand-card.large {
    grid-column: 1 / span 1; 
    grid-row: span 2;
    height: 100%;
}

.brand-card.large .brand-info h3 {
    margin-bottom: 27px;
    font-size: 20px;
    font-weight: 500;
}

.brand-card img {
    width: 100%;
    aspect-ratio: 294/236;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-card:hover img {
    transform: scale(1.05);
}

.brand-card.large img {
    aspect-ratio: 576/376;
}

.brand-info {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.brand-info h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Figtree', sans-serif;
}

.brand-info h3 .arrow-link {
    font-size: 20px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 400;
}

.brand-info h3 .arrow-link:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.brand-info p {
    font-size: 16px;
    color: var(--primary-blue);
    font-family: 'Figtree', sans-serif;
    line-height: 100%;
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* Brand Card Hover Content */
.brand-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 51, 160, 0.95), rgba(0, 51, 160, 0.98));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2;
}

.brand-card:hover .brand-hover-content {
    opacity: 1;
    visibility: visible;
}

.brand-info-card {
    color: white;
    text-align: center;
}

.brand-info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.brand-info-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: white;
    opacity: 0.95;
}


.explore-buttons-wrapper{
    display: none;
}

.learn-more {
    display: inline-block;
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 2px solid white;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.learn-more:hover {
    opacity: 0.8;
}

/* ==========================================
   Product Highlight Section
   ========================================== */

.product-highlight {
    padding: 80px 40px;
    background: #FFFFFF;
}

.highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight-text p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--hover-blue);
    transform: translateY(-1px);
}

.btn-primary a:hover{
    color: #ffffff;
    text-decoration: none;
}

.highlight-image img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   Guides & Tips Section
   ========================================== */

.guides-section {
    padding: 60px 0;
    background: #ffffff;
}

.guides-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.guides-section .section-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.guides-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    color: #6F6F6F;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Figtree', sans-serif;
}

    .tab-btn a {
        color: inherit;
        text-decoration: none;
        display: block;
        font-family: 'Figtree', sans-serif; 
    }

    .tab-btn:hover,
    .tab-btn.active {
        text-decoration: underline;
        color: var(--primary-blue);
    }

    .tab-btn:hover a,
    .tab-btn.active a {
        color: var(--primary-blue);
        text-decoration: underline;
    }

.guides-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .guide-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

.video-card {
    position: relative;
    cursor: pointer;
    min-height: 280px;
}

    .video-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        display: block;
    }

    .video-card iframe {
        width: 100%;
        height: 280px;
        border: none;
        display: block;
    }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(34, 65, 150, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-card:hover .play-btn {
    background: rgba(34, 65, 150, 1);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tips-card {
    position: relative;
    padding: 24px 30px 30px 30px;
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 280px;
    overflow: hidden;
}

    /* Background image - positioned absolutely behind everything */
    .tips-card > img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        z-index: 1 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* White overlay for readability */
    .tips-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(0.5px);
        z-index: 2;
    }

    /* Content layer on top */
    .tips-card > h3,
    .tips-card > .tips-description,
    .tips-card > p,
    .tips-card > a.btn-secondary {
        position: relative;
        z-index: 3;
    }

    .tips-card h3 {
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 10px;
        margin-top: 0;
        color: #1B1B1B;
        font-family: 'Figtree', sans-serif;
        line-height: 90%;
    }

    .tips-card .tips-description,
    .tips-card p {
        font-size: 18px;
        font-weight: 400;
        margin-bottom: 18px;
        margin-top: 0;
        line-height: 1.6;
        color: #1B1B1B;
        font-family: 'Figtree', sans-serif;
    }

        .tips-card .tips-description p {
            margin: 0;
            font-size: 18px;
            color: #1B1B1B;
            line-height: 100%;
        }

    .tips-card > .tips-description,
    .tips-card > p {
        flex-grow: 0;
        margin-bottom: 20px;
    }

.tips-card .btn-secondary,
.btn-secondary {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 10px 22px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: center;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'gothammedium', 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.4;
}

.tips-card .btn-secondary {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    line-height: 90%;
    letter-spacing: 0.02em;
    font-size: 15px;
    width: 285px;
    height: 49px;
    border-radius: 52px;
}

    .btn-secondary:hover {
        background: #1a3275;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(34, 65, 150, 0.3);
        color: #ffffff;
        text-decoration: none;
    }

/* ==========================================
   Trusted Retailers Section
   ========================================== */

.retailers-section {
    padding: 50px 0;
    background: #FFFFFF;
    overflow: hidden;
}

.container-full {
    max-width: 100%;
    padding: 0 20px;
}

.retailers-title {
    text-align: center;
    font-size: 16px;
    color: #6F6F6F;
    margin: 0;
    margin-bottom: 19px;
    font-weight: 400;
    letter-spacing: 2%;
    line-height: 140%;
    font-family: "Figtree", sans-serif;
}

.retailers-carousel-wrapper {   
    overflow: hidden;
    position: relative;
}

.retailers-carousel {
    overflow: hidden;
    position: relative;
}

.retailers-track {
    display: flex;
    column-gap: 40px;
    align-items: center;
    justify-content: center;
}

.retailers-track.autoplay {
    animation: scrollRetailers 25s linear infinite;
    will-change: transform;
}

.retailers-track.autoplay:hover {
    animation-play-state: paused;
}

@keyframes scrollRetailers {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

.retailers-track .img-wrapper {
    padding: 20px;
}

.retailers-track .img-wrapper img {
    height: 44px;
    width: auto;
    max-width: 120px;
    flex-shrink: 0;
    object-fit: contain;

    opacity: 0.5;
    filter: grayscale(100%) brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.retailers-track .img-wrapper img:hover {
    opacity: 0.7;
    filter: grayscale(100%) brightness(1);
}

/* ==========================================
   DIY Products Section
   ========================================== */

.diy-products-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-card.large {
    grid-row: span 2;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-card.large img {
    aspect-ratio: 4/5;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ==========================================
   Habitat for Humanity Section
   ========================================== */

.habitat-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.habitat-section .container {
    max-width: 1280px;
    border-radius: 30px;
    padding: 30px;
}

.habitat-content, .habitat-content--right {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
    font-family: "Figtree", sans-serif;
    justify-content: space-between;
}

.habitat-content--right {
    flex-direction: row-reverse;
}

.habitat-image img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.habitat-text {
    max-width: 470px;
}

.habitat-text h2,
.habitat-text--responsive h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--text-dark);
    font-family: "Figtree", sans-serif;
    line-height: 90%;
}

.habitat-text p,
.habitat-text--responsive p {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 100%;
    margin-bottom: 20px;
    font-family: "Figtree", sans-serif;
}


.habitat-text--responsive {
    display: none;
}


.habitat-text .btn-primary,
.habitat-content .btn-primary {
    border-radius: 52px;
    width: 183px;
    grid-column: 1 / -1;
    justify-self: start;
    font-family: "Figtree", sans-serif;
}

.habitat-content .btn-primary {
    display: none;
}

.habitat-text .btn-primary {
    display: block !important;
}


/* ==========================================
   Footer
   ========================================== */

.footer {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .section-title {
        font-size: 36px;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .applications-carousel {
        padding-left: 0;
    }


    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .application-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 250px;
    }

    .brands-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .retailers-track {
        gap: 45px;
    }

    .habitat-section {
        padding: 80px 15px;
    }

    .highlight-content,
    .habitat-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .habitat-text, .habitat-text--responsive {
        width: 100%;
    }

    .habitat-text { 
        display: none;
    }

    .habitat-text--responsive {
        display: block;
    }

    .habitat-text p,
    .habitat-text--responsive p {
        height: fit-content;
        margin-bottom: 15px;
    }


    .habitat-text .btn-primary,
    .habitat-text--responsive .btn-primary {
        display:  none !important;
    }

    .habitat-content .btn-primary {
        display: block;
    }

    .guides-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card {
        min-height: 250px;
    }

        .video-card img,
        .video-card iframe {
            height: 250px;
        }

    .tips-card {
        min-height: 250px;
        padding: 20px 26px 26px 26px;
    }

        .tips-card h3 {
            font-size: 20px;
            margin-bottom: 8px;
            margin-top: 0;
        }

        .tips-card .tips-description,
        .tips-card p {
            font-size: 13px;
            margin-bottom: 14px;
            margin-top: 0;
        }

        .tips-card .btn-secondary {
            padding: 9px 20px;
            font-size: 13px;
            border-radius: 18px;
        }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .cta-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hero-title {
        font-weight: 700;
        font-size: 71px;
        text-align: center;
        line-height: 85%;
        font-family: 'Figtree', sans-serif; 
    }

    .hero-carousel-section {
        overflow: hidden;
        touch-action: pan-y;
    }
        
    .hero-carousel-track {
        touch-action: pan-y;
    }
        
    .hero-slide {
        min-width: 100%;
        flex-shrink: 0;
    }

    .hero-slide {
        position: relative;
        max-width: 100%;
        height: 100%;
        max-height: 721px;      
        aspect-ratio: 402/721;
    }

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


    .hero-content {
        padding: 25px 0 0 0;
    }

    .brand-name {
        padding: 3px 14px;
    }

    .hero-card {
        position: absolute;
        max-width: none;
        min-width: auto;
        width: calc(100% - 80px);
        left: 40px;
        right: 40px;
        bottom: -32px;
        padding: 18px 20px 22px 20px;
        border-radius: 12px;
        border: 2px solid rgba(102, 160, 0, 0.8);
        cursor: pointer;
        display: flex;
        width: fit-content;
        margin: 0 auto;
        justify-content: space-between;
        align-items: center;
        height: 273px;
        min-width: 269px;
    }

    .hero-card-content {
        text-align: center;
    }

    .hero-card-content h3 {
        font-size: 14px;
    }

    .hero-card-content p {
        font-size: 16px;
    }

    .hero-card-content .arrow-link {
        font-size: 20px;
        margin: 0;
        margin-top: 27px;
        float: none;
    }

    .hero-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    .hero-indicator.active {
        width: 24px;
    }

    .applications-section,
    .brands-section,
    .product-highlight,
    .guides-section,
    .diy-products-section {
        padding: 50px 0;
    }

    .applications-section .section-title {
        max-width: 80%;
    }

    .brands-section .container .section-header {
        text-align: center;
    }

    .brands-section .container .section-header .explore-link {
        display: none;
    }

    .brands-section {
        padding-left: 15px;
        padding-right: 15px;
        border-top: none;
    }

    .brands-section .container {
        padding: 0;
    }

    .brands-section .section-title {
        max-width: 80%;
    }

    .brand-card.large .brand-info h3 {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .habitat-section {
        padding: 50px 12px;
    }

    .section-title {
        font-size: 32px;
        margin: 0 auto;
        margin-bottom: 44px;
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }

    .carousel-container {
        padding: 0 20px;
    }

    .carousel-btn {
        display: none;
    }

    .application-card.not-visible {
        opacity: 1;
    }

    .application-card {
        flex: 0 0 100%;
        max-width: 90%;
        min-height: 100%;
    }

    .application-card:hover {
        cursor: pointer;
        border: 1px solid #D5D5D5;
    }


    .application-card:hover .application-hover-content {
        opacity: 0;
        visibility: hidden;
    }
    
    .application-card:hover .application-info {
        opacity: unset;
        visibility: unset;
    }

    .application-info h3 .arrow-link{
        margin: 0;
    }

    .application-info h3 {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }

    .application-info-card {
        padding: 16px 10px;
    }

    .application-info-card h3{
        font-size: 16px;    
        font-weight: 400;
    }

    .application-image {
        aspect-ratio: 345/285;
    }

    .brands-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .explore-buttons-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        align-items: center;
        margin-top: 32px;
    }

    .explore-buttons-wrapper .doc-buttons .doc-btn a {
        font-size: 15px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .brand-card.large {
        grid-column: 1 / -1;
        height: fit-content;
    }

    .brand-card.large h3 {
        margin-bottom: 0 !important;
    }

    .brand-card.large .brand-info p {
        display: none;
    }

    .brand-info {
        padding: 15px 10px;
    }

    .brand-info h3 {
        font-size: 16px;
        font-weight: 400;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.large {
        grid-row: span 1;
    }

    .brand-card img {
        aspect-ratio: 184/142;
    }

    .brand-card.large img {
        aspect-ratio: 385/343;
    }

    .product-card.large img {
        aspect-ratio: 4/3;
    }

    .retailers-section {
        padding: 40px 0;
    }

    .retailers-title {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .retailers-track {
        gap: 10px;
    }

    .habitat-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .highlight-text h2,
    .habitat-text h2,
    .habitat-text--responsive h2 {
        font-size: 32px;
        margin-bottom: 43px;
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .habitat-text p {
        font-size: 16px;
        margin: 0;
        font-weight: 400;
        height: fit-content;
    }

    .habitat-text, .habitat-text--responsive {
        width: 100%;
    }

    .habitat-text { 
        display: none;
    }

    .habitat-text--responsive {
        display: block;
    }

    .habitat-text p,
    .habitat-text--responsive p {
        height: fit-content;
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: 400;
    }

    .habitat-content {
        row-gap: 28px;
    }


    .habitat-text .btn-primary,
    .habitat-text--responsive .btn-primary {
        display: none !important;
    }

    .habitat-content .btn-primary {
        display: block;
        width: fit-content;
        height: 48px;
        margin: 0 auto;
        font-size: 14px;
        font-weight: 500;
    }

    .guides-section {
        padding: 40px 0;
    }

    .guides-section .section-title {
        font-size: 32px;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .guides-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        padding-bottom: 8px;
        margin-bottom: 24px;
        gap: 8px;
    }

        .guides-tabs::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .guides-tabs .tab-btn {
            font-size: 16px;
            padding: 7px 16px;
        }

    .guides-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-card {
        min-height: 220px;
    }

        .video-card img,
        .video-card iframe {
            height: 220px;
        }

    .tips-card {
        display: none;
        min-height: 220px;
        padding: 18px 24px 24px 24px;
    }

        .tips-card h3 {
            font-size: 18px;
            margin-bottom: 8px;
            margin-top: 0;
        }

        .tips-card .tips-description,
        .tips-card p {
            font-size: 13px;
            margin-bottom: 14px;
            margin-top: 0;
            line-height: 1.5;
        }

    .tips-card .btn-secondary {
        padding: 9px 18px;
        font-size: 13px;
        width: auto;
        min-width: 180px;
        text-align: center;
        justify-content: center;
        gap: 4px;
        border-radius: 52px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .retailers-logos {
        gap: 20px;
    }

    .retailers-logos img {
        height: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    
    .trade-documents {
        display: flex !important;
        flex-direction: column;
        width: fit-content;
        justify-content: center;
        align-items: center;
        padding-top: 30px;
        margin-top: 16px;
        border-top: 1px solid #E9E9E9;
    }

    .trade-documents h3 {
        font-size: 16px;
        margin-bottom: 16px;
        font-weight: 500;
        font-size: 20px;
    }


    .doc-buttons-wrapper {
        flex-direction: column;
        row-gap: 24px;
    }

    .doc-buttons {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .doc-btn {
        width: 100%;
        font-size: 13px;
        padding: 10px 20px;
        text-align: center;
        font-size: 15px;
        font-weight: 500;
    }
}

@media (max-width: 479px) {
    .hero-card {
        padding: 20px;
    }

    .applications-section .section-title {
        max-width: 208px;
    }


    .doc-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .doc-btn {
        width: 100%;
    }
}
