/* General Body Styles */
body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    background-color: #fff;
    color: #111;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6, .about-content h2, .section-header h2 {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif !important;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.03em;
}

h1 {
    font-size: 2.6rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.25rem;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 1.2rem 0;
}

/* --- MODIFIED: Floatable Header & Curvy Nav --- */
#main-header {
    /* This container holds the nav and makes it sticky */
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 1rem 0; /* Add padding to create space for the floating nav */
    transition: top 0.3s;
}

#main-header nav {
    /* This is the actual curvy, floating navigation bar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px; /* Set a max-width for the nav */
    margin: 0 auto; /* Center the nav horizontally */
    
    /* Frosted glass effect */
    background-color: rgba(42, 42, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    
    /* Curvy container and shadow */
    border-radius: 50px; /* This makes it pill-shaped */
    padding: 0.75rem 2rem; /* Adjust padding inside the nav */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#main-header .logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

#main-header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

#main-header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

#main-header nav ul li a:hover {
    color: #bb86fc;
}

#main-header nav ul li a.active {
    color: #8B4513;
    font-weight: 600;
}
/* --- END OF MODIFICATIONS --- */

/* Hero Section */
.hero {
    /* Add top padding to prevent content from hiding behind the transparent header area */
    padding-top: 40px;
    margin-top: -40px; /* Adjust margin to pull section up */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDEwfHx0ZWNobm9sb2d5fGVufDB8fHx8MTY4NDMyOTQ3NA&ixlib=rb-4.0.3&q=80&w=1080') no-repeat center center/cover;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff !important;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff !important;
}

.cta-button {
    background-color: #bb86fc;
    color: #121212;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #a06cd5;
}

/* Journey & Mission Section */
.journey-mission {
    text-align: center;
    background-color: #4A47A3;
}

.journey-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin: 0;
    color: #bb86fc;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 5%; /* Use percentage for better responsiveness */
    justify-content: center;
}

.gallery-item {
    flex: 1 1 250px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Equipping Leaders Section */
.equipping-leaders {
    text-align: center;
    padding: 2rem 0;
}

/* Elevate Career Section */
.elevate-career .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.2rem 0;
}

.career-image {
    flex: 1 1 400px;
}

.career-image img {
    width: 100%;
    border-radius: 10px;
}

.career-content {
    flex: 1 1 400px;
}

/* Testimonials Section */
.testimonials {
    background: #142850 !important;
    color: #fff !important;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info h3 {
    color: #bb86fc;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #111 !important;
    color: #fff !important;
    margin-top: 2rem;
}

footer h3, footer p {
    color: #fff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    #main-header nav {
        padding: 0.5rem 1rem;
        border-radius: 30px;
        flex-direction: column;
        gap: 0.5rem;
    }

    #main-header nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* About Us Section */
.about-us {
    background: #f7f7fa;
    border-radius: 14px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.2rem 0;
}
.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111 !important;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}
.about-content p, .about-content ul {
    font-size: 1.13rem;
    color: #222;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}
.about-content ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}
.about-content li {
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    color: #333;
}
.about-image img {
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
}
@media (max-width: 900px) {
    .about-us {
        padding: 1.2rem 0.5rem;
    }
    .about-image img {
        max-width: 100%;
    }
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.about-content {
    flex: 1 1 400px;
}
.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Course Carousel Section */
.course-carousel-section {
    background: #fff;
    padding: 1.5rem 0;
    margin-bottom: 1.2rem;
}
.course-carousel-section .section-header h2, .course-carousel-section h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0;
    width: 100%;
}
.course-card {
    background: #fff;
    color: #23235b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 180px;
    max-width: 200px;
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    transition: transform 0.2s;
}
.course-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}
.course-card h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #23235b;
}
.course-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.carousel-btn {
    background: #e0e0e0 !important;
    color: #23235b !important;
    border: 1px solid #bbb !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    font-size: 2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: #cccccc !important;
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .about-image img {
        max-width: 100%;
    }
    .carousel {
        gap: 1rem;
    }
}

/* Our Services Section */
.our-services {
    background: #f7f7fa;
    padding: 1.5rem 0;
    margin-bottom: 1.2rem;
}
.services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
}
.service-card {
    background: #fff;
    color: #23235b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    transition: transform 0.2s;
    text-align: center;
}
.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #23235b;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}
.service-card p {
    font-size: 1rem;
    color: #23235b;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
@media (max-width: 900px) {
    .services-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        flex-wrap: wrap;
    }
    .service-card {
        max-width: 100%;
    }
}

.testimonial-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    margin-top: 1rem;
}
.testimonial-carousel {
    width: 100%;
    max-width: 800px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    margin: 0 auto;
}
.testimonial-slide {
    display: none;
    width: 100%;
    transition: opacity 0.5s;
    align-items: center;
    justify-content: center;
}
.testimonial-slide.active {
    display: flex;
    opacity: 1;
}
.testimonial-carousel-btn {
    background: #e0e0e0 !important;
    color: #23235b !important;
    border: 1px solid #bbb !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    font-size: 2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.testimonial-carousel-btn:hover {
    background: #cccccc !important;
}
@media (max-width: 900px) {
    .testimonial-carousel {
        max-width: 98vw;
        min-height: 180px;
    }
}

.contact-section-bg {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 2.2rem 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
}
.contact-flex {
    display: flex;
    gap: 2.5rem;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
}
.contact-form-container, .contact-map-info {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}
.contact-form-container {
    flex: 1 1 320px;
}
.contact-map-info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-divider {
    width: 2px;
    background: #23235b;
    border-radius: 2px;
    height: 100%;
    margin: 0 1.2rem;
    align-self: stretch;
    display: block;
}
@media (max-width: 900px) {
    .contact-section-bg {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-divider {
        display: none;
    }
}

body, .about-content p, .about-content ul, .about-content li, .service-card p, .service-card h3, .testimonial, .testimonial p, .testimonial .client-info, .equipping-leaders, .elevate-career, .section-header, .contact-info, .contact-form-container, .contact-form-container label, .contact-form-container input, .contact-form-container textarea {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif !important;
}

p, ul, li, label, input, textarea {
    font-size: 1.13rem;
    color: #222;
    font-weight: 400;
    line-height: 1.7;
}

ul {
    padding-left: 1.2rem;
}
li {
    margin-bottom: 0.5rem;
    color: #333;
}

.about-us .about-content h2,
.testimonials h2,
.contact h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-us .about-content h2, .our-services h2, .testimonials h2 {
    color: #111 !important;
}
.contact .container {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-modern-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 2.2rem 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
}
.contact-modern-header {
    text-align: center;
    color: #111;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}
.contact-modern-row {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
}
.contact-modern-col {
    flex: 1 1 320px;
    min-width: 0;
}
.contact-modern-form-col {
    max-width: 370px;
}
.contact-modern-img-col {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 370px;
}
.contact-modern-img-placeholder {
    width: 100%;
    min-height: 350px;
    background: #007bff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-label {
    color: #bb86fc;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    display: block;
}
.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #333;
    border-radius: 6px;
    background: #23235b0d;
    color: #000000;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    resize: none;
}
.form-control:focus {
    outline: 2px solid #bb86fc;
    border-color: #bb86fc;
}
.btn.btn-primary {
    background: #bb86fc;
    color: #181828;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn.btn-primary:hover {
    background: #a06cd5;
}
.mt-3 {
    margin-top: 1rem;
}
.text-success {
    color: #4caf50;
}
@media (max-width: 900px) {
    .contact-modern-container {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .contact-modern-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-modern-form-col, .contact-modern-img-col {
        max-width: 100%;
    }
    .contact-modern-img-placeholder {
        min-height: 200px;
    }
}

.contact-bg-simple {
    background: #f7f7fa;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2rem 0 2.5rem 0;
}
.contact-info-simple {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: flex-start;
}
.contact-info-simple h3 {
    color: #111;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.contact-info-simple p {
    color: #444;
    font-size: 1.05rem;
    margin: 0 0 0.7rem 0;
    word-break: break-word;
}
.contact-map-simple {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.contact-modern-header {
    text-align: center;
    color: #111;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}
@media (max-width: 900px) {
    .contact-bg-simple {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .contact-info-simple, .contact-map-simple {
        max-width: 100%;
    }
}

.contact-simple-form {
    margin-bottom: 1.5rem;
    background: transparent;
    padding: 0;
}
.contact-simple-row {
    display: flex;
    gap: 1rem;
}
.contact-simple-half {
    flex: 1 1 50%;
}
@media (max-width: 900px) {
    .contact-simple-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer-info-row {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}
.footer-info-row > div {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}
.footer-info-row h3 {
    color: #111;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.footer-info-row p {
    color: #444;
    font-size: 1rem;
    margin: 0 0 0.7rem 0;
    word-break: break-word;
}
@media (max-width: 900px) {
    .footer-info-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

.course-carousel-section,
.testimonials,
footer {
    background: #fff;
}
footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.testimonials h2, .testimonials .testimonial, .testimonials .testimonial p, .testimonials .client-info span {
    color: #fff !important;
}