/* --- Global & Common Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

:root {
    --brand-red: #d90000;
    --brand-dark: #212529;
    --brand-light: #f8f9fa;
    --brand-yellow: #f7c22e;
    --brand-green: #eef3eb;
}

/* --- Header & Navigation --- */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--brand-red) !important;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--brand-dark) !important;
    margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red) !important;
}

.header-contact {
    font-size: 0.9rem;
    text-align: right;
}

.header-contact .phone-icon {
    color: var(--brand-red);
    margin-right: 8px;
}

/* --- Side Social Icons --- */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.social-sidebar a {
    display: block;
    width: 50px;
    height: 50px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.social-sidebar .phone {
    background-color: var(--brand-red);
}

.social-sidebar .email {
    background-color: #c71610;
}

.social-sidebar .whatsapp {
    background-color: #25D366;
}

/* --- Footer --- */
.footer {
    background-color: var(--brand-dark);
    color: #adb5bd;
    padding: 5rem 0 1rem 0;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer .social-icons a {
    color: #adb5bd;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.footer .social-icons a:hover {
    color: var(--brand-red);
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 1.5rem;
    margin-top: 3rem;
}

.certification-logos img {
    max-height: 30px;
    margin: 0 10px;
    filter: grayscale(100%) invert(70%);
}

/* --- Page Headers & Heroes --- */
.page-header-section {
    padding: 4rem 0;
    text-align: center;
}

.page-header-section h1 {
    font-weight: 700;
    font-size: 3.5rem;
}

.page-hero {
    color: white;
    padding: 10rem 0;
    position: relative;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 700;
}

.page-hero .subheading {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Common Section Styles --- */
.content-section {
    padding: 6rem 0;
}

.content-section .subheading {
    color: var(--brand-red);
    font-weight: 600;
    letter-spacing: 1px;
}

.content-section h2 {
    font-weight: 700;
    font-size: 2.8rem;
    margin-top: 0.5rem;
}

.learn-more-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.learn-more-link i {
    border: 1px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.learn-more-link:hover i {
    background-color: white;
    color: var(--brand-red);
}

/* --- Home Page Styles --- */
/* #hero {
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1770') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 15rem 0;
    position: relative;
} */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-brand {
    background-color: transparent;
    border: 2px solid var(--brand-red);
    color: white;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-red);
    color: white;
}

.about-section {
    padding: 6rem 0;
}

.about-section h2 {
    font-weight: 700;
}

.about-box {
    background-color: var(--brand-red);
    color: white;
    padding: 3rem;
    height: 100%;
}

.about-box h3 {
    font-weight: 700;
    font-size: 2.5rem;
}

.health-safety-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.health-safety-section .content {
    position: relative;
    z-index: 2;
}

.red-swoosh {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--brand-red);
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 70%);
}

.sustainability-section {
    background-color: var(--brand-red);
    color: white;
    padding: 6rem 0;
}

.sustainability-section h2 {
    font-weight: 700;
}

/* --- About Page Styles --- */
.mission-section {
    background: url('https://images.unsplash.com/photo-1599202860135-46b09275ab63?auto=format&fit=crop&w=1770') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.7);
}

.mission-section .container {
    position: relative;
    z-index: 2;
}

.certifications-section {
    background-color: var(--brand-red);
    color: white;
}

.chairman-section {
    background-color: #f8f9fa;
}

.chairman-quote {
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 4rem;
}

.chairman-quote::before {
    content: '\201C';
    font-family: 'Times New Roman', Times, serif;
    font-size: 8rem;
    position: absolute;
    left: -1rem;
    top: -2rem;
    color: #e9ecef;
    z-index: 1;
}

.chairman-quote p {
    position: relative;
    z-index: 2;
}

.chairman-name {
    font-weight: bold;
    color: var(--brand-dark);
}

/* --- Products Page Styles --- */
.product-gallery {
    padding: 5rem 0;
}

.product-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card .product-image-wrapper {
    overflow: hidden;
}

.product-card img {
    border-radius: 15px 15px 0 0;
    transition: transform 0.4s ease;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-body {
    text-align: center;
    padding: 1.5rem;
}

.product-card .card-title {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 1.2rem;
}

/* --- Brands Page Styles --- */
.brand-section {
    padding: 6rem 0;
}

.brand-section .brand-logo {
    max-height: 80px;
    margin-bottom: 2rem;
}

.brand-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

.brand-section .features-list {
    list-style: none;
    padding-left: 0;
}

.brand-section .features-list li {
    margin-bottom: 0.5rem;
}

.brand-section .features-list i {
    color: var(--brand-red);
    margin-right: 10px;
}

.brand-section .guarantee-logo {
    max-width: 250px;
}

.bg-dark-section {
    background-color: var(--brand-dark);
    color: white;
}

.bg-dark-section .features-list i {
    color: var(--brand-yellow);
}

.bg-light-grey {
    background-color: #f0f0f0;
}

.bg-yellow-section {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
}

.bg-yellow-section .features-list i {
    color: var(--brand-red);
}

/* --- Sustainability Page Styles --- */
/* .hero-image-section {
    height: 400px;
    background: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1771') no-repeat center center;
    background-size: cover;
} */

.bg-light-green {
    background-color: var(--brand-green);
}

.parallax-section {
    padding: 8rem 0;
    background: url('https://images.unsplash.com/photo-1476231682828-37e571bc172f?auto=format&fit=crop&w=1770') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: white;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.parallax-section .container {
    position: relative;
}

.parallax-section h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* --- Why Us Page Styles --- */
.intro-text {
    padding: 3rem 0;
    background-color: #fff;
}

.treatment-process-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

.treatment-card {
    padding: 2rem;
    border-radius: 15px;
    color: white;
    margin-bottom: 1rem;
}

.treatment-card h3 {
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.card-stage-1 {
    background-color: #6c757d;
}

.card-stage-2 {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
}

.card-stage-3 {
    background-color: var(--brand-red);
}

.manufacturing-facility {
    background-color: #f8f9fa;
}

.manufacturing-facility h2 {
    color: var(--brand-red);
    font-weight: 700;
}

.health-safety-section {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
}

.health-safety-section h2 {
    font-weight: 700;
}

.health-safety-section .iso-logos img {
    max-height: 25px;
    margin: 0 5px;
}

.tech-section {
    background-color: var(--brand-red);
    color: white;
}

.tech-section h2 {
    font-weight: 700;
    font-size: 3rem;
}

.tech-icon {
    text-align: center;
}

.tech-icon img {
    max-height: 50px;
    filter: invert(1);
    margin-bottom: 1rem;
}

.calibrated-plywood-section {
    background-color: var(--brand-dark);
    color: white;
}

.calibrated-plywood-section h2 {
    font-weight: 700;
}

.calibrated-plywood-section .highlight {
    color: var(--brand-red);
}

.customer-service-section {
    background: url('https://images.unsplash.com/photo-1556742059-435123df2099?auto=format&fit=crop&w=1770') no-repeat center center;
    background-size: cover;
    position: relative;
    color: white;
}

.customer-service-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.customer-service-section .container {
    position: relative;
    z-index: 2;
}

.customer-service-section h2 {
    font-weight: 700;
}

/* --- Contact Page Styles --- */
.contact-section {
    padding: 6rem 0;
}

.contact-info h5 {
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1.5rem;
}

.contact-info p {
    line-height: 1.8;
}

.contact-form .form-control {
    background-color: #f1f1f1;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.contact-form .form-control:focus {
    background-color: #e9e9e9;
    box-shadow: none;
}

.btn-submit {
    background-color: var(--brand-dark);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
}

.btn-submit:hover {
    background-color: #444;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100vh;
    width: 100%;
}

#heroCarousel .carousel-item {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

#heroCarousel .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: left;
}

#heroCarousel .carousel-indicators,
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    z-index: 3;
}

#heroCarousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

#heroCarousel .carousel-item>.container {
    position: relative;
    z-index: 2;
}