/*
Theme Name: Mentor
Theme URI: http://themeforest.net/item/mentor
Author: ThemeForest
Author URI: http://themeforest.net
Description: Mentor - Education, Courses & Events WordPress Theme
Version: 4.8.21
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mentor
*/

/* ============================================================
   Reset & Base
   ============================================================ */
*, *:before, *:after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; line-height: 1.7; color: #555; background: #fff; }
a { color: #e8233a; text-decoration: none; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
a:hover { color: #c01228; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 20px; padding-left: 20px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', Arial, sans-serif; color: #333; font-weight: 700; line-height: 1.3; margin: 0 0 15px; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
p { margin: 0 0 20px; }

/* ============================================================
   Layout
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { margin: 0 -15px; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.col { padding: 0 15px; }
.site-header { position: relative; z-index: 100; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.site-footer { background: #222; color: #aaa; padding: 60px 0 0; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #fff; }
.footer-bottom { background: #111; padding: 20px 0; margin-top: 40px; font-size: 13px; }

/* ============================================================
   Navigation
   ============================================================ */
.main-navigation { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: -webkit-flex; display: flex; }
.main-navigation ul li { position: relative; }
.main-navigation ul li > a { display: block; padding: 25px 15px; color: #333; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.main-navigation ul li > a:hover, .main-navigation ul li.current-menu-item > a { color: #e8233a; }
.main-navigation ul li ul { position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 5px 20px rgba(0,0,0,0.12); border-top: 2px solid #e8233a; display: none; z-index: 999; }
.main-navigation ul li:hover > ul { display: block; }
.main-navigation ul li ul li { display: block; }
.main-navigation ul li ul li > a { padding: 10px 20px; color: #555; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.main-navigation ul li ul li > a:hover { color: #e8233a; background: #f9f9f9; }

/* ============================================================
   Hero / Banner
   ============================================================ */
.hero-section { padding: 120px 0; background-size: cover; background-position: center; text-align: center; color: #fff; }
.hero-section h1 { color: #fff; font-size: 48px; margin-bottom: 20px; }
.hero-section p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* ============================================================
   Buttons
   ============================================================ */
.btn { display: inline-block; padding: 12px 30px; border-radius: 3px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; border: 2px solid transparent; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
.btn-primary { background: #e8233a; color: #fff; border-color: #e8233a; }
.btn-primary:hover { background: #c01228; border-color: #c01228; color: #fff; }
.btn-secondary { background: transparent; color: #e8233a; border-color: #e8233a; }
.btn-secondary:hover { background: #e8233a; color: #fff; }
.btn-white { background: #fff; color: #333; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 12px; }

/* ============================================================
   Courses
   ============================================================ */
.course-card { background: #fff; border-radius: 5px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); overflow: hidden; -webkit-transition: box-shadow 0.3s ease; transition: box-shadow 0.3s ease; margin-bottom: 30px; }
.course-card:hover { box-shadow: 0 5px 30px rgba(0,0,0,0.15); }
.course-card-thumb { position: relative; overflow: hidden; }
.course-card-thumb img { width: 100%; height: 200px; object-fit: cover; -webkit-transition: transform 0.4s ease; transition: transform 0.4s ease; }
.course-card:hover .course-card-thumb img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.course-card-body { padding: 20px; }
.course-card-body h3 { font-size: 17px; margin-bottom: 10px; }
.course-card-body h3 a { color: #333; }
.course-card-body h3 a:hover { color: #e8233a; }
.course-meta { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; font-size: 13px; color: #999; margin-bottom: 10px; }
.course-price { font-size: 20px; font-weight: 700; color: #e8233a; }
.course-category { display: inline-block; padding: 3px 10px; background: #e8233a; color: #fff; border-radius: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

/* ============================================================
   Section Styles
   ============================================================ */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 34px; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2:after { content: ''; display: block; width: 60px; height: 3px; background: #e8233a; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #888; max-width: 600px; margin: 0 auto; }
.bg-light { background: #f8f9fa; }
.bg-dark { background: #222; color: #ccc; }

/* ============================================================
   Sidebar & Widgets
   ============================================================ */
.sidebar .widget { margin-bottom: 35px; padding: 25px; background: #f9f9f9; border-radius: 5px; }
.sidebar .widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e8233a; }
.sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar .widget ul li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.sidebar .widget ul li:last-child { border-bottom: none; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination { display: -webkit-flex; display: flex; list-style: none; padding: 0; margin: 30px 0; -webkit-justify-content: center; justify-content: center; }
.pagination li { margin: 0 3px; }
.pagination li a, .pagination li span { display: block; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 3px; border: 1px solid #ddd; color: #555; font-size: 14px; }
.pagination li a:hover, .pagination li.active span { background: #e8233a; color: #fff; border-color: #e8233a; }

/* ============================================================
   Forms
   ============================================================ */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], textarea, select { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; font-family: inherit; color: #555; -webkit-transition: border-color 0.3s ease; transition: border-color 0.3s ease; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus { outline: none; border-color: #e8233a; }
textarea { resize: vertical; min-height: 120px; }
label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: #444; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .main-navigation ul { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero-section { padding: 80px 0; }
    .hero-section h1 { font-size: 32px; }
}
@media (max-width: 767px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 24px; }
}
