/* =========================================================
   Connectshore Corporation - main stylesheet
   Colors taken from the logo
   ========================================================= */
:root {
    --cs-navy: #1b1f5e;
    --cs-navy-dark: #12153f;
    --cs-red: #e4232a;
    --cs-orange: #f39200;
    --cs-light: #f5f6fa;
    --cs-text: #3a3d4f;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--cs-text);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5 {
    color: var(--cs-navy);
    font-weight: 600;
}

/* Legal team request: paragraphs aligned left and right (justified) */
p {
    text-align: justify;
}

/* Centered blocks: still justified, last line centered */
.text-center p {
    text-align-last: center;
}

a {
    color: var(--cs-navy);
}

a:hover {
    color: var(--cs-orange);
}

/* ---------- Top bar ---------- */
.top-bar {
    background-color: var(--cs-navy-dark);
    color: #cfd2e6;
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-bar a {
    color: #cfd2e6;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--cs-orange);
}

/* ---------- Navbar ---------- */
.navbar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* logo-cropped.png has no empty space around it, so this height is the real logo size */
.navbar {
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.navbar .nav-link {
    color: var(--cs-navy);
    font-weight: 500;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--cs-orange);
}

/* ---------- Buttons ---------- */
.btn-cs {
    background-color: var(--cs-orange);
    border-color: var(--cs-orange);
    color: #ffffff;
    font-weight: 500;
    padding: 10px 26px;
    border-radius: 30px;
}

.btn-cs:hover {
    background-color: var(--cs-red);
    border-color: var(--cs-red);
    color: #ffffff;
}

.btn-cs-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 500;
    padding: 8px 26px;
    border-radius: 30px;
}

.btn-cs-outline:hover {
    background-color: #ffffff;
    color: var(--cs-navy);
}

/* ---------- Hero (home page) ---------- */
.hero {
    position: relative;
    color: #ffffff;
    padding: 130px 0 120px;
    background-image: url("../images/hero-home.jpg");
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 21, 63, 0.95) 30%, rgba(27, 31, 94, 0.6));
}

.hero .container {
    position: relative;
}

.hero h1 {
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 700;
}

.hero h1 span {
    color: var(--cs-orange);
}

.hero p.lead {
    color: #dfe1f0;
    max-width: 620px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
    position: relative;
    color: #ffffff;
    padding: 80px 0 70px;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 21, 63, 0.85);
}

.page-header .container {
    position: relative;
}

.page-header h1 {
    color: #ffffff;
    font-weight: 700;
}

.page-header .breadcrumb a {
    color: var(--cs-orange);
    text-decoration: none;
}

.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #cfd2e6;
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--cs-light);
}

.section-label {
    color: var(--cs-red);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cs-red), var(--cs-orange));
    margin: 14px 0 24px;
}

.text-center .title-line {
    margin-left: auto;
    margin-right: auto;
}

.img-rounded-shadow {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(27, 31, 94, 0.18);
    width: 100%;
    object-fit: cover;
}

/* ---------- Service cards ---------- */
.service-card {
    background-color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 34px 28px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(27, 31, 94, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(27, 31, 94, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cs-navy), #3a3f9a);
    margin-bottom: 20px;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--cs-red), var(--cs-orange));
}

/* ---------- Service detail rows (maintenance page) ---------- */
.service-row {
    padding: 50px 0;
    border-bottom: 1px solid #e6e8f2;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row img {
    height: 320px;
}

/* ---------- Feature list ---------- */
.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--cs-orange);
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--cs-navy), #2c3190);
    color: #ffffff;
    padding: 60px 0;
}

.cta-band h2 {
    color: #ffffff;
}

.cta-band a.cta-email {
    color: #ffffff;
    text-decoration: none;
}

.cta-band a.cta-email:hover {
    color: var(--cs-orange);
}

/* ---------- Contact ---------- */
.contact-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(27, 31, 94, 0.08);
}

.contact-card .service-icon {
    background: linear-gradient(135deg, var(--cs-red), var(--cs-orange));
}

.map-box iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 14px;
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content h3 {
    margin-top: 36px;
    font-size: 1.35rem;
}

.legal-content p {
    line-height: 1.8;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--cs-navy-dark);
    color: #b9bdd6;
    padding: 60px 0 0;
    font-size: 0.95rem;
}

.site-footer h5 {
    color: #ffffff;
    margin-bottom: 18px;
}

.site-footer a {
    color: #b9bdd6;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--cs-orange);
}

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

.site-footer ul li {
    margin-bottom: 10px;
}

.footer-logo {
    background-color: #ffffff;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 26px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 26px;
    }

    .hero {
        padding: 90px 0 80px;
    }

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

    .section {
        padding: 56px 0;
    }

    .service-row img {
        height: 220px;
    }
}
