/*!
Theme Name: Ulwazi Plus
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ulwazi-plus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Ulwazi Plus is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Global Styles */
@font-face {
    font-family: 'Futura PT';
    src: url('fonts/Futura PT Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('fonts/Futura PT Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #5271FF;
    --secondary-color: #FF7452;
    --accent-color: #34D399;
    --dark-color: #222;
    --light-color: #f4f7fc;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e1e5ee;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura PT', 'Futura Std', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura PT', 'Futura Std', sans-serif;
    font-weight: 700;
}

input, textarea, button, checkbox, radio {
	font-family: 'Futura PT', 'Futura Std', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #4060eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #f56341;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    flex-grow: 1;
/*     margin: 0 2rem; */
    text-align: center;
}

.nav-menu .logo a img {
	display: none;
}
.nav-menu ul {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0 30px;
}

.nav-menu a {
    color: #042D73;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu .active a {
	font-weight: bold;
}

.nav-menu a:hover {
    color: #042D73;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.loginlmsmobile {
	display: none;
}

.cta-button {
	font-size: 15px;
    background: #85714D;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #042D73;
	box-shadow: 0px 4px 4px 0px #00000040;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #042D73;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #042D73 0%, #0283CA 100%);
    padding: 120px 0px 0; /* Removed bottom padding to accommodate the wave */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero .hero-content {
    max-width: 550px;
    color: #fff;
}

.hero .hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .hero-content h1 span {
    font-weight: 100;
}

.hero .hero-content p.hero-content-p1 {
    font-size: 22px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 500;
}

.hero .hero-content p.hero-content-p2 {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    text-align: justify;
    font-weight: 500;
}

.hero .hero-content .cta-button {
    background: #fff;
    color: #042D73;
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 30px;
    font-weight: 500;
}

.hero .hero-content .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.hero .hero-image {
    position: relative;
    width: 500px;
    height: auto;
    margin-left: 50px;
}

.hero .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
	position: absolute;
    bottom: -44vh;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 65px; /* Height for the triangle on large screens */
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 30px 0;
    }
	.loginlmsmobile {
	display: inherit;
}
	.cta-button-mobile {
		display: inherit !important;
		color: #fff !important;
	}
	.cta-button-mobile:hover {
		background: #85714D !important;
	}
	.hero .hero-image img {
		position: relative !important;
		bottom: 0 !important;
	}
    
    .hero-wave svg {
        height: 70px; /* Adjusted height for the triangle on medium screens */
    }
	.nav-menu .logo a img {
	display: inherit;
}
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 0;
    }
	
	.courses .course-card {
	    width: 250px!important;
	}
	
	.courses .course-image {
    	height: 200px!important;
	}
	
	.courses .course-content {
		padding: 12px 0px!important;
		position: relative;
		min-height: 250px;
	}
	
	.courses .course-meta {
		display: flex;
		justify-content: space-between;
		margin: 0!important;
		padding: 0px!important;
		border-bottom: none;
		flex-direction: column!important;
		position: absolute;
		left: 0;
		bottom: 0;
	}
	
	.courses .student-count {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    padding: 8px 8px!important;
}
	
	.courses .lesson-count {
    display: flex;
    align-items: center;
    /* background-color: #f8f8f8; */
    padding: 0 8px!important;
}
    
    .hero-wave svg {
        height: 50px; /* Adjusted height for the triangle on small screens */
    }
}

@media (max-width: 576px) {
    .hero-wave svg {
        height: 30px; /* Adjusted height for the triangle on very small screens */
    }
}

/* Counters Section */
.counters-header {
    padding: 30px 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.counters-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2F327D;
    margin-bottom: 30px;
}

.counters {
    padding: 60px;
    background: linear-gradient(135deg, #0283CA 0%, #042D73 100%);
    position: relative;
    z-index: 1;
    color: #fff;
    overflow: hidden;
}

.counters::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('images/counter-background.svg');
    background-size: 50% auto;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: -1;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.9; }
}

.counters .counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.counters .counter-item {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counters .counter-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.counters .counter-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.counters .counter-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counters .counter-plus {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: inline-block;
    margin-left: -4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counters .counter-label {
    font-size: 28px;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.counters .counter-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    max-width: 220px;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .counters .counter-circle {
        width: 240px;
        height: 240px;
        padding: 25px;
    }
    
    .counters .counter-description {
        max-width: 200px;
    }
    
    .counters .counter-number, .counters .counter-plus {
        font-size: 38px;
    }
    
    .counters .counter-label {
        font-size: 22px;
    }
    
    .counters::before {
        background-size: 60% auto;
    }
}

@media (max-width: 992px) {
    .counters .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .counters .counter-circle {
        width: 260px;
        height: 260px;
        padding: 30px;
    }
    
    .counters .counter-description {
        max-width: 220px;
    }
    
    .counters::before {
        background-size: 80% auto;
        background-position: center right;
    }
}

@media (max-width: 768px) {
    .counters {
        padding: 60px 20px;
    }
    
    .counters-header h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .counters .counter-circle {
        width: 240px;
        height: 240px;
        padding: 25px;
    }
    
    .counters .counter-description {
        max-width: 200px;
    }
    
    .counters .counter-number, .counters .counter-plus {
        font-size: 36px;
    }
    
    .counters .counter-label {
        font-size: 20px;
    }
    
    .counters::before {
        opacity: 0.4;
        background-size: 100% auto;
    }
}

@media (max-width: 576px) {
    .counters .counters-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .counters-header h2 {
        font-size: 28px;
    }
    
    .counters .counter-circle {
        width: 300px;
        height: 300px;
        padding: 35px;
    }
    
    .counters .counter-description {
        max-width: 260px;
    }
    
    .counters .counter-number, .counters .counter-plus {
        font-size: 38px;
    }
    
    .counters .counter-label {
        font-size: 22px;
    }
}

/* Features Section */
.features {
    padding: 80px 0 50px;
    background: #fff;
}

.features h2 {
    text-align: center;
    color: #2F327D;
    font-size: 36px;
    margin-bottom: 100px;
    font-weight: 700;
}

.features .features-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features .features-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.features .features-row-center {
    justify-content: center;
}

.features .features-row-center .feature-card {
    flex: 0 0 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}

.features .feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid #f0f0f0;
    flex: 1;
    margin-bottom: 50px;
}

.features .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.features .feature-icon {
    position: absolute;
    top: -45px;
}

.features .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0px 0px 12px rgb(0, 0, 0, 0.3);
}

.features .icon-circle img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes the SVG white */
    transition: transform 0.3s ease;
}

.features .feature-card:hover .icon-circle img {
    transform: scale(1.1);
}

.features .icon-circle.blue { background: #2F327D; }
.features .icon-circle.brown { background: #85714D; }
.features .icon-circle.teal { background: #23BDEE; }
.features .icon-circle.pink { background: #D8587E; }
.features .icon-circle.orange { background: #F88C3D; }
.features .icon-circle.purple { background: #5B72EE; }
.features .icon-circle.green { background: #21C23C; }
.features .icon-circle.red { background: #EE5555; }

.features .feature-card h3 {
    color: #2F327D;
    font-size: 22px;
    margin: 20px auto;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.features .feature-card p {
    color: #696984;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 1200px) {
    .features .features-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .features .features-row {
        flex-wrap: wrap;
    }
    
    .features .feature-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .features .features-row-center .feature-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 20px;
    }
    
    .features h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .features .feature-card, 
    .features .features-row-center .feature-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .icon-circle img {
        width: 32px;
        height: 32px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 120px 60px;
    background: #fff;
}

.course-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    max-width: 1280px;
    margin: 0 auto 120px;
}

.course-content {
    flex: 1;
}

.course-content h3 {
    color: #2F327D;
    font-size: 24px;
    margin-bottom: 10px;
}

.course-content h4 {
    color: #854D3D;
    font-size: 24px;
    margin-bottom: 30px;
}

.course-content ul {
    list-style: none;
}

.course-content li {
    color: #696984;
    font-size: 16px;
    margin-bottom: 15px;
}

.course-image {
    flex: 1;
}

.course-image img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 100px 20px 40px;
        text-align: center;
    }

    .hero .hero-content {
        max-width: 100%;
    }

    .hero .hero-image {
        position: relative;
        width: 100%;
        height: 275px;
        margin-top: 40px;
        transform: none;
        top: 0;
    }

    .course-section {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero .hero-content h1 {
        font-size: 36px;
    }

    .hero .hero-content p {
        font-size: 16px;
    }
}

/* Courses Section */
.courses {
    padding: 40px 0 0;
    background-color: #f9f9f9;
    overflow: hidden;
    width: 100%;
}

.courses .container {
    max-width: 100%;
    padding: 0;
}

.courses .section-header {
    text-align: center;
    padding: 0 20px;
	margin-bottom: 0;
}

.courses .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2F327D;
    text-align: center;
/*     margin-bottom: 50px; */
}

.courses .courses-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.courses .filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background-color: #f5f5f5;
    border: none;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.courses .filter-btn.active, 
.courses .filter-btn:hover {
    background-color: #2F327D;
    color: white;
}

/* Courses Carousel */
.courses .courses-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 20px 0;
/*     margin-bottom: 50px; */
}

.courses .courses-slider {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
    width: max-content;
    padding-right: 50px; /* Add padding to ensure last card is visible */
}

/* Add styles for the active card */
.courses .course-card.active {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Adjust opacity for non-active cards */
.courses .course-card {
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.courses .course-card.active,
.courses .course-card:hover {
    opacity: 1;
}

.courses .course-card {
    flex: 0 0 auto;
    width: 475px;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-right: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.courses .course-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.courses .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
/* 	pointer-events: none; */
}

.courses .course-card:hover .course-image img {
    transform: scale(1.1);
}

.courses .course-content {
    padding: 40px;
}

.courses .course-title {
    font-size: 20px;
    font-weight: 700;
    color: #2F327D;
    margin-bottom: 5px;
    line-height: 1.3;
    margin-left: 15px;
}

.courses .course-subtitle {
    font-size: 14px;
    color: #85714D;
    margin-bottom: 20px;
    margin-left: 15px;
}

.courses .course-meta {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 30px;
    padding: 0px;
    border-bottom: none;
}

.courses .meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #666;
    gap: 0px;
}

.courses .meta-item img {
    margin-right: 8px;
}

.courses .meta-item:first-child img {
    margin-right: 0px;
}

.courses .meta-item span {
    font-size: 16px;
    color: #444;
    font-weight: 500;
}

.courses .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin-top: 20px;
}

.courses .lesson-count {
    display: flex;
    align-items: center;
/*     background-color: #f8f8f8; */
    padding: 8px 20px;
/*     border-radius: 30px;
	box-shadow: 4px 3px 10px 0px #00000040; */
}

.courses .lesson-count i {
    color: #2F327D;
    margin-right: 10px;
    font-size: 16px;
    background: #ffffff;
    box-shadow: 0 0px 16px rgb(0 0 0 / 24%);
    width: 28px;
    padding: 6px 0;
    text-align: center;
    border-radius: 16px;
}

.courses .lesson-count span {
    color: #444;
    font-size: 15px;
    font-weight: 500;
}

.courses .student-count {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.courses .student-count span {
    position: relative;
    display: inline-block;
}

.courses .student-count-number {
    color: #2F327D; /* Fallback for browsers that don't support gradients */
    font-weight: 700;
    font-size: 24px;
    background: linear-gradient(62.91deg, #0022D5 9.23%, #00BCD4 80.4%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding-right: 5px;
    display: inline-block; /* Ensures the gradient applies correctly */
}

.courses .carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.courses .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E0E0E0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.courses .indicator.active {
    background-color: #2F327D;
    transform: scale(1.2);
}

.courses .courses-button {
    text-align: center;
}

.courses .courses-button .btn-primary {
    background-color: #2F327D;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
}

/* Carousel Indicators Styling */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d1d1;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicators .indicator.active {
    background-color: #85714D; /* Use your theme's primary color */
    transform: scale(1.2);
}

/* Add grab cursor to the slider */
.courses-slider {
    cursor: grab;
}

/* Responsive styles */
@media (max-width: 767px) {
    .courses-carousel {
        overflow: hidden;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .course-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .course-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 992px) {
    .courses {
        padding: 60px 0;
    }
    
    .courses .section-header h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .courses .courses-filter {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .courses .section-header h2 {
        font-size: 28px;
    }
    
    .courses .courses-filter {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .courses {
        padding: 40px 0 0;
    }
	.courses .courses-carousel {
		padding: 20px 0 0;
	}
    
    .courses .section-header h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Video Section */
.video-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    width: 100%;
    overflow: hidden;
}

.video-section .container {
    max-width: 100%;
    padding: 0;
}

.video-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.video-section .section-header h2 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.video-section .section-header p {
    color: #696984;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 15px auto 0;
}

/* Owl Carousel Styles */
.video-section .section-padding {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.video-section .owl-item .item {
    height: auto;
    padding: 1rem;
    opacity: 0.4;
    transition: .4s ease all;
    margin: 0 20px;
    transform: scale(0.8);
}

.video-section .owl-item .item h4 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.video-section .owl-item.active .item {
    opacity: 1;
    transform: scale(1);
}

.video-section .screenshot_slider .owl-item .item img {
    -webkit-transition: 0.3s;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Navigation Arrows */
.video-section .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-around;
    /* padding: 0 20px; */
    pointer-events: none;
}

.video-section .owl-nav button.owl-prev {
    margin-left: -10%;
}
.video-section .owl-nav button.owl-next {
    margin-right: -10%;
}

.video-section .owl-nav button.owl-prev,
.video-section .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 36px !important;
    color: #2F327D !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

.video-section .owl-nav button.owl-prev:hover,
.video-section .owl-nav button.owl-next:hover {
    background: #2F327D !important;
    color: #fff !important;
}

.video-section .owl-nav button span {
    font-size: 30px;
    line-height: 0;
    position: relative;
    top: -2px;
}

.video-section .owl-controls {
    position: absolute;
    margin-top: 300px;
}

/* Video Card Styling */
.video-section .video-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: auto;
}

.video-section .video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto;
    border: 2px solid #2F327D;
    aspect-ratio: 16/9;
}

.video-section .video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

/* Title Overlay with Gradient */
.video-section .video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    text-align: left;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.video-section .video-title-overlay h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.video-section .video-card:hover .video-title-overlay {
    opacity: 1;
    transform: translateY(0);
}

.video-section .video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-section .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.video-section .video-play-button i {
    color: #85714D;
    font-size: 50px;
    margin-left: 4px; /* Slight offset for play icon */
}

/* Mobile adjustments for title overlay */
@media (max-width: 768px) {
    .video-section .video-title-overlay {
        padding: 30px 12px 12px;
    }
    
    .video-section .video-title-overlay h4 {
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    .video-section .video-title-overlay {
        padding: 25px 10px 10px;
    }
	
	.video-section .owl-nav button.owl-next {
		margin-right: -40% !important;
	}
	
	.video-section .owl-nav button.owl-prev {
		margin-left: -40% !important;
	}
    
    .video-section .video-title-overlay h4 {
        font-size: 14px !important;
    }
}

/* Carousel Indicators */
.video-section .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.video-section .owl-dot {
    width: 12px;
    height: 12px;
    background-color: #D9D9D9 !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: none !important;
}

.video-section .owl-dot.active {
    background-color: #85714D !important;
    width: 12px;
    height: 12px;
}

@media (max-width: 992px) {
    .video-section .section-padding {
        width: 90%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-section .section-header h2 {
        font-size: 28px;
    }
    
    .video-section .section-header p {
        font-size: 16px;
    }
    
    .video-section .section-padding {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-section .video-play-button {
        width: 50px;
        height: 50px;
    }
    
    .video-section .video-play-button i {
        font-size: 20px;
    }
    
    .video-section .section-padding {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer .footer-left {
    flex: 0 0 100%;
    max-width: 100%;
}
.footer .footer-logo img {
    max-width: 350px;
    height: auto;
    margin: auto;
    box-shadow: none;
}

.footer .footer-logo {
    margin-bottom: 20px;
}


.footer .footer-left p {
    color: #666;
    line-height: 1.6;
    /* margin-bottom: 20px; */
    font-size: 14px;
    max-width: 50%;
    text-align: center;
    margin: auto;
}

.footer .footer-right {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    justify-content: space-between;
}

.footer .footer-links h3,
.footer .footer-contact h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    margin-bottom: 12px;
}

.footer .footer-links ul a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer .footer-links ul a:hover {
    color: #0e5e8a;
}

.footer .footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
/*     border-radius: 50%; */
    color: white;
    transition: all 0.3s ease;
    font-size: 18px;
    text-decoration: none;
/*     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); */
}

/* Social media brand colors */
.footer .footer-social a.facebook {
    background-color: #1877F2;
	border-radius: 50%;
}
.footer .footer-social a.email {
    background: #c0c0c0;
    font-size: 24px;
}
.footer .footer-social a.tiktok {
            background: linear-gradient(45deg, #25F4EE, #FE2C55, #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
	    font-size: 30px;

    }
.footer .footer-social a.facebook i {
    font-size: 26px;
    margin-bottom: -8px;
}

.footer .footer-social a.instagram {
    border-radius: 8px;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.footer .footer-social a.instagram i {
    font-size: 30px;
}

/* .footer .footer-social a.twitter {
    background-color: #000000;
} */
.footer .footer-social a.twitter i {
    color: #000000;
    font-size: 35px;
}

/* .footer .footer-social a.youtube {
    background-color: #FF0000;
} */
.footer .footer-social a.youtube i {
    color: #FF0000;
	font-size: 42px;
}

.footer .footer-social a.linkedin {
    background-color: #0077B5;
    border-radius: 4px;
}
.footer .footer-social a.linkedin i {
    font-size: 27px;
}

.footer .footer-social a:hover {
    transform: translateY(-5px);
/*     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
}

@media (max-width: 992px) {
    .footer .footer-content {
        flex-direction: column;
    }
    
    .footer .footer-left,
    .footer .footer-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
	/*.footer .footer-left {
        margin-bottom: 30px;
    } */
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }
    
    .footer .footer-right {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer .footer-logo img {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0;
    }
    
    .footer .footer-left p {
        max-width: 100%;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
		height: 100vh;
        background: #FFF;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
	
	.nav-menu a {
		color: #042D73;
		font-size: 1.5rem;
	}
	.nav-menu a:hover {
		color: #042D73;
	}
	.mobile-menu-btn.active span {
		background: #042D73;
	}

    .nav-menu.active {
        display: block;
    }
    .nav-menu .logo {
        display: none;
    }
    .nav-menu.active .logo {
		display: flex;
    	justify-content: center;
    }

    .nav-menu ul {
                flex-direction: column;
        gap: 1rem;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #042D73;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(50deg) translate(4px, 3px)
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container {
        flex-direction: column;
        padding-bottom: 80px; /* Add padding to ensure content doesn't overlap with wave */
    }
    
    .hero .hero-content {
        text-align: center;
        margin-bottom: 0px;
    }
    
    .hero .hero-image {
        margin-left: 0;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 10px 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero {
        padding: 120px 20px 0;
        min-height: auto; /* Allow hero to size based on content */
    }
    
    .hero .container {
        padding-bottom: 60px; /* Adjust padding for smaller screens */
    }
    
    .hero .hero-content {
        max-width: 100%;
    }
    
    .hero .hero-content h1 {
        font-size: 36px;
    }
    
    .hero .hero-content p {
        font-size: 16px;
    }
    
    .hero .hero-image {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
    }
    
    .course-section {
        flex-direction: column;
    }
    
    .course-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .video-item {
        flex-direction: column;
    }
    
    .video-item-thumbnail {
        flex: auto;
        height: 180px;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-form {
        flex-direction: column;
    }
    
    .footer-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero .container {
        padding-bottom: 40px; /* Further reduce padding for very small screens */
    }
    
    .hero .hero-content h1 {
        font-size: 28px;
    }
	
	.hero .hero-content h1 span {
        font-size: 22px;
    }
    
    .hero .hero-content p {
        font-size: 14px;
    }
    
    .hero .hero-image {
        max-width: 250px;
    }
    
    .courses-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 40px;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
body:not(.page-template-homepage) .header {
/* 	background: rgba(4, 45, 115, 0.95) !important; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
/* Sticky Header */
.header.sticky {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
/*     padding: 10px 0; */
}

.header.sticky .logo img {
    height: 50px;
}

.header.sticky .cta-button {
    padding: 0.6rem 1.2rem;
}

/* Video Grid Section */
.video-grid-section {
    background: linear-gradient(127.26deg, #21409A 0%, #23BDEE 150.49%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.video-grid-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: 35% 35% 30%;
    grid-template-rows: auto auto;
    gap: 25px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.video-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-grid-item.main-video {
    grid-column: 1 / span 2;
    grid-row: 1;
    aspect-ratio: 16/9;
}

.video-grid-item.tall-video {
    grid-column: 3;
    grid-row: 1 / span 2;
    height: 100%;
}

/* Small videos layout */

.video-grid-item.small-video:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
}

.video-grid-item.small-video:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}

.video-grid-item .video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-grid-item .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-grid-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-grid-item .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F5BEA;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-grid-item:hover .video-play-button {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive styles for video grid */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: 35% 35% 30%;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .video-grid-section {
        padding: 60px 0;
    }
    
    .video-grid-section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 20px;
    }
    
    .video-grid-item.main-video {
        grid-column: 1;
        grid-row: 1;
    }
    
    .video-grid-item.tall-video {
        grid-column: 1;
        grid-row: 2;
        aspect-ratio: 16/9;
        height: auto;
    }
    
    .video-grid-item.small-video:nth-of-type(2) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .video-grid-item.small-video:nth-of-type(3) {
        grid-column: 1;
        grid-row: 4;
    }
    
    .video-grid-item .video-play-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .video-grid-section {
        padding: 50px 0;
    }
    
    .video-grid-section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .video-grid-item .video-play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Community Engagement Section */
.community-engagement {
    padding: 60px 0;
    background-color: #f9f9f9;
    position: relative;
}

.community-engagement .container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.engagement-header {
    flex: 0 0 20%;
}

.engagement-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

.engagement-cards {
    flex: 1;
    display: flex;
    gap: 30px;
}

.engagement-card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.engagement-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* .engagement-card:nth-child(1) {
    border-top: 5px solid #0e5e8a;
} */

.engagement-card:nth-child(2) {
/*     border-top: 5px solid #0e5e8a; */
	background: linear-gradient(143.27deg, #002D74 0%, #23BDEE 98.22%);
    color: white;
}

/* .engagement-card:nth-child(3) {
    border-top: 5px solid #0e5e8a;
} */

.engagement-icon {
    width: 100%;
    padding: 20px 20px 0;
}

.engagement-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
	background: linear-gradient(141deg, #002D74 -7.66%, #00BCD4 105.33%);
    padding: 10px;
    border-radius: 8px;
}

.engagement-card:nth-child(2) .engagement-icon img {
    background: white;
}

.engagement-card:nth-child(2) .engagement-content h3,
.engagement-card:nth-child(2) .engagement-content p {
    color: white;
}

.engagement-content {
    padding: 20px;
    flex: 1;
}

.engagement-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.engagement-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

/* Responsive styles for community engagement */
@media (max-width: 1200px) {
    .community-engagement .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .engagement-header {
        text-align: center;
        flex: 0 0 auto;
    }
}

@media (max-width: 992px) {
    .engagement-cards {
        flex-direction: column;
    }
    
    .engagement-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .community-engagement {
        padding: 60px 0;
    }
    
    .engagement-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .community-engagement {
        padding: 40px 0;
    }
    
    .engagement-header h2 br {
		display:none;
	}
    .engagement-header h2 {
        font-size: 30px;
		text-align: center;
    }
	
	.courses .carousel-indicators {
		margin-top: 40px;
	}
    
    .engagement-content h3 {
        font-size: 18px;
    }
    
    .engagement-content p {
        font-size: 14px;
    }
}

/* Course Catalog Section */
.course-catalog {
/*     padding: 80px 0; */
    background-color: #fff;
    color: #2F327D;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.course-catalog .container {
    max-width: 100%;
    padding: 0;
}

.course-catalog .catalog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.course-catalog .catalog-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.course-catalog .catalog-header p {
    font-size: 18px;
    color: #696984;
/*     max-width: 800px; */
/*     margin: 0 auto; */
    text-align: center;
}

.course-catalog .catalog-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.course-catalog .catalog-main-section {
    position: relative;
    overflow: hidden; /* Ensure floated elements are contained */
}

.course-catalog .catalog-main-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2F327D;
    margin-bottom: 20px;
    text-align: left;
/*     padding-left: 90px; */
}

/* Basic course group styling */
.d-flex {
    display: flex;
    align-items: center;
	flex-wrap: wrap;
	padding-top: 15px;
	padding-bottom: 15px;
}
.f-direction-row-reverse {
	flex-direction: row-reverse;
}
.course-catalog .catalog-course-group {
/*     margin-bottom: 80px; */
    position: relative;
    z-index: 2;
    width: 55%;
}

/* Right-aligned content */
.course-catalog .catalog-course-group.right-content {
    float: right;
    clear: right;
}

.course-catalog .catalog-course-group.right-content {
    padding-right: 90px;
}

.course-catalog .catalog-course-group:not(.right-content) {
    padding-left: 90px;
}

/* Default course group (left-aligned) */
.course-catalog .catalog-course-group:not(.right-content) {
    float: left;
    clear: left;
}

.course-catalog .catalog-course-group h4 {
    font-size: 24px;
    font-weight: 600;
    color: #85714D;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.course-catalog .catalog-course-group.last-course-catalog h4 {
    color: #2F327D;
}

.course-catalog .catalog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-catalog .catalog-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #696969;
    line-height: 1.5;
}

.course-catalog .catalog-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #696969;
    font-size: 16px;
    line-height: 1.5;
}

/* Images positioning */
.course-catalog .catalog-image.section-image {
    width: 40%;
/*     margin-bottom: 80px; */
}

.course-catalog .catalog-image.left-image {
    float: left;
    clear: left;
    margin-right: 5%;
}

.course-catalog .catalog-image.right-image {
    float: right;
    clear: right;
    margin-left: 5%;
}

.course-catalog .catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Last course catalog specific styles */
.course-catalog .last-course-catalog {
    margin-bottom: 0;
}

/* Clearfix for proper layout */
.course-catalog .catalog-main-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive styles for course catalog */
@media (max-width: 1200px) {
    .course-catalog .catalog-course-group {
        width: 50%;
    }
    
    .course-catalog .catalog-image.section-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .course-catalog .catalog-course-group,
    .course-catalog .catalog-course-group.right-content,
    .course-catalog .catalog-course-group:not(.right-content) {
        width: 100%;
        float: none;
    }
    
    .course-catalog .catalog-image.section-image,
    .course-catalog .catalog-image.left-image,
    .course-catalog .catalog-image.right-image {
        float: none;
        width: 100%;
        margin: 0 0 40px 0;
    }
}

@media (max-width: 768px) {
	/*.course-catalog {
        padding: 60px 0;
    } */
    
    .course-catalog .catalog-header h2 {
        font-size: 32px;
    }
    
    .course-catalog .catalog-header p {
        font-size: 16px;
    }
    
    .course-catalog .catalog-main-section h3 {
        font-size: 26px;
    }
    
    .course-catalog .catalog-course-group h4 {
        font-size: 28px;
    }
    .course-catalog .catalog-main-section h3,
    .course-catalog .catalog-course-group {
        padding-left: 5%!important;
    }
}

@media (max-width: 576px) {
    .course-catalog .catalog-header h2 {
        font-size: 28px;
    }
    
    .course-catalog .catalog-main-section h3 {
        font-size: 22px;
    }
    
    .course-catalog .catalog-course-group h4 {
        font-size: 24px;
    }
    
    .course-catalog .catalog-list li {
        font-size: 14px;
    }
}

/* Video section active thumbnail style */
.video-section .owl-item.active .video-thumbnail {
    border: 4px solid #2F327D;
}

        .contact-section {
    padding: 100px 0;
}

.contact-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2F327D;
    text-align: center;
    margin-bottom: 60px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    border: 1px solid #e1e5ee;
	padding: 12px;
}

/* Updated contact info styles to match the image */
.contact-info {
    background: url('/images/contact-background.png');
	background-size: cover;
    padding: 40px;
    color: white;
    width: 40%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
	border-radius: 10px;
}

/* .contact-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url('images/contact-bg-circle.svg');
    background-repeat: no-repeat;
    background-position: bottom right;
    width: 250px;
    height: 250px;
    opacity: 0.3;
    z-index: 1;
} */

.contact-info-top {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.contact-info p {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
}

.contact-details {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-detail i {
    font-size: 20px;
    margin-right: 15px;
    min-width: 24px;
    text-align: center;
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
    margin-right: 8px;
}

.contact-detail-content p {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1.6;
    display: inline-block;
}

.contact-detail:first-child .contact-detail-content p {
    display: block;
    margin-top: 5px;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
    position: relative;
    z-index: 2;
	align-items: center;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: white;
	border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.contact-social .facebook {
    background-color: white;
    border-radius: 50%;
}
.contact-social .facebook i {
    font-size: 16px;
    color: #035399;
    margin-bottom: -2px;
}

.contact-social .instagram i {
    font-size: 16px;
	    color: #035399;
}


.contact-social .twitter i {
    font-size: 16px;
	    color: #035399;
}

.contact-social .youtube i {
    font-size: 16px;
	    color: #035399;
}

.contact-social .linkedin {
    background-color: white;
    border-radius: 2px;
	width: 19px;
    height: 19px;
}
.contact-social .linkedin i {
    font-size: 16px;
    color: #035399;
}

.contact-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
    padding: 60px 40px 20px;
    width: 60%;
    background: white;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 45px;
}
.contact-form .form-group.message {
    margin-bottom: 80px;
}

.contact-form label {
    display: block;
    font-size: 14px;
	line-height: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 4px 0;
    border: none;
    border-bottom: 1px solid #000000;
    font-size: 12px;
	line-height: 20px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0283CA;
}

.contact-form textarea {
    resize: none;
    height: 30px;
}

.contact-form .wpcf7-submit {
    background-color: #85714D;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
/*     margin-top: 20px; */
	width: auto;
}

.contact-form .wpcf7-submit:hover {
    background-color: #6c5c3d;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        max-width: 90%;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .contact-info {
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .contact-social {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 120px 0 60px;
    }
    
    .contact-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .contact-container {
        max-width: 95%;
    }
    
    .contact-info {
        padding: 40px 30px 80px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
	.contact-details {
		margin-top: 0;
	}
}

@media (max-width: 576px) {
    .contact-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .contact-info h3 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info {
        padding: 30px 20px 40px;
    }
}
/* FAQ Page Specific Styles */
        .faqs-section {
            padding: 120px 0;
            background-color: #f9f9f9;
            min-height: 100vh;
        }
        
        .faqs-section h2 {
            font-size: 42px;
            font-weight: 700;
            color: #2F327D;
            text-align: center;
            margin-bottom: 60px;
        }
        
        .faqs-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .faqs-search-container {
            position: relative;
            max-width: 100%;
            margin-bottom: 30px;
        }
        
        .faqs-search-container .search-form {
            position: relative;
            width: 100%;
        }
        
        .faqs-search-container .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #6b7280;
        }
        
        .faqs-search-container .faqs-search-box {
            width: 100%;
            padding: 12px 15px 12px 40px;
            border: none;
            border-radius: 10px;
            background-color: #f0f2f5;
            font-size: 14px;
            color: #333;
        }
        
        .faqs-search-container .faqs-search-box::placeholder {
            color: #6b7280;
        }
        
        /* Ensuring compatibility with existing styles */
        .faqs-search-box:focus {
            outline: none;
        }
        
        /* Remove the old search icon styles */
        .faqs-search-icon {
            display: none;
        }
        
        /* Updated Category Tabs Design */
        .faqs-categories {
            display: flex;
            flex-wrap: wrap;
            margin-top: 30px;
            margin-bottom: 40px;
            position: relative;
            gap: 15px;
            justify-content: flex-start;
            padding-bottom: 20px;
            border-bottom: 2px solid #E5E8ED;
        }
        
        .faq-category {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 30px;
/*             background-color: #f1f1f1; */
            color: #666;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .faq-category.active {
                /* background-color: #2F327D; */
    /* color: white; */
    position: relative;
    /* box-shadow: 0 4px 10px rgba(47, 50, 125, 0.2); */
    font-weight: 600;
        }
        
        .faq-category.active::after {
            content: '';
            position: absolute;
            bottom: 0px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 4px;
            background-color: #2F327D;
            border-radius: 2px;
        }
        
        .faqs-list {
            margin-top: 30px;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
            padding-bottom: 20px;
            cursor: pointer;
        }
        
        .faq-question {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            font-size: 16px;
            font-weight: bold;
            color: #333;
            transition: color 0.3s ease;
            position: relative;
            padding-right: 40px;
        }
        
        .faq-number {
            display: inline-block;
            margin-right: 15px;
            color: #333;
            font-weight: 700;
        }
        
        .faq-toggle {
            position: absolute;
            right: 0;
            top: 5px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: #fff;
            border: 2px solid #2F327D;
            color: #2F327D;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .faq-item.active .faq-toggle {
            background-color: #2F327D;
            color: white;
            transform: rotate(180deg);
        }
        
        .faq-answer {
            display: none;
            padding: 20px 0 0 45px;
            color: #666;
            line-height: 1.6;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .faq-item.active .faq-answer {
            display: block;
        }
        
        .faq-item.active .faq-question {
            color: #2F327D;
        }
        
        .no-results {
            text-align: center;
            padding: 30px;
            font-size: 18px;
            color: #666;
            display: none;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .faqs-container {
                max-width: 90%;
            }
        }
        
        @media (max-width: 768px) {
            .faqs-section {
                padding: 120px 0;
            }
            
            .faqs-section h2 {
                font-size: 32px;
                margin-bottom: 40px;
            }
            
            .faqs-categories {
                overflow-x: auto;
                white-space: nowrap;
                padding-bottom: 20px;
                justify-content: flex-start;
                gap: 10px;
                flex-wrap: nowrap;
            }
            
            .faq-category {
                padding: 8px 15px;
                font-size: 14px;
            }
            
            .faq-question {
                font-size: 18px;
            }
        }
        
        @media (max-width: 576px) {
            .faqs-section h2 {
                font-size: 28px;
                margin-bottom: 30px;
            }
            
            .faqs-search-box {
                padding: 12px 20px;
                font-size: 16px;
            }
            
            .faqs-search-icon {
                right: 20px;
            }
            
            .faq-question {
                font-size: 16px;
            }
            
            .faq-answer {
                padding: 15px 0 0 35px;
                font-size: 14px;
            }
        }

 /* Base styles */
    .community-forum-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 100px 20px;
        color: #2F327D;
    }

    .forum-title {
        font-size: 28px;
        font-weight: 600;
        margin: 0 0 30px 0;
        color: #384953;
    }

    /* Search styles */
    .search-container {
        position: relative;
        max-width: 300px;
        margin-bottom: 30px;
    }

    .search-input {
        width: 100%;
        padding: 12px 15px 12px 40px;
        border: none;
        border-radius: 10px;
        background-color: #f0f2f5;
        font-size: 14px;
        color: #333;
    }

    .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
    }

    /* Terms list styles */
    .terms-list-header {
        display: grid;
        grid-template-columns: 1fr 100px 1fr;
        padding: 15px 0;
        border-bottom: 1px solid #e5e7eb;
        font-weight: 500;
		color: #8F97A6;
    	font-size: 18px;
    }

    .terms-list {
        margin-top: 10px;
    }

    .term-item {
        display: grid;
        grid-template-columns: 1fr 100px 1fr;
        padding: 25px 0;
        border-bottom: 1px solid #e5e7eb;
        align-items: center;
    }

    .term-title a {
        font-size: 16px;
        font-weight: 600;
        color: #161439;
        text-decoration: none;
    }

    .term-title a:hover {
/*         text-decoration: underline; */
    }

    .term-post-count {
        font-size: 14px;
        font-weight: 500;
        color: #002D74;
        text-align: left;
    }

    .last-post-title {
        display: block;
        font-size: 16px;
        font-weight: 500;
        color: #2962ff;
        text-decoration: none;
        margin-bottom: 5px;
    }

    .last-post-meta {
        font-size: 14px;
        color: #6b7280;
    }
	
	span.last-post-author span {
		color: #043673;
	}
	span.last-post-author {
		font-size: 14px;
		color: #616161;
		display: block;
	}
	
	span.last-post-date {
		font-size: 14px;
		color: #8F97A6;
	}

    /* Posts list view styles */
    .term-posts-header {
        display: flex;
        align-items: left;
        margin-bottom: 30px;
		flex-direction: column;
    }

    .term-posts-header h1 {
        font-size: 26px;
        font-weight: 600;
        margin-top: 24px;
    }

    .back-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #384953;
        color: #384953;
        text-decoration: none;
    }

    .back-button:hover {
        background-color: #f8f9fa;
    }

    .posts-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
	
	.posts-controls-s-s {
		display: flex;
    	align-items: baseline;
	}
	
	.posts-controls-s-s .sort-container {
    margin-left: 24px;
}
	
	.posts-controls-s-s .sort-date.active {
    background: transparent;
    color: #384953;
    border-color: #384953;
}

    .sort-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sort-container span {
        color: #6b7280;
    }

    .sort-date, .sort-reviews {
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid #e5e7eb;
        background: #fff;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
        color: #333;
    }

    .sort-date.active, .sort-reviews.active {
/*         background: #8a765e; */
        color: #8a765e;
        border-color: #8a765e;
    }

    .create-post-button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 20px;
        background-color: #85714D;
        color: white;
        font-size: 14px;
        font-weight: 500;
        border: none;
        cursor: pointer;
    }

    /* Posts list header */
    .posts-list-header {
        display: grid;
        grid-template-columns: 1fr 100px 100px 120px 120px;
        padding: 15px 0;
        border-bottom: 1px solid #e5e7eb;
        font-weight: 500;
        color: #6b7280;
    }
    
    /* For admin users who can see the status column */
    body.admin-bar .posts-list-header {
        grid-template-columns: 1fr 100px 100px 120px 120px;
    }
    
    /* For regular users who don't see the status column */
    body:not(.admin-bar) .posts-list-header {
        grid-template-columns: 1fr 100px 100px 120px;
    }

    /* Post item in list */
    .post-item {
        display: grid;
        grid-template-columns: 50px 1fr 100px 100px 120px 120px;
        padding: 25px 0;
        border-bottom: 1px solid #e5e7eb;
        align-items: center;
    }
    
    /* Empty status column for non-authors/non-admins */
    .post-status:empty {
        display: none;
    }

    .post-icon {
        display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: #ECF0F4;
    padding: 8px;
    border-radius: 50%;
    margin-right: 10px;
    }

    .post-content {
        background: #fff;
        border-radius: 8px;
        padding: 30px;
        margin-bottom: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .post-title a {
        font-size: 16px;
        font-weight: 500;
        color: #384953;
        text-decoration: none;
    }

    .post-title a:hover {
/*         text-decoration: underline; */
    }

    .post-meta {
        font-size: 14px;
        color: #6b7280;
        margin-top: 5px;
    }

    .post-answers, .post-views {
        font-size: 16px;
        font-weight: 500;
        text-align: left;
    }

    /* Single post view styles */
    .post-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .post-content h1 {
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 15px 0;
    }

    .post-author, .post-date {
        font-size: 14px;
        color: #6b7280;
    }
	
	span.post-author span {
		color: #043673;
	}
    
    .post-text {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .answer-button-container, .report-button-container {
        display: flex;
        justify-content: flex-end;
        margin-top: 15px;
    }
	.report-button-container {
		display: block;
    position: absolute;
    right: 15px;
    bottom: 15px;
	}

    .answer-button, .report-button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .answer-button {
        background-color: #8a765e;
        color: white;
        border: none;
    }

    .report-button {
        background-color: transparent;
        color: #6b7280;
        border: 1px solid #e5e7eb;
    }

    .post-evaluation {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
    }

    .post-vote-button {
            display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 2px;
    border-radius: 20px;
    background-color: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    }
	
	.post-vote-button svg {
    width: 16px;
}

    .post-vote-button:hover {
/*         background-color: #f0f2f5; */
    }

    /* Answers section */
    .answers-section {
        margin-top: 40px;
    }

    .answers-section h2 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 20px 0;
    }

    .sort-options {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .answer-item {
        display: grid;
        grid-template-columns: 1fr 250px;
        gap: 25px;
        background-color: #fff;
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 25px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
		position: relative;
    }

    .answer-content-section {
        display: flex;
        flex-direction: column;
    }

    .answer-header {
        margin-bottom: 20px;
    }

    .answer-label {
        font-weight: 600;
        color: #333;
        margin-right: 10px;
        display: block;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .answer-text {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .answer-meta {
        font-size: 14px;
        color: #6b7280;
        margin-bottom: 15px;
/*         border-top: 1px solid #e5e7eb; */
    }

    .answer-user-info {
        flex: 0 0 140px; /* Fixed width on the right side */
        display: flex;
        flex-direction: column;
        align-items: left;
        text-align: left;
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 12px;
    }
    
    .post-author-info {
        display: flex;
        flex-direction: column;
        padding: 12px;
        background-color: #f2f4f7;
        border-radius: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 300px;
    }
    
    .post-author-info-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .user-avatar {
        position: relative;
        margin-right: 15px;
    }
    
    .user-avatar img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #ddd;
    }
    
    .user-name {
        font-size: 16px;
        font-weight: 600;
        color: #0a2463;
    }
    
    .user-posts, 
    .user-registration,
    .user-contact {
        margin-bottom: 15px;
        width: 100%;
        font-size: 18px;
        color: #666;
    }
    
    .user-posts {
        font-size: 22px;
    }
    
    .user-posts span {
        color: #0a2463;
        font-weight: 600;
    }
    
    .user-registration, .user-contact {
        font-size: 18px;
        color: #667085;
    }
    
    .user-contact a {
        color: #667085;
        text-decoration: none;
    }
    
    .user-contact a:hover {
        text-decoration: underline;
    }

    .user-status {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid #fff;
    }

    .online {
        background-color: #10b981;
    }

    .offline {
        background-color: #6b7280;
    }

    .user-status-text, .user-posts, .user-registration, .user-contact {
        font-size: 14px;
        color: #6b7280;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .user-status-text::before {
        content: "•";
        display: inline-block;
        margin-right: 8px;
        color: #10b981;
    }

    .offline .user-status-text::before {
        color: #6b7280;
    }

    .reply-button-container {
/*         margin-top: auto; */
        margin-bottom: 15px;
    }

    .reply-button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 20px;
        background-color: transparent;
        color: #6b7280;
        border: 1px solid #e5e7eb;
        font-size: 14px;
        cursor: pointer;
    }

    /* Comment form */
    .add-comment-section {
        margin-top: 40px;
    }

    .add-comment-section h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    textarea {
        width: 100%;
        min-height: 150px;
        padding: 15px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 20px;
        resize: vertical;
    }

    .submit-comment {
        padding: 10px 20px;
        border-radius: 20px;
        background-color: #8a765e;
        color: white;
        font-size: 14px;
        font-weight: 500;
        border: none;
        cursor: pointer;
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-active {
        display: block;
    }

    .modal-container {
        position: relative;
        max-width: 600px;
        margin: 80px auto;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .modal-header {
        padding: 20px 25px;
/*         border-bottom: 1px solid #e5e7eb; */
    }

    .modal-title {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        border: none;
        background: none;
        cursor: pointer;
        color: #6b7280;
    }

    .modal-body {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        margin-bottom: 10px;
        font-weight: 500;
        color: #333;
    }

    .form-control {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
    }

    select.form-control {
        background-color: #fff;
        height: 48px;
    }

    .modal-footer {
        padding: 20px 25px;
        border-top: 1px solid #e5e7eb;
        text-align: right;
    }

    .form-submit {
        padding: 10px 20px;
        border-radius: 20px;
        background-color: #8a765e;
        color: white;
        font-size: 14px;
        font-weight: 500;
        border: none;
        cursor: pointer;
    }

    /* Comment quote style */
    .comment-quote {
        background-color: #f8f9fa;
        border-left: 3px solid #8a765e;
        padding: 15px;
        margin-bottom: 20px;
    }

    /* Post vote button states */
    .post-vote-button.voted {
/*         opacity: 0.8;
        background-color: #f0f2f5; */
    }
    
    .post-vote-button.voted svg {
/*         color: #8a765e; */
    }
    
    /* Success message animation */
    .success-message {
        background-color: #f0fdf4;
        border: 1px solid #d1fae5;
        border-radius: 8px;
        padding: 15px;
        margin-top: 15px;
        animation: fadeIn 0.3s ease-in-out;
    }

    .success-message h3 {
        color: #047857;
        margin-top: 0;
        margin-bottom: 5px;
    }

    .success-message p {
        color: #065f46;
        margin: 0;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive styles */
    @media (max-width: 992px) {
        .answer-item {
            grid-template-columns: 1fr;
        }
        
        .answer-user-info {
            margin-top: 20px;
        }
    }

    @media (max-width: 768px) {
		
		.community-forum-container {
			padding: 120px 20px 40px;
		}
		
		.forum-title {
			color: #2F327D;
			text-align: center;
		}
		
		.search-container {
			max-width: 100%;
		}
		
        .terms-list-header, .term-item {
            grid-template-columns: 1fr 80px;
        }
        
        .last-post-column, .term-last-post {
            display: none;
        }
        
        .posts-list-header {
            grid-template-columns: 1fr 70px 70px;
        }

        .post-item {
            grid-template-columns: 40px 1fr 70px 70px;
        }
        
        .post-content {
            padding: 20px;
        }
        
        .post-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
			margin-bottom: 0;
        }
        
        .search-container {
            width: 100%;
            margin-top: 15px;
        }
        
        .modal-container {
            margin: 20px auto;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            width: 100%;
        }

        .posts-controls {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
			margin-bottom: 0;
        }

        .sort-container, .create-post-container {
            width: 100%;
        }

        .create-post-button {
            width: 100%;
            justify-content: center;
        }
    }

    /* Additional styles to match design */
    .term-info {
        padding-right: 15px;
    }

    /* Fix for post items in posts list */
    .post-item .post-content {
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-bottom: 0;
    }

    /* Fix for link colors */
    a {
        color: #2962ff;
    }

    /* Fix for post evaluation in list view */
    .post-item .post-evaluation {
        display: flex;
        justify-content: flex-start;
        margin-top: 0;
    }

    /* Ensure consistent spacing */
    body {
        margin: 0;
        padding: 0;
    }

    /* Add styles for answer evaluation */
    .answer-evaluation {
        display: flex;
        align-items: center;
        gap: 0px;
/*         margin-top: 20px; */
        margin-bottom: 20px;
    }
    
    .comment-vote-button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0px 6px;
        border-radius: 20px;
        background-color: transparent;
        border: 1px solid transparent;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .comment-vote-button:hover {
/*         background-color: #f0f2f5; */
    }
    
    .comment-vote-button.voted {
/*         opacity: 0.8; */
/*         background-color: #f0f2f5; */
    }
    
    .comment-vote-button.voted svg {
/*         color: #8a765e; */
    }

    /* Pagination styles */
    .pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
        gap: 10px;
    }

    .page-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border-radius: 18px;
        background-color: #f8f9fa;
        border: 1px solid #e5e7eb;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s;
    }

    .page-link:hover {
        background-color: #f0f2f5;
    }

    .page-link.current {
        background-color: #8a765e;
        color: white;
        border-color: #8a765e;
    }

    .page-link.prev,
    .page-link.next {
        padding: 0 15px;
    }

    /* Search form styles */
    .search-form {
        display: flex;
        width: 100%;
        position: relative;
    }

    .search-button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #8a765e;
        color: white;
        border: none;
        border-radius: 16px;
        padding: 6px 12px;
        font-size: 13px;
        cursor: pointer;
    }

    .search-input {
/*         padding-right: 70px !important; */
    }

    /* Highlight search results */
    .search-highlight {
        background-color: #ffeb3b;
        padding: 0 2px;
        border-radius: 2px;
    }

    /* No results message */
    .no-results,
    .no-posts,
    .no-terms {
        text-align: center;
        padding: 30px;
        color: #6b7280;
        font-size: 16px;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin: 20px 0;
    }

    /* Authentication modals styles */
    .auth-modal .modal-container {
        max-width: 460px;
    }

    .auth-subtitle {
        text-align: center;
        color: #6b7280;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .auth-input {
        height: 48px;
        border-radius: 4px;
        padding: 10px 15px;
        font-size: 16px;
        border: 1px solid #d1d5db;
        width: 100%;
        margin-bottom: 0px;
    }

    .password-group {
        position: relative;
    }

    .password-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #6b7280;
        cursor: pointer;
        padding: 5px;
        margin-top: -7px;
    }

    .custom-select {
        position: relative;
    }

    .select-arrow {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
        pointer-events: none;
    }

    select.auth-input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 40px;
    }

    .forgot-password {
        color: #2962ff;
        font-size: 14px;
        text-decoration: none;
        display: inline-block;
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .auth-button {
        width: 100%;
        height: 48px;
        font-size: 16px;
        font-weight: 500;
        background-color: #8a765e;
        border-radius: 8px;
        border: none;
        margin-bottom: 15px;
    }

    .text-left {
        text-align: left;
    }

    .social-auth-button {
        display: none;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        background-color: #003e7e;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
    }

    .social-icon {
        display: inline-flex;
        margin-right: 10px;
    }

    .social-icon img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
    }

    .auth-footer {
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
        color: #6b7280;
    }

    .auth-footer a {
        color: #2962ff;
        text-decoration: none;
    }

    .ulwazi-button {
        background-color: #003e7e;
    }

    /* Login required message */
    .login-required-message {
        background-color: #f8f9fa;
        border-left: 4px solid #2962ff;
        padding: 15px;
        margin: 15px 0;
        color: #333;
    }

    /* Post and answer layout changes */
    .post-content.single-page {
        display: grid;
        grid-template-columns: 1fr 260px;
        gap: 25px;
        align-items: start;
    }

    .single-post-content {
        order: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .author-content {
        order: 2;
    }

    .post-author-info {
        width: 100%;
        max-width: 100%;
        margin: 0;
        background-color: #f2f4f7;
        border-radius: 10px;
    }

    .actions-content {
        margin-top: auto;
        align-self: flex-start;
        padding-top: 20px;
    }

    .answer-button-container {
        display: flex;
        align-items: center;
        margin-top: 15px;
    }

    .answer-button {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #85714D;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 8px 16px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .answer-button:hover {
/*         background-color: #0039cb; */
    }

    /* Answer item layout changes */
    .answer-item {
        display: grid;
        grid-template-columns: 1fr 250px;
        gap: 25px;
        align-items: start;
    }

    .answer-content-section {
        order: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
	
	.answers-section-top {
    display: flex;
    justify-content: space-between;
}

    .answer-user-info {
        order: 2;
        flex: none;
        width: 100%;
        margin: 0;
    }

    .answer-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
/*         margin-top: 20px; */
    align-items: flex-start;
    flex-direction: column;    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .post-content,
        .answer-item {
            grid-template-columns: 2fr 1fr !important;
        }
    }

    @media (max-width: 768px) {
        .post-content,
        .answer-item {
            grid-template-columns: 1fr !important;
            gap: 15px;
        }

        .single-post-content,
        .answer-content-section {
            order: 2;
        }

        .author-content,
        .answer-user-info {
            order: 1;
        }

        .answer-user-info,
        .post-author-info {
            padding: 12px;
        }
        
        .answer-actions {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .answer-evaluation, 
        .reply-button-container {
            width: 100%;
        }
		
		.report-button-container {
        display: contents;
        }
        
        .answer-evaluation button,
        .reply-button-container button,
        .report-button-container button {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 576px) {
        .post-author-info-header {
            flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 14px;
        margin-bottom: 0;
        }
        
        .user-avatar {
            margin-right: 0;
            margin-bottom: 15px;
        }
        
        .user-posts, 
        .user-registration,
        .user-contact {
            text-align: center;
        }
    }

    /* Status column styles */
    .status-column {
        text-align: center;
    }

    .post-status {
        text-align: center;
    }

    .status-badge {
        display: inline-block;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
    }

    .status-pending {
        background-color: #FEF3C7;
        color: #B45309;
        border: 1px solid #F59E0B;
    }

    .status-approved {
        background-color: #D1FAE5;
        color: #065F46;
        border: 1px solid #10B981;
    }

    .status-rejected {
        background-color: #FEE2E2;
        color: #B91C1C;
        border: 1px solid #EF4444;
    }

    /* Responsive adjustments for status column */
    @media (max-width: 768px) {
        .community-forum-container .posts-list-header {
            grid-template-columns: 2fr 1fr 1fr;
        }
        
        body.admin-bar .community-forum-container .posts-list-header,
        body:not(.admin-bar) .community-forum-container .posts-list-header {
            grid-template-columns: 2fr 1fr 1fr;
        }
        
        .community-forum-container .evaluation-column,
        .community-forum-container .views-column,
        .community-forum-container .status-column,
        .community-forum-container .answer-column {
            display: none;
        }
        
        .community-forum-container .post-item {
            display: flex;
        flex-direction: column;
        align-items: flex-start;
        }
		
		.post-icon {
			display:none;
		}
		.post-answers::before {
    content: "Total Engagements: ";
}
        
        .community-forum-container .post-views,
        .community-forum-container .post-status {
            display: none;
        }
    }

    .community-forum-container .moderation-notice {
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 8px;
    }

    .community-forum-container .info-message {
        background-color: #E0F2FE;
        border: 1px solid #0EA5E9;
        color: #0C4A6E;
    }

    .community-forum-container .warning-message {
        background-color: #FEF9C3;
        border: 1px solid #FBBF24;
        color: #854D0E;
    }

    /* Login Modal Styles */
    .login-modal-container {
        max-width: 500px;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 0;
        overflow: hidden;
    }

    .login-modal-body {
        padding: 0;
    }

    .login-form-wrapper {
        padding: 40px;
    }

    .login-title {
        font-size: 42px;
        font-weight: 700;
        margin: 0 0 10px;
        color: #000;
        text-align: center;
    }

    .login-subtitle {
        font-size: 18px;
        color: #71717A;
        margin-bottom: 30px;
        text-align: center;
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .auth-input {
        width: 100%;
        height: 50px;
        padding: 12px 16px;
        background-color: #fff;
        border: 1px solid #D4D4D8;
        border-radius: 8px;
        font-size: 16px;
        color: #27272A;
        transition: border-color 0.2s ease;
        margin-bottom: 0px;
    }

    .auth-input:focus {
        border-color: #8E6C37;
        outline: none;
        box-shadow: 0 0 0 3px rgba(142, 108, 55, 0.1);
    }

    .password-group {
        position: relative;
    }

    .password-toggle {
        position: absolute;
        right: 16px;
        top: 65%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .password-toggle:focus {
        outline: none;
    }

    .forgot-password {
        display: inline-block;
        color: #8E6C37;
        font-size: 14px;
        text-decoration: none;
        margin-top: -10px;
        margin-bottom: 20px;
    }

    .forgot-password:hover {
        text-decoration: underline;
    }

    .text-left {
        text-align: left;
    }

    .auth-button {
        width: 100%;
        height: 50px;
        background-color: #8E6C37;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease;
        margin-bottom: 0px;
    }

    .auth-button:hover {
        background-color: #735629;
    }

    .social-auth-button {
        width: 100%;
        height: 50px;
        background-color: #003E7E;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease;
        margin-bottom: 20px;
    }

    .social-auth-button:hover {
        background-color: #00326A;
    }

    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .social-icon img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: #fff;
        padding: 2px;
    }

    .auth-footer {
        text-align: center;
        margin-top: 10px;
    }

    .auth-footer p {
        font-size: 14px;
        color: #71717A;
    }

    .auth-footer a {
        color: #8E6C37;
        text-decoration: none;
        font-weight: 600;
    }

    .auth-footer a:hover {
        text-decoration: underline;
    }

    .login-required-message {
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }

    .modal-close {
        background: transparent;
        border: none;
        font-size: 40px;
        cursor: pointer;
        color: #71717A;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 10;
    }

    .modal-close:hover {
        color: #2F327D;
    }

    /* Responsive styles for login modal */
    @media (max-width: 576px) {
        .login-modal-container {
            max-width: 100%;
            border-radius: 0;
            height: 100vh;
        }
        
        .login-form-wrapper {
            padding: 30px 20px;
        }
        
        .login-title {
            font-size: 32px;
        }
        
        .login-subtitle {
            font-size: 16px;
        }
    }

/* Get Involved Section Styles */
.get-involved-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
    position: relative;
}

.get-involved-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.get-involved-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.get-involved-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2F327D;
    margin-bottom: 20px;
    line-height: 1.2;
}

.get-involved-section .section-header p {
    font-size: 18px;
    color: #696984;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.involvement-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.involvement-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    border-top: 5px solid #2F327D;
}

.involvement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.involvement-card.highlight {
    background: linear-gradient(143.27deg, #002D74 0%, #23BDEE 98.22%);
    color: white;
    border-top: none;
}

.involvement-icon {
    margin-bottom: 20px;
}

.involvement-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: linear-gradient(141deg, #002D74 -7.66%, #00BCD4 105.33%);
    padding: 10px;
    border-radius: 8px;
}

.involvement-card.highlight .involvement-icon img {
/*     background: white; */
}

.involvement-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.involvement-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F327D;
    line-height: 1.3;
}

.involvement-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #696984;
    flex-grow: 1;
}

.involvement-card.highlight .involvement-content h3,
.involvement-card.highlight .involvement-content p {
    color: white;
}

.involvement-button {
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    background-color: #11387b;
    color: white;
    align-self: flex-start;
    margin-top: auto;
}

.involvement-button:hover {
    background-color: #11387b;
    transform: translateY(-2px);
}

.involvement-card.highlight .involvement-button {
    background-color: white;
    color: #11387b;
}

.involvement-card.highlight .involvement-button:hover {
    background-color: #f0f0f0;
}

/* Modal Styles */
.involvement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    overflow-y: auto;
}

.involvement-modal .wpcf7-form-control-wrap {
	display: grid;
}

.involvement-modal.modal-active {
    display: block;
}

.involvement-modal .modal-container {
    position: relative;
    max-width: 600px;
    margin: 80px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.involvement-modal .modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.involvement-modal .modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2F327D;
}

.involvement-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.involvement-modal .modal-close:hover {
    color: #2F327D;
}

.modal-close:hover {
    color: #2F327D;
}
.involvement-modal .modal-body {
    padding: 0px 15px 20px 15px;
}

/* Contact Form 7 Styling in Modal */
.involvement-modal .modal-body .wpcf7 .wpcf7-form {
    margin: 0;
}

.involvement-modal .modal-body .wpcf7 .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.involvement-modal .modal-body .wpcf7 .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.involvement-modal .modal-body .wpcf7 label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    margin-top: 10px;
}

.involvement-modal .modal-body .wpcf7 input,
.involvement-modal .modal-body .wpcf7 textarea,
.involvement-modal .modal-body .wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
    background: #f9f9f9;
}

.involvement-modal .modal-body .wpcf7 input[type="checkbox"],
.involvement-modal .modal-body .wpcf7 input[type="radio"] {
	width: auto;
}

.involvement-modal .modal-body .wpcf7 input:focus,
.involvement-modal .modal-body .wpcf7 textarea:focus,
.involvement-modal .modal-body .wpcf7 select:focus {
    border-color: #2962ff;
    background: #fff;
}

.involvement-modal .modal-body .wpcf7 textarea {
    resize: vertical;
    min-height: 120px;
	margin-bottom: 0;
}

.involvement-modal .modal-body .wpcf7 .wpcf7-submit {
    background-color: #11387b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: auto;
    display: inline-block;
}

.involvement-modal .modal-body .wpcf7 .wpcf7-submit:hover {
    background-color: #11387b;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .involvement-cards {
        justify-content: center;
    }
    
    .involvement-card {
        flex: 0 0 calc(50% - 20px);
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .get-involved-section {
        padding: 120px 0 60px;
    }
    
    .get-involved-section .section-header h2 {
        font-size: 36px;
    }
    
    .involvement-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .involvement-card {
        flex: 0 0 100%;
        max-width: 500px;
    }
    
    .involvement-modal .modal-container {
        max-width: 100%;
		max-height: inherit !important;
    }
}

@media (max-width: 768px) {
    .get-involved-section {
        padding: 120px 0 60px;
    }
    
    .get-involved-section .section-header h2 {
        font-size: 32px;
    }
    
    .get-involved-section .section-header p {
        font-size: 16px;
    }
    
    .involvement-content h3 {
        font-size: 20px;
    }
    
    .involvement-modal .modal-body .wpcf7 .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .get-involved-section {
        padding: 120px 0 60px;
    }
    
    .get-involved-section .section-header h2 {
        font-size: 28px;
    }
    
    .involvement-content h3 {
        font-size: 18px;
    }
    
    .involvement-content p {
        font-size: 14px;
    }
    
    .involvement-button {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .involvement-modal .modal-title {
        font-size: 20px;
    }
    
    .involvement-modal .modal-body {
        padding: 0px 15px 20px 15px;
    }
}

/* CPD Coming Soon Banner */
.cpd-coming-soon {
    display: inline-block;
    background-color: #FAA21B;
    color: #083074;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-left: 15px;
    position: relative;
    top: -3px;
    box-shadow: 0 4px 8px rgba(47, 50, 125, 0.2);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .cpd-coming-soon {
        display: block;
        margin-left: 0;
        margin-top: 10px;
        font-size: 12px;
        width: fit-content;
    }
}

/* Logout icon style */
.logout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.25rem;
    color: #fff;
    transition: all 0.3s ease;
}

.logout-icon:hover {
    color: #85714D;
    transform: translateY(-2px);
}

/* Conferences Template Styles */
.conferences-section {
    padding: 80px 0;
    background-color: #fff;
}

.past-conferences-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.conferences-section .section-header,
.past-conferences-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.conferences-section .section-header h2,
.past-conferences-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2F327D;
    margin-bottom: 20px;
}

.conferences-section .section-header p,
.past-conferences-section .section-header p {
    font-size: 18px;
    color: #696984;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.conference-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.conference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.conference-card.past {
    opacity: 0.8;
    background: #f8f9fa;
}

.conference-card.past:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.conference-header {
    display: flex;
    align-items: flex-start;
    padding: 25px 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.conference-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F327D 0%, #23BDEE 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(47, 50, 125, 0.2);
}

.conference-date.past {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
}

.conference-date .date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.conference-date .date-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

.conference-title {
    flex: 1;
}

.conference-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2F327D;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.conference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.conference-time,
.conference-location {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.conference-time i,
.conference-location i {
    margin-right: 6px;
    color: #2F327D;
    font-size: 12px;
}

.conference-content {
    padding: 25px;
}

.conference-description {
    font-size: 16px;
    line-height: 1.6;
    color: #696984;
    margin-bottom: 25px;
}

.conference-description p {
    margin: 0 0 15px 0;
}

.conference-description p:last-child {
    margin-bottom: 0;
}

.conference-actions {
    display: flex;
    justify-content: flex-end;
}

.conference-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2F327D 0%, #23BDEE 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 50, 125, 0.2);
}

.conference-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 50, 125, 0.3);
    color: white;
}

.conference-pdf-btn.past {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.2);
}

.conference-pdf-btn.past:hover {
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.conference-pdf-btn i {
    font-size: 16px;
}

/* Conference Layout with Featured Image */
.conference-layout {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

.conference-image {
    flex: 0 0 30%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 14px;
}

.conference-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    min-height: 200px;
}

.conference-image:hover .conference-featured-image {
    transform: scale(1.05);
}

.conference-content-wrapper {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    padding: 20px 80px 20px 0;
}

.conference-content-wrapper .conference-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    margin-bottom: 20px;
}

.conference-content-wrapper .conference-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Image Overlay for Lightbox */
.conference-image {
    position: relative;
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.conference-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: #23BDEE;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    max-width: 600px;
    line-height: 1.4;
}

/* Lightbox Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* No Conferences State */
.no-conferences {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-conferences-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-conferences-content i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-conferences-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2F327D;
    margin-bottom: 15px;
}

.no-conferences-content p {
    font-size: 16px;
    color: #696984;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .conferences-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .conferences-section,
    .past-conferences-section {
        padding: 60px 0;
    }
    
    .conferences-section .section-header h2,
    .past-conferences-section .section-header h2 {
        font-size: 36px;
    }
    
    .conferences-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .conferences-section,
    .past-conferences-section {
        padding: 40px 0;
    }
    
    .conferences-section .section-header,
    .past-conferences-section .section-header {
        margin-bottom: 40px;
    }
    
    .conferences-section .section-header h2,
    .past-conferences-section .section-header h2 {
        font-size: 32px;
    }
    
    .conferences-section .section-header p,
    .past-conferences-section .section-header p {
        font-size: 16px;
    }
    
    .conferences-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .conference-header {
        padding: 20px 20px 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .conference-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .conference-title h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .conference-meta {
        justify-content: center;
        gap: 10px;
    }
    
    .conference-content {
        padding: 20px;
    }
    
    .conference-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .conference-actions {
        justify-content: center;
    }
    
    .conference-pdf-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 15px;
    }
	
	/* Mobile Layout for Featured Image */
    .conference-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .conference-image {
        flex: none;
        width: 100%;
        border-radius: 12px;
        margin: 0;
    }
    
    .conference-featured-image {
        min-height: 180px;
        border-radius: 12px;
    }
    
    .conference-content-wrapper {
        flex: none;
        width: 100%;
        padding: 30px 40px 40px;
    }
    
    .conference-content-wrapper .conference-header {
        padding: 0 0 15px 0;
        margin-bottom: 15px;
    }
    
    /* Mobile Lightbox Styles */
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-content img {
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: -35px;
        font-size: 35px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .conferences-section .section-header h2,
    .past-conferences-section .section-header h2 {
        font-size: 28px;
    }
    
    .conference-date {
        width: 70px;
        height: 70px;
    }
    
    .conference-date .date-day {
        font-size: 20px;
    }
    
    .conference-date .date-month {
        font-size: 12px;
    }
    
    .conference-title h3 {
        font-size: 16px;
    }
    
    .conference-time,
    .conference-location {
        font-size: 13px;
    }
    
    .conference-description {
        font-size: 14px;
    }
    
    .no-conferences-content i {
        font-size: 48px;
    }
    
    .no-conferences-content h3 {
        font-size: 20px;
    }
    
    .no-conferences-content p {
        font-size: 14px;
    }
}