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

:root {
    --primary-blue: #0052cc;
    --primary-green: #66cc33;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --border-gray: #ddd;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* ===== TOPBAR ===== */
.topbar {
    background: #003d99;
    color: var(--white);
    font-size: 0.9rem;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 22px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    z-index: 1200;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float i {
    font-size: 1.35rem;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 82, 204, 0.25));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 560px;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.9s ease, visibility 0.9s ease, transform 1.2s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-blue);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s ease;
}

.hero-nav:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: #ffffff;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.btn:hover {
    background: #5ab820;
}

.btn-secondary {
    background: var(--primary-blue);
}

.btn-secondary:hover {
    background: #003d99;
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-blue);
}

section h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* ===== FEATURE CARDS ===== */
.features {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-green);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== NEWS CARDS ===== */
.news {
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== CLIENTS SECTION ===== */
.clients {
    background: var(--light-gray);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.client-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 2px solid var(--border-gray);
    transition: border-color 0.3s;
}

.client-logo:hover {
    border-color: var(--primary-blue);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
}

.client-logo i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

/* ===== CERTIFICATES SECTION ===== */
.certificates {
    background: var(--light-gray);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.certificate-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.certificate-card:hover {
    transform: scale(1.05);
}

.certificate-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.certificate-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.certificate-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.certificate-card h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.certificate-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 82, 204, 0.3);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    border-radius: 10px;
    color: var(--white);
    font-size: 4rem;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.info-box h3 {
    margin-bottom: 10px;
}

.info-box p {
    color: #666;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero,
    .hero-slide {
        min-height: 500px;
        padding: 90px 15px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .features-grid,
    .products-grid,
    .news-grid,
    .clients-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

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

    .about-image {
        height: 300px;
    }

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

@media (max-width: 480px) {
    .topbar-container {
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 14px;
        padding: 10px 12px;
    }

    .whatsapp-float span {
        display: none;
    }

    .navbar-container {
        height: 60px;
    }

    .navbar-logo {
        font-size: 18px;
    }

    .navbar-logo-img {
        width: 40px;
        height: 40px;
    }

    section {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== PAGE-SPECIFIC ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.carousel-wrapper {
    flex: 1;
    max-width: 900px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 150px;
}

.client-logo-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-logo-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.2);
    transform: translateY(-5px);
}

.client-logo-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    margin-bottom: 10px;
}

.client-name {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-align: center;
}

.carousel-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #003d99;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-prev:hover::before {
    content: attr(data-tooltip);
}

.carousel-next:hover::before {
    content: attr(data-tooltip);
}

/* ===== PRODUCT IMAGE STYLES ===== */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* ===== RESPONSIVE CAROUSEL ===== */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(100% - 10px);
    }
    
    .carousel-container {
        gap: 10px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
