/* RB Enterprises - Clean Professional CSS */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f97316;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 45px;
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline-dark {
    border: 2px solid var(--dark);
    font-weight: 600;
    border-radius: 8px;
}

.btn-lg {
    padding: 0.8rem 2rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-certs span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.hero-certs i {
    color: #22c55e;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Info Bar */
.info-bar {
    background: var(--primary);
    padding: 1.5rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    padding: 0.5rem;
}

.info-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.info-item strong {
    display: block;
    font-size: 0.95rem;
}

.info-item span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

/* About */
.about-images {
    position: relative;
}

.about-images img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.exp-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.exp-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.about-feature i {
    color: var(--primary);
}

/* Service Card */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.service-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Cert Card */
.cert-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cert-icon.green {
    background: #22c55e;
}

.cert-icon.orange {
    background: var(--secondary);
}

.cert-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.cert-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.cert-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Cert Thumb */
.cert-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.cert-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

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

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.product-card h6 {
    padding: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    font-size: 0.9rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.gallery-caption h5 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* Contact */
.contact-box {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-box h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-box p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.contact-box a {
    color: var(--gray);
    transition: color 0.3s;
}

.contact-box a:hover {
    color: var(--primary);
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.contact-form h4 {
    font-weight: 700;
    color: var(--dark);
}

.form-control {
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.map-box {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer h6 {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.6rem;
}

.footer ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer ul a:hover {
    color: #fff;
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.footer-bottom p {
    text-align: center;
    margin: 0;
}

.footer-certs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-certs span {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-list i {
    color: var(--secondary);
    margin-top: 3px;
}

/* Back to Top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .exp-box {
        position: relative;
        bottom: 0;
        right: 0;
        display: inline-block;
        margin-top: 1rem;
    }

    .about-images {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero .min-vh-100 {
        min-height: auto !important;
    }

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

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-certs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-card img {
        height: 140px;
    }
}
