/* Custom scroll behavior for smooth navigation */
html {
    scroll-behavior: smooth;
}

/* Custom button hover */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #007373;
    transform: translateY(-1px);
}

/* F Columns */
.contact-column {
    flex-basis: 30%;
    text-align: center;
}

.contact-column h3 {
    font-size: 1.1em;
    font-weight: bold;
    color: #8B4545;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-column p,
.contact-column a {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
}

.email-group {
    margin-top: 20px;
    margin-bottom: 20px;
}

.email-group p:first-child {
    margin-bottom: 0;
}

.email-group+.email-group {
    border-top: 1px solid transparent;
    padding-top: 15px;
}

/* Main Styling */

body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 15px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 10px;
}

.container h1 {
    font-size: 30px !important;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.category {
    margin-bottom: 50px;
}

.category h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #8B4545;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.product-card img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.product-price {
    font-size: 17px;
    font-weight: bold;
    color: #008b20;
}

.services-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.services-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.services-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Hover effect (optional) */
.hero-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certification-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.certification-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.certification-track img {
    height: 80px;
    /* keep your original size */
    margin: 0 40px;
    object-fit: contain;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive breakpoints */

@media(max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {
    h1 {
        font-size: 1.7em;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 6px;
    }

    .product-card {
        padding: 12px;
    }
}

@media(max-width: 450px) {
    .product-title {
        font-size: 16px;
    }

    .product-price {
        font-size: 16px;
    }
}

/* ---------------- GLOBAL IMPROVEMENTS ---------------- */

body {
    padding: 0; /* Let containers handle spacing */
}

.container {
    padding: 15px;
}

/* Fluid typography */
.container h1 {
    font-size: clamp(22px, 4vw, 32px);
}

.category h2 {
    font-size: clamp(18px, 3vw, 26px);
}

/* ---------------- SERVICES SECTION ---------------- */

@media (max-width: 900px) {
    .services-section {
        flex-direction: column;
        gap: 30px;
    }

    .services-right {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 500px;
    }
}

/* ---------------- CONTACT SECTION ---------------- */

@media (max-width: 768px) {
    .contact-column {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

/* ---------------- PRODUCT GRID ---------------- */

/* Tablet */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .product-card img {
        max-height: 220px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .product-title {
        font-size: 15px;
    }

    .product-desc {
        font-size: 13px;
    }

    .product-price {
        font-size: 15px;
    }
}

/* ---------------- CERTIFICATION SLIDER ---------------- */

@media (max-width: 600px) {
    .certification-track img {
        height: 60px;
        margin: 0 20px;
    }
}

/* ================= NAVBAR UTILITIES ================= */

/* Desktop nav links */
.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280; /* gray-500 */
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #007373; /* softwood-primary */
}

/* Dropdown title (APPAREL / HOME TEXTILE) */
.dropdown-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
    color: #4b5563; /* gray-600 */
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-title:hover {
    background: #f3f4f6; /* gray-100 */
    color: #007373;
}

/* Submenu container (desktop hover) */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 4px;
    width: 160px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    display: none;
    padding: 8px 0;
    z-index: 50;
}

/* Submenu links */
.submenu-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #4b5563;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu-link:hover {
    background: #f3f4f6;
    color: #007373;
}

/* JS-controlled dropdown visibility */
.submenu {
    display: none;
}

.submenu.show {
    display: block;
}

/* ================= MOBILE MENU ================= */

.mobile-link {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    padding: 6px 0;
}

.mobile-link:hover {
    color: #007373;
}

.mobile-sub-btn {
    font-size: 15px;
    font-weight: 600;
    color: #374151; /* gray-700 */
    padding: 6px 0;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-sublink {
    display: block;
    font-size: 14px;
    color: #6b7280;
    padding: 4px 0;
}

.mobile-sublink:hover {
    color: #007373;
}

/* ================= DROPDOWN FIXES ================= */

/* Prevent overflow on small screens */
@media (max-width: 768px) {
    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-left: 0;
    }
}

/* ================= VISION SECTION ================= */

.vision-section {
    padding: 60px 20px;
    background-color: #f8f8f8; /* matches body bg */
}

.vision-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Image */
.vision-image {
    flex: 1;
}

.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Content */
.vision-content {
    flex: 1;
}

.vision-content h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: bold;
    color: #000000; /* same as headings */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vision-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
    .vision-container {
        flex-direction: column;
        text-align: center;
    }

    .vision-image img {
        max-width: 600px;
        margin: auto;
    }
}

@media (max-width: 480px) {
    .vision-section {
        padding: 40px 15px;
    }

    .vision-content p {
        font-size: 15px;
    }
}


/* ================= ABOUT / INTRO SECTION ================= */

.about-section {
    background: #d9ded8;
    padding: 70px 20px;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Left Content */
.about-content {
    flex: 1;
}


.about-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 15px;
}

/* Highlights */
.about-highlights {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.highlight-item {
    font-size: 15px;
    color: #374151;
}

/* Right Image */
.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Floating Badge */
.about-badge {
    position: absolute;
    bottom: 350px;
    left: -60px;
    background: #f4f77a;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-badge h3 {
    font-size: 36px;
    margin: 0;
    font-weight: 800;
}

.about-badge p {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px 15px;
    }

    .about-badge {
        bottom: 20px;
        padding: 20px;
    }

    .about-badge h3 {
        font-size: 30px;
    }
}

/* ================= E-COMMERCE SECTION ================= */

.ecommerce-section {
    padding: 80px 20px;
    background: #ffffff;
}

.ecommerce-section .container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* Title */
.ecommerce-section .section-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: bold;
    color: #8B4545;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Description */
.ecommerce-section .section-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Divider */
.ecommerce-section .divider {
    width: 80%;
    margin: 40px auto;
    border: none;
    border-top: 1px solid #ddd;
}

/* ================= BRAND LAYOUT ================= */

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 30px;
}

/* Left Content */
.brand-text {
    flex: 1;
}

.brand-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.brand-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Button */
.brand-text .btn {
    display: inline-block;
    background: #c7e300;
    color: #000;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.15s ease;
}

.brand-text .btn:hover {
    background: #b5d100;
    transform: translateY(-2px);
}

/* ================= IMAGES ================= */

.brand-images {
    flex: 1;
    position: relative;
    text-align: center;
}

.brand-images .laptop {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.brand-images .mobile {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
    transform: translate(-25%, 20%);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .brand-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .brand-images .mobile {
        position: relative;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .ecommerce-section {
        padding: 50px 15px;
    }

    .brand-text p {
        font-size: 15px;
    }

    .brand-images .mobile {
        width: 120px;
    }
}





