:root {
    --ef-blue: #0d6efd;
    --ef-black: #000000;
    --ef-gray: #f8f9fa;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--ef-black);
    margin: 0;
    padding: 0;
}

/* Custom Navigation Styles */
.navbar {
    background-color: #000;
    /* padding: 0.75rem 0; */
    border-bottom: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff !important;
    transition: opacity 0.2s;
    margin: 0 1rem;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Remove dropdown arrow */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

@media (max-width: 991px) {
    .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
    }

    .navbar-brand svg {
        height: 18px;
    }

    .navbar-brand svg.ms-2 {
        height: 11px;
        width: 22px;
    }
}

/* Hover Dropdown functionality */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(10px);
        border: none;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        padding: 1rem 0;
    }
}

.dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    color: #333;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--ef-blue);
    padding-left: 1.75rem;
}

.navbar-brand svg {
    height: 22px;
    color: white;
}

.btn-store {
    background-color: #fff;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-store:hover {
    opacity: 0.9;
    color: #000;
}

.nav-icon {
    color: #fff;
    transition: opacity 0.2s;
}

.nav-icon:hover {
    opacity: 0.7;
}

main {
    overflow-x: hidden;
    width: 100%;
}

/* Hero Carousel Section */
.hero-section {
    height: 90vh;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.swiper-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

/* Custom Bottom Pagination */
.hero-swiper .swiper-pagination {
    bottom: 40px !important;
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100% !important;
    left: 0 !important;
}

@media (max-width: 768px) {
    .hero-swiper .swiper-pagination {
        gap: 15px;
        bottom: 20px !important;
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .hero-swiper .swiper-pagination-bullet {
        font-size: 0.65rem;
        padding-bottom: 5px;
    }

    .hero-section {
        height: 70vh;
    }

    .swiper-slide {
        padding-top: 60px;
        /* Less padding on mobile */
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-extra-text {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .btn-learn-more {
        padding: 0.6rem 1.8rem;
        font-size: 0.85rem;
    }
}

.hero-swiper .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    opacity: 0.5;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0;
    margin: 0 !important;
    padding-bottom: 8px;
    position: relative;
    transition: opacity 0.3s;
}

/* The background line for all bullets */
.hero-swiper .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* The filling line for the active bullet */
.hero-swiper .swiper-pagination-bullet-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--fill-width, 0%);
    /* Dynamic width from JS */
    height: 2px;
    background-color: #fff;
    z-index: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    text-transform: none;
}

.hero-extra-text {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn-learn-more {
    background-color: #fff;
    color: #000;
    font-weight: 700;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-learn-more:hover {
    transform: scale(1.05);
    color: #000;
}

/* Swiper Arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    opacity: 1;
}

/* Floating Sidebar Icons */
.floating-sidebar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floating-icon:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-5px);
}

.floating-icon.active {
    background-color: var(--ef-blue);
    color: #fff;
}

/* Feature Highlight Cards (2x2 Grid) */
.feature-grid-section {
    margin-top: 7px;
    background-color: #fff;
    overflow: hidden;
}

.feature-card {
    height: 550px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    text-align: center;
    color: #fff;
}

@media (max-width: 768px) {
    .feature-card {
        height: 400px;
        padding-top: 2.5rem;
    }

    .feature-card-title {
        font-size: 1.5rem;
    }

    .feature-card-subtitle {
        font-size: 0.85rem;
    }

    .feature-link {
        font-size: 0.75rem;
    }
}

.feature-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.feature-card-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.feature-card-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.feature-card-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.feature-link:hover {
    opacity: 0.7;
    color: #fff;
}

/* Dark text variant for light backgrounds if needed */
.feature-card.text-dark {
    color: #000;
}

.feature-card.text-dark .feature-link {
    color: #000;
}

/* Solutions Section (Smarter Power, Better Living) */
.solutions-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 50px 0;
    }

    .solutions-main-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .solutions-tabs {
        margin-bottom: 2rem;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
        display: flex;
    }

    .solutions-tab-btn {
        padding: 8px 20px;
        font-size: 0.75rem;
    }

    .featured-solution-card {
        height: 400px !important;
        border-radius: 16px !important;
    }

    .featured-solution-overlay {
        padding: 20px !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .featured-solution-info h3 {
        font-size: 1.25rem !important;
    }

    .featured-solution-info p {
        font-size: 0.85rem !important;
    }
}

.solutions-small-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.solutions-main-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #000;
}

.solutions-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 3rem;
}

.solutions-tab-btn {
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.solutions-tab-btn.active {
    background-color: #000;
    color: #fff;
}

.solutions-tab-btn:not(.active) {
    background-color: #f5f5f5;
    color: #666;
}

.featured-solution-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
    cursor: pointer;
}

.featured-solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-solution-card:hover img {
    transform: scale(1.03);
}

.featured-solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.featured-solution-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.featured-solution-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    max-width: 700px;
    font-weight: 400;
}

.featured-solution-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.featured-solution-link:hover {
    color: #fff;
    opacity: 0.8;
}

/* Top Picks & Scenarios Styling */
.top-picks-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.section-title-simple {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.product-card-v2 {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    width: 100%;
}

.product-card-v2:hover {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-card-v2 .badge-v2 {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0d6efd;
}

.product-card-v2 .badge-v2.hot {
    color: #dc3545;
}

.product-card-v2 .product-img-v2 {
    height: 180px;
    object-fit: contain;
    margin-bottom: 25px;
    mix-blend-mode: multiply;
}

.product-card-v2 .product-name-v2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-card-v2 .product-desc-v2 {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-card-v2 .btn-group-v2 {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-black-sm {
    background: #000;
    color: #fff;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-outline-sm {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-black-sm:hover {
    opacity: 0.8;
    color: #fff;
}

.btn-outline-sm:hover {
    background: #000;
    color: #fff;
}

/* Top Picks Swiper Desktop Overrides */
@media (min-width: 768px) {
    .top-picks-swiper .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 24px !important;
        transform: none !important;
    }

    .top-picks-swiper .swiper-slide {
        width: calc(25% - 18px) !important;
        margin-right: 0 !important;
    }
}

/* Scenarios Section */
.scenarios-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.scenario-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .scenarios-section {
        padding: 40px 0;
    }

    .scenario-card {
        height: 140px;
        border-radius: 8px;
    }

    .scenario-overlay {
        padding: 12px !important;
    }

    .scenario-name {
        font-size: 0.75rem !important;
    }

    .scenario-arrow {
        font-size: 0.7rem !important;
    }
}

.scenario-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.scenario-card:hover img {
    transform: scale(1.05);
}

.scenario-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scenario-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.scenario-arrow {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* EcoFlow in Action Section */
.action-section {
    background-color: #000;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.action-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.action-swiper {
    margin-bottom: 50px;
    overflow: visible;
}

.action-slide {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .action-section {
        padding: 50px 0;
    }

    .action-title {
        font-size: 1.25rem;
        margin-bottom: 25px;
    }

    .action-slide {
        height: 250px;
        width: 300px !important;
    }

    .action-info h4 {
        font-size: 0.9rem;
    }

    .action-info p {
        font-size: 0.7rem;
    }

    .btn-learn-outline {
        padding: 4px 12px;
        font-size: 0.65rem;
    }
}

.swiper-slide-active .action-slide {
    opacity: 1;
}

.action-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.action-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.action-info p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
    max-width: 400px;
}

/* Action Swiper Arrows */
.action-swiper-prev,
.action-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-swiper-prev:hover,
.action-swiper-next:hover {
    background: #fff;
    color: #000;
}

.action-swiper-prev {
    left: 30px;
}

.action-swiper-next {
    right: 30px;
}

.action-swiper-prev.swiper-button-disabled,
.action-swiper-next.swiper-button-disabled {
    opacity: 0.2;
    cursor: auto;
}

.btn-learn-outline {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-learn-outline:hover {
    background: #fff;
    color: #000;
}

/* Awards Infinite Scroller */
.awards-marquee {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    /* Clipping for mobile scroll issue */
}

.awards-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.awards-marquee:hover .awards-track {
    animation-play-state: paused;
}

.award-box {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    margin: 0 12px;
    width: 240px;
    height: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
}

.award-box:hover {
    background: #1a1a1a;
}

.award-icon-placeholder {

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.award-icon-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-box p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Extreme Filmmaking Swiper */
.extreme-section {
    background-color: #000;
    padding: 0;
    position: relative;
}

.extreme-swiper {
    height: 700px;
}

@media (max-width: 768px) {
    .extreme-swiper {
        height: 450px;
    }

    .extreme-content {
        left: 10% !important;
        top: 15% !important;
        padding-right: 10%;
    }

    .extreme-content h2 {
        font-size: 1.5rem;
    }

    .extreme-content p {
        font-size: 0.85rem;
    }

    .extreme-controls {
        left: 10% !important;
        bottom: 30px !important;
        gap: 20px !important;
    }

    .extreme-progress-container {
        width: 150px !important;
    }
}

.extreme-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.extreme-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.extreme-content {
    position: absolute;
    top: 25%;
    left: 15%;
    color: #fff;
    max-width: 500px;
    z-index: 10;
    text-align: left;
}

.extreme-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.extreme-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.extreme-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.extreme-controls {
    position: absolute;
    bottom: 60px;
    left: 15%;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 20;
    
}

.extreme-progress-container {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.extreme-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.3s ease;
}

.extreme-nav {
    display: flex;
    gap: 15px;
}

.extreme-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.extreme-btn:hover {
    background: #fff;
    color: #000;
}

/* Modern Subscription Section */
.modern-sub-section {
    background-color: #000;
    padding: 80px 0;
}

.modern-sub-container {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 1px solid #222;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

@media (max-width: 991px) {
    .modern-sub-container {
        flex-direction: column;
        padding: 60px 25px;
        text-align: left;
        gap: 60px;
        margin-top: 50px;
        background: radial-gradient(circle at top, #1a1a1a 0%, #000 100%);
    }

    .modern-sub-container::after {
        width: 150%;
        height: 150px;
        bottom: 20%;
        background: rgba(13, 110, 253, 0.15);
        filter: blur(80px);
    }

    .modern-sub-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .modern-sub-text p {
        font-size: 0.9rem;
        color: #ccc;
    }

    .modern-sub-form-wrap {
        width: 100% !important;
    }

    .modern-sub-form {
        flex-direction: column;
        background: transparent;
        gap: 15px;
    }

    .modern-sub-form input {
        width: 100%;
        border-radius: 8px !important;
        padding: 18px 20px;
        font-size: 1rem;
    }

    .modern-sub-form button {
        width: 100%;
        border-radius: 8px !important;
        padding: 18px;
        font-size: 1rem;
    }

    .modern-sub-agreement {
        font-size: 0.8rem;
        color: #888;
        margin-top: 20px;
    }

    .modern-sub-agreement input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #0d6efd;
    }
}

.modern-sub-container::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: rgba(13, 110, 253, 0.2);
    filter: blur(50px);
    border-radius: 50%;
}

.modern-sub-text {
    max-width: 500px;
    z-index: 1;
}

.modern-sub-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.modern-sub-text p {
    color: #888;
    font-weight: 600;
    margin: 0;
}

.modern-sub-form-wrap {
    z-index: 1;
    width: 450px;
}

.modern-sub-form {
    display: flex;
    /* background: #fff; */
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.modern-sub-form input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    outline: none;
}

.modern-sub-form button {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.modern-sub-form button:hover {
    background: #0b5ed7;
}

.modern-sub-agreement {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.65rem;
    color: #666;
    line-height: 1.4;
}

.modern-sub-agreement input {
    margin-top: 2px;
}

.modern-sub-agreement a {
    color: #888;
    text-decoration: underline;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background-color: #fff;
}

.community-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.community-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.community-card {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

@media (max-width: 768px) {
    .community-section {
        padding: 40px 0;
    }

    .community-title {
        font-size: 1.5rem;
    }

    .community-subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .community-card {
        height: 160px;
        /* Reduced height for mobile */
    }

    .community-overlay {
        padding: 15px !important;
        font-size: 0.75rem !important;
    }
}

.community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.community-card:hover img {
    transform: scale(1.05);
}

.community-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blogs-section {
    padding: 80px 0;
    background-color: #f5f5f5;
    overflow: hidden;
    /* Ensure no horizontal bleed */
}

.blogs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.blogs-swiper {
    overflow: visible !important;
    padding-left: calc((100vw - 1320px) / 2 + 1.5rem);
    /* Clipping on parent instead */
}

@media (max-width: 1400px) {
    .blogs-swiper {
        padding-left: calc((100vw - 1140px) / 2 + 1.5rem);
    }
}

@media (max-width: 1200px) {
    .blogs-swiper {
        padding-left: calc((100vw - 960px) / 2 + 1.5rem);
    }
}

@media (max-width: 992px) {
    .blogs-swiper {
        padding-left: calc((100vw - 720px) / 2 + 1.5rem);
    }
}

@media (max-width: 768px) {
    .blogs-swiper {
        padding-left: 1.5rem;
    }
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.blog-arrow {
    font-size: 0.8rem;
    color: #ccc;
}

/* Support & Services Section */
.support-section {
    padding: 100px 0;
    background-color: #fff;
}

.support-card {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card-icon {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.support-card-footer {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.support-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.support-card-arrow {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}

.support-disclaimer {
    margin-top: 60px;
    font-size: 0.65rem;
    color: #999;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .blogs-section {
        padding: 50px 0;
    }

    .blogs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }

    .swiper-slide[style*="width: 380px"] {
        width: 280px !important;
    }

    .blog-img {
        height: 180px;
    }

    .blog-title {
        font-size: 0.95rem;
    }

    .support-section {
        padding: 50px 0;
    }

    .support-card-icon {
        margin-bottom: 10px;
    }

    .support-card {
        padding: 0;
        border-radius: 10px;
    }

    .support-card-icon img {
        border-radius: 10px;
    }

    .support-card-footer {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .support-card-title {
        font-size: 0.85rem !important;
    }

    .support-card-arrow {
        font-size: 0.8rem !important;
    }

    .support-disclaimer {
        margin-top: 30px;
        font-size: 0.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Product Highlight Cards */
.product-highlight {
    height: 600px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-highlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-highlight:hover img {
    transform: scale(1.1);
}

.product-highlight-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.product-highlight:hover .product-highlight-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.product-highlight-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: #fff;
}

/* Feature Section & Tabs */
.feature-tabs .nav-link {
    border: none;
    color: #999;
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 1rem;
    margin: 0 1.5rem;
}

.feature-tabs .nav-link.active {
    color: #000;
    border-bottom: 2px solid #000;
    background: none;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 2rem;
    background-color: var(--ef-gray);
    padding: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
}

.product-card img {
    height: 220px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    mix-blend-mode: multiply;
}

.badge-custom {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

/* CSR & Impact Cards */
.impact-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}

.impact-card:hover {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.impact-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s;
}

.impact-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Awards Ticker */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-wrap {
    overflow: hidden;
    padding: 4rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.ticker-item {
    padding: 0 3rem;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ccc;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.3s;
    flex-shrink: 0;
}

.ticker-item:hover {
    color: #000;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--ef-gray);
    border-radius: 3rem;
    padding: 4rem;
    height: 100%;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #ddd;
    line-height: 1;
    margin-bottom: 2rem;
}

/* Subscription */
.sub-section {
    background-color: #000;
    color: #fff;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.sub-glow-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.2);
    filter: blur(120px);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sub-glow-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(0, 191, 255, 0.15);
    filter: blur(120px);
    border-radius: 50%;
    transform: translate(50%, 50%);
}

.form-control-ef {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 3rem;
}

.form-control-ef:focus {
    background: #fff;
    color: #000;
    box-shadow: none;
}

.btn-ef-blue {
    background-color: var(--ef-blue);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 3rem;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
}

.btn-ef-blue:hover {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

/* Footer */
/* Footer Redesign */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}

.footer-newsletter-text {
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 400px;
    line-height: 1.2;
}

.footer-newsletter-form-wrap {
    width: 400px;
}

.footer-newsletter-form {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.footer-newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 20px;
    flex-grow: 1;
    outline: none;
}

.footer-newsletter-form button {
    background: #fff;
    border: none;
    color: #000;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-agreement {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.footer-newsletter-agreement input {
    margin-top: 4px;
    accent-color: #0d6efd;
}

.footer-newsletter-agreement a {
    color: #888;
    text-decoration: underline;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.footer-link {
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-bottom: 30px;
}

.footer-logo {
    height: 24px;
}

.region-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-legal-row {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #ccc;
    font-size: 0.85rem;
    text-decoration: none;
    border-right: 1px solid #333;
    padding-right: 20px;
}

.footer-legal-links a:last-child {
    border-right: none;
}

.footer-copyright-wrap {
    margin-top: 20px;
}

.footer-copyright {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.footer-small-links {
    display: flex;
    gap: 15px;
}

.footer-small-link {
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link-icon {
    width: 32px;
    height: 32px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.social-link-icon:hover {
    background: #333;
}

@media (max-width: 991px) {
    .footer-newsletter {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-newsletter-form-wrap {
        width: 100%;
    }

    .footer-legal-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Buttons */
.btn-ef-white {
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
}

.btn-ef-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-ef-white:hover,
.btn-ef-outline:hover {
    transform: scale(1.05);
}

.cart-badge {
    background-color: var(--ef-blue);
    color: #fff;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

.btn-shop-now {
    background-color: transparent;
    border: 1px solid #fff !important;
    color: #fff;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.logo-footer{
    text-decoration: none;
    color: #fff;
}

/* .navbar {
            height: 45px;
        } */