:root {
    --primary-color: #ff6a02;
    --secondary-color: #1a0936;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px transparent solid;
}
/* .container {
    max-width: 85%;
    margin: 0 auto;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
} */

/* Popular Training Courses Section */
.training-courses-section {
    padding: 60px 0;
    margin: 0;
    background: #eff8ff;
}

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

}

.header-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

.header-action {
    flex-shrink: 0;
}

.browse-courses-btn {
    color: var(--primary-color);
    border: 2px rgb(191, 191, 191) solid;
    border-radius: 25px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.browse-courses-btn:hover {
    background: #e55a02;
    color: var(--secondary-color);
    border: 2px transparent solid;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.course-card {
    background: #eff8ff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.course-card:hover {
    background: white;
    border: 1px transparent solid;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 270px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.course-tags {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-tag {
    background: rgba(26, 9, 54, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.course-info {
    padding: 1.5rem;
}

.course-info hr {
    margin: 1.8rem 0;
    height: 1px;
    background-color: #dddbdb;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    /* margin-bottom: 1.5rem; */
}

.course-location,
.course-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}


.course-location i,
.course-time i {
    color: var(--primary-color);
    font-size: 1.0rem;
}

.course-location span,
.course-time span {
    color: #666;
    font-size: 1.0rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.course-price i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }

    .training-courses-section {
        padding: 40px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

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

    .course-image {
        height: 180px;
    }

    .course-info {
        padding: 1.2rem;
    }

    .course-title {
        font-size: 1.1rem;
    }

    .course-meta {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .training-courses-section {
        padding: 30px 0;
    }

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

    .course-image {
        height: 160px;
    }

    .course-info {
        padding: 1rem;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .course-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .apply-btn {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .inquiry-btn {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
}

/* Why Choose Our Training Section */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.feature-box {
    text-align: center;
    padding-bottom: 0rem;
    border-radius: 30px;
    transition: all 0.5s ease;
    cursor: pointer;
    background: white;
    border-top: 22px solid transparent;
}

.feature-box:hover {
    background: #eff8ff;
    color: white;
    border-top: 22px solid var(--secondary-color);

    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 25px rgba(26, 9, 54, 0.2); */
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* .f-icon{
    color: red;
    font-size: 3rem;
} */

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: gray;
    margin: 0;
    transition: all 0.3s ease;
}

/* Our Trainers Section */
.trainers-section {
    padding: 80px 0;
    background: #eff8ff;
}

.section-header-left {
    text-align: left;
    margin-bottom: 4rem;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trainer-card {
    border-radius: 15px;
    overflow: hidden;
    /* background: #eff8ff; */
    border: 1px rgb(227, 227, 227) solid;
    transition: all 0.3s ease;
}

.trainer-card:hover {
    /* background: white; */
    border: 1px transparent solid;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.trainer-image {
    height: 300px;
    /* background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%); */
    position: relative;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.trainer-info {
    padding: 1.5rem;
    text-align: center;
}

.trainer-name {
    text-align: start;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.trainer-credentials {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.trainer-credentials i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.trainer-credentials span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Our Customers Section */
.customers-section {
    padding: 80px 0;
    background: white;
}

.customers-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4rem;
}

.customers-title .highlight {
    color: var(--primary-color);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* gap: 3rem; */
    align-items: center;
    margin-bottom: 3rem;
}

.customer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.customer-logo:hover {
    opacity: 1;
    /* transform: translateY(-5px); */
}

.customer-logo img {
    /* max-width: 120px; */
    /* max-height: 60px; */
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

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


/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    .why-choose-section,
    .trainers-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }

    .feature-box {
        padding: 1.2rem 0.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 0.75rem;
    }

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

    .trainer-image {
        height: 250px;
    }

    .trainer-info {
        padding: 1.2rem;
    }

    .customers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {

    .why-choose-section,
    .trainers-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }

    .feature-box {
        padding: 1.2rem 0.5rem;
    }

    .trainer-image {
        height: 220px;
    }

    .trainer-credentials {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .trainer-credentials i {
        align-self: center;
        margin-top: 0;
    }

    .customers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}