


:root {
    --primary-color: #1a4b8c;
    --accent-color: #ff0000;
    --text-color: #333;
    --light-bg: #f8f9fa;
}






 
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.about-header {
    margin-bottom: 4rem;
    text-align: center;
}

.about-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.about-content {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;

}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    opacity: 0.8;
}

.about-text {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 300px;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.mission-card:hover .icon-box {
    background: var(--accent-color);
    transform: rotateY(180deg);
}

.key-points {
    margin-top: 3rem;
}

.key-point {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.key-point:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.key-point i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .about-image {
        margin-bottom: 2rem;
    }

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

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }

    .mission-card {
        margin-bottom: 1.5rem;
    }

    .about-text {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-header h2 {
        font-size: 1.8rem;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
/* Slider Section */
.ecdis-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1a252f;
    margin-bottom: 3rem;
    font-weight: 700;
}

.slider-wrapper {
    position: relative;
    padding: 40px 20px;
}

.slider-container {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 20px;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
}

/* Course Card Base Styles */
.course-card {
    flex: 0 0 calc(25% - 1.125rem); /* 4 cards on desktop */
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Image Wrapper */
.course-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

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



/* Badge */
.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Content */
.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #1a252f;
    font-weight: 600;
    line-height: 1.4;
}

.course-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: auto;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.course-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.course-cta:hover {
    gap: 0.75rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* Large Desktop: 1200px+ (4 cards) */
@media (min-width: 1200px) {
    .course-card {
        flex: 0 0 calc(25% - 1.125rem);
    }
}

/* Desktop/Laptop: 1024px - 1199px (3 cards) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .course-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Tablet Landscape: 768px - 1023px (3 cards) */
@media (max-width: 1023px) and (min-width: 768px) {
    .slider-wrapper {
        padding: 30px 15px;
    }
    
    .slider-track {
        gap: 1.25rem;
    }
    
    .course-card {
        flex: 0 0 calc(33.333% - 0.834rem);
    }
    
    .course-image-wrapper {
        height: 180px;
    }
}

/* Tablet Portrait: 600px - 767px (2 cards) */
@media (max-width: 767px) and (min-width: 600px) {
    .slider-wrapper {
        padding: 20px 10px;
    }
    
    .slider-track {
        gap: 1rem;
    }
    
    .course-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .course-image-wrapper {
        height: 160px;
    }
    
    .course-content {
        padding: 1.25rem;
    }
    
    .course-title {
        font-size: 1.1rem;
    }
}

/* Mobile Landscape: 480px - 599px (2 cards) */
@media (max-width: 599px) and (min-width: 480px) {
    .slider-wrapper {
        padding: 15px 8px;
    }
    
    .slider-track {
        gap: 0.875rem;
    }
    
    .course-card {
        flex: 0 0 calc(50% - 0.438rem);
    }
    
    .course-image-wrapper {
        height: 140px;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .course-title {
        font-size: 1rem;
    }
    
    .course-description {
        font-size: 0.85rem;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Mobile Portrait: 320px - 479px (2 cards) */
@media (max-width: 479px) {
    .ecdis-section {
        padding: 1rem 0.5rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .slider-wrapper {
        padding: 10px 5px;
    }
    
    .slider-track {
        gap: 0.5rem;
    }
    
    .course-card {
        flex: 0 0 calc(50% - 0.25rem);
        min-width: 0;
    }
    
    .course-image-wrapper {
        height: 120px;
    }
    
    .course-content {
        padding: 0.875rem;
    }
    
    .course-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .course-description {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .course-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-top: 0.75rem;
    }
    
    .course-duration {
        font-size: 0.75rem;
    }
    
    .course-duration svg {
        width: 14px;
        height: 14px;
    }
    
    .course-cta {
        font-size: 0.75rem;
    }
    
    .course-cta svg {
        width: 14px;
        height: 14px;
    }
}

/* Extra Small Devices: < 320px (2 cards) */
@media (max-width: 319px) {
    .slider-track {
        gap: 0.4rem;
    }
    
    .course-card {
        flex: 0 0 calc(50% - 0.2rem);
    }
    
    .course-image-wrapper {
        height: 100px;
    }
    
    .course-content {
        padding: 0.75rem;
    }
    
    .course-title {
        font-size: 0.85rem;
    }
    
    .course-description {
        font-size: 0.7rem;
    }
}

/* why */
.why-choose-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.section-title {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    /* display: inline-block; */
    text-align: center;
    padding: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #0066cc;
    border-radius: 2px;
}

.section-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 2rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #DC2B43;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-container {
    width: 80px;
    height: 80px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-container {
    background: #DC2B43;
    transform: rotateY(180deg);
}

.feature-icon {
    font-size: 2rem;
    color: #0066cc;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: white;
    transform: rotateY(-180deg);
}

.feature-title {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
    .why-choose-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}
/* training  */
.training-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.section-titleee {
    text-align: center;
    color: #124375;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #dc3545;
    border-radius: 2px;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: #fff;
    border: none;
    border-radius: 30px;
    color: #1a365d;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #dc3545;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: 0;
}

.tab-button:hover::before,
.tab-button.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.tab-button span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tab-button:hover span,
.tab-button.active span {
    color: white;
}

.tab-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px;
}

.tab-content.active {
    display: block;
    margin-bottom: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.content-text h3 {
    color: #124375;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #124375;
    background: #e6eff9;
    padding: 11px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}
.feature-item:hover{
   transform: translateX(20px);
}
.feature-item i {
    color: #124375;
    margin-right: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .training-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 2rem;
    }

    .content-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tab-buttons {
        flex-direction: column;
        width: 100%;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }
}
/* ##### */
.stats-section {
    background-color: #DC2B43;
    color: white;
    padding: 40px 0;
    border-radius: 10px;
    text-align: center;
}

.stats-section .stat-box {
    padding: 20px;
}

.stats-section .icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.stats-section .count {
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.stats-section p {
    font-size: 18px;
    margin-top: 5px;
}

/* Responsive styling */
@media (max-width: 767px) {
    .stats-section .count {
        font-size: 30px;
    }
    
    .stats-section p {
        font-size: 16px;
    }
}
/* feedback */
:root {
    --primary-color: #1a4b8c;
    --accent-color: #ff0000;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.testimonials-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.testimonials-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }

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

    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .testimonials-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .testimonial-author-image {
        width: 40px;
        height: 40px;
    }

    .testimonial-author-info h5 {
        font-size: 1rem;
    }

    .testimonial-author-info p {
        font-size: 0.8rem;
    }
}


/* blog section  page */
.blog-banner {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circle elements */
.blog-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.blog-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

/* Banner content */
.banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-title {
    color: white;
    font-size: 3.5rem;
    font-family: 'Arial', sans-serif;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-family: 'Arial', sans-serif;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #4f46e5;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* Responsive design */
@media (max-width: 768px) {
    .blog-banner {
        padding: 3rem 1.5rem;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .banner-button {
        padding: 0.875rem 1.75rem;
    }
}






/* Fix banner CSS Add */















