@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #ffffff;
    --surface: #fcfcfc;
    --primary: #E30613;
    --primary-light: #ff1a20;
    --secondary: #ffce00;
    --accent: #E30613;
    --text-white: #111111;
    --text-muted: #666666;
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Utilities --- */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.btn-primary:hover {
    background: #c80511;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--text-white);
    transform: translateY(-3px);
}

/* --- Layout Sections --- */


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 50%, rgba(0, 89, 164, 0.15) 0%, transparent 50%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: -20%;
    width: 80%;
    height: 100%;
    z-index: -1;
    mask-image: linear-gradient(to left, black 60%, transparent);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    max-width: 700px;
}

.hero-tagline {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(227, 6, 19, 0.3));
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.section-head {
    text-align: center;
    margin-bottom: 5rem;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Products Section */
.products {
    padding: 8rem 0;
    background: var(--surface);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
}

.product-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    background: #fdfdfd;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: var(--transition);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.3rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Mobile Adjustments */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Proper Design for Content & FAQ Sections --- */
.service-intro-section {
    padding: 60px 0;
    background: #ffffff;
}

.service-intro-section .section-headings {
    font-family: "Oxanium", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #080A56;
    /* Theme Dark Blue */
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-intro-section .section-headings::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #e9231c;
    /* Theme Red */
    border-radius: 2px;
}

.service-intro-section h3 {
    font-family: "Oxanium", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #111;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-intro-section p {
    font-family: "Sarabun", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.service-intro-section a {
    color: #4a4fec;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-intro-section a:hover {
    color: #080A56;
    text-decoration: underline;
}

/* Styled Lists */
.service-intro-section .blog-list,
.service-intro-section .black-bullets {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.service-intro-section .blog-list li,
.service-intro-section .black-bullets li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-family: "Sarabun", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.service-intro-section .blog-list li::before {
    content: "\f105";
    /* fa-angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #e9231c;
    font-size: 1.1rem;
}

.service-intro-section .black-bullets li::before {
    content: "\f058";
    /* fa-circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #e9231c;
    font-size: 1.1rem;
}

/* FAQ Section Enhancements */
.faq-section {
    padding: 60px 0;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.faq-section h2 {
    font-family: "Oxanium", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #080A56;
    margin-bottom: 30px;
    text-align: center;
}

.faq-section .accordion-item {
    border: 1px solid #eef0f5;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-section .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.faq-section .accordion-button {
    font-family: "Oxanium", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    background-color: #fff;
    padding: 20px;
    border: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #e9231c;
    background-color: #fff;
    border-bottom: 1px solid #eef0f5;
}

.faq-section .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-section .accordion-body {
    font-family: "Sarabun", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    background-color: #fff;
    padding: 20px;
}

/* Size Badges Layout */
.size-badges-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.size-badges-wrapper.hidden {
    display: none !important;
}

.size-badges-wrapper .size-badge {
    display: block;
    width: fit-content;
    background-color: #ffff;
    color: #080A56;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    /* border: 1px solid #eef0f5; */
    text-align: center;
    transition: all 0.3s ease;
}

/* .size-badges-wrapper .size-badge:hover {
    background-color: rgba(233, 35, 28, 0.1);
    color: #e9231c;
    border-color: #e9231c;
} */