/*!
Theme Name: EDUCOM2026 - SEPT 22 2026
Theme URI: https://educom.co
Author: James Richardson
Author URI: https://educom.co
Description: Custom EDUCOM WordPress theme using the Porto HTML framework and the existing EDUCOM content database.
Version: 1.0.0
Text Domain: educom2026
*/

/* EDUCOM 2026 homepage layer
   Porto remains the underlying design framework.
*/

:root {
    --educom-blue: #0099ff;
    --educom-blue-dark: #0077cc;
    --educom-navy: #071e33;
    --educom-ink: #1d2a35;
    --educom-soft: #f5f8fb;
}

body.educom-porto {
    background: #fff;
    color: var(--educom-ink);
}

#header .header-logo img {
    width: 170px;
    height: auto;
}

#header .header-nav-main nav > ul > li > a {
    font-weight: 700;
    letter-spacing: .02em;
}

#header .header-nav-main nav > ul > li.open > a,
#header .header-nav-main nav > ul > li:hover > a,
#header .header-nav-main nav > ul > li.active > a {
    color: var(--educom-blue);
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    border-top-color: var(--educom-blue);
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a:hover {
    background: var(--educom-blue);
    color: #fff;
}

.educom-hero-slider .tp-dottedoverlay.educom-slider-overlay {
    background: linear-gradient(90deg, rgba(5,21,36,.78) 0%, rgba(5,21,36,.52) 45%, rgba(5,21,36,.14) 100%);
}

.educom-main-label {
    font-size: 52px !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em !important;
    text-transform: none !important;
    color: #fff !important;
}

.educom-bottom-label {
    font-size: 20px !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,.92) !important;
}

.educom-contact-slider-btn {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--educom-navy) !important;
}

.educom-home-intro {
    background: var(--educom-navy);
}

.educom-home-intro p,
.educom-home-intro p span {
    color: #fff;
}

.educom-intro-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.educom-image-story {
    display: flex;
    align-items: center;
}

.educom-story-image {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 8px;
}

.educom-story-image-secondary {
    min-height: 270px;
}

.educom-story-callout {
    background: var(--educom-blue);
    color: #fff;
    padding: 22px 28px;
    border-radius: 7px;
    margin-top: -38px;
    margin-left: 35px;
    margin-right: 35px;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 30px rgba(0, 85, 150, .18);
}

.educom-story-callout i {
    margin-right: 12px;
    font-size: 22px;
}

.educom-partners-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.educom-partner-logo {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #fff;
    border-radius: 7px;
}

.educom-partner-logo img {
    max-height: 82px;
    width: auto !important;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: .78;
    transition: all .25s ease;
}

.educom-partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.educom-services-section {
    padding-top: 85px;
    padding-bottom: 85px;
}

.educom-service-card {
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 8px;
    overflow: hidden;
    min-height: 480px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(10, 40, 65, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.educom-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(10, 40, 65, .12);
}

.educom-service-image {
    display: block;
    height: 210px;
    overflow: hidden;
}

.educom-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.educom-service-card:hover .educom-service-image img {
    transform: scale(1.04);
}

.educom-service-card-body {
    padding: 25px;
}

.educom-service-number {
    color: var(--educom-blue);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .12em;
}

.educom-service-card h4 {
    margin: 10px 0 14px;
}

.educom-service-card h4 a {
    color: var(--educom-navy);
}

.learn-more {
    color: var(--educom-blue);
    font-weight: 700;
}

.educom-video-section {
    background-color: var(--educom-navy);
    background-size: cover;
    background-position: center;
    padding: 90px 0;
}

.educom-video-frame {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: #000;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0,0,0,.35);
}

.educom-video-frame video {
    display: block;
    width: 100%;
    height: auto;
}

.educom-content-cards {
    padding-top: 80px;
    padding-bottom: 80px;
}

.educom-post-card {
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    min-height: 420px;
    box-shadow: 0 8px 30px rgba(10, 40, 65, .05);
}

.educom-post-image {
    display: block;
    height: 230px;
    overflow: hidden;
}

.educom-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.educom-post-card:hover .educom-post-image img {
    transform: scale(1.04);
}

.educom-post-content {
    padding: 24px;
}

.educom-post-date {
    color: var(--educom-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.educom-post-content h4 {
    margin-top: 10px;
    line-height: 1.35;
}

.educom-post-content h4 a {
    color: var(--educom-navy);
}

.educom-testimonials {
    background: linear-gradient(135deg, #071e33 0%, #0d3555 100%);
    padding: 85px 0;
}

.educom-testimonial-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.25);
}

.educom-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.educom-testimonials .testimonial blockquote p {
    color: #fff;
}

.educom-testimonials .testimonial-author span {
    display: block;
    color: rgba(255,255,255,.72);
    margin-top: 4px;
}

.educom-final-cta {
    background-size: cover;
    background-position: center;
}

#footer .educom-footer-logo {
    width: 250px;
    max-width: 100%;
    margin-bottom: 20px;
}

#footer .educom-footer-brand p {
    line-height: 1.8;
}

#footer .list-icons a {
    color: #ccc;
}

#footer .list-icons a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .educom-main-label {
        font-size: 42px !important;
    }

    .educom-image-story {
        display: block;
    }

    .educom-story-image {
        margin-bottom: 25px;
    }

    .educom-service-card {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .educom-main-label {
        font-size: 31px !important;
        line-height: 1.12 !important;
    }

    .educom-bottom-label {
        font-size: 16px !important;
    }

    .educom-home-intro p {
        font-size: 23px;
    }

    .educom-story-callout {
        margin-left: 12px;
        margin-right: 12px;
    }

    .educom-post-image,
    .educom-service-image {
        height: 200px;
    }
}
