/* Global Styles */
:root {
    --primary-color: #5024ff;
    --primary-dark: #1d4ed8;
    --secondary-color: #df3821;
    --secondary-dark: #d97706;
    --dark-color: #1e1e1e;
    --light-color: #f5f6fa;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
	--primary: #5024ff;
    --secondary: #df3821;
    --dark: #1e1e1e;
    --light: #f5f6fa;
    --accent: #fd79a8;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}
a {
  text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
	margin-right: 20px; /* Adjust this value as needed */
	justify-content: center; /* Centers horizontally in flexbox */
	text-align: center; /* This centers the text horizontally */
	align-items: center;     /* Centers vertically in flexbox */
	display: inline-flex;      /* Enables flexbox */
	min-width: 120px;        /* Optional: Prevents buttons from being too narrow */
	white-space: nowrap;     /* Prevents text from wrapping */
	
	
}
        
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: var(light);
    color: dark;
    border: solid;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
	justify-content: center; /* Centers horizontally in flexbox */
	text-align: center; /* This centers the text horizontally */
	align-items: center;     /* Centers vertically in flexbox */
	display: inline-flex;      /* Enables flexbox */
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-footer {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
	margin-right: 20px; /* Adjust this value as needed */
	justify-content: center; /* Centers horizontally in flexbox */
	text-align: center; /* This centers the text horizontally */
	align-items: center;     /* Centers vertically in flexbox */
	display: inline-flex;      /* Enables flexbox */
	min-width: 120px;        /* Optional: Prevents buttons from being too narrow */
	white-space: nowrap;     /* Prevents text from wrapping */
	
	
}
        
.btn-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.text-center {
    text-align: center;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px; /* Adjust based on your logo's height */
    display: flex;
    align-items: center;
}

.logo img {
    height: 75%;
    width: auto;
    max-width: 150px; /* Adjust based on your logo's width */
	margin-top: 10px;
}
.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}


.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 30px;
    position: relative;
}

.navbar ul li:first-child {
    margin-left: 0;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    display: block;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

/* Active link styles */
.navbar ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }
    
    .navbar ul li {
        margin: 10px 0;
        margin-left: 0;
        width: 100%;
    }
    
    .navbar ul li a {
        padding: 8px 15px;
    }
}

.mobile-menu-btn {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Section */

.realhero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensures sliding image doesn't cause scrollbars */
    background-color: rgba(255, 255, 255, 0.3); /* White overlay */
    background-blend-mode: overlay;
}

/* Animated background element */
.realhero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 100%;
    height: 100%;
    background-image: url('images/realhero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: slideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards, zoomIn 1.5s ease-out forwards;
}

/* Content container - add fade animation */
.realhero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

/* Animations */
@keyframes slideIn {
    0% {
        left: -100%;
    }
    100% {
        left: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero {
    padding: 180px 0 100px;
    background-color: #White;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-logo {
    height: 600px; /* Adjust based on your logo's height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo img {
    height: 100%;
    width: auto;
    max-width: 600px; /* Adjust based on your logo's width */
	margin: 0 auto; /* Centers image horizontally */


}
.hero-logo a {
    font-size: 5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-color);
	display: block;
}

.hero-logo span {
    color: var(--primary-color);
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: float 3s ease-in-out infinite;
}

.hero-image2 {
  position: absolute;
  top: 25rem;
  right: 35rem;
  width: 300px; /* Adjust size as needed */
  height: auto;
  z-index: 2;
  animation: float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  border-radius: 10px;
  overflow: hidden;
  border: none;
}

.hero-image2 img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Page Hero */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background-color: #f8fafc;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero h1 span {
    color: var(--primary-color);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* About Hero Specific */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fade 0.5s ease;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-prev, .slider-next {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* About Page Styles */
.about-content {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.years {
    font-size: 2.5rem;
    font-weight: 700;
}

.label {
    font-size: 0.9rem;
}

/* Values Section */
.values {
    background-color: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--gray-color);
}

/* Timeline Section */
.timeline-section {
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--gray-color);
}

/* Team Preview */
.team-preview {
    background-color: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;

}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px 20px;

}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #f8fafc;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: var(--dark-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Courses Page Styles */
.courses-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/courses-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.courses-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.courses-filter {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: #f8fafc;
    border: none;
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: var(--light-gray);
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--light-gray);
    font-size: 1rem;
    padding-right: 50px;
}

.search-box button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    transition: color 0.3s ease;
}

.search-box button:hover {
    color: var(--primary-color);
}

.grid-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sort-by {
    display: flex;
    align-items: center;
}

.sort-by span {
    margin-right: 10px;
    color: var(--gray-color);
}

.sort-by select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--light-gray);
    background-color: white;
    cursor: pointer;
}

.view-toggle {
    display: flex;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.view-btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.view-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.view-btn:hover:not(.active) {
    background-color: var(--light-gray);
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-content {
    padding: 20px;
}

.course-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.course-category.leadership {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.course-category.technology {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.course-category.business {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.course-category.soft-skills {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.course-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.course-meta i {
    margin-right: 5px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.course-price .current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.course-price .original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--gray-color);
    margin-left: 5px;
}

.btn-enroll {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-enroll:hover {
    background-color: var(--primary-dark);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-nav, .page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.page-nav.disabled {
    color: var(--light-gray);
    cursor: not-allowed;
}

.page-number {
    background-color: #f8fafc;
}

.page-number.active {
    background-color: var(--primary-color);
    color: white;
}

.page-number:hover:not(.active), .page-nav:hover:not(.disabled) {
    background-color: var(--light-gray);
}

/* Learning Formats */
.learning-formats {
    background-color: #f8fafc;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.format-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.format-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.format-card.featured {
    border: 2px solid var(--primary-color);
}

.format-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.format-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.format-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.format-card ul {
    list-style: none;
}

.format-card ul li {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.format-card ul li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Course Testimonials */
.course-testimonials {
    background-color: white;
}

.testimonial-content .rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial-content .course-taken {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 5px;
    font-style: italic;
}
/* Clients Served Styles */
/* Organizations Section */
.organizations-section {
    padding: 80px 0;
    background-color: #white;
}


.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.organization-item {
    background: white;
    border-radius: 8px;
    padding: 25px;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
}

.organization-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.organization-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.organization-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}



/* Xperts Page Styles */
.xperts-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/experts-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.xperts-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.experts-filter {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.experts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.expert-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.expert-image {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expert-card:hover .expert-image img {
    transform: scale(1.05);
}

.expert-social {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expert-card:hover .expert-social {
    opacity: 1;
}

.expert-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.expert-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.expert-content {
    padding: 20px;
}

.expert-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.expert-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expert-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.expert-specialties span {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f8fafc;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--gray-color);
}

.btn-view-profile {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-view-profile:hover {
    background-color: var(--primary-dark);
}

/* Expert Spotlight */

.spotlight-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.expert-spotlight {
    background-color: #f8fafc;
}

.spotlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.spotlight-image {
    position: relative;
}

.spotlight-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.expert-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.expert-bio {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.expert-specialties h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.expert-specialties ul {
    list-style: none;
    columns: 2;
    column-gap: 20px;
}

.expert-specialties li {
    margin-bottom: 8px;
    color: var(--gray-color);
    position: relative;
    padding-left: 20px;
}

.expert-specialties li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.spotlight-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Become an Expert */
.become-expert {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.become-expert h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.become-expert p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Contact Page Styles */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--gray-color);
    margin-bottom: 5px;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}


/* FAQ Section */
.faq-section {
    background-color: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f5f9;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}


.faq-answer p {
    color: var(--gray-color);
    padding-bottom: 15px;
	padding-top: 10px;
}

.faq-question.active + .faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px;
	transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer {
    background-color: white;
    padding: 0 20px;
	max-height: auto;
	display: none;
    overflow: hidden;
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-cta a:hover {
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container, .about-grid, .contact-grid, .spotlight-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content, .about-text, .contact-info, .spotlight-content {
        padding-right: 0;
    }
    
    .hero-image, .about-image, .spotlight-image {
        order: -1;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-date {
        left: 0;
    }
    
    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .navbar ul li {
        margin: 10px 0;
    }
    
    .hero-content h1, .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
    
    .format-card.featured {
        order: -1;
    }
}

@media (max-width: 576px) {
    .hero, .page-hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1, .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .map-wrapper {
        height: 300px;
    }
}