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

html {
    scroll-behavior: smooth;
}

:root {
    --section-spacing: 6rem;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    --text-light: rgba(255, 255, 255, 0.92);
    --text-dark: #1a1a1a;
    --gradient-fade: linear-gradient(to top, transparent, #151925);

    /* Product section background colors for fades */
    --dapper-bg: #1A1F2C;
    --beardwood-bg: #249ea0;
    --citrus-bg: #FF5500;
    --midnight-bg: #1E1B4B;
    --bg-color: #151925;
    --accent: #F97316;
    --footer-bg: #0a0a1a;
    --dt-gradient-start: #1A1F2C;
    --dt-gradient-end: #2c3449;
    --bb-gradient-start: #1d7a7c;
    --bb-gradient-end: #2bb1b3;
    --cf-gradient-start: #d44600;
    --cf-gradient-end: #ff6b24;
    --mm-gradient-start: #1a1842;
    --mm-gradient-end: #252161;
}

body {
    background: #151925;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

/* Font classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.font-baskerville {
    font-family: 'Libre Baskerville', serif;
}

/* Pixelation fix */
.image-crisp {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    /* Start transparent */
    backdrop-filter: blur(0px);
    /* Start no blur */
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: none;
    /* Start no shadow */
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

/* Scrolled state for header */
header.scrolled {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Libre Baskerville', serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    color: white;
    font-size: 1.3rem;
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e67e22;
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section with Background Image */
.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(30, 27, 75, 0.9), transparent, rgb(26, 31, 44, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
    /* Add padding */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/5.svg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Responsive font size */
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    /* Responsive font size */
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-btn {
    background: white;
    color: black;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    /* Responsive font size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.hero-btn:hover {
    background: #d35400;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(230, 126, 34, 0.4);
}

.hero-btn:hover::before {
    left: 100%;
}

/* Section Transition - Common for all sections */
.section-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--gradient-end), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Section Fade - Top of sections */
.section-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--gradient-fade);
    z-index: 1;
    pointer-events: none;
}

/* New Product Color Schemes */
.dapper {
    --primary: #1A1F2C;
    /* deep navy */
    --accent: #F97316;
    /* orange-red */
    --gradient-start: #1A1F2C;
    --gradient-end: #2c3449;
}

.beardwood {
    --primary: #249ea0;
    /* updated teal */
    --accent: #1A1F2C;
    /* frosted */
    --gradient-start: #1d7a7c;
    --gradient-end: #2bb1b3;
}

.citrus {
    --primary: #FF5500;
    /* citrus orange */
    --accent: #2bb1b3;
    /* pine green */
    --gradient-start: #d44600;
    --gradient-end: #ff6b24;

}

.midnight {
    --primary: #1E1B4B;
    /* midnight blue */
    --accent: #9B87F5;
    /* violet */
    --gradient-start: #1a1842;
    --gradient-end: #252161;
}

/* Product Features Section with Background Images */
.product-features {
    position: relative;
}

.product-feature {
    min-height: auto;
    /* Adjust height */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-spacing) 1.5rem;
    /* Responsive padding */
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transition: background 1.2s ease;
}

/* Add fade between product features */
.product-feature::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.product-feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Specific fades for each product feature */
.dapper::after {
    background: linear-gradient(to bottom, rgb(26, 31, 44, 0.7), transparent, rgb(36, 158, 160, 0.9));
    height: 100%;
}

.beardwood::after {
    background: linear-gradient(to bottom, rgb(36, 158, 160, 0.9), transparent, rgb(255, 85, 0, 0.9));
    height: 100%;
}

.citrus::after {
    background: linear-gradient(to bottom, rgb(255, 85, 0, 0.9), transparent, rgb(30, 27, 75, 0.9));
    height: 100%;
}

.midnight::after {
    background: linear-gradient(to bottom, rgb(30, 27, 75, 0.9), transparent, rgb(21, 25, 37, 0.9));
    height: 100%;
}

/* First product doesn't need top fade */


.product-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
    transform: rotate(5deg) scale(1.1);
    transform-origin: center;
    transition: transform 1s ease;
    filter: grayscale(100%) contrast(120%);
}

.dapper .product-bg {
    background-image: url('images/1.svg');
    transform: rotate(-7deg) scale(1.2);
}

.beardwood .product-bg {
    background-image: url('images/3.svg');
    transform: rotate(7deg) scale(1.2);
}

.citrus .product-bg {
    background-image: url('images/4.svg');
    transform: rotate(-5deg) scale(1.2);
}

.midnight .product-bg {
    background-image: url('images/2.svg');
    transform: rotate(5deg) scale(1.2);
}

.product-content {
    width: 100%;
    /* Full width on smaller screens */
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    /* Default to single column */
    gap: 3rem;
    position: relative;
    z-index: 2;
}


.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    /* Responsive padding */
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.8s ease;
    animation: none;
    /* Remove float animation by default */
}

.product-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.15);
}

.product-tagline {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
}

.product-name {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.product-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    /* Responsive font size */
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.product-details-container {
    z-index: 10;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Responsive grid */
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}


.spec-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.3);
}

.spec-item strong {
    display: block;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.spec-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.product-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.product-benefits li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    /* Responsive font size */
}

.product-benefits p {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 600;
    font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.product-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.3rem;
}

/* CTA Section */
.product-cta-section {
    background: rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-heading {
    color: var(--accent);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    /* Responsive font size */
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
    line-height: 1.6;
}

.product-cta-button {
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    /* Responsive font size */
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: Libre Baskerville, serif;
}

.product-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.dapper .product-cta-button {
    background: linear-gradient(135deg, var(--cf-gradient-start) 0%, var(--cf-gradient-end) 200%);
}

.beardwood .product-cta-button {
    background: linear-gradient(135deg, var(--dt-gradient-start) 0%, var(--dt-gradient-end) 200%);
}

.citrus .product-cta-button {
    background: linear-gradient(135deg, var(--bb-gradient-start) 0%, var(--bb-gradient-end) 200%);
}

.midnight .product-cta-button {
    background: linear-gradient(135deg, var(--mm-gradient-start) 0%, var(--mm-gradient-end) 200%);
}

.product-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-cta-button:hover::before {
    left: 100%;
}

/* About Us Section */
#about-us {
    padding: var(--section-spacing) 2rem;
    background: #151925;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

#about-us::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(21, 25, 37, 0.8) 0%, transparent 15%);
    /* Fade from previous section */
    z-index: 1;
    pointer-events: none;
}

#about-us::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    /* Fade to next section */
    z-index: 1;
    pointer-events: none;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3rem);
    /* Responsive font size */
    margin-bottom: 2rem;
    color: #e67e22;
    font-family: 'Libre Baskerville', serif;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .about-content-wrapper {
        text-align: center;
    }

}

.about-column {
    flex: 1;
}

.about-subtitle {
    font-family: 'Libre Baskerville', serif;
    color: #e67e22;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    /* Responsive font size */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(230, 126, 34, 0.3);
    display: inline-block;
}

.about-column p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.about-column p strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.about-column p:last-child {
    margin-bottom: 0;
}


/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-modal.show {
    visibility: visible;
    opacity: 1;
    display: flex;
    /* Ensure it becomes flex when 'show' class is added */
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
}

.cart-content {
    background: #1a1a2e;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.cart-modal.active .cart-content {
    transform: translateY(0);
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #e67e22;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-title {
    color: #e67e22;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.item-details {
    flex: 1;
    margin-right: 1rem;
}

.item-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.item-price {
    color: #e67e22;
    font-weight: 500;
    font-size: 0.9rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 1rem;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.remove-item:hover {
    transform: scale(1.2);
    color: #ff4757;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: #e67e22;
}

.checkout-btn {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 1.5rem;
}

.checkout-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

/* Footer Styles */
footer {
    background: #0a0a1a;
    color: white;
    padding: 4rem 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, transparent, var(--bg-color));
    /* Fade from previous section */
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Adjust minmax */
    gap: 1rem;
    padding: 0 4rem;
}

.footer-section h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 8px;
    font-family: 'Libre Baskerville', serif;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e67e22;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #e67e22;
    transform: translateX(5px);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    text-decoration: none;
}

.social-links a:hover {
    background: #e67e22;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright img {
    position: relative;
    top: 20%;
    transform: translateY(40%);
    width: 120px;
    height: 70px;
}

/* FAQ Section */
#faq {
    position: relative;
    padding: var(--section-spacing) 1.5rem;
    background: #151925;
    color: var(--text-light);
}

#faq::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, transparent, var(--bg-color));
    /* Fade from previous section */
    z-index: 1;
    pointer-events: none;
}

#faq::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    /* Fade to next section */
    z-index: 1;
    pointer-events: none;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 2rem;
    text-align: center;
    color: #e67e22;
    font-family: 'Libre Baskerville', serif;
}

.faq-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.faq-question {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: clamp(1rem, 3vw, 1.2rem);
    /* Responsive font size */
    padding: 1rem 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    color: #e67e22;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

/* Testimonials Section */
/* Testimonials Carousel Styling */
#testimonials {
    background-color: var(--testimonials-bg);
    /* Use a defined background color */
    padding: var(--section-spacing) 1rem;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    /* Important for carousel to hide overflow */
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--accent);
}

.testimonials-carousel-wrapper {
    overflow: hidden;
    /* Hides parts of testimonials outside the view */
    position: relative;
    height: 100%;
    width: 100%;
    padding: 20px 0;
    /* Add some vertical padding */
}

.testimonials-carousel-wrapper::before {
    content: '';
    /* Required for pseudo-elements to render */
    position: absolute;
    /* Position it relative to .carousel-wrapper */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allows clicks/interactions with content underneath */
    z-index: 10;
    /* Make sure it's above the carousel content */

    /* Your gradient for the overlay */
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 10%, transparent 90%, var(--bg-color) 100%);
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.8s ease-in-out;
    /* Smooth transition for sliding */
    will-change: transform;
    /* Optimize for animation */
}

.testimonial {
    flex: 0 0 auto;
    /* Prevent items from growing/shrinking and set basis to auto */
    width: 350px;
    /* Fixed width for each testimonial card */
    margin-right: 2rem;
    /* Space between testimonials */
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    /* Ensure consistent height */
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
}

/* Fade effect on the sides (removed for simplicity, handled by section fades) */
/* #testimonials::after { ... } */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
    /* Start hidden for animation */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Floating animation for product info - Enable only on larger screens */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-btn:hover {
    background-image: linear-gradient(to right, #F97316, #249ea0, #1A1F2C);
    color: white;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Special case for the very first section (hero) */
.hero::before {
    display: none;
}

/* --- Responsive Design --- */

/* Medium screens (Tablets) */
@media (min-width: 768px) {
    :root {
        --section-spacing: 8rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 2.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .cart-icon {
        font-size: 1.4rem;
    }

    .hero {
        padding: 8rem 2rem 6rem;
    }

    .hero-btn {
        padding: 1.3rem 3.5rem;
    }

    .product-feature {
        padding: var(--section-spacing) 4rem;
    }

    .product-content {
        width: 80%;
    }

    .product-info {
        padding: 3rem;
        animation: float 8s ease-in-out infinite;
        /* Enable float animation */
    }

    .dapper .product-info {
        animation-delay: 0s;
    }

    .beardwood .product-info {
        animation-delay: 1s;
    }

    .citrus .product-info {
        animation-delay: 2s;
    }

    .midnight .product-info {
        animation-delay: 3s;
    }

    .product-tagline {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }

    .product-name {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .product-description {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .product-benefits li {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
    }

    .cta-heading {
        font-size: clamp(1.3rem, 4vw, 1.5rem);
    }

    .cta-text {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .product-cta-button {
        font-size: clamp(1.1rem, 2.5vw, 1.2rem);
        padding: 1.3rem 3rem;
    }

    .about-content-wrapper {
        flex-direction: row;
        gap: 4rem;
    }

    .about-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .about-column p {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    #faq {
        padding: var(--section-spacing) 2rem;
    }

    .faq-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .faq-question {
        font-size: clamp(1.1rem, 3vw, 1.2rem);
    }

    .faq-answer {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    #testimonials.carousel-section {
        padding: var(--section-spacing) 0;
    }

    .testimonials-container {
        padding: 0 2rem;
    }

    .testimonial {
        flex: 0 0 calc(50% - 2rem);
        /* 2 testimonials */
        max-width: 400px;
    }

    .testimonials-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .testimonial-text {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    footer {
        padding: 6rem 2rem 3rem;
    }

    .footer-content {
        gap: 3rem;
    }

    .footer-section h3 {
        font-size: 1.6rem;
    }

    .footer-links a {
        font-size: 1.1rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .copyright {
        font-size: 1rem;
    }

    .testimonial {
        width: 80%;
        /* Adjust width for mobile view */
        margin-right: 1rem;
    }
}

/* Large screens (Desktops) */
@media (min-width: 1024px) {
    .product-content {
        grid-template-columns: repeat(1, 1fr);
        /* Two columns for product info */
        gap: 4rem;
        width: 90%;
    }

    /* Alternate layout for every second product */
    .product-feature:nth-child(even) .product-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .product-info {
        padding: 4rem;
    }

    .testimonial {
        flex: 0 0 calc(33.33% - 2rem);
        /* 3 testimonials */
        max-width: 500px;
    }
}

.quantity-increase,
.quantity-decrease {
    padding: .5rem .8rem;
    border-radius: 0;
    background: var(--dt-gradient-end);
    border: 1px solid #FD5900BD;
    color: whitesmoke;
    backdrop-filter: blur(6px);
    border-radius: 5px;
    margin: 0 .2rem
}

/* Mobile Navigation Styles & Sticky Cart */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        right: -100%;
        /* Start off-screen */
        top: 0;
        height: 100vh;
        width: 70%;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.5s ease-in-out;
        z-index: 1000;
        padding-top: 5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    }

    .hamburger {
        display: block;
    }

    /* Hamburger animation */
    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Adjust testimonial width for smaller screens */
    .testimonial {
        margin: 0 0.5rem;
        /* Reduce margin */
        max-width: 300px;
    }

    /* Enhanced blur effect for product-info on mobile */
    .product-info {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        overflow: hidden;
    }

    .product-cta-section {
        width: 140%;
        margin-left: -3.5rem;
        text-align: center;
        text-wrap: balance;
        padding: 1.5rem 2.34rem;
        margin-bottom: -2.5rem;
        border: 1px solid rgb(245, 245, 245, .5);
    }

    .spec-item {
        width: 140%;
        margin-left: -3.5rem;
        text-align: center;
        text-wrap: balance;
        padding: 1.5rem 2.34rem;
        border: 1px solid rgb(245, 245, 245, .5);
    }

    .product-tagline {
        width: 140%;
        margin-left: -3.5rem;
        text-align: center;
        text-wrap: balance;
        padding: 1.5rem 2.34rem;
        border: 1px solid rgb(245, 245, 245, .5);
        border-radius: 0;
    }

    .cart-item-actions {
        justify-content: center;
        display: flex;
        align-items: center;
        margin: auto 0;
        gap: .5rem;
        text-align: center;
    }

    .cart-item-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .cart-item-info img {
        border-radius: 5px;
    }

    /* Sticky Add to Cart Button */
    .sticky-cart-button {
        position: fixed;
        bottom: -60px;
        /* Start off-screen */
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #F97316 0%, #e67e22 100%);
        padding: 1rem;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
        transition: bottom 0.4s ease-in-out;
        display: none;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        border: none;
    }

    .sticky-cart-button.visible {
        bottom: 20px;
        /* Slide in */
        display: flex;
        /* Ensure it becomes visible when 'visible' class is added */
    }

    .sticky-cart-button i {
        font-size: 1.2rem;
    }
}

.product-description b {
    font-weight: 700;
    color: var(--accent);
}

.faq-answer p {
    font-weight: 700;
    color: #10B981;
    margin-bottom: 1rem;
}

.faq-answer b {
    font-weight: 700;
    color: #10B981;
}

.status-container {
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.4);
    /* Matches your common container background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.status-icon {
    font-size: 4rem;
    color: #10B981;
    /* A nice green for success */
    margin-bottom: 20px;
}

h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #F97316;
    /* Matches your accent color */
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-button {
    background-color: #F97316;
    /* Matches your accent color */
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.home-button:hover {
    background-color: #e55c00;
    /* Darker shade for hover */
}

/* Contact Section */
/* Contact Section */


.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.contact-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.contact-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Updated styling for contact-info with float animation */
.contact-info {
    text-align: center;
    animation: float 3s ease-in-out infinite;
    /* Apply the float animation here */
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info p i {
    color: var(--accent);
    font-size: 1.2em;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-info .social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.contact-info .social-links a {
    font-size: 1.8rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.contact-info .social-links a:hover {
    color: var(--bg-color);
}

/* Contact Form Specific Styling */
.contact-form {
    /* These styles are applied to the form container itself */
    background-color: transparent;
    /* Parent wrapper handles background now */
    color: #f7f7f7;
    padding: 0;
    /* Padding is now on contact-form-wrapper */
    box-shadow: none;
    /* Shadow is on contact-form-wrapper */
    border-radius: 0;
    /* Border radius on contact-form-wrapper */
    box-sizing: border-box;
    width: 100%;
    /* Make form fill its wrapper */
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
}

/* Ensure these input and textarea styles are strong enough */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="text"]:focus,
/* Ensure focus styles are also applied */
.contact-form input[type="email"]:focus,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    /* Slightly transparent background for inputs */
    color: #f7f7f7;
    /* Text color inside inputs */
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    /* Crucial for consistent sizing */
    transition: border-color 0.3s ease, background-color 0.3s ease;
    -webkit-appearance: none;
    /* Reset default browser styling for inputs on WebKit browsers */
    -moz-appearance: none;
    /* Reset default browser styling for inputs on Mozilla browsers */
    appearance: none;
    /* Standard property */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
    /* Remove default focus outline */
}

.contact-form textarea {
    resize: vertical;
    /* Allow vertical resizing */
    min-height: 120px;
}

/* Ensure the submit button styles are strong enough */
.contact-form .submit-btn {
    background-color: var(--accent);
    color: #fff;
    padding: 14px 25px;
    border: none;
    /* Ensure no default border */
    border-radius: 5px;
    /* Apply border-radius */
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-appearance: none;
    /* Reset default browser styling for buttons */
    -moz-appearance: none;
    appearance: none;
}

.contact-form .submit-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}


/* Ensure the submit button styles are strong enough */
.contact-form .submit-btn {
    background-color: var(--accent);
    color: #fff;
    padding: 14px 25px;
    border: none;
    /* Ensure no default border */
    border-radius: 5px;
    /* Apply border-radius */
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-appearance: none;
    /* Reset default browser styling for buttons */
    -moz-appearance: none;
    appearance: none;
}

.contact-form .submit-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* Media Queries for responsiveness (as before) */
@media (max-width: 768px) {
    .contact-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form-wrapper {
        min-width: unset;
        width: 100%;
        max-width: 500px;
    }

    .contact-form {
        padding: 0;
    }

    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .contact-info h3,
    .contact-form-wrapper h3 {
        font-size: 1.5rem;
    }

    .contact-info p,
    .contact-intro {
        font-size: 1rem;
    }

    .testimonials-carousel-wrapper {
        padding: 10px 0;
    }

    .testimonial {
        width: 90%;
        /* Even narrower for very small screens */
        margin-right: 0.8rem;
    }
}

/* Instructions Section */
#instructions {
    padding: var(--section-spacing) 2rem;
    background: #151925;
    /* Same background as About/FAQ for seamless transition */
    color: var(--text-light);
    text-align: center;
    position: relative;
}

/* Fade from testimonials section to instructions */
#instructions::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgb(21, 25, 37, 0.9), transparent);
    /* Matches testimonials-bg */
    z-index: 1;
    pointer-events: none;
}

/* Fade from instructions to footer */
#instructions::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.instructions-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Ensure content is above fades */
}

.instructions-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--accent);
    /* Use the accent color for consistency */
    font-family: 'Libre Baskerville', serif;
}

.instruction-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 2rem;
    text-align: left;
    margin-bottom: 4rem;
    /* Space between general and product-specific instructions */
}

.instruction-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.instruction-card h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    /* Changed to white for better contrast */
    margin-bottom: 1.5rem;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
}

/* Instructions Section */
#instructions {
    padding: var(--section-spacing) 2rem;
    background: #151925;
    /* Same background as About/FAQ for seamless transition */
    color: var(--text-light);
    text-align: center;
    position: relative;
}

/* Fade from testimonials section to instructions */
#instructions::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgb(21, 25, 37, 0.9), transparent);
    /* Matches testimonials-bg */
    z-index: 1;
    pointer-events: none;
}

/* Fade from instructions to footer */
#instructions::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.instructions-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Ensure content is above fades */
}

.instructions-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--accent);
    /* Use the accent color for consistency */
    font-family: 'Libre Baskerville', serif;
}

.instruction-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 2rem;
    text-align: left;
    margin-bottom: 4rem;
    /* Space between general and product-specific instructions */
}

.instruction-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-wrap: balance;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.instruction-card h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    /* Changed to white for better contrast */
    margin-bottom: 1.5rem;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
}

/* New styling for H4 within instruction cards */
.instruction-card h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    /* Use a custom CSS variable for dynamic accent color */
    color: var(--card-accent-color, var(--accent));
    /* Default to --accent if not set */
    margin-top: 1.5rem;
    /* Space above the new heading */
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    /* Keep consistent with body text */
    font-weight: 600;
}

.instruction-card ul {
    list-style: none;
    padding: 0;
}

.instruction-card li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.instruction-card li::before {
    content: '•';
    /* Custom bullet point */
    position: absolute;
    left: 0;
    /* Use a custom CSS variable for dynamic accent color */
    color: var(--card-accent-color, var(--accent));
    /* Default to --accent if not set */
    font-size: 1.5rem;
    line-height: 1;
}

/* New styles for Product-Specific Instructions */
.instructions-subtitle {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    margin-top: 4rem;
    /* Space above this new section title */
    margin-bottom: 3rem;
    color: white;
    /* White for main subtitle */
    font-family: 'Libre Baskerville', serif;
    text-align: center;
}

.product-specific-instructions {
    display: grid;
    /* Changed to grid for two columns of product groups */
    grid-template-columns: 1fr;
    /* Default to single column on mobile */
    gap: 4rem;
    /* Space between each product's instruction group */
}

.product-instruction-group {
    background: rgba(0, 0, 0, 0.3);
    /* Slightly darker background for the group */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid;
    /* Make border visible for dynamic color */
    transition: border-color 0.5s ease;
    /* Smooth transition for border color */

    /* Define product-specific CSS variables for nested cards */
    &.dapper {
        --card-accent-color: var(--accent);
        /* Dapper's accent color */
        /* Removed --card-bg-color definition here */
    }

    &.beardwood {
        --card-accent-color: #3e4a68;
        /* Beardwood's accent color */
        /* Removed --card-bg-color definition here */
    }

    &.citrus {
        --card-accent-color: whitesmoke;
        /* Citrus's accent color */
        /* Removed --card-bg-color definition here */
    }

    &.midnight {
        --card-accent-color: var(--accent);
        /* Midnight's accent color */
        /* Removed --card-bg-color definition here */
    }
}

.product-instruction-group h3 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--card-accent-color);
    /* Use product-specific accent color */
    margin-bottom: 2.5rem;
    text-align: center;
}

.product-instruction-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Ensure single column for the ingredient card within the group on mobile */
    gap: 2rem;
    /* Space between step cards */
}

.product-instruction-steps-grid .instruction-card {
    /* Override background for nested cards to use product-specific color */
    /* Removed background: var(--card-bg-color); */
    border: 1px solid var(--card-accent-color);
    /* Add border with accent color */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    /* Adjust shadow for nested cards */
}

/* Explicitly set background colors for instruction cards based on parent product group */
.product-instruction-group.dapper .product-instruction-steps-grid .instruction-card {
    background: var(--dapper-bg);
}

.product-instruction-group.beardwood .product-instruction-steps-grid .instruction-card {
    background: var(--beardwood-bg);
}

.product-instruction-group.citrus .product-instruction-steps-grid .instruction-card {
    background: var(--citrus-bg);
}

.product-instruction-group.midnight .product-instruction-steps-grid .instruction-card {
    background: var(--midnight-bg);
}


.product-instruction-steps-grid .instruction-card:hover {
    transform: translateY(-8px);
    /* Slightly more pronounced hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


.product-instruction-steps-grid .instruction-card h4 {
    /* Inherits from .instruction-card h4, but ensure color is dynamic */
    color: var(--card-accent-color);
    text-align: center;
    /* Align step titles to left */
}

.product-instruction-steps-grid .instruction-card p {
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* New: Make the ingredient list within the card display in two columns */
.product-instruction-steps-grid .instruction-card ul {
    column-count: 1;
    /* Default to single column on mobile */
    column-gap: 2rem;
    /* Space between columns */
}


/* Desktop styles for instruction grid */
@media (min-width: 768px) {
    .instruction-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns on larger screens */
    }

    .product-specific-instructions {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns for product groups on tablets/desktops */
    }

    .product-instruction-steps-grid .instruction-card ul {
        column-count: 2;
        /* Two columns for ingredients list on larger screens */
    }
}

@media (min-width: 1024px) {
    .product-instruction-steps-grid {
        grid-template-columns: 1fr;
        /* Only one card per group, so keep it 1fr */
    }
}
.submit-btn{
    margin: 1rem auto;
    background:whitesmoke;
}
.submit-btn:hover{
    background-image: linear-gradient(to right, #F97316, #249ea0, #1A1F2C);
    color: white;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}