/*!
Theme Name: Pfunzo
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: pfunzo
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.

Pfunzo 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;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 1em 0 0;
}

.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: #042D73;
    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: 999;
    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: 30px;
    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: #042D73;
    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 {
    position: relative;
    background-color: #042D73;
    padding: 0;
    overflow: hidden;
    min-height: 600px;
}

.hero-bg {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #042D73 0%, #064299 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 25%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero .hero-content {
    color: white;
    max-width: 650px;
}

.hero .hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -0.02em;
}

.hero .hero-content h1 span {
    font-size: 2.2rem;
    display: block;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.hero .hero-content p.hero-content-p1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hero .hero-content p.hero-content-p2 {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Updated Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:not(.outline) {
    background-color: white;
    color: #042D73;
}

.header-actions .cta-button:not(.outline) {
    background-color: #042D73;
    color: #fff;
}

.cta-button.outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button:not(.outline):hover {
    box-shadow: 0 8px 25px rgba(4, 45, 115, 0.2);
}

.cta-button.outline:hover {
    background-color: white;
    color: #042D73;
    border-color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.hero .hero-image {
    position: relative;
    text-align: right;
}

.hero .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease;
}

.hero .hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    z-index: -1;
    transition: all 0.5s ease;
}

.hero .hero-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

.hero .hero-image:hover::before {
    transform: translate(10px, 10px);
}

/* Updated Global Button Styles */
.btn, 
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #042D73;
    color: white;
}

.btn-primary:hover {
    background-color: #053a94;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 45, 115, 0.2);
}

.btn-secondary {
    background-color: white;
    color: #042D73;
    border: 2px solid #042D73;
}

.btn-secondary:hover {
    background-color: #042D73;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 45, 115, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero .hero-content h1 {
        font-size: 3.4rem;
    }
    
    .hero .hero-content h1 span {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero .hero-content h1 {
        font-size: 3rem;
    }

    .hero .hero-content h1 span {
        font-size: 1.8rem;
    }

    .hero .hero-image {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-bg {
        padding: 0px 0 60px;
		background: transparent;
    }

    .hero .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero .hero-content h1 span {
        font-size: 1.6rem;
    }

    .hero .hero-content p.hero-content-p1 {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        padding: 15px 30px;
    }
}

@media (max-width: 576px) {
/* 	.video-overlay {
		display: none!important;
	}
	.video-section .owl-item .item {
		padding: 0 !important;
		margin: 0 !important;
    transform: scale(1) !important;
	} */
	.contact-section {
		    padding: 30% 0 80px 0!important;
	}
    .hero-bg {
        padding: 0px 0 0px;
		background: transparent;
    }

    .hero .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero .hero-content h1 span {
        font-size: 1.4rem;
    }

    .hero .hero-content p.hero-content-p1 {
        font-size: 1.2rem;
    }

    .hero .hero-content p.hero-content-p2 {
        font-size: 1rem;
		text-align: justify;
    }
}

/* 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: 50px 30px 0;
    }
	.loginlmsmobile {
	display: inherit;
}
	.cta-button-mobile {
		display: inherit !important;
		color: #fff !important;
	}
	.cta-button-mobile:hover {
		background: #042D73 !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: 16px !important;
        position: relative;
/*         min-height: 270px; */
	}
	
	.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;

	}
	
	.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 */
    }
}
.loginlmsmobile .cta-button:not(.outline) {
		    background-color: #042D73 !important;
	}
	.loginlmsmobile .cta-button:not(.outline):hover {
		    background-color: #042D73 !important;
	}
/* Counters Section */
.counters {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.counters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23ffffff" opacity="0.1" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.counters-header {
    text-align: center;
    margin-bottom: 60px;
}

.counters-header h2 {
    font-size: 2.5rem;
    color: #042D73;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.counters-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #042D73);
    border-radius: 2px;
}

.counters-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.counter-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #042D73);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.counter-item:hover::before {
    transform: scaleX(1);
}

.counter-icon {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.counter-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.counter-content {
    position: relative;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #042D73;
    margin-bottom: 10px;
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 992px) {
    .counters {
        padding: 80px 0;
    }
    
    .counters-header h2 {
        font-size: 2.2rem;
    }
    
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .counters {
        padding: 60px 0;
    }
    
    .counters-header h2 {
        font-size: 2rem;
    }
    
    .counters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .counter-item {
        padding: 30px 20px;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .counters-header h2 {
        font-size: 1.8rem;
    }
    
    .counter-number {
        font-size: 2.2rem;
    }
    
    .counter-label {
        font-size: 1rem;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(47,50,125,0.05)" stroke-width="1"/></svg>') repeat;
    opacity: 0.1;
    z-index: 1;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2F327D;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.features .features-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features .features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.features .feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 50, 125, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 350px;
}

.features .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(47, 50, 125, 0.03) 100%);
    z-index: 1;
}

.features .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(47, 50, 125, 0.15);
}

.features .feature-icon {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.features .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.features .icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    z-index: -1;
    transition: all 0.3s ease;
}

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

.features .icon-circle img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

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

.features .feature-card h3 {
    font-size: 1.5rem;
    color: #2F327D;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
	text-align: center;
}

.features .feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    position: relative;
    z-index: 2;
}

@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: 20px;
}

.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: 8px;
	width: 25px;
}

.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: #444444; /* Fallback for browsers that don't support gradients */
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(62.91deg, #444444 9.23%, #444444 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: 15px;
    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: 40px;
}

.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: #042D73; /* 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: 100%;
    object-fit: contain;
}

/* 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;
	transform: scale(0.8);
}

.video-section .video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: none;
    height: auto;
    border: none;
/*     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 {
    margin-bottom: 20px;
}

.footer .footer-logo img {
    max-width: 240px;
    height: auto;
	margin: auto;
    box-shadow: none; /* Explicitly remove any box shadow */
}

.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;
		margin: auto;
    }
}

@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: 100%;
        margin-top: 0;
        margin-bottom: 40%;
    }
    
    .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-buttons .cta-button {
		display: inherit !important;	
	}
    
    .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: 100%;
        margin-bottom: 50px;
        margin-top: 0;
    }
    
    .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: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.engagement-header {
    text-align: center;
    margin-bottom: 60px;
}

.engagement-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.engagement-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #042D73);
}

.engagement-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.engagement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.engagement-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.engagement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #042D73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.engagement-card:hover .engagement-icon {
    transform: scale(1.1);
}

.engagement-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.engagement-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.engagement-content h3 a {
	color: inherit;
}

.engagement-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .community-engagement {
        padding: 60px 0;
    }

    .engagement-header h2 {
        font-size: 2rem;
    }

    .engagement-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .engagement-card {
        padding: 20px;
    }
}

/* Course Catalog Section Styles */
.course-catalog {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.catalog-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    border-radius: 2px;
}

.catalog-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.catalog-category {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-category:hover .category-image img {
    transform: scale(1.05);
}

.category-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.category-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
	text-align: left;
}

.category-content {
    padding: 25px;
    display: grid;
    gap: 25px;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 15px;
}

.course-list li a {
    display: flex;
    flex-direction: column;
    padding: 15px 15px 15px 40px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.course-list li a::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #4a90e2;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.course-list li a:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.course-list li a:hover::before {
    transform: translateY(-50%) scale(1.2);
    background: #357abd;
}

.course-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.course-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

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

    .catalog-header h2 {
        font-size: 2rem;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .category-content {
        padding: 20px;
    }

    .category-image {
        height: 150px;
    }
}

/* Contact Section Modern Design */
.contact-section {
    padding: 10% 0;
    background: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #042D73;
    margin-bottom: 50px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #042D73;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
	align-items: flex-start;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-top {
    margin-bottom: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #042D73;
    margin-bottom: 15px;
}

.contact-info p {
    color: #7f8c8d;
    line-height: 1.6;
}
.contact-info p a {
	color: #7f8c8d;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(4,45,115,0.1);
}

.contact-detail i {
    font-size: 1.5rem;
    color: #042D73;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-detail-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.contact-detail-content p b {
    color: #042D73;
}

.contact-social {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #042D73;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: #042D73;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form .wpcf7-form {
    display: grid;
    gap: 0px;
}

.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    color: #042D73;
    font-weight: 500;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form textarea:focus {
    border-color: #042D73;
    outline: none;
    box-shadow: 0 0 0 3px rgba(4,45,115,0.1);
}

.contact-form .wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .wpcf7-submit {
    background: #042D73;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin-top: 10px;
}

.contact-form .wpcf7-submit:hover {
    background: #031d4d;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
		display: flex;
        flex-direction: column-reverse;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-detail {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* FAQ Page Specific Styles */
        .faqs-section {
            padding: 10% 0;
            background: #f8fafc;
        }
        
        .faqs-section .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .faqs-section .section-header h2 {
            font-size: 2.5rem;
            color: #042D73;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .faqs-section .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #3498db, #042D73);
            border-radius: 2px;
        }
        
        .faqs-section .section-header p {
            font-size: 1.1rem;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .faqs-search-container {
            max-width: 100%;
            margin: 0 auto 40px;
        }
        
        .faqs-search-container .search-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .faqs-search-container .search-icon {
            position: absolute;
            left: 15px;
            color: #64748b;
        }
        
        .faqs-search-container .faqs-search-box {
            width: 100%;
            padding: 15px 15px 15px 45px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            color: #2c3e50;
            background: #ffffff;
            transition: all 0.3s ease;
        }
        
        .faqs-search-container .faqs-search-box:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }
        
        .faqs-list {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .faq-item {
            background: #ffffff;
            border-radius: 12px;
            margin-bottom: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .faq-question {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .faq-question-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .faq-number {
            font-size: 1.2rem;
            font-weight: 600;
            color: #3498db;
            min-width: 30px;
        }
        
        .faq-question h3 {
            font-size: 1.1rem;
            color: #2c3e50;
            margin: 0;
            font-weight: 500;
        }
        
        .faq-toggle {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-toggle {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .faq-item.active .faq-answer {
            max-height: 1000px;
        }
        
        .faq-answer-content {
            padding: 0 20px 20px;
            color: #64748b;
            line-height: 1.6;
        }
        
        .no-results {
            text-align: center;
            padding: 40px 20px;
            display: none;
        }
        
        .no-results-icon {
            margin-bottom: 20px;
        }
        
        .no-results h3 {
            font-size: 1.5rem;
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .no-results p {
            color: #64748b;
            margin: 0;
        }
        
        @media (max-width: 768px) {
            .faqs-section {
                padding: 30% 0 60px 0;
            }
            
            .faqs-section .section-header h2 {
                font-size: 2rem;
            }
            
            .faq-question {
                padding: 15px;
            }
            
            .faq-answer-content {
                padding: 0 15px 15px;
            }
        }
        
        @media (max-width: 576px) {
            .faqs-section .section-header h2 {
                font-size: 1.75rem;
            }
            
            .faq-question h3 {
                font-size: 1rem;
            }
            
            .faq-number {
                font-size: 1rem;
            }
        }

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

    .forum-title {
        font-size: 36px;
    font-weight: 700;
    color: #2F327D;
    margin-bottom: 15px;
    text-align: center;
    }

    /* 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;
    }

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

 .involvement-modal input {
        width: 100%;
/*         min-height: 150px; */
        padding: 15px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 20px;
        resize: vertical;
    }
.involvement-modal select,
.involvement-modal .wpcf7-radio,
.involvement-modal .wpcf7-checkbox {
	margin-bottom: 20px;
	display: block;
}
/* .involvement-modal form > label {
	margin-top: 10px;
} */
.involvement-modal input[type="checkbox"],
.involvement-modal input[type="radio"] {
	width: auto;
	-webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
	margin: 8px 0;
}
 .involvement-modal select {
        width: 100%;
/*         min-height: 150px; */
        padding: 15px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 20px;
        resize: vertical;
	 background: #fff;
	 color: #333;
    }

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

.involvement-modal input[type="submit"] {
	background: #042D73;
	color: #fff;
	cursor: pointer;
}
.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;
    }

.faqs-section .search-form {
        display: block;
        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: 10% 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

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

.get-involved-section .section-header h2 {
    font-size: 2.5rem;
    color: #042D73;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.get-involved-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #042D73);
}

.get-involved-section .section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.involvement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.involvement-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.involvement-card.highlight {
    background: linear-gradient(135deg, #3498db, #042D73);
    color: #ffffff;
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #042D73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.involvement-card:hover .involvement-icon {
    transform: scale(1.1);
}

.involvement-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.involvement-card.highlight .involvement-icon {
    background: #ffffff;
}

.involvement-card.highlight .involvement-icon img {
    filter: none;
}

.involvement-content {
    flex: 1;
}

.involvement-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

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

.involvement-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.involvement-button {
    background: #042D73;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.involvement-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.involvement-card.highlight .involvement-button {
    background: #ffffff;
    color: #3498db;
}

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

.involvement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.involvement-modal.modal-active {
    opacity: 1;
    visibility: visible;
}

.involvement-modal .modal-container {
    background: #ffffff;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.involvement-modal.modal-active .modal-container {
    transform: translateY(0);
}

.involvement-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.involvement-modal .modal-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.involvement-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

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

.involvement-modal .modal-body {
    padding: 20px;
}

@media (max-width: 768px) {
    .get-involved-section {
        padding: 30% 0;
    }

    .get-involved-section .section-header h2 {
        font-size: 2rem;
    }

    .involvement-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .involvement-card {
        padding: 30px;
    }
}

.wpcf7-form-container {
    padding: 20px;
}

.wpcf7-form-container .wpcf7-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7-form-container .wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpcf7-form-container .wpcf7-form label {
    display: block;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 5px;
}

.wpcf7-form-container .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form-container .wpcf7-form input[type="text"],
.wpcf7-form-container .wpcf7-form input[type="email"],
.wpcf7-form-container .wpcf7-form input[type="tel"],
.wpcf7-form-container .wpcf7-form textarea,
.wpcf7-form-container .wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #2c3e50;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.wpcf7-form-container .wpcf7-form input:focus,
.wpcf7-form-container .wpcf7-form textarea:focus,
.wpcf7-form-container .wpcf7-form select:focus {
    border-color: #3498db;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wpcf7-form-container .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox Styles */
.wpcf7-form-container .wpcf7-form .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcf7-form-container .wpcf7-form .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.wpcf7-form-container .wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.wpcf7-checkbox .wpcf7-list-item label,
.wpcf7-radio .wpcf7-list-item label {
	display: flex;
	gap: 10px;
}

.wpcf7-form-container .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.wpcf7-form-container .wpcf7-form .wpcf7-list-item-label {
    font-size: 1rem;
    color: #2c3e50;
}

/* Select Styles */
.wpcf7-form-container .wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Submit Button */
.wpcf7-form-container .wpcf7-submit {
    background: linear-gradient(135deg, #3498db, #042D73);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.wpcf7-form-container .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Validation Styles */
.wpcf7-form-container .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.wpcf7-form-container .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-form-container .wpcf7-response-output.wpcf7-validation-errors {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.wpcf7-form-container .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Spinner */
.wpcf7-form-container .wpcf7-spinner {
    display: none;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .wpcf7-form-container {
        padding: 15px;
    }
    
    .wpcf7-form-container .wpcf7-form {
        gap: 15px;
    }
    
    .wpcf7-form-container .wpcf7-form input[type="text"],
    .wpcf7-form-container .wpcf7-form input[type="email"],
    .wpcf7-form-container .wpcf7-form input[type="tel"],
    .wpcf7-form-container .wpcf7-form textarea {
        padding: 10px 12px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #042D73 0%, #2F327D 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.contact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info .info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 28px;
    color: #042D73;
    margin-bottom: 15px;
}

.contact-info p {
    color: #666;
/*     margin-bottom: 30px; */
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-wrapper i {
    font-size: 20px;
    color: #042D73;
}

.contact-content h4 {
    font-size: 18px;
    color: #042D73;
    margin-bottom: 5px;
}

.contact-content p {
    margin: 0;
    color: #666;
}

.contact-content a {
    color: #042D73;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #2F327D;
}

.social-links h4 {
    font-size: 18px;
    color: #042D73;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #042D73;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #042D73;
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-form-wrapper .form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    color: #042D73;
    margin-bottom: 15px;
}

.contact-form-wrapper p {
    color: #666;
    margin-bottom: 30px;
}

/* Contact Form 7 Styles */
/* .wpcf7-form {
    display: grid;
    gap: 20px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    color: #042D73;
    font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: #042D73;
    box-shadow: 0 0 0 3px rgba(4, 45, 115, 0.1);
    outline: none;
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    background: #042D73;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background: #2F327D;
    transform: translateY(-2px);
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 8px;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7 form.failed .wpcf7-response-output {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
 */
/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-hero p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info .info-card,
    .contact-form-wrapper .form-card {
        padding: 30px;
    }
    
    .contact-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info .info-card,
    .contact-form-wrapper .form-card {
        padding: 20px;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-hero p {
        font-size: 16px;
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .icon-wrapper i {
        font-size: 18px;
    }
}
/* Smooth blinking + highlight animation */
@keyframes blinkHighlight {
  0%, 100% {
    background-color: #042D73;
    color: #ffffff;
    opacity: 1;
  }
  50% {
    background-color:rgb(5, 52, 134);
    color:rgb(232, 232, 232);
    opacity: 0.6;
  }
}

.highlight-blink {
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 5px;
  background-color: #042D73;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  animation: blinkHighlight 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.highlight-blink:hover {
  background-color: #042D73;
  color: #fff;
}