/* START COURSE CSS */
:root {
    --transition: 0.3s all ease;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 37.5%;
    overflow: hidden;
}

.image-container img,
.media-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.media-1 {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
}

.media-1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(61, 61, 61, 0.3);
    transition: var(--transition);
}

.media-1-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    z-index: 4;
    color: #fff;
}

.media-1-content h2,
.media-1-content .category {
    position: relative;
    transition: 0.4s all ease-in-out;
    opacity: 1;
    visibility: visible;
    bottom: -10px;
}

.media-1-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.media-1-content .category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.media-1:hover::after {
    opacity: 1;
    visibility: visible;
}

.media-1:hover h2,
.media-1:hover .category {
    bottom: 0;
}

.media-1:hover .category {
    transition-delay: 0.09s;
    color: white;
}

.media-1:hover img {
    transform: scale(1.05);
}
/* END COURSE CSS */

/* START TEAM CSS */
 #team-section {
     padding: 80px 0;
 }

.team-row {
    display: flex;
    flex-wrap: wrap;
}

.team-col {
    display: flex;
    margin-bottom: 30px;
}

.person {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
}

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

.person img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px auto;
    transition: all 0.3s ease;
}

.person:hover img {
    transform: scale(1.1);
}

.person h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 20px;
    font-weight: 600;
}

.person .position {
    font-size: 1rem;
    color: #3498db;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.person .bio {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ul-social-circle {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.ul-social-circle li {
    margin: 0 10px;
}

.ul-social-circle li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #2c3e50;
    font-size: 18px;
    transition: all 0.3s ease;
}

.ul-social-circle li a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .team-col {
        margin-bottom: 30px;
    }
}
/* END TEAM CSS */

/* START ABOUT CSS */
 .site-section {
     padding: 80px 0;
     background-color: #f4f7fa;
 }

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    font-size: 26px;
    color: #34495e;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 16px;
    color: #95a5a6;
    margin-bottom: 0;
}

.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 14px 40px;
    font-size: 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #2980b9;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
    }

    .lead {
        font-size: 16px;
    }

    .feature-card h3 {
        font-size: 22px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 12px 30px;
    }
}
/* END ABOUT CSS */

/* START FOOTER CSS */
 .site-footer {
     background: linear-gradient(to right, #1a2a6c, #b21f1f, #fdbb2d);
     color: #fff;
     padding: 60px 0 30px;
     font-family: 'Inter', sans-serif;
 }

.site-footer .footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer p, .site-footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px 10px 0;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 20px;
}

.site-footer .social-links a:hover {
    transform: translateY(-3px);
}

.site-footer .social-links a.linkedin:hover {
    background-color: #0077B5;
}

.site-footer .social-links a.facebook:hover {
    background-color: #1877F2;
}

.site-footer .social-links a.youtube:hover {
    background-color: #FF0000;
}

.site-footer .social-links a.whatsapp:hover {
    background-color: #25D366;
}

.site-footer .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.site-footer .footer-bottom p {
    margin-bottom: 0;
}

.site-footer .footer-bottom .heart-icon {
    color: #ff4757;
    font-size: 18px;
}

@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-heading {
        margin-top: 30px;
    }

    .site-footer .social-links {
        margin-top: 20px;
    }
}
/* END FOOTER CSS */

/* START CONTACT CSS */
#contact-section {
    padding: 80px 0;
    background-color: #f4f7fa;
}

.contact-form-card {
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.contact-form-card:hover {
    box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.2);
}

.contact-form-card h3 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-form-card .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-card .form-group label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control {
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 10px;
}

.contact-form-card .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form-card .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;
}

.contact-form-card .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
/* END CONTACT CSS */

/* START MAP CSS */
#map-section {
    padding: 0;
}

.google-map {
    position: relative;
    padding-bottom: 400px;
    height: 0;
    overflow: hidden;
}

.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    #contact-section {
        padding: 60px 0;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .google-map {
        padding-bottom: 75%;  /* Adjust the aspect ratio for mobile */
    }
}
/* END MAP CSS */


/* START LANGUAGE CSS */
.language-dropdown .nav-link,
.language-dropdown .dropdown a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
}

.language-dropdown .flag-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.language-dropdown .dropdown {
    min-width: 120px;
}
/* END LANGUAGE CSS */