/* About Page Styles */
.about {
    padding: 80px 0;
    background-color: var(--background-black);
    color: white;
}

.about h2 {
    color: white;
}

.about p {
    color: #cccccc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-left h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.about-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-right p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-right .btn {
    margin-top: 1rem;
}

/* What We Do Section */
.what-we-do {
    padding: 80px 0;
    background-color: var(--background-black);
    color: white;
}

.what-we-do h2,
.what-we-do h3 {
    color: white;
}

.what-we-do p {
    color: #cccccc;
}

.what-we-do .quote {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.what-we-do .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.what-we-do .section-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.what-we-do .section-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.what-we-do .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.what-we-do .quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services Overview */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.service-overview-card h3 {
    color: white;
}

.service-overview-card p {
    color: #cccccc;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-overview-card:hover::before {
    transform: scaleX(1);
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-overview-card .service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
}

.service-overview-card:hover .service-icon {
    transform: scale(1.1);
}

.service-overview-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.service-overview-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background-color: var(--background);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.skills-text h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.skills-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-info h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
    transition: width 1s ease;
}

/* Training Partners */
.training-partners {
    padding: 80px 0;
    background-color: var(--background);
}

.training-partners .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.training-partners .section-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.training-partners .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.partner-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.partner-card:hover .partner-logo {
    background: var(--primary-color);
    transform: scale(1.1);
}

.partner-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.partner-card p {
    color: var(--text-light);
}

/* Latest Clients */
.latest-clients {
    padding: 80px 0;
}

.latest-clients .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.latest-clients .section-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.latest-clients .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.client-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-logo {
    width: 80px;
    height: 80px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.client-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.client-item:hover .client-logo {
    background: var(--primary-color);
    transform: scale(1.1);
}

.client-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.client-card p {
    color: var(--text-light);
}

/* Clients Scroll Section */
.latest-clients-scroll {
    padding: 80px 0;
    background-color: var(--background);
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.clients-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.clients-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.clients-scroll-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.clients-scroll-wrapper {
    display: flex;
    gap: 3rem;
    animation: scrollClients 15s linear infinite;
}

.client-item {
    flex-shrink: 0;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 200px;
    transition: var(--transition);
}

.client-logo {
    width: 60px;
    height: 60px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.client-logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients-scroll-container:hover .clients-scroll-wrapper {
    animation-play-state: paused;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0 40px 0;
    background: var(--background-light);
}

.timeline-vertical {
    position: relative;
    margin: 40px 0 0 0;
    padding-left: 40px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px 32px;
    position: relative;
    display: inline-block;
    min-width: 260px;
    max-width: 420px;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: -40px;
    box-shadow: var(--shadow);
}

.timeline-item.left .timeline-content {
    margin-right: 0;
    margin-left: auto;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--background-light);
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

/* Training Overview Stats */
.training-overview {
    padding: 60px 0;
    background-color: var(--background-light);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* Course Categories */
.course-categories {
    padding: 80px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta i {
    color: var(--primary-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--background-black);
    color: white;
}

.why-choose-us h2,
.why-choose-us h3 {
    color: white;
}

.why-choose-us p {
    color: #cccccc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-black) 0%, var(--background-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background-color: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.2rem;
    color: white;
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.success-stats .stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.success-stats .stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* Industry Demand Section */
.industry-demand {
    padding: 80px 0;
    background-color: var(--background-black);
    color: white;
}

.industry-demand h2,
.industry-demand h3 {
    color: white;
}

.industry-demand p {
    color: #cccccc;
}

.demand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.demand-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.demand-icon i {
    font-size: 2rem;
    color: white;
}

.demand-card h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.8rem;
}

.demand-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Instructors Section */
.instructors {
    padding: 80px 0;
    background-color: var(--background);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.instructor-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.instructor-avatar i {
    font-size: 2.5rem;
    color: white;
}

.instructor-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.instructor-credentials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.instructor-credentials span {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.instructor-exp {
    color: var(--text-light);
    line-height: 1.6;
}

/* Course Previews Section */
.course-previews {
    padding: 80px 0;
    background-color: var(--background-light);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.preview-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.preview-thumbnail {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.preview-thumbnail i {
    font-size: 2rem;
    color: white;
}

.preview-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.preview-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Payment Plans Section */
.payment-plans {
    padding: 80px 0;
    background-color: var(--background);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
}

.discount {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-price p {
    color: var(--text-light);
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Enhanced CTA Section */
.cta-offers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.offer-item i {
    color: var(--primary-color);
}

/* Responsive Page Styles */
@media (max-width: 1024px) {
    .services-overview {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .training-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .services-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .training-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partners-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .what-we-do .section-header h2,
    .about-left h2,
    .skills-text h2,
    .training-partners .section-header h2,
    .latest-clients .section-header h2 {
        font-size: 2rem;
    }

    .skill-item {
        padding: 1rem;
    }

    .service-overview-card {
        padding: 2rem;
        min-height: auto;
    }

    .service-overview-card .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .training-card {
        padding: 2rem;
        min-height: auto;
    }
    
    .training-badge {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .training-card h3 {
        font-size: 1.3rem;
    }
    
    .training-card p {
        font-size: 1rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .demand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .cta-offers {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .about-illustration {
        width: 250px;
        height: 250px;
    }

    .about-illustration i {
        font-size: 4rem;
    }

    .security-elements .element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-overview-card {
        padding: 1.5rem;
    }

    .partner-card,
    .client-card {
        padding: 1.5rem;
    }

    .service-overview-card .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .partner-logo,
    .client-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }

    .demand-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-credentials {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
}

/* Timeline Responsive */
@media (max-width: 900px) {
    .timeline-vertical::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 40px;
    }
    
    .timeline-item .timeline-content {
        margin: 0;
    }
    
    .timeline-item::after {
        left: 10px !important;
        right: auto !important;
    }
} 

 .services-header {
            text-align: center;
            padding: 3rem 1rem 2rem 1rem;
            background: linear-gradient(90deg, var(--macksofy-black) 60%, var(--macksofy-red) 100%);
            color: var(--macksofy-white);
        }
        .sticky-nav {
            position: sticky;
            top: 0;
            background: var(--macksofy-red);
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            display: flex;
            justify-content: center;
            gap: 2rem;
            padding: 0.5rem 0;
        }
        .sticky-nav a {
            color: var(--macksofy-black);
            text-decoration: none;
            font-weight: 700;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            transition: background 0.2s, color 0.2s;
        }
        .sticky-nav a.active, .sticky-nav a:hover {
            background: #CC0000;
            color: var(--macksofy-white);
        }
        .services-section {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        .category-title {
            font-size: 2rem;
            color: var(--macksofy-red);
            margin-bottom: 1rem;
            margin-top: 2rem;
            border-left: 5px solid var(--macksofy-red);
            padding-left: 0.75rem;
            letter-spacing: 1px;
        }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
        }
        .service-card {
            background: var(--macksofy-white);
            border: 1px solid #eee;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            padding: 1.5rem 1rem 1rem 1rem;
            position: relative;
            overflow: hidden;
            transition: box-shadow 0.3s, transform 0.3s;
            cursor: pointer;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
        }
        .service-card:hover {
            box-shadow: 0 8px 24px rgba(225,6,0,0.10);
            transform: translateY(-4px) scale(1.03);
            z-index: 2;
        }

        .service-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--macksofy-black);
        }
        .service-desc {
            font-size: 0.98rem;
            color: #444;
            margin-top: 0.5rem;
            display: block;
        }
        .read-more-link {
            display: inline-block;
            margin-top: auto;
            padding: 0.5rem 1rem;
            background-color: #CC0000;
            color: var(--macksofy-white);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 700;
            transition: background-color 0.2s;
            align-self: flex-start;
        }
        .read-more-link:hover {
            background-color: #c00000; /* Darker red on hover */
        }
        @media (max-width: 768px) {
            .services-header {
                font-size: 1.3rem;
                padding: 1.2rem 0.5rem 0.5rem 0.5rem;
            }
            .category-title {
                font-size: 1.2rem;
                margin-top: 1.2rem;
            }
            .services-section {
                margin: 1rem auto;
            }
            .services-grid {
                gap: 1rem;
            }
            .service-card {
                padding: 1rem 0.5rem 0.5rem 0.5rem;
            }
        }

/* Responsive Sticky Nav for Mobile */
@media (max-width: 768px) {
    .sticky-nav {
      display: flex;
      overflow-x: auto;
      gap: 1rem;
      padding: 0.5rem 0.5rem;
      background: var(--macksofy-white, #fff);
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      position: sticky;
      top: 56px; /* below main header */
      z-index: 99;
      border-radius: 0 0 12px 12px;
      scrollbar-width: none; /* Firefox */
    }
    .sticky-nav::-webkit-scrollbar {
      display: none; /* Chrome/Safari */
    }
    .sticky-nav .nav-link {
      flex: 0 0 auto;
      font-size: 0.92rem;
      padding: 0.5rem 0.7rem;
      border-radius: 16px;
      background: var(--macksofy-red, #e10600);
      color: #fff;
      font-weight: 600;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
    }
    .sticky-nav .nav-link.active,
    .sticky-nav .nav-link:hover {
      background: #c00000;
      color: #fff;
    }
  }

@media (max-width: 768px) {
    .clients-scroll-wrapper {
        animation: scrollClients 20s linear infinite;
    }
    .client-item {
        min-width: 120px;
    }
}