/* ============================================================
   UVK GLOBAL CSS — shared across all pages
   Drop this file into: assets/css/uvk-global.css
   Then in each page <style> block, remove all duplicate rules
   and just include:
   <link rel="stylesheet" href="<?php echo base_url();?>assets/css/uvk-global.css">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── BASE ─────────────────────────────────────────────────── */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: #f7f8fa;
    color: #444;
}

/* ── SPACING UTILITIES ───────────────────────────────────── */
.pt-100 { padding-top: 50px !important; }
.pb-70  { padding-bottom: 50px !important; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.bg7 {
    background-image: url('../images/bg/bg4.jpg');
    background-position: center;
    background-size: cover;
}

.rs-breadcrumbs {
    padding: 40px 7px 70px;
}

.breadcrumbs-inner .container {
    max-width: 900px;
}

.rs-breadcrumbs .page-title {
    margin: 20px 0 45px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* ── SECTION TITLE (used on card pages) ─────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-title p {
    color: #666;
    font-size: 14px;
    max-width: 860px;
    margin: auto;
    line-height: 1.75;
}

/* ── PROJECT CARD (image-only & with title) ──────────────── */
.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: .3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.11);
}

/* ── IMAGE BOX ───────────────────────────────────────────── */
.img-box {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
    margin-bottom: 0;
}

/* default height — override per page if needed */
.img-box { height: 240px; }

.img-box img {
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    margin: -12px;
    object-fit: cover;
    display: block;
    transition: .4s ease;
}

.project-card:hover .img-box img {
    transform: scale(1.04);
}

/* ── CARD CONTENT ────────────────────────────────────────── */
.card-content {
    padding: 10px 8px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    color: #e8321e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.card-content p {
    color: #666;
    line-height: 1.65;
    font-size: 13px;
    margin: 0;
}

/* ── HIGHLIGHT / SUMMARY BOX ────────────────────────────── */
.highlight-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 30px;
    margin-top: 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.highlight-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.highlight-box p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 14px;
}

/* ── SERVICE BOX (enterprise / engineering pages) ────────── */
.service-box {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: .3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.11);
}

.service-box h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-box h3 a {
    color: #e8321e;
    text-decoration: none;
}

.service-box h3 a:hover { color: #c02010; }

.service-box p {
    color: #666;
    font-size: 13px;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.service-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f8f8;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.service-box:hover .service-img-box img {
    transform: scale(1.04);
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: .3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.11);
}

.about-image-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: .3s ease;
    height: 100%;
}

.about-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.11);
}

.about-img {
    width: 100%;
    height: 290px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f8f8;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}

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

.abt-title h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.abt-title h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #e8321e;
    position: absolute;
    left: 0;
    bottom: 0;
}

.about-desc p,
.vision-desc p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}

/* ── INDEX PAGE ──────────────────────────────────────────── */
.sec-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.2px;
}

.sec-title p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
}

.services-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.services-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
}

/* about section on homepage */
.about-desc h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.about-desc p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.acdn-title {
    font-size: 15px !important;
    font-weight: 600 !important;
}

.card-body {
    font-size: 13px;
    line-height: 1.75;
    color: #555;
}

/* services carousel text */
.course-desc p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.contact-info p,
.contact-info a {
    font-size: 13px;
    color: #666;
}

/* ── PARTNER STRIP ───────────────────────────────────────── */
.partner-item img { transition: .3s ease; }
.partner-item:hover img { transform: scale(1.06); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {

    .rs-breadcrumbs { padding: 30px 7px 55px; }

    .rs-breadcrumbs .page-title {
        font-size: 24px;
        margin: 15px 0 35px;
    }

    .section-title h2 { font-size: 22px; }
    .section-title p  { font-size: 13px; }

    .img-box { height: 190px !important; }

    .project-card { padding: 12px; }

    .card-content h4 { font-size: 15px; }

    .about-img { height: 220px; }

    .abt-title h2 { font-size: 20px; }

    .sec-title h2 { font-size: 22px; }

    .highlight-box { padding: 18px 20px; }
    .highlight-box h4 { font-size: 17px; }

    .service-box h3 { font-size: 16px; }
}
