/* =========================================
   SSTAR FIBRE INDUSTRIES
   RESPONSIVE SEO WEBSITE CSS
========================================= */

:root {
    --primary: #08783f;
    --primary-dark: #055a2f;
    --secondary: #f4a300;
    --dark: #1d1d1d;
    --text: #444;
    --light: #f5f7f6;
    --white: #fff;
    --border: #ddd;
    --shadow: 0 8px 25px rgba(0, 0, 0, .10);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
}

.container {
    width: min(92%, 1200px);
    margin: auto;
}

/* ================= HEADER ================= */

header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary); 
	display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--dark);
}
.logo-mark {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-size: 23px;
  font-weight: 800;
}

.logo strong {
  display: block;
  font-size: 17px;
}

.logo small {
  display: block;
  color: var(--primary);
  font-size: 11px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;

    background:
        linear-gradient(
            rgba(0, 0, 0, .58),
            rgba(0, 0, 0, .58)
        ),
        url("../images/frp-products.jpg")
        center / cover no-repeat;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ================= BUTTONS ================= */

.btn {
    display: inline-block;
    padding: 13px 24px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: .25s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* ================= SECTIONS ================= */

section {
    padding: 75px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.section-title h2 {
    color: var(--primary);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.25;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

/* ================= ABOUT ================= */

.about {
    background: var(--light);
}

.about-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 16px;
}

/* ================= PRODUCTS ================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding-bottom: 22px;
    transition: .25s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-card h3,
.product-card p,
.product-card a {
    margin-left: 22px;
    margin-right: 22px;
}

.product-card h3 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 21px;
}

.product-card p {
    margin-bottom: 10px;
}

.product-card a {
    font-weight: 700;
    text-decoration: none;
}

/* ================= FEATURES ================= */

.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

.feature-box .icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* ================= FAQ ================= */

.faq {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-question {
    color: var(--primary);
    cursor: pointer;
    font-size: 19px;
    position: relative;
    padding-right: 35px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 24px;
}

.faq-item.open .faq-question::after {
    content: "−";
}

.faq-answer {
    display: none;
    padding-top: 12px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ================= CONTACT ================= */

.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.contact-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.contact-box h3 {
    color: var(--primary);
    margin-bottom: 18px;
}

.contact-box a {
    text-decoration: none;
    font-weight: 600;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font: inherit;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(8,120,63,.20);
    border-color: var(--primary);
}

/* ================= FOOTER ================= */

footer {
    background: var(--dark);
    color: #ddd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    color: #fff;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid #444;
    margin-top: 35px;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* ================= WHATSAPP ================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 27px;
    box-shadow: 0 5px 20px rgba(0,0,0,.25);
    z-index: 2000;
}

/* ================= BACK TO TOP ================= */

#backToTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 1999;
}

/* ================= MOBILE ================= */

@media (max-width: 950px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .header-inner {
        min-height: 65px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 65px;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 14px 5%;
    }

    .hero {
        min-height: 500px;
    }

    .hero p {
        font-size: 17px;
    }

    .products-grid,
    .features-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 55px 0;
    }

    .product-card img {
        height: 220px;
    }
}