:root {
    --primary: #00AEEF; /* Legacy Cyan used as an accent */
    --primary-dark: #0089bd;
    --dark: #0f172a; /* Slate 900 */
    --darker: #020617; /* Slate 950 */
    --light: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --text: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    min-width: 0;
}

/* Used on hero / page-hero content over backgrounds */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Modern Pill Shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.35);
    background-color: #009bd1;
}

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

.btn-dark:hover {
    background-color: var(--darker);
}

/* Homepage contact CTA — readable on small screens */
.contact-showroom-cta {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 1.05rem;
    padding: 1.15rem 2.5rem;
    gap: 0.65rem;
    text-align: center;
    line-height: 1.35;
    white-space: normal;
}

.contact-showroom-cta__label {
    max-width: 100%;
}

.contact-showroom-cta .fa-arrow-right {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact-showroom-cta {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
        font-size: 0.8125rem;
        letter-spacing: 0.06em;
        gap: 0.5rem;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .contact-showroom-cta {
        font-size: 0.75rem;
        padding: 0.9rem 1rem;
        letter-spacing: 0.05em;
    }
}

/* Accent Lines */
.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 2rem 0;
    border-radius: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
}

header.scrolled .topbar {
    height: 0;
    padding: 0;
    opacity: 0;
    border: none;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.topbar-left a {
    text-transform: none;
    letter-spacing: normal;
}

.topbar a:hover {
    color: var(--white);
}

.topbar .divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
    vertical-align: middle;
}

.topbar-right {
    display: flex;
    gap: 1.5rem;
}

header .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: var(--transition);
}

header.scrolled .main-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

.header-cta:hover {
    background: var(--white);
    color: var(--darker);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

header.scrolled .header-cta {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: none;
}

header.scrolled .header-cta:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(0, 174, 239, 0.3);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    overflow: visible;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: min(240px, calc(100vw - 5.5rem));
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}

header.scrolled nav a {
    color: var(--dark);
}

header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Free Estimate: only shown inside mobile drawer (see @media max-width 768px) */
.site-nav__cta {
    display: none;
}

/* Mobile menu toggle & backdrop (hidden on desktop) */
.nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1003;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.65);
}

header.scrolled .nav-toggle {
    border-color: #cbd5e1;
    background: var(--white);
    color: var(--dark);
}

header.scrolled .nav-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-toggle-bars {
    display: block;
    width: 20px;
    height: 14px;
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars span {
    position: absolute;
    left: 0;
    top: 6px;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars::before {
    top: 0;
}

.nav-toggle-bars::after {
    top: 12px;
}

header.nav-is-open .nav-toggle-bars::before {
    top: 6px;
    transform: rotate(45deg);
}

header.nav-is-open .nav-toggle-bars span {
    opacity: 0;
}

header.nav-is-open .nav-toggle-bars::after {
    top: 6px;
    transform: rotate(-45deg);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--dark);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: block;
    padding-top: 32vh;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: transform 10s ease-out, opacity 1s ease-in-out;
}

.slide.active .hero-bg {
    opacity: 0.6;
    transform: scale(1);
}

.hero-slider .container {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: min(900px, calc(100% - 2.5rem));
    margin: 0;
    margin-left: 10%;
    width: 80%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out 0.3s;
}

.slide.active .container {
    opacity: 1;
    transform: translateY(0);
}

.sub-heading {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1.5rem;
}

.slide h1 {
    font-size: 5.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: auto;
}

.slide p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.prev-btn { left: 2rem; }
.next-btn { right: 2rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Trust Banner */
.trust-banner {
    background-color: var(--light);
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 0;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item.iheart {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--darker);
}

.trust-item.iheart i {
    color: #e31837; /* iHeart red */
    font-size: 1.8rem;
}

.trust-item.logos {
    gap: 2rem;
}

.trust-item.logos img {
    height: 48px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
}

.trust-item.logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Intro Text */
.intro {
    padding: 8rem 0;
    background-color: var(--white);
}

.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.intro-left {
    flex: 1;
}

.intro-right {
    flex: 1;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.intro h2 {
    font-size: 3.5rem;
}

.story-block {
    margin-bottom: 2rem;
}

.story-block p {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

.highlight-box {
    background: rgba(0, 174, 239, 0.04);
    border: 1px solid rgba(0, 174, 239, 0.15);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}

.highlight-box h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.highlight-box h4 i {
    background: var(--primary);
    color: var(--white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,174,239,0.3);
}

.highlight-box p {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Services Portfolio */
.services {
    padding: 0 0 8rem 0;
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 60%);
    transition: var(--transition);
}

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

.service-card:hover .service-img::after {
    background: linear-gradient(to top, rgba(0, 174, 239, 0.9) 0%, rgba(15, 23, 42, 0) 70%);
}

.service-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3rem 2rem;
    color: var(--white);
    width: 100%;
    z-index: 2;
    transform: translateY(10px);
    transition: var(--transition);
}

.service-card:hover .service-info {
    transform: translateY(0);
}

.service-info h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.service-info p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Products Showcase Carousel */
.products-showcase {
    padding: 8rem 0;
    background-color: var(--light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin: 0;
}

.carousel-nav {
    display: flex;
    gap: 0.75rem;
}

.carousel-btn {
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.3);
}

.product-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 3rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 0 0 calc(25% - 1.5rem);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(0, 174, 239, 0.2);
}

.product-img {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.product-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0);
    transition: all 0.4s ease;
    z-index: 1;
}

.product-card:hover .product-img::after {
    background: rgba(15, 23, 42, 0.3);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card .view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.product-card:hover .view-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.product-info {
    padding: 2rem 2.5rem;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-info h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    color: var(--dark);
    font-weight: 700;
    text-align: left;
    transition: color 0.3s ease;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.product-card:hover .product-info h4 {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .product-card {
        flex: 0 0 100%;
    }
}

/* Premium Materials */
.materials {
    background-color: var(--dark);
    color: var(--white);
    padding: 8rem 0;
}

.materials h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

/* Lifetime Guarantee: full-width cells, stable layout on narrow screens */
section.materials .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: stretch;
    align-items: stretch;
}

.feature-item {
    text-align: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(0, 174, 239, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.feature-item h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .materials h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 2rem;
    }
    .feature-item {
        backdrop-filter: none;
        padding: 2rem 1.5rem;
    }
}

/* Contact Module */
.contact {
    padding: 8rem 0;
    background-color: var(--light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 5rem 4rem;
    background-color: var(--dark);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    font-size: 2.5rem;
}

.info-block {
    margin-top: 3rem;
}

.info-block h4 {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.info-block p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    padding: 5rem 4rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .form-row-split {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    font-size: 1rem;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--darker);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-award {
    margin-top: 1.5rem;
}

.footer-award img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--dark);
    transform: translateY(-5px);
}

/* Responsive Design */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    /* Tablet: two cards visible in carousel (not three) */
    .product-card { flex: 0 0 calc(50% - 1rem); }
    .slide h1 { font-size: 4rem; }
    .hero-slider .container { margin-left: 5%; width: 90%; }
    .intro-content { flex-direction: column; gap: 2rem; }
    .intro h2 { font-size: 2.5rem; }
    .features-grid,
    .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

/* Guarantee: single column on phones / small tablets (overrides 2-col rule above) */
@media (max-width: 991px) {
    section.materials .container .features-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    header.nav-is-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    header .main-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
        position: relative;
    }

    header .main-nav .logo {
        margin-right: auto;
        /* Leave room for menu button (~44px) + flex gap */
        max-width: calc(100% - 3.5rem);
    }

    header .main-nav .logo img {
        height: auto;
        max-height: 42px;
        width: auto;
        max-width: 100%;
    }

    header .main-nav > .header-cta {
        display: none;
    }

    /* Slide-out navigation */
    header .main-nav .site-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(19rem, 88vw);
        max-width: 100%;
        margin: 0;
        padding: 5.5rem 1.5rem 2rem;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: var(--white);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        z-index: 1002;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    header.nav-is-open .main-nav .site-nav {
        transform: translateX(0);
    }

    header .main-nav .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    header .main-nav .site-nav li {
        border-bottom: 1px solid #e2e8f0;
    }

    header .main-nav .site-nav a {
        display: block;
        padding: 1rem 0.25rem;
        color: var(--dark);
        font-size: 0.95rem;
    }

    header .main-nav .site-nav a::after {
        display: none;
    }

    .site-nav__cta {
        display: list-item;
        border-bottom: none;
        margin-top: 0.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid #e2e8f0;
    }

    header .main-nav .site-nav .site-nav__cta-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        padding: 0.95rem 1.25rem;
        background: var(--primary);
        color: var(--white);
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        transition: background 0.25s ease, transform 0.25s ease;
    }

    header .main-nav .site-nav .site-nav__cta-link:hover {
        background: #009bd1;
        color: var(--white);
        transform: translateY(-1px);
    }

    header .main-nav .site-nav .site-nav__cta-link .fa-arrow-right {
        font-size: 0.75rem;
    }

    .hero-slider { min-height: 500px; }
    .slide h1 { font-size: clamp(1.75rem, 8vw, 3rem); }
    .slide p { font-size: 1.1rem; }
    .hero-slider .container { margin-left: 0; margin-right: auto; width: 100%; }
    .prev-btn { left: 0.75rem; }
    .next-btn { right: 0.75rem; }
    /* Mobile: one product card per viewport in the horizontal scroller */
    .product-carousel {
        gap: 1rem;
        scroll-padding-inline: 0;
    }
    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .features-grid,
    .materials-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .contact-info, .contact-form { padding: 3rem 2rem; }
    .section-header { align-items: flex-start; }
}

/*--------------------------------------------------------------
>>> 19. Products Page (Dynamic Template)
---------------------------------------------------------------- */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 110px; /* Offset for transparent fixed header */
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(10%) brightness(0.85); /* Slightly darker to ensure text pops */
    z-index: -2;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15,23,42,0.85), rgba(15,23,42,0.5));
    z-index: -1;
}

.page-hero h1 {
    color: var(--white);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.25rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.catalog-section {
    padding: 8rem 0;
    background-color: var(--light);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.catalog-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    min-height: 460px;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.catalog-img {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.catalog-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-card:hover .catalog-img img {
    transform: scale(1.08);
}

.catalog-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.catalog-info {
    padding: 2rem;
    flex-grow: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.catalog-info .category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.catalog-info h4 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    min-height: 2.9em;
}

.catalog-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    min-height: 4.8em;
}

.catalog-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.catalog-link,
.catalog-enquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.catalog-link {
    border: 1px solid #cbd5e1;
    color: var(--dark);
    background: #fff;
}

.catalog-link:hover {
    border-color: var(--dark);
}

.catalog-enquire {
    border: 1px solid var(--primary);
    color: #fff;
    background: var(--primary);
}

.catalog-enquire:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

@media (max-width: 420px) {
    .catalog-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Catalog section intro heading */
.catalog-section__intro {
    text-align: center;
}

.catalog-section__intro h2 {
    font-size: clamp(1.85rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.products-service-band {
    padding: 6rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    background: transparent;
}

@media (max-width: 991px) {
    .page-hero { min-height: 420px; }
    .page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
    .catalog-section__intro h2 { font-size: clamp(1.85rem, 4.5vw, 2.5rem); }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 380px;
        padding-top: 92px;
    }
    .page-hero h1 { font-size: clamp(1.65rem, 7vw, 2.35rem); }
    .page-hero p { font-size: 1rem; padding: 0 0.5rem; }
    .products-service-band {
        margin-top: -1.5rem;
        padding: 4rem 0;
    }
    .catalog-section { padding: 4rem 0; }
    .catalog-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .catalog-info { padding: 1.5rem; }
    .catalog-img { height: 220px; }
    .catalog-section__intro h2 { font-size: 1.65rem; }
    .catalog-card { min-height: 0; }
    .catalog-info { min-height: 0; }
    .catalog-info h4,
    .catalog-info p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
    .reveal.active {
        transform: none;
    }
    header .main-nav .site-nav,
    .nav-backdrop,
    .nav-toggle-bars::before,
    .nav-toggle-bars::after,
    .nav-toggle-bars span {
        transition: none;
    }
}
/* Section 21: Gallery Page Architecture */
.gallery-section {
    padding: 8rem 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gallery Hover Overlay */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--white);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay p {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    margin: 0;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease 0.2s;
    color: var(--white);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 991px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-item { height: 300px; }
}

@media (max-width: 768px) {
    .gallery-section { padding: 4rem 0; }
    .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-item { height: 280px; }
    .filter-btn { padding: 0.6rem 1.5rem; font-size: 0.8rem; }
    .gallery-overlay { padding: 2rem 1.5rem; }
    .gallery-overlay h4 { font-size: 1.25rem; }
}
/* Section 22: Contact Page Architecture */
.contact-page-wrapper {
    padding: 8rem 0;
    background-color: var(--white);
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: -8rem;
    position: relative;
    z-index: 10;
}

.contact-form {
    padding: 5rem 4rem;
}

.contact-info-panel {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    font-size: 0.95rem;
    color: #94a3b8;
    transition: all 0.2s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.65rem;
    left: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 174, 239, 0.4);
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-details h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.location-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.location-details a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.location-details a:hover {
    color: var(--white);
}

.map-embed {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 450px;
    width: 100%;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%) contrast(1.1);
}

.contact-panel-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.15;
}

.contact-info-panel .contact-panel-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .contact-form, .contact-info-panel {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper { padding: 4rem 0; }
    .form-row-split { grid-template-columns: 1fr; }
    .map-embed { height: 300px; }
    .contact-panel-title { font-size: 1.75rem; }
}

/* Section 23: Rewards Page Architecture */
.rewards-section {
    padding: 8rem 0;
    background-color: var(--light);
}

.rewards-intro {
    max-width: 720px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

.rewards-intro p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.rewards-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Horizontal Reward Card */
.rewards-card-horizontal {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rewards-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.rewards-card-horizontal .rewards-badge-wrap {
    flex: 0 0 280px;
    margin-bottom: 0;
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
}

.rewards-card-horizontal .reward-content-wrap {
    flex: 1;
}

.rewards-card-horizontal h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.rewards-card-horizontal p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.rewards-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.rewards-card h2 i {
    color: var(--primary);
    margin-right: 0.75rem;
}

.rewards-card p,
.rewards-card li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.rewards-card ul {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.rewards-card li {
    margin-bottom: 0.75rem;
}

.rewards-badge-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    margin-bottom: 2rem;
}

.rewards-badge-wrap img {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rewards-cta {
    text-align: center;
    margin-top: 6rem;
}

@media (max-width: 992px) {
    .rewards-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }
    .rewards-card-horizontal .rewards-badge-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .rewards-section { padding: 4rem 0; }
    .rewards-grid { gap: 1.5rem; }
    .rewards-card { padding: 2.5rem 1.5rem; }
    .rewards-cta { margin-top: 4rem; }
}
