/* main color: #07aec5
   border color: #07aec5
*/
:root {
    --bs-primary: #07aec5;
    --bs-btn-bg: #07aec5;
    --bs-btn-border-color: #07aec5;
    --bs-btn-disabled-bg: #07aec5;
    --bs-btn-disabled-border-color: #07aec5;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(18px);
}
.nav-link{
    color: rgba(255, 255, 255, 0.74) !important;
}
.nav-link.active{
    color: white !important;
}
.hero-section button{
    background-color: #07aec5;
    border-color: #07aec5;
}
.hero-section button:hover{
    color: #07aec5;
    background-color: white;
    border-color: #07aec5;
}

.hero-section {
    height: 80vh;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
}

/* About Section Styles */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.list-unstyled li {
    font-size: 1.1rem;
    color: #555;
}

/* Projects Section Styles */
.projects-section {
    background-color: #f8f9fa;
}

.project-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 221, 252, 0.1);
}

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-tech .badge {
    background-color: #07aec5 !important;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-bottom: 3px;
}

.btn-outline-primary {
    color: #07aec5;
    border-color: #07aec5;
}

.btn-outline-primary:hover {
    background-color: #07aec5;
    border-color: #07aec5;
    color: white;
}

/* FAQ Section Styles */
.faq-section {
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: #07aec5;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(7, 174, 197, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
    border: 1px solid rgba(7, 174, 197, 0.2);
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.accordion-item:last-of-type {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.accordion-body {
    color: #666;
    line-height: 1.6;
}

.accordion-body ul {
    margin-bottom: 0;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* Contact Section Styles */
.contact-section {
    background-color: #f8f9fa;
}

.contact-form-wrapper {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid rgba(7, 174, 197, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #07aec5;
    box-shadow: 0 0 0 0.25rem rgba(7, 174, 197, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-section .btn-primary {
    background-color: #07aec5;
    border-color: #07aec5;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-section .btn-primary:hover {
    background-color: #0694a7;
    border-color: #0694a7;
    transform: translateY(-2px);
}

.contact-section .btn-primary:active {
    transform: translateY(0);
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #07aec5;
    padding-left: 5px;
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: #07aec5;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #07aec5;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #141414;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #07aec5;
}

/* Partner Logos Section */
.partner-logos-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
}

.partner-logos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partner-logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(250px * 10); /* Adjust based on number of logos */
}

.partner-logo {
    flex: 0 0 250px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Half of the total width */
    }
}

/* Pause animation on hover */
.partner-logos-container:hover .partner-logos-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo {
        flex: 0 0 200px;
    }
    
    .partner-logos-track {
        width: calc(200px * 10);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 5));
        }
    }
}

@media (max-width: 576px) {
    .partner-logo {
        flex: 0 0 150px;
    }
    
    .partner-logos-track {
        width: calc(150px * 10);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5));
        }
    }
}

/* Navbar Logo */
.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 35px;
    }
}

/* Training Section Styles */
.training-section {
    background-color: #f8f9fa;
}

.training-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.training-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.training-image::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.training-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
    background-color: #f8f9fa;
}

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

.training-content {
    padding: 2rem;
}
.text-primary{
    color: #07aec5 !important;
}
.training-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: -25px;
    position: relative;
    z-index: 1;
}

.training-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.training-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: black;
}

.training-level {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.training-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.training-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.training-features li {
    margin-bottom: 0.5rem;
    color: #555;
}

.training-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .training-card {
        margin-bottom: 1.5rem;
    }
    
    .training-image {
        height: 180px;
    }
}

.about-image {
    position: relative;
    overflow: hidden;
}

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

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

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

/* Team Section Styles */
.team-section {
    background-color: #f8f9fa;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.team-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-position {
    font-size: 1.1rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.team-degree {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.team-specialization {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.team-social {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.team-social .social-link {
    color: #666;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.team-social .social-link:hover {
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }
    
    .team-name {
        font-size: 1.3rem;
    }
    
    .team-position {
        font-size: 1rem;
    }
}

/* Formations Page Styles */
.formation-header {
    padding-top: 120px !important;
    background: white;
}

/* Filter Section Styles */
.filter-section {
    background-color: #f8f9fa;
}

.filter-container {
    transition: all 0.3s ease;
}

.filter-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.filter-btn {
    transition: all 0.3s ease;
    border-width: 2px;
    font-weight: 500;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.formation-card {
    transition: transform 0.3s ease;
}

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

.formation-card .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formation-card .card-body {
    padding: 2rem;
}

.formation-card .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.formation-card img {
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0 0 0.5rem;
}

.formation-details h6 {
    color: var(--bs-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.formation-details p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .formation-card img {
        height: 200px;
        border-radius: 0.5rem 0.5rem 0 0;
    }
}

/* See More Formations Card Styles */
.see-more-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    color: inherit;
}

.see-more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.see-more-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #07aec5 0%, #2c5282 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.see-more-overlay {
    text-align: center;
    color: white;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.see-more-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.see-more-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.see-more-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.see-more-card .btn {
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .see-more-image {
        min-height: 250px;
    }
    
    .see-more-icon {
        font-size: 2.5rem;
    }
    
    .see-more-title {
        font-size: 1.5rem;
    }
    
    .see-more-text {
        font-size: 1rem;
    }
}

.bg-primary{
    background: linear-gradient(135deg, var(--bs-primary) 0%, #2c5282 100%) !important;
}
.btn-primary{
    border-color: #07aec5 ;
    background: #07aec5 ;
}

.formations-detailed{
    background: #f8f9fa;
}