/* =====================================================
   PB TECH SERVICES - OPTIMIZED PRODUCTION CSS
   ===================================================== */

/* ---------------- BASE RESET ---------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0b0f1c;
    padding-top: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------------- NAVBAR ---------------- */

.navbar {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: background .35s ease, box-shadow .35s ease;
}

.navbar.scrolled {
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #fff !important;
    padding: 18px 16px;
    transition: color .25s ease;
}

.navbar-nav .nav-link:hover {
    color: #12c6a4 !important;
}

/* ---------------- MEGA MENU ---------------- */

.mega-dropdown { position: static; }

.mega-dropdown .dropdown-menu {
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    border: none;
    padding: 25px;
}

.mega-title {
    font-size: 14px;
    font-weight: 700;
    color: #12c6a4;
    margin-bottom: 15px;
}

.mega-menu ul {
    list-style: none;
}

.mega-menu ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #222;
    transition: color .2s ease, padding-left .2s ease;
}

.mega-menu ul li:hover {
    color: #12c6a4;
    padding-left: 5px;
}

/* ---------------- HERO ---------------- */

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    color: #1dd1a1;
}

.hero-content p {
    font-size: 20px;
    margin: 15px 0;
}

.hero-content .btn {
    padding: 12px 30px;
    font-size: 18px;
}

/* ---------------- MOBILE MENU ---------------- */

.offcanvas {
    background: #041a3a;
    color: #fff;
}

.offcanvas-start {
    width: 250px !important;
    background: #031c3a;
}

.custom-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas-logo {
    height: 32px;
}

.mobile-menu li {
    color: #fff;
    padding: 12px 0;
    font-weight: 500;
}

.plus {
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ---------------- FLOATING ELEMENTS ---------------- */

.whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
}

/* ---------------- ABOUT ---------------- */

.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #06142c, #020a18);
    color: #fff;
}

.section-tag {
    color: #12c6a4;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-text {
    font-size: 17px;
    color: #cfd8dc;
    margin-bottom: 35px;
}

.about-points h4 {
    color: #12c6a4;
    font-weight: 700;
}

.about-points p {
    font-size: 14px;
    color: #b0bec5;
}

/* ---------------- SERVICES ---------------- */

.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #020a18, #041a3a);
    color: #fff;
}

.service-card {
    background: #06142c;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform .3s ease, border-color .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #12c6a4;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content i {
    font-size: 34px;
    color: #12c6a4;
}

/* ---------------- WHY ---------------- */

.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #020a18, #06142c);
    color: #fff;
}

.why-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
}

.why-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.why-card:hover .why-img {
    transform: scale(1.05);
}

.why-overlay {
    position: absolute;
    inset: 0;
    padding: 25px;
    background: linear-gradient(180deg, transparent, #020a18);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.why-overlay h4 {
    color: #fff;
    margin-bottom: 5px;
}

.why-overlay p {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .3s ease, transform .3s ease;
}

.why-card:hover .why-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------- CTA ---------------- */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #020a18, #06142c);
    color: #fff;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    color: #b0bec5;
    margin-bottom: 25px;
}

.cta-benefits p {
    font-size: 15px;
    margin-bottom: 10px;
}

.cta-benefits i {
    color: #12c6a4;
    margin-right: 8px;
}

.cta-form {
    background: #06142c;
    padding: 35px;
    border-radius: 12px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: none;
    background: #020a18;
    color: #fff;
    border-radius: 6px;
}

.cta-form textarea {
    height: 100px;
}

.cta-btn {
    background: #12c6a4;
    border: none;
    padding: 12px 25px;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: background .25s ease;
}

.cta-btn:hover {
    background: #0fa78d;
}

/* ---------------- FOOTER ---------------- */
.main-footer {
    background: #020a18;
    color: #fff;
    padding: 80px 0 0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #b0bec5;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #12c6a4;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cfd8dc;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.footer-links a:hover {
    color: #12c6a4;
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #cfd8dc;
}

.footer-contact i {
    color: #12c6a4;
    margin-right: 8px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #12c6a4;
    font-size: 18px;
}

.newsletter form {
    display: flex;
    margin-top: 10px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    background: #06142c;
    color: #fff;
}

.newsletter button {
    background: #12c6a4;
    border: none;
    padding: 10px 18px;
    color: #fff;
}

.footer-bottom {
    margin-top: 50px;
    background: #01060f;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #90a4ae;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width:992px) {
    .main-footer {
        text-align: left;
    }
}

/* Mobile double column */
@media (max-width:768px) {

    .footer-links,
    .footer-contact {
        font-size: 13px;
    }

    .newsletter form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter button {
        width: 100%;
    }
}

/* Small mobile */
@media (max-width:480px) {

    .col-6 {
        width: 100%;
    }

    .main-footer {
        text-align: center;
    }
}

/* ---------------- RESPONSIVE ---------------- */

@media(max-width:768px) {
    .section-title { font-size: 28px; }
    .hero-content { text-align: center; margin: auto; }
    .cta-title { font-size: 28px; }
    .main-footer { text-align: center; }
}
