/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Variables
   =========================== */

:root {
    --primary-red: #E31E24;
    --dark-bg: #1a1a1a;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #666666;
    --text-dark: #333333;
}

/* ===========================
   Utility Classes
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c01418;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-description {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================
   Header / Navigation
   =========================== */

.header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    background-image: url('../assets/HOME-page1.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.hero-content {
    max-width: 500px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-text {
    padding: 60px 0;
}

.hero-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ===========================
   Info Bar
   =========================== */

.info-bar {
    background-color: var(--dark-bg);
    padding: 10px 0;
}

.info-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.info-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.info-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    width: auto;
    height: auto;
}

.info-item span {
    font-size: 11px;
    color: var(--white);
    font-weight: 400;
}

.info-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.info-social a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.info-social a:hover {
    transform: translateY(-2px);
}

.info-social img {
    width: auto;
    height: auto;
}

/* ===========================
   About Section
   =========================== */

.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Left Side: Single Image */
.about-left {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Right Side: Content */
.about-right {
    padding-top: 0;
}

.about-right .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-right .section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-text p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* Vision & Mission */
.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.vm-item {
    background-color: var(--white);
    padding: 0;
    border-radius: 0;
    text-align: left;
}

.vm-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 15px 0;
    background-color: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-icon img {
    width: auto;
    height: auto;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.vm-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.vm-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===========================
   ISO Certifications Section
   =========================== */

.iso-certifications {
    background-color: var(--primary-red);
    padding: 30px 0;
}

.iso-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.iso-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.iso-logo {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.iso-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
}

.iso-content p {
    font-size: 14px;
    color: white;
    margin: 0;
    font-weight: 400;
}

/* ===========================
   Why Choose Section
   =========================== */

.why-choose {
    position: relative;
    padding: 80px 0 120px;
    background-image: url('../assets/OUR STRENGTH.png');
    background-size: 100% 50%;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: white;
}

.why-choose .container {
    position: relative;
    z-index: 2;
}

.why-choose .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

.why-choose .section-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.why-choose .section-description {
    font-size: 16px;
    color: white;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.strength-card {
    background-color: var(--primary-red);
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.strength-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent white transparent;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.5);
}

.strength-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.strength-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.strength-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.strength-card p {
    font-size: 14px;
    color: white;
    line-height: 1.7;
}

.iso-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.iso-badge {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
}

.iso-badge img {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
}

.iso-badge p {
    font-size: 10px;
    line-height: 1.4;
}

.iso-badge strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===========================
   Products Section
   =========================== */

.products {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: #1a1a1a;
    border-radius: 0;
    overflow: visible;
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent var(--light-gray) transparent;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.product-content p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.product-spec {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 15px;
}

.products-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===========================
   Portfolio Section
   =========================== */

.portfolio {
    padding: 80px 0;
    background-color: var(--white);
}

.portfolio-image {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image img {
    width: 100%;
    height: auto;
}

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

.contact {
    padding: 80px 0;
    background-color: #1a1a1a;
    background-image: url('../assets/CONTACT-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--white);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact .section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact .section-description {
    color: var(--white);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-content {
    max-width: 550px;
}

.contact-left {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background-color: rgba(26, 26, 26, 0.8);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: rgba(26, 26, 26, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    align-self: flex-start;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
    margin-top: 10px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact-item img {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.footer-contact-item p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-products li {
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a {
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
}

.footer-social img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #8B0000;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: -20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   WhatsApp Floating Button
   =========================== */

.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 992px) {
    .section-title {
        font-size: 32px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-text {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .info-bar-content {
        flex-direction: column;
        gap: 15px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header-content > .btn {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-text {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .about,
    .why-choose,
    .products,
    .portfolio,
    .contact {
        padding: 60px 0;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-cta {
        flex-direction: column;
    }

    .products-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}
