@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-grad: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    --secondary-grad: linear-gradient(135deg, #14bdee 0%, #0056b3 100%);
    --accent-cyan: #00b4db;
    --text-main: #0f172a;
    --text-sub: #475569;
    --bg-neutral: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 40px -12px rgba(0, 180, 219, 0.25);
}

/* Apply Modern Typography Globally to Content Page */
.home, .EducationCatagories, .courses, .counter, .team {
    font-family: 'Outfit', sans-serif !important;
}

/* ===== 1. Hero / Slider Section ===== */
.home {
    height: 700px !important;
    background: #0f172a !important;
}

.home_slider_container {
    height: 100% !important;
}

.home_slider {
    height: 100% !important;
}

.owl-item {
    height: 100% !important;
}

.home_slider_background {
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.85;
}

/* .home_slider_content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 820px !important;
    z-index: 10 !important;
    text-align: center !important;
} */

/* .home_slider_content .container {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 60px 40px !important;
    border-radius: 28px !important;
    box-shadow: var(--shadow-lg) !important;
    animation: cardFloat 6s ease-in-out infinite !important;
} */

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.home_slider_title {
    margin-bottom: 20px !important;
}

.home_slider_title span, 
.home_slider_title #lblHome, 
.home_slider_title #Label1 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 36px !important;
    color: white !important;
    line-height: 1.3 !important;
    display: block !important;
}

.home_slider_subtitle {
    margin-top: 10px !important;
}

.home_slider_subtitle span, 
.home_slider_subtitle #lbFuture, 
.home_slider_subtitle #Label9 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #0083b0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    display: block !important;
}

/* Slider Controls */
.home_slider_nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #ffffff !important;
    color: #0083b0 !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--shadow-md) !important;
    cursor: pointer !important;
    z-index: 12 !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.home_slider_prev {
    left: 40px !important;
}

.home_slider_next {
    right: 40px !important;
}

.home_slider_nav:hover {
    background: var(--accent-cyan) !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--accent-cyan) !important;
}

.home_slider_nav i {
    font-size: 24px !important;
    line-height: 54px !important;
}

/* Mobile responsive slider */
@media (max-width: 768px) {
    .home {
        height: 550px !important;
    }
    .home_slider_content .container {
        padding: 40px 20px !important;
        border-radius: 20px !important;
    }
    .home_slider_title span, 
    .home_slider_title #lblHome, 
    .home_slider_title #Label1 {
        font-size: 24px !important;
    }
    .home_slider_subtitle span, 
    .home_slider_subtitle #lbFuture, 
    .home_slider_subtitle #Label9 {
        font-size: 14px !important;
    }
    .home_slider_nav {
        width: 40px !important;
        height: 40px !important;
    }
    .home_slider_prev {
        left: 15px !important;
    }
    .home_slider_next {
        right: 15px !important;
    }
}


/* ===== 2. Education Categories Section ===== */
.EducationCatagories {
    background-color: var(--bg-neutral) !important;
    padding: 80px 0 !important;
}

.section_title_container {
    margin-bottom: 50px !important;
}

.section_title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    color: var(--text-main) !important;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-grad);
    border-radius: 2px;
}

.Education_hover {
    color: var(--text-main) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.Education_hover:hover {
    color: var(--accent-cyan) !important;
}

/* Category Cards styling */
.EducationCatagories .course {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.EducationCatagories .course:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(0, 180, 219, 0.2) !important;
}

.EducationCatagories .course_image {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/10 !important;
    background-color: #f1f5f9;
}

.EducationCatagories .course_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.EducationCatagories .course:hover .course_image img {
    transform: scale(1.08) !important;
}

.EducationCatagories .course_body {
    padding: 24px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.EducationCatagories .course_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

.EducationCatagories .course_title a {
    color: var(--text-main) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.EducationCatagories .course_title a:hover {
    color: var(--accent-cyan) !important;
}

/* Category lists */
.EducationCatagories .course_body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    width: 100% !important;
    text-align: left !important;
}

.EducationCatagories .course_body ul li {
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 12px !important;
    font-size: 14.5px !important;
}

.EducationCatagories .course_body ul li::before {
    content: "•";
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 2px;
    top: -3px;
}

.EducationCatagories .course_body ul li a {
    color: var(--text-sub) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.EducationCatagories .course_body ul li a:hover {
    color: var(--accent-cyan) !important;
    transform: translateX(4px) !important;
}

/* Footer & View More */
.EducationCatagories .course_footer {
    padding: 18px 24px !important;
    background: #fafafa !important;
    border-top: 1px solid #f1f5f9 !important;
}

.EducationCatagories .course_footer_content {
    display: flex !important;
    justify-content: flex-end !important;
}

.EducationCatagories .course_price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0083b0 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.EducationCatagories .course_price:hover {
    color: var(--accent-cyan) !important;
}


/* ===== 3. Popular Courses Section ===== */
.courses {
    padding: 0px 0 !important;
}

.courses .course {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100% !important;
    display: block !important;
}

.courses .course:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(0, 180, 219, 0.2) !important;
}

 /* {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/10 !important;
}.courses .course_image */

/* 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}.courses .course_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; */

/* .courses .course:hover .course_image img {
    transform: scale(1.08) !important;
}

.courses .course_body {
    padding: 28px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.courses .course_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-bottom: 25px !important;
} */

/* List details */
.divListWebinar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.divListWebinar ul li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14.5px !important;
}

.divListWebinar ul li:last-child {
    border-bottom: none !important;
}

.divListWebinar ul li a {
    color: var(--text-sub) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.divListWebinar ul li a:hover {
    color: var(--accent-cyan) !important;
    transform: translateX(6px) !important;
}

/* Popular Course Footer */
.courses .course_footer {
    padding: 20px 28px !important;
    background: #fafafa !important;
    border-top: 1px solid #f1f5f9 !important;
}

.courses .course_footer_content {
    display: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}


.courses .course_info {
    display: flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    margin-right: 15px !important;
}

.courses .course_info i {
    color: var(--accent-cyan) !important;
    margin-right: 6px !important;
    font-size: 15px !important;
}

.courses .course_price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #0083b0 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    margin-left: auto !important;
}

.courses .course_price:hover {
    color: var(--accent-cyan) !important;
}


/* ===== 4. Milestones & Registration Form ===== */
.counter {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 0 !important;
    overflow: hidden !important;
}

.counter::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.86) 100%);
    z-index: 1;
}

.counter > .container {
    position: relative !important;
    z-index: 2 !important;
}

.counter_content {
    padding-right: 30px;
}

.register_now {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 36px !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    display: block !important;
}

.counter_text p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #cbd5e1 !important;
    margin-bottom: 45px !important;
}

/* Milestone Cards */
.milestones {
    display: flex !important;
    gap: 20px !important;
}

.milestone {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 24px 15px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    text-align: center !important;
    flex: 1 1 0% !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    min-width: 0 !important;
}

.milestone:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(0, 180, 219, 0.3) !important;
    box-shadow: var(--shadow-hover) !important;
}

.milestone_counter {
    margin-bottom: 6px !important;
}

.milestone_counter span, 
.milestone_counter #lbs, 
.milestone_counter #lbtw, 
.milestone_counter #lbsixty, 
.milestone_counter #lbthirty {
    font-family: 'Outfit', sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: var(--accent-cyan) !important;
    display: block !important;
}

.milestone_text span, 
.milestone_text #lbyears, 
.milestone_text #Label2, 
.milestone_text #Label3, 
.milestone_text #Label4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    text-transform: capitalize !important;
    color: #94a3b8 !important;
    letter-spacing: 1.5px !important;
    display: block !important;
}

/* Glassmorphic Contact Form */
.counter_form {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 28px !important;
    padding: 45px 35px !important;
    box-shadow: var(--shadow-lg) !important;
    box-sizing: border-box !important;
}
.counter_form_title {
    margin-bottom: 30px !important;
}

.counter_form_title span, 
.counter_form_title #lblContactUs {
    font-family: 'Outfit', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    text-align: center !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.counter_input {
    width: 100% !important;
    height: 48px !important;
    background: rgba(241, 245, 249, 0.7) !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    color: var(--text-main) !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.counter_input:focus {
    background: #ffffff !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 219, 0.15) !important;
}

textarea.counter_input {
    height: 95px !important;
    padding: 12px 16px !important;
    resize: none !important;
}

.validation_message {
    min-height: 18px;
    margin-top: 4px;
    margin-bottom: 14px;
    text-align: left;
}

.validation_message span {
    font-size: 12px !important;
    color: #ef4444 !important;
    font-family: 'Outfit', sans-serif !important;
}

.counter_form #imgvfcode {
    border-radius: 10px !important;
    height: 48px !important;
    margin: 8px 0 12px 0 !important;
    display: block !important;
}

.counter_form_button {
    width: 100% !important;
    height: 50px !important;
    background: var(--primary-grad) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 180, 219, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.counter_form_button:hover {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Positioning & Layout Responsiveness Grid */
@media (min-width: 992px) {
    .counter > .container {
        display: grid !important;
        grid-template-columns: 1fr 400px !important;
        gap: 50px !important;
        align-items: center !important;
    }
    .counter_content {
        padding-right: 0 !important;
    }
    .counter_form {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    .counter .row {
        margin: 0 !important;
        width: 100% !important;
    }
    .counter .row > div[class*="col-"] {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }
}

@media (max-width: 991px) {
    .counter {
        padding: 60px 0 !important;
    }
    .counter_form {
        position: relative !important;
        top: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 40px auto 0 auto !important;
        height: auto !important;
    }
}

@media (max-width: 767px) {
    .milestones {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
    }
    .milestone {
        width: 100% !important;
        flex: none !important;
        padding: 20px 10px !important;
    }
    .milestone_counter span, 
    .milestone_counter #lbs, 
    .milestone_counter #lbtw, 
    .milestone_counter #lbsixty, 
    .milestone_counter #lbthirty {
        font-size: 32px !important;
    }
}

@media (max-width: 991px) {
    .counter_content {
        padding-right: 0;
        margin-bottom: 50px;
    }
}


/* ===== 5. Tutors / Content Providers Section ===== */
.team {
    padding: 0px 0 !important;
    background: var(--bg-neutral) !important;
    position: relative !important;
}

.team_background {
    display: none !important; /* Hide old background parallax tags to keep layout clean */
}

.team_row {
    margin-top: 20px !important;
}

.team_col {
    margin-bottom: 30px !important;
}

.team_item {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 20px !important;
    padding: 35px 24px !important;
    box-shadow: var(--shadow-sm) !important;
    text-align: center !important;
    height: 100% !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.team_item:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(0, 180, 219, 0.2) !important;
}

.team_image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 4px solid #f1f5f9 !important;
    margin-bottom: 22px !important;
    transition: border-color 0.3s ease !important;
    box-shadow: var(--shadow-sm) !important;
}

.team_item:hover .team_image {
    border-color: var(--accent-cyan) !important;
}

.team_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.team_body {
    flex-grow: 1 !important;
}

.team_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin-bottom: 8px !important;
}

.team_title a {
    color: var(--text-main) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.team_title a:hover {
    color: var(--accent-cyan) !important;
}

.team_subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    color: var(--text-sub) !important;
    font-weight: 500 !important;
}

/* Section spacing */
.courses {
    padding: 60px 0;
}

/* ===== HORIZONTAL COURSE DESIGN ===== */

.horizontal_course {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: 0.3s ease;
}

.horizontal_course:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Layout */
.course_inner {
    display: flex;
    align-items: center;
    padding: 20px;
}

/* Image Left */
.horizontal_course .course_image {
    width: 140px;
    flex-shrink: 0;
}

.horizontal_course {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9);
}

.horizontal_course .course_image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Content Right */
.horizontal_course .course_content {
    padding-left: 20px;
    flex: 1;
}

/* Title - 1 line */
.horizontal_course .course_title {
    font-size: 22px !important;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description - 1 line */
.horizontal_course .course_desc {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 10px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dynamic trimming */
#divCourses,
#divClasses {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.horizontal_course .course_meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #64748b;
}

.horizontal_course .course_info i {
    margin-right: 5px;
    color: var(--accent-cyan);
}

/* Footer Button */
.horizontal_course .course_footer {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #eee;
}

.course_btn {
    display: inline-block;
    padding: 8px 22px;
    background: var(--primary-grad);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.course_btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}