/* =========================================
   JB TECH SERVICES
   Main Website Styles
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: #0b2a4a;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #0b4f8a;
}

.quote-btn {
    background: #0b2f55;
    color: white !important;
    padding: 13px 22px;
    border-radius: 9px;
    font-weight: 700 !important;
    transition: 0.3s ease;
}

.quote-btn:hover {
    background: #0b4f8a;
    transform: translateY(-2px);
}

/* =========================================
   MOBILE MENU
========================================= */

.menu-toggle {
    display: none;
    font-size: 27px;
    cursor: pointer;
    color: #0b2a4a;
}

/* =========================================
   HERO
========================================= */

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(7, 38, 70, 0.90), rgba(7, 38, 70, 0.90)),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80')
        center/cover no-repeat;
    color: white;
}

.hero-content {
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 19px;
    color: #dbeafe;
    max-width: 680px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #65aef0;
    color: #082b4c;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #80bdf4;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: #0b2f55;
}

/* =========================================
   SECTION
========================================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: #ffffff;
}

.section-gray {
    background: #f8fafc;
}

.section-dark {
    background: #082d52;
    color: white;
}

.section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 15px;
    color: #0b1220;
}

.section-dark .section-title h2 {
    color: white;
}

.section-title p {
    color: #64748b;
    font-size: 17px;
}

.section-dark .section-title p {
    color: #dbeafe;
}

/* =========================================
   CARDS
========================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: white;
    border: 1px solid #dbe1e8;
    border-radius: 13px;
    padding: 32px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #e8edf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0b1220;
}

.card p {
    color: #64748b;
    font-size: 16px;
}

.learn-more {
    display: inline-block;
    margin-top: 22px;
    font-weight: 700;
    color: #111827;
}

.learn-more:hover {
    color: #0b4f8a;
}

/* =========================================
   LARGE SERVICE CARDS
========================================= */

.service-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-box {
    display: grid;
    grid-template-columns: 32% 68%;
    border: 1px solid #dbe1e8;
    border-radius: 13px;
    overflow: hidden;
    background: white;
}

.service-left {
    padding: 45px;
}

.service-right {
    padding: 45px;
}

.service-left h3 {
    font-size: 28px;
    margin-top: 15px;
}

.service-right p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 17px;
}

.service-right ul {
    list-style: none;
}

.service-right li {
    margin: 13px 0;
    color: #59636f;
}

.service-right li::before {
    content: "→";
    font-weight: 700;
    font-size: 22px;
    margin-right: 8px;
}

/* =========================================
   TWO COLUMN
========================================= */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.two-column h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.two-column p {
    color: #64748b;
    margin-bottom: 18px;
}

.check-list {
    list-style: none;
    margin-top: 25px;
}

.check-list li {
    margin: 14px 0;
    color: #475569;
}

.check-list li::before {
    content: "✓";
    margin-right: 10px;
    font-weight: 800;
    color: #0b4f8a;
}

/* =========================================
   STATS
========================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat {
    text-align: center;
    padding: 25px;
}

.stat h3 {
    font-size: 38px;
    color: #0b4f8a;
}

.stat p {
    color: #64748b;
}

/* =========================================
   CTA
========================================= */

.cta {
    background:
        linear-gradient(rgba(7, 45, 82, 0.94), rgba(7, 45, 82, 0.94)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80')
        center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta h2 {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 20px;
}

.cta p {
    max-width: 750px;
    margin: auto auto 35px;
    font-size: 18px;
    color: #dbeafe;
}

/* =========================================
   CONTACT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin: 22px 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #e8edf4;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 3px;
}

.contact-item span {
    color: #64748b;
}

.contact-form {
    border: 1px solid #dbe1e8;
    border-radius: 13px;
    padding: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #cfd7e2;
    border-radius: 7px;
    padding: 13px 14px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0b4f8a;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: #06284a;
    color: white;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
    gap: 45px;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.footer p,
.footer a {
    color: #d0dceb;
}

.footer a {
    display: block;
    margin: 10px 0;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
    color: #b8c7d8;
    font-size: 14px;
}

/* =========================================
   FLOATING CHAT
========================================= */

.chat-button {
    position: fixed;
    right: 22px;
    bottom: 20px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #6425d6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.08);
}

/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    background:
        linear-gradient(rgba(7, 43, 78, 0.92), rgba(7, 43, 78, 0.92)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80')
        center/cover no-repeat;
    padding: 90px 20px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(38px, 5vw, 55px);
    margin-bottom: 15px;
}

.page-header p {
    color: #dbeafe;
    font-size: 18px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 17px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    .nav-container {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        border-bottom: 1px solid #ddd;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: 520px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-box {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 65px 0;
    }

    .logo {
        font-size: 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 16px;
    }

    .service-left,
    .service-right {
        padding: 30px;
    }

    .two-column h2 {
        font-size: 32px;
    }
}
/* =========================================
   GOOGLE MAP
========================================= */

.map-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #dbe1e8;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.map-wrapper iframe {
    display: block;
}
/* =========================================
   PARTNER GRID
========================================= */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #dbe1e8;
    border-radius: 14px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}

.partner-logo-text {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    font-weight: 800;

    color: #0b2f55;

    margin-bottom: 20px;
}

.partner-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #0b1220;
}

.partner-card p {
    color: #64748b;
    font-size: 14px;
}


@media (max-width: 800px) {

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 550px) {

    .partner-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   HOMEPAGE PARTNER IMPROVEMENTS
========================================= */

.partner-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-logo-text {
    letter-spacing: 1px;
}

.hero-content > p:first-child {
    margin-bottom: 12px;
}


@media (max-width: 800px) {

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
    }

}