/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #006837;
    --primary-dark: #004d27;
    --secondary: #f36f21;
    --secondary-dark: #d45a17;
    --accent: #00a79d;
    --light: #f8f9fa;
    --dark: #1a2c3b;
    --gray: #5a6c7d;
    --light-gray: #eef2f5;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND STYLES ===== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.background-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: -2;
    pointer-events: none;
}

.background-image.loaded {
    opacity: 0.6;
}

/* ===== LOGO STYLES ===== */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img-footer {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
    
    .logo-img-footer {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }
    
    .logo-img-footer {
        height: 30px;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--dark);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

/* ===== HERO SECTION - EXTENDED HEIGHT ===== */
.hero-section {
    padding: 70px 0 60px;
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 25px;
}

/* ===== BUTTON STYLES - ALL GREEN BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    gap: 10px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    width: 100%;
    height: 100%;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 104, 55, 0.2);
}

/* ===== BUTTONS CONTAINER ===== */
.hero-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

/* ===== INDUSTRIAL STATS ===== */
.industrial-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FOOTER SECTION ===== */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 80px 0 40px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.footer-about p {
    color: #adb5bd;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #adb5bd;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
    min-width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

.iso-badge-desktop {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.iso-badge-desktop i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* ===== PC PLUS COPYRIGHT LINK STYLES ===== */
.pcplus-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pcplus-link:hover {
    color: white;
    text-decoration: underline;
}

.pcplus-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== RESPONSIVE STYLES - DESKTOP ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .industrial-stats {
        gap: 15px;
    }
    
    .hero-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .btn {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .hero-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE STYLES - MOBILE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: calc(100vh - 60px);
        display: block;
    }
    
    header {
        padding: 0;
    }
    
    .nav-container {
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ===== UPDATED: HALF-SCREEN MOBILE MENU ===== */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 60vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        list-style: none;
        gap: 5px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin: 0;
        display: block;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        color: var(--dark);
        transition: all 0.2s ease;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(0, 104, 55, 0.05);
        color: var(--primary);
    }
    
    .nav-menu li a.active {
        background-color: rgba(0, 104, 55, 0.1);
        color: var(--primary);
        font-weight: 600;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* MOBILE BUTTONS - 2x2 grid (4x4 view) */
    .hero-buttons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        margin-top: 25px;
        min-height: 200px;
    }
    
    .btn {
        padding: 15px 10px;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 8px;
        white-space: normal;
        line-height: 1.3;
        height: 100%;
        min-height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn i {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    /* MOBILE STATS - 2x2 grid */
    .industrial-stats {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
        min-height: 200px;
    }
    
    .stat-card {
        padding: 20px 10px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
    }
    
    /* MOBILE FOOTER STYLES */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .footer-about p {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
    }
    
    .footer-links {
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .footer-links li {
        width: 100%;
    }
    
    .footer-links a {
        display: inline-block;
        padding: 8px 0;
        width: 100%;
    }
    
    .footer-contact {
        align-items: center;
        gap: 25px;
        padding: 0 20px;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .contact-item i {
        margin-top: 0;
        margin-bottom: 5px;
        display: flex;
        justify-content: center;
        width: 100%;
        font-size: 1.4rem;
    }
    
    .contact-item > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .footer-logo-text {
        text-align: center;
        justify-content: center;
        display: flex;
        padding: 0 20px;
    }
    
    .iso-badge-mobile {
        display: inline-block !important;
        background-color: var(--secondary);
        color: white;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        margin: 15px auto 20px;
        max-width: 250px;
    }
    
    .iso-badge-desktop {
        display: none !important;
    }
    
    /* PC PLUS LINK MOBILE STYLES */
    .copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 30px 20px 0;
        font-size: 0.85rem;
    }
    
    .pcplus-link {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* ===== RESPONSIVE STYLES - SMALL MOBILE ===== */
@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0 30px;
        min-height: calc(100vh - 50px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* SMALL MOBILE BUTTONS - 2x2 grid (4x4 view) */
    .hero-buttons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
        min-height: 180px;
    }
    
    .btn {
        padding: 12px 8px;
        font-size: 0.85rem;
        min-height: 80px;
    }
    
    .btn i {
        font-size: 1.2rem;
    }
    
    /* SMALL MOBILE STATS - 2x2 grid */
    .industrial-stats {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        min-height: 180px;
    }
    
    .stat-card {
        padding: 18px 8px;
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .stat-text {
        font-size: 0.85rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    footer {
        padding: 60px 0 30px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .copyright {
        font-size: 0.85rem;
        padding: 30px 15px 0;
    }
}

/* ===== RESPONSIVE STYLES - EXTRA SMALL MOBILE ===== */
@media (max-width: 480px) {
    .hero-section {
        padding: 45px 0 25px;
        min-height: calc(100vh - 45px);
    }
    
    /* EXTRA SMALL MOBILE BUTTONS - Still 2x2 grid */
    .hero-buttons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        min-height: 160px;
    }
    
    .btn {
        padding: 10px 6px;
        font-size: 0.8rem;
        min-height: 75px;
    }
    
    .btn i {
        font-size: 1.1rem;
    }
    
    /* EXTRA SMALL STATS - 2x2 grid */
    .industrial-stats {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        min-height: 160px;
    }
    
    .stat-card {
        padding: 16px 6px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .footer-content {
        gap: 35px;
    }
    
    .footer-logo-text {
        font-size: 1.6rem;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .footer-about p {
        font-size: 0.9rem;
    }
    
    .iso-badge-mobile {
        font-size: 0.85rem;
        padding: 7px 18px;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 25px 15px 0;
    }
    
    /* Adjust mobile menu for very small screens */
    .nav-menu {
        top: 65px;
        max-height: 55vh;
        padding: 15px;
    }
    
    .nav-menu li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .hero-section {
        padding: 40px 0 20px;
        min-height: calc(100vh - 40px);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    /* VERY SMALL MOBILE BUTTONS - Still 2x2 grid */
    .hero-buttons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 6px;
        min-height: 150px;
    }
    
    .btn {
        padding: 8px 4px;
        font-size: 0.75rem;
        min-height: 70px;
    }
    
    .btn i {
        font-size: 1rem;
    }
    
    /* VERY SMALL STATS - 2x2 grid */
    .industrial-stats {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 6px;
        min-height: 150px;
    }
    
    .stat-card {
        padding: 15px 5px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .contact-item {
        max-width: 280px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

/* For very small screens, keep 2x2 layout but adjust spacing */
@media (max-width: 320px) {
    .hero-buttons {
        gap: 5px;
        min-height: 140px;
    }
    
    .btn {
        padding: 6px 3px;
        font-size: 0.7rem;
        min-height: 65px;
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    .industrial-stats {
        gap: 5px;
        min-height: 140px;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
}