/*
Theme Name: Eduma Child
Theme URI: https://cibrest.org
Template: eduma
Version: 1.0.0
Description: Child theme for Eduma - CIBREST (ChristoPress Institute of Biblical Research Studies and Theological Education)
Author: BethelWebWorks
Author URI: https://bethelwebworks.com
Text Domain: eduma-child
*/

/* =============================================================
   CIBREST BRAND COLORS
   Primary:    #1a3a5c (Deep Navy Blue)
   Secondary:  #00c853 (Bright Green)
   Accent:     #2e6da4 (Medium Blue)
   Background: #ffffff (White)
   Text:       #333333 (Dark Grey)
   Light BG:   #f5f5f5 (Light Grey)
=============================================================== */

/* -------------------------------------------------------------
   GLOBAL / RESET
--------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.7;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #1a3a5c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00c853; }

/* -------------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #1a3a5c;
    line-height: 1.4;
    font-weight: 700;
}

h1 { font-size: 42px; }
h2 { font-size: 34px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin-bottom: 1.2em; color: #333333; }

a {
    color: #2e6da4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: #00c853; }

/* -------------------------------------------------------------
   HEADER
--------------------------------------------------------------- */
.site-header,
#masthead,
.thim-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    transition: all 0.3s ease;
}

/* Top Bar */
.topbar-wrap,
.thim-topbar {
    background-color: #1a3a5c !important;
    padding: 8px 0;
    font-size: 13px;
    color: #ffffff;
}

.topbar-wrap a,
.thim-topbar a {
    color: #ffffff !important;
    text-decoration: none;
}

.topbar-wrap a:hover,
.thim-topbar a:hover {
    color: #00c853 !important;
}

/* Navigation */
.main-navigation a,
.nav-menu a,
.thim-nav-menu a {
    color: #1a3a5c !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.nav-menu a:hover,
.thim-nav-menu a:hover,
.main-navigation .current-menu-item > a {
    color: #00c853 !important;
}

/* Dropdown Menu */
.main-navigation .sub-menu,
.nav-menu .sub-menu {
    background-color: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    border-top: 3px solid #00c853 !important;
}

.main-navigation .sub-menu a,
.nav-menu .sub-menu a {
    color: #1a3a5c !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.main-navigation .sub-menu a:hover,
.nav-menu .sub-menu a:hover {
    background-color: #f5f5f5 !important;
    color: #00c853 !important;
}

/* -------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.btn,
button,
input[type="submit"],
.thim-button,
.lp-btn,
.learn-press-button,
.elementor-button {
    background-color: #1a3a5c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.thim-button:hover,
.lp-btn:hover,
.learn-press-button:hover,
.elementor-button:hover {
    background-color: #00c853 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3) !important;
}

/* Apply Now Button */
.btn-apply,
.apply-now-btn {
    background-color: #00c853 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
}

.btn-apply:hover,
.apply-now-btn:hover {
    background-color: #1a3a5c !important;
}

/* Outline Button */
.btn-outline {
    background-color: transparent !important;
    color: #1a3a5c !important;
    border: 2px solid #1a3a5c !important;
}

.btn-outline:hover {
    background-color: #1a3a5c !important;
    color: #ffffff !important;
}

/* -------------------------------------------------------------
   PAGE TITLE / BANNER
--------------------------------------------------------------- */
.thim-page-title,
.page-title-wrap,
.site-page-title {
    background-color: #1a3a5c !important;
    padding: 80px 0 !important;
    text-align: center !important;
}

.thim-page-title h1,
.page-title-wrap h1,
.site-page-title h1 {
    color: #ffffff !important;
    font-size: 42px !important;
    text-transform: uppercase !important;
}

/* Breadcrumbs */
.breadcrumbs,
.thim-breadcrumbs {
    color: #ffffff !important;
    font-size: 14px !important;
}

.breadcrumbs a,
.thim-breadcrumbs a {
    color: #00c853 !important;
}

/* -------------------------------------------------------------
   HERO SECTION
--------------------------------------------------------------- */
.hero-section,
.thim-slider {
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* -------------------------------------------------------------
   SECTION STYLES
--------------------------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #1a3a5c;
    font-size: 36px;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00c853;
}

.section-light { background-color: #ffffff; padding: 80px 0; }
.section-grey { background-color: #f5f5f5; padding: 80px 0; }
.section-navy { background-color: #1a3a5c; padding: 80px 0; }
.section-navy h2, .section-navy h3, .section-navy p { color: #ffffff; }

/* -------------------------------------------------------------
   COURSE CARDS (LearnPress)
--------------------------------------------------------------- */
.learnpress .course,
.learnpress-course,
.thim-course-item,
.learn-press-list-courses .course {
    border-radius: 8px !important;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.learnpress .course:hover,
.thim-course-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.learnpress .course .course-title a,
.thim-course-item .course-title a {
    color: #1a3a5c !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.learnpress .course .course-title a:hover,
.thim-course-item .course-title a:hover {
    color: #00c853 !important;
}

.course-price .price {
    color: #00c853 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* -------------------------------------------------------------
   JOURNAL / ARTICLE LISTING
--------------------------------------------------------------- */
.journal-article,
.ijbrs-article {
    background: #ffffff;
    border-left: 4px solid #00c853;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.journal-article:hover,
.ijbrs-article:hover {
    border-left-color: #1a3a5c;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.journal-article h3,
.ijbrs-article h3 {
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 10px;
}

.journal-article .article-meta,
.ijbrs-article .article-meta {
    font-size: 13px;
    color: #666666;
    margin-bottom: 15px;
}

.journal-article .doi-link,
.ijbrs-article .doi-link {
    color: #2e6da4;
    font-size: 13px;
    font-weight: 600;
}

/* -------------------------------------------------------------
   FACULTY PROFILE CARDS
--------------------------------------------------------------- */
.faculty-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-card .faculty-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.faculty-card .faculty-name {
    color: #1a3a5c;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 15px 5px;
}

.faculty-card .faculty-title {
    color: #2e6da4;
    font-size: 14px;
    margin: 0 15px 10px;
}

.faculty-card .faculty-bio {
    color: #666666;
    font-size: 13px;
    margin: 0 15px;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   STATS / COUNTER SECTION
--------------------------------------------------------------- */
.stats-section {
    background-color: #1a3a5c;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #00c853;
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 16px;
    color: #ffffff;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -------------------------------------------------------------
   TESTIMONIALS
--------------------------------------------------------------- */
.testimonial-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-item::before {
    content: '\201C';
    font-size: 80px;
    color: #00c853;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-item p {
    font-style: italic;
    color: #555555;
    font-size: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: #1a3a5c;
    margin-top: 15px;
}

/* -------------------------------------------------------------
   FORMS
--------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    color: #333333 !important;
    width: 100% !important;
    transition: border-color 0.3s ease !important;
    background-color: #ffffff !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #1a3a5c !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1) !important;
}

/* -------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.site-footer,
#colophon,
.thim-footer {
    background-color: #1a3a5c !important;
    color: #ffffff !important;
}

.site-footer h3,
.site-footer h4,
.thim-footer h3,
.thim-footer h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 2px solid #00c853 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

.site-footer a,
.thim-footer a {
    color: #b0bec5 !important;
    transition: color 0.3s ease !important;
}

.site-footer a:hover,
.thim-footer a:hover {
    color: #00c853 !important;
}

.site-footer p,
.thim-footer p {
    color: #b0bec5 !important;
    font-size: 14px !important;
}

/* Footer Bottom Bar */
.footer-bottom,
.site-info {
    background-color: #0f2338 !important;
    padding: 15px 0 !important;
    font-size: 13px !important;
    color: #b0bec5 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.footer-bottom a,
.site-info a {
    color: #00c853 !important;
}

/* -------------------------------------------------------------
   LOGIN PAGE
--------------------------------------------------------------- */
body.login {
    background-color: #f5f5f5 !important;
}

body.login #login {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    padding: 40px !important;
}

body.login h1 a {
    background-image: none !important;
    font-family: 'Merriweather', serif !important;
    color: #1a3a5c !important;
    font-size: 20px !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
}

body.login .button-primary {
    background-color: #1a3a5c !important;
    border-color: #1a3a5c !important;
}

/* -------------------------------------------------------------
   STUDENT PORTAL
--------------------------------------------------------------- */
.student-portal-wrap {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.lp-dashboard,
.learn-press-profile {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    padding: 30px;
}

/* -------------------------------------------------------------
   PAGE SPECIFIC
--------------------------------------------------------------- */

/* About Page */
.about-mission-vision {
    background: linear-gradient(135deg, #1a3a5c 0%, #2e6da4 100%);
    padding: 60px;
    border-radius: 8px;
    color: #ffffff;
}

/* Programmes Page */
.programme-card {
    background: #ffffff;
    border-radius: 8px;
    border-top: 4px solid #1a3a5c;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.programme-card:hover {
    border-top-color: #00c853;
    transform: translateY(-3px);
}

.programme-card h3 {
    color: #1a3a5c;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Research Page */
.research-area-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    border-left: 5px solid #2e6da4;
}

/* Contact Page */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #333333;
}

.contact-info-item .icon {
    color: #00c853;
    font-size: 20px;
    margin-right: 15px;
    min-width: 25px;
}

/* -------------------------------------------------------------
   AFFILIATIONS / BADGES
--------------------------------------------------------------- */
.affiliation-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

/* -------------------------------------------------------------
   UTILITY CLASSES
--------------------------------------------------------------- */
.text-navy { color: #1a3a5c !important; }
.text-green { color: #00c853 !important; }
.text-blue { color: #2e6da4 !important; }
.text-white { color: #ffffff !important; }
.bg-navy { background-color: #1a3a5c !important; }
.bg-green { background-color: #00c853 !important; }
.bg-light { background-color: #f5f5f5 !important; }
.border-green { border-color: #00c853 !important; }
.border-navy { border-color: #1a3a5c !important; }

/* -------------------------------------------------------------
   RESPONSIVE / MOBILE
--------------------------------------------------------------- */
@media (max-width: 768px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .hero-section h1 { font-size: 32px; }
    .hero-section p { font-size: 15px; }

    .section-light,
    .section-grey,
    .section-navy { padding: 50px 0; }

    .thim-page-title { padding: 50px 0 !important; }
    .thim-page-title h1 { font-size: 28px !important; }

    .stat-item .stat-number { font-size: 36px; }

    .topbar-wrap .contact-info { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }

    .btn, button, input[type="submit"] {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}
