:root {
    --primary-blue: #0098ff;
    --dark-blue: #0a2140;
    --content-text: #3e5385;
    --text-gray: #6b7280;
    --light-blue: #002640;
    --light-gray: #f3f4f6;
}

.btn {
    padding: 15px 30px !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #0077cc !important;
    color: white !important;
}

.btn-light {
    background-color: white !important;
    color: var(--light-blue) !important;
}

.card-base {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

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

.section-padding {
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--content-text);
    margin: 0;
}

.section-title.mb-5 {
    margin-bottom: 3rem;
}

.view-all-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: var(--dark-blue);
}

body {
    color: var(--content-text);
    background: #f3f4f8;
}

.hero-wrapper {
    padding: 60px 40px;
    background: var(--dark-blue);
    color: white;
}

.hero-section {
    padding: 10px 60px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.instructor-card {
    overflow: hidden;
    margin: 0 12px;
}

.instructor-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #4a6fa5 0%, #5b7fb8 100%);
    padding-top: 100%;
    overflow: hidden;
}

.instructor-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linkedin-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 10;
}

.linkedin-icon:hover {
    background: #0077cc;
    transform: scale(1.1);
}

.instructor-info {
    padding: 20px;
    text-align: left;
}

.instructor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--content-text);
    margin-bottom: 8px;
}

.instructor-title {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Updated swiper navigation buttons to match Figma design - white circles with blue chevron icons */
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    background-color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 20 !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px !important;
    color: var(--primary-blue) !important;
    font-weight: 900 !important;
}

.swiper-button-prev {
    left: 10px !important;
}

.swiper-button-next {
    right: 10px !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: white !important;
}

.training-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.3s;
}

.training-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.training-icon {
    width: 56px;
    height: 56px;
    background: #e8f2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.training-icon-img {
    width: 26px;
    height: 26px;
    filter: invert(47%) sepia(96%) saturate(2726%) hue-rotate(188deg) brightness(102%) contrast(101%);
}

.training-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--content-text);
    margin-bottom: 24px;
    line-height: 1.4;
}

.training-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-card li {
    padding: 6px 0;
    color: var(--content-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.training-card li:before {
    content: "• ";
    color: var(--content-text);
    font-weight: bold;
    margin-right: 8px;
}

.training-image-wrapper {
    height: 100%;
    min-height: 500px;
}

.training-image {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.gallery-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0;
    overflow-x: hidden !important;
}

.gallery-swiper {
    margin: 80px 0;
    padding: 0 100px;
    overflow: visible !important;
}

.gallery-swiper .swiper-wrapper {
    overflow: visible !important;
}

.gallery-swiper .swiper-slide {
    opacity: 0.5;
    transform: scale(0.75);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.gallery-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.25) !important;
    z-index: 10 !important;
}

.gallery-image-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.swiper-slide-active .gallery-image-item {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-image-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}


.gallery-button-wrapper {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.testimonial-carousel-wrapper {
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 12px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.testimonial-logo {
    width: 125px;
    padding: 23px 25px;
    background: #e0f2fe;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-logo img {
    max-width: 60px;
    max-height: 40px;
}

.testimonial-company {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-company {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--content-text);
    margin-bottom: 16px;
    line-height: 1.4;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}

.testimonial-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text.expanded {
    display: block;
}

.testimonial-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-end;
}

.testimonial-link:hover {
    color: #0077cc;
}

.testimonial-link i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.testimonial-link.expanded i {
    transform: rotate(180deg);
}

.banner-content {
    background: white;
    border-radius: 24px;
    padding: 48px 60px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.banner-content h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .instructor-card {
        margin: 0;
    }

    .training-image-wrapper {
        min-height: 400px;
    }

    .hero-section {
        padding: 60px 40px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .gallery-swiper {
        margin: 40px 0;
        padding: 0 60px;
    }

    .gallery-image-item img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 30px;
        border-radius: 16px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .carousel-control-prev,
    .carousel-control-next,
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    .training-image-wrapper {
        min-height: 300px;
        margin-top: 20px;
    }

    .banner-content {
        padding: 32px 24px;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .gallery-swiper {
        margin: 20px 0;
        padding: 0 20px;
    }

    .gallery-swiper .swiper-slide,
    .gallery-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1) !important;
    }

    .gallery-image-item img {
        height: 250px;
    }
}
