/* English site responsive refinements */

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

body {
    overflow-wrap: break-word;
}

img,
video,
iframe {
    max-width: 100%;
}

.navbar-premium .container {
    gap: 16px;
}

.nav-menu {
    min-width: 0;
}

.nav-menu > li > a {
    white-space: nowrap !important;
}

.nav-cta {
    flex-shrink: 0;
}

.mega-menu {
    max-width: calc(100vw - 32px);
}

.hero-slide-content,
.hero-content,
.hero-content-wrapper,
.vision-lead-text,
.hero-subtitle,
.hero-text,
.cta-text {
    max-width: 100%;
}

.section-title,
.hero-slide-title,
.hero-title,
.hero-main-title,
.cta-title,
.vision-head-title,
.member-name,
.cert-header h3,
.safety-header h3,
.csr-header h3,
.products-category-header h5 {
    overflow-wrap: break-word;
}

.top-bar-content,
.top-bar-left,
.top-bar-right,
.hero-slide-buttons,
.footer-cta,
.footer-social,
.training-stats {
    flex-wrap: wrap;
}

.stats-bar-inner,
.hero-stats-grid,
.search-header,
.search-form-row,
.station-card,
.safety-item,
.csr-item,
.kit-feature,
.member-card-inner,
.history-content,
.products-category-header,
.cert-header,
.safety-header,
.csr-header {
    min-width: 0;
}

.history-content .row,
.step-card,
.feature-card-premium,
.content-card,
.products-intro,
.products-category,
.contact-form-card,
.contact-info-card,
.cert-body,
.safety-body,
.csr-body,
.section-intro,
.impact-section,
.search-container {
    max-width: 100%;
}

.experience-badge {
    max-width: calc(100% - 32px);
}

.news-body h5,
.news-body p,
.product-details,
.member-bio,
.content-text,
.cert-intro,
.section-intro p {
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-title,
.hero-title,
.hero-main-title,
.cta-title,
.vision-head-title,
.sustainability-hero h1,
.board-intro h2,
.contact-form-header h2,
.cert-header h3,
.safety-header h3,
.csr-header h3,
.impact-header h3,
.products-category-header h5 {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem) !important;
    line-height: 1.25 !important;
    text-wrap: balance;
}

.hero-slide-title {
    font-size: clamp(2.1rem, 4.2vw, 3.45rem) !important;
    line-height: 1.18 !important;
    text-wrap: balance;
}

.section-header,
.board-intro,
.sustainability-hero,
.impact-header,
.contact-form-header {
    text-wrap: balance;
}

@media (min-width: 1200px) {
    .section-title,
    .hero-title,
    .hero-main-title,
    .cta-title,
    .vision-head-title,
    .sustainability-hero h1,
    .board-intro h2,
    .contact-form-header h2,
    .impact-header h3 {
        white-space: nowrap;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .nav-menu {
        gap: 8px !important;
    }

    .nav-menu > li > a {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .nav-cta .btn-premium {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-brand img {
        height: 54px;
    }

    .nav-menu {
        gap: 4px !important;
    }

    .nav-menu > li > a {
        padding: 22px 4px !important;
        font-size: 11.5px !important;
        line-height: 1.2 !important;
        gap: 4px;
    }

    .nav-cta {
        display: none !important;
    }

    .mega-menu {
        width: calc(100vw - 32px) !important;
    }
}

@media (max-width: 991px) {
    .nav-menu,
    .nav-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .navbar-premium .container {
        min-height: 76px;
    }

    .navbar-brand {
        padding: 10px 0;
    }

    #mobileNav {
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    #mobileNav ul li a {
        justify-content: flex-start;
        gap: 10px;
        word-break: normal;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        white-space: normal !important;
    }

    #mobileNav ul li a i {
        margin-left: 0;
    }

    .top-bar-content {
        align-items: center;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
    }

    .hero-slide,
    .conversion-hero,
    .stations-hero-section {
        background-attachment: scroll !important;
    }

    .section-padding,
    .search-section,
    .coverage-section,
    .image-showcase-section,
    .cta-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .search-header-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .results-container {
        width: 100%;
        max-height: none !important;
    }

    .image-showcase.sticky-top {
        position: static !important;
    }

    .main-image img {
        height: 320px !important;
    }

    .member-position {
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .hero-carousel-section {
        background: #0a1628;
    }

    .hero-carousel-section .carousel,
    .hero-carousel-section .carousel-inner,
    .hero-carousel-section .carousel-item {
        min-height: auto;
    }

    .hero-carousel-section .hero-slide {
        min-height: 520px !important;
        align-items: center;
        background-position: center center !important;
    }

    .hero-carousel-section .hero-overlay {
        background: linear-gradient(180deg, rgba(10, 22, 40, 0.72) 0%, rgba(0, 133, 66, 0.72) 100%) !important;
    }

    .hero-carousel-section .hero-slide-content {
        max-width: 640px;
        margin: 0 auto;
        text-align: center !important;
    }

    .hero-carousel-section .hero-slide-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-carousel-section .hero-stats-bar {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin-top: 0;
        border-radius: 0;
    }

    .hero-carousel-section .stats-bar-inner {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 8px !important;
    }

    .top-bar-item {
        justify-content: center;
        width: 100%;
    }

    .navbar-premium .container {
        min-height: 68px;
        flex-wrap: nowrap;
    }

    .navbar-brand img {
        height: 44px !important;
    }

    .hero-slide {
        min-height: auto !important;
    }

    .hero-carousel-section .hero-slide {
        min-height: 420px !important;
        background-position: center top !important;
    }

    .hero-slide-content,
    .hero-content {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    .hero-carousel-section .hero-slide-content {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .hero-slide-title,
    .hero-title,
    .hero-main-title {
        font-size: 1.55rem !important;
        line-height: 1.22 !important;
    }

    .hero-main-title .counter-big,
    .hero-slide-title .counter-number {
        font-size: 2.15rem !important;
    }

    .hero-slide-text,
    .hero-text,
    .hero-subtitle,
    .hero-subtitle p,
    .section-subtitle,
    .cta-text {
        font-size: 0.98rem !important;
        line-height: 1.7 !important;
    }

    .hero-badge,
    .hero-badge-large,
    .section-badge {
        max-width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .hero-carousel-section .hero-badge {
        padding: 7px 12px !important;
        font-size: 0.78rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-carousel-section .highlight-text,
    .hero-carousel-section .hero-slide-title .d-block {
        display: inline !important;
    }

    .hero-carousel-section .hero-slide-text {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1.3rem !important;
    }

    .hero-stats-bar {
        position: static !important;
        transform: none !important;
        padding: 22px 0 !important;
    }

    .stats-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .stat-bar-item {
        flex: none !important;
        min-width: 0;
        padding: 10px;
    }

    .stat-bar-divider {
        display: none !important;
    }

    .section-padding,
    .search-section,
    .coverage-section,
    .image-showcase-section,
    .cta-section,
    .news-page-wrapper {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .section-title {
        font-size: 1.35rem !important;
        line-height: 1.25 !important;
    }

    .feature-card-premium,
    .content-card,
    .products-intro-body,
    .products-category-body,
    .contact-form-body,
    .contact-info-card,
    .cert-body,
    .safety-body,
    .csr-body,
    .section-intro,
    .impact-section,
    .kit-info,
    .search-body,
    .coverage-card,
    .component-card,
    .benefit-card,
    .board-intro,
    .member-content,
    .vision-main-box,
    .sustainability-hero {
        padding: 24px !important;
        border-radius: 16px !important;
    }

    .position-relative > img.w-50,
    .text-end > img.w-50 {
        width: 100% !important;
    }

    .text-end {
        text-align: center !important;
    }

    .experience-badge {
        position: static !important;
        margin: 14px 0 0 !important;
        text-align: center;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .showcase-marquee {
        gap: 12px !important;
    }

    .showcase-item {
        width: 260px !important;
        height: 170px !important;
        border-radius: 14px !important;
    }

    .search-container {
        margin-top: -80px !important;
    }

    .search-header {
        padding: 24px !important;
    }

    .search-form-row {
        gap: 20px !important;
    }

    .results-header,
    .station-card,
    .safety-item,
    .csr-item,
    .kit-feature {
        align-items: flex-start;
    }

    .station-card {
        flex-wrap: wrap;
    }

    .station-status {
        width: 100%;
        padding-left: 65px;
    }

    .form-select-premium,
    .form-control-premium,
    .btn-submit,
    .btn-cta,
    .cta-button,
    .btn-slide-primary,
    .btn-slide-secondary,
    .btn-premium {
        min-height: 46px;
    }

    .main-image img,
    .news-image-wrapper,
    .card-img-wrapper {
        height: 220px !important;
    }

    .thumbnail-row {
        gap: 10px !important;
    }

    .thumbnail-item img {
        height: 95px !important;
    }

    .step-timeline {
        padding-left: 26px !important;
    }

    .step-timeline::before {
        left: 8px !important;
    }

    .step-number-circle {
        left: -26px !important;
    }

    .step-card h4,
    .cert-header,
    .safety-header,
    .csr-header,
    .products-category-header {
        align-items: flex-start;
    }

    .history-timeline::before {
        left: 14px !important;
    }

    .history-dot {
        left: 14px !important;
    }

    .history-content {
        width: calc(100% - 42px) !important;
        margin-left: 42px !important;
        padding: 18px !important;
    }

    .member-image-wrapper {
        padding: 28px !important;
    }

    .member-image,
    .member-placeholder {
        width: 120px !important;
        height: 120px !important;
    }

    .member-content,
    .member-bio {
        text-align: left !important;
    }

    .impact-card h4,
    .hotline-box h3 {
        font-size: 1.8rem !important;
    }

    .footer-widget,
    .footer-contact-item {
        text-align: center !important;
    }

    .go-top-btn {
        right: 16px !important;
        left: auto !important;
        bottom: 16px !important;
    }
}

@media (max-width: 575px) {
    .hero-slide-buttons,
    .d-flex.gap-3.flex-wrap,
    .footer-cta {
        width: 100%;
    }

    .hero-slide-buttons a,
    .d-flex.gap-3.flex-wrap > a,
    .footer-cta a,
    .btn-cta,
    .cta-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .stats-bar-inner {
        grid-template-columns: 1fr;
    }

    .hero-carousel-section .hero-slide {
        min-height: 360px !important;
    }

    .hero-carousel-section .hero-slide-title {
        font-size: 1.38rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.9rem !important;
    }

    .hero-carousel-section .hero-slide-title .counter-number {
        display: inline !important;
        font-size: 1.8rem !important;
    }

    .hero-carousel-section .hero-slide-text {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    .hero-carousel-section .hero-slide-buttons {
        gap: 9px !important;
    }

    .hero-carousel-section .btn-slide-primary,
    .hero-carousel-section .btn-slide-secondary {
        padding: 11px 16px !important;
        font-size: 0.86rem !important;
        min-height: 42px;
    }

    .hero-carousel-section .stats-bar-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .hero-carousel-section .stat-bar-item {
        padding: 9px 6px !important;
        justify-content: center !important;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }

    .hero-carousel-section .stat-bar-item > i {
        font-size: 1rem !important;
    }

    .hero-carousel-section .stat-bar-number {
        font-size: 0.95rem !important;
    }

    .hero-carousel-section .stat-bar-label {
        font-size: 0.62rem !important;
        line-height: 1.25;
    }

    .stat-bar-item {
        justify-content: flex-start !important;
    }

    .hero-stat-card,
    .coverage-card,
    .component-card,
    .benefit-card,
    .product-card-body,
    .news-body {
        padding: 20px !important;
    }

    .search-container {
        margin-top: -60px !important;
        border-radius: 16px !important;
    }

    .search-header-icon,
    .coverage-icon,
    .component-icon-large,
    .impact-card-icon,
    .board-intro-icon,
    .sustainability-hero-icon {
        width: 56px !important;
        height: 56px !important;
        border-radius: 14px !important;
    }

    .station-status {
        padding-left: 0;
    }

    .results-header,
    .safety-item,
    .csr-item,
    .kit-feature,
    .contact-info-item {
        flex-direction: column;
    }

    .results-count {
        align-self: flex-start;
    }

    .history-content {
        width: calc(100% - 34px) !important;
        margin-left: 34px !important;
        padding: 16px !important;
    }

    .history-content::after {
        display: none;
    }

    .pagination-custom {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination-custom .page-link {
        margin: 0 !important;
    }

    .sustainability-hero h1,
    .cta-title {
        font-size: 1.25rem !important;
        white-space: normal;
    }

    .section-title,
    .hero-title,
    .hero-main-title,
    .vision-head-title,
    .board-intro h2,
    .contact-form-header h2,
    .cert-header h3,
    .safety-header h3,
    .csr-header h3,
    .impact-header h3,
    .products-category-header h5 {
        font-size: 1.18rem !important;
        white-space: normal;
    }

    .contact-info-text,
    .footer-about-text,
    .footer-bottom p {
        word-break: break-word;
    }
}
