:root {
    --primary: #003366;
    --secondary: #f8b400;
    --dark: #333;
    --light: #f9f9f9;
    --gray: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #e0a500;
    transform: translateY(-3px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 2;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--secondary);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.mission-vision::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: rgba(248, 180, 0, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.mission-box, .vision-box, .values-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1 !important; /* Force visibility */
    transform: translateY(0) !important; /* Reset any transform */
}

.mission-box:hover, .vision-box:hover, .values-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 28px;
    color: white;
}

.mission-box h2, .vision-box h2, .values-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.mission-box p, .vision-box p {
    line-height: 1.7;
    color: #555;
}

.values-box ul {
    padding-left: 0;
    list-style: none;
}

.values-box li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    opacity: 1 !important; /* Force visibility */
    transform: translateX(0) !important; /* Reset any transform */
}

.values-box li:last-child {
    border-bottom: none;
}

.values-box strong {
    color: var(--primary);
}

/* Responsive styles for mission-vision section */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-box {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .values-box {
        grid-column: span 1;
    }
}

/* Animation keyframes for mission-vision section */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.mission-box {
    animation-delay: 0.2s;
}

.vision-box {
    animation-delay: 0.4s;
}

.values-box {
    animation-delay: 0.6s;
}

/* Apply floating animation to icon boxes */
.mission-box .icon-box {
    animation: pulse 3s infinite;
}

.vision-box .icon-box {
    animation: pulse 3s infinite 0.5s;
}

.values-box .icon-box {
    animation: pulse 3s infinite 1s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
}

/* About Us Section Styles */
.about-us {
    padding: 80px 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto 20px;
    transform: scaleX(0);
    animation: dividerReveal 1.2s ease forwards;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #00264d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

/* Animation keyframes for About section */
@keyframes dividerReveal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles for About section */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1 0 50%;
        margin-bottom: 20px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('../../images/bg/bg2.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.why-choose-us .section-header h2 {
    color: #fff;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.why-choose-us .section-divider {
    background: linear-gradient(90deg, #ffd700, #fff);
    height: 4px;
    width: 80px;
    margin: 0 auto 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.why-choose-us .section-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(30px);
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-15px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #f0f0f0;
    line-height: 1.7;
}

.benefits-cta {
    text-align: center;
    margin-top: 50px;
}

.benefits-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
}

.benefits-btn:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for Why Choose Us section */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-us {
        padding: 80px 0;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 25px;
    }

    .why-choose-us {
        padding: 60px 0;
        min-height: 400px;
        /* Disable fixed attachment on mobile for better performance */
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .why-choose-us {
        padding: 50px 0;
        min-height: 350px;
    }

    .benefit-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-icon i {
        font-size: 24px;
    }
}

/* Featured Courses Section */
.featured-courses {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
}

.featured-courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/about/about.png') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
}

.course-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 220px;
    position: relative;
    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.1);
}

.course-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.course-category {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.course-card:hover .course-content h3 {
    color: var(--secondary);
}

.course-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0;
}

.course-features li {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
}

.course-features li i {
    margin-right: 5px;
    color: var(--secondary);
}

.course-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.course-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.course-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

.courses-cta {
    text-align: center;
    margin-top: 50px;
}

.courses-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
}

.courses-btn:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for Featured Courses section */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-image {
        height: 200px;
    }
}

/* Gallery & Social Media Section */
.gallery-social {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.gallery-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.column-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
    text-align: center;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 15px;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Gallery Styles */
.photo-album {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.album-cover {
    background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
    height: 150px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.album-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.album-cover-title {
    text-align: center;
    color: white;
}

.album-cover-title h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.album-cover-title p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 120px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    text-align: center;
    width: 100%;
}

.gallery-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.gallery-info p {
    font-size: 0.7rem;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
}

.gallery-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.gallery-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

/* Social Media Styles */
.social-column {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.facebook-container {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    height: 600px;
    display: flex;
    justify-content: center;
}

.facebook-container iframe {
    max-width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background-color: #ff0000;
}

.social-link.linkedin {
    background-color: #0077b5;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-details {
    padding: 20px;
    background-color: white;
}

.lightbox-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.lightbox-details p {
    color: #666;
    line-height: 1.6;
}

/* Responsive styles for Gallery & Social Media section */
@media (max-width: 992px) {
    .gallery-social-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .facebook-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .facebook-container {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://assets.codepen.io/1462889/pattern.svg');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.testimonials-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-card {
    padding: 40px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary);
    margin: 0 auto;
    max-width: 800px;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    visibility: visible;
}

.testimonial-content {
    position: relative;
    padding: 10px 0 20px;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: -15px;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-arrow {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-content::before {
        font-size: 4rem;
        top: -30px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.faq-category-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background-color: #e0e0e0;
}

.faq-category-btn.active {
    background-color: var(--primary);
    color: white;
}

.faq-items {
    margin-bottom: 40px;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 0;
    color: #555;
    line-height: 1.6;
}

.faq-answer ul {
    padding-left: 20px;
    color: #555;
}

.faq-answer ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.faq-more {
    text-align: center;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-more p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    padding: 15px 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--secondary);
}

.contact-option i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-option span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .faq-categories {
        gap: 8px;
    }
    
    .faq-category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-options {
        gap: 10px;
    }
    
    .contact-option {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Accreditation Section */
.accreditation-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.accreditation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMwMDMzNjYiIGZpbGwtb3BhY2l0eT0iLjAzIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.5;
    z-index: 0;
}

.accreditation-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.accreditation-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.accreditation-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.accreditation-highlight {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 700px;
}

.highlight-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.highlight-text h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.highlight-text p {
    margin: 0;
    font-size: 1rem;
}

.accreditation-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
}

.accreditation-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.accreditation-slider {
    display: flex;
    animation: slide 30s linear infinite;
    width: max-content;
}

.accreditation-logo {
    flex: 0 0 180px;
    height: 100px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.accreditation-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.accreditation-logo img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.accreditation-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.logo-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--primary) transparent;
}

.accreditation-logo:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.accreditation-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.accreditation-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.accreditation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.accreditation-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.accreditation-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .accreditation-info {
        gap: 20px;
    }
    
    .accreditation-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .accreditation-highlight {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .highlight-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .accreditation-logo {
        flex: 0 0 150px;
        height: 80px;
        margin: 0 15px;
    }
    
    .accreditation-logo img {
        max-height: 50px;
    }
    
    .accreditation-info {
        flex-direction: column;
        align-items: center;
    }
    
    .accreditation-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .accreditation-text p {
        font-size: 1rem;
    }
    
    .accreditation-logo {
        flex: 0 0 120px;
        height: 70px;
        margin: 0 10px;
    }
}

/* Footer Styles *
.site-footer {
    position: relative;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.footer-wave {
    display: block;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    position: relative;
}

.footer-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.footer-main {
    background-color: var(--primary);
    padding: 0 0 20px;
    position: relative;
    margin: 0;
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
}

.footer-logo {
    margin-right: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1); 
}

.footer-logo-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 5px;
    font-weight: 700;
}

.footer-logo-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-about-text {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item span {
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: var(--secondary);
}

.newsletter-text {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #ff8533;
}

.footer-app-download {
    margin-top: 25px;
}

.footer-app-download h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.app-button {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.app-button i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.app-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo-container {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .app-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-wave {
        height: 80px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .footer-wave {
        height: 60px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-logo-text h3 {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
