/* FIX HORIZONTAL SCROLLING - ADD THIS ONLY */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ====== HOME PAGE STYLES ====== */

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-right: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
}

.feature-item i {
    color: #3498db;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services-section {
    background: #fff;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.service-list li {
    padding: 8px 0;
    color: #495057;
    border-bottom: 1px solid #f1f1f1;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: #2980b9;
}

/* Why Choose Us */
.feature-box {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-box p {
    color: #6c757d;
    line-height: 1.6;
}

/* Training Section */
.training-section {
    background: #f8f9fa;
}

.training-content {
    padding-left: 30px;
}

.training-list {
    margin: 30px 0;
}

.training-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.training-item i {
    font-size: 2rem;
    color: #3498db;
    margin-top: 5px;
}

.training-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.training-item p {
    color: #6c757d;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .training-content {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }
    
    .training-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ====== PORTFOLIO SLIDER STYLES ====== */

.slider-section {
    background: #f8f9fa;
}

.portfolio-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.slider-slide {
    min-width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
}

.slide-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.slide-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide-card:hover .slide-image img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide-card:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.slide-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.slide-content {
    padding: 25px;
}

.slide-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.slide-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #3498db;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-nav:disabled:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-50%);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #adb5bd;
}

/* Responsive Portfolio Slider */
@media (max-width: 991.98px) {
    .slider-slide {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
    
    .slider-container {
        padding: 0 40px;
    }
}

@media (max-width: 767.98px) {
    .slider-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .slider-container {
        padding: 0 30px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-image {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .slider-container {
        padding: 0 20px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 1.2rem;
    }
}

/* ====== FULL WIDTH IMAGE SLIDER STYLES ====== */

.fullwidth-slider-section {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.fullwidth-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.fullwidth-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    margin: 0;
    padding: 0;
}

/* FIX: Change slide positioning */
.fullwidth-slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.fullwidth-slider-slide.active {
    opacity: 1;
    position: relative;
}

/* Light black overlay for sophisticated look - FIXED */
.fullwidth-slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
    opacity: 0;
}

.fullwidth-slider-slide.active::before {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.fullwidth-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: bottom;
}

/* Elegant center-aligned content - Desktop width */
.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7); /* Darker for better contrast */
    padding: 30px 45px; /* Good desktop padding */
    border-radius: 12px;
    max-width: 650px; /* Fixed max-width for desktop elegance */
    width: auto; /* Auto width based on content */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
    z-index: 2;
}

/* Desktop title size */
.slider-caption h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Desktop subtitle size */
.slider-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.4);
    font-family: 'Poppins', sans-serif;
}

/* Buttons - desktop size */
.slider-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.slider-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

.slider-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.slider-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.slider-btn.btn-outline {
    background: transparent;
    border: 1.5px solid white;
}

.slider-btn.btn-outline:hover {
    background: white;
    color: #2c3e50;
}

/* Button Group for multiple buttons */
.slider-btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Navigation Arrows */
.fullwidth-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.fullwidth-slider-arrow:hover {
    background: #3498db;
    color: white;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fullwidth-slider-arrow.prev-arrow {
    left: 15px;
}

.fullwidth-slider-arrow.next-arrow {
    right: 15px;
}

.fullwidth-slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fullwidth-slider-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    transform: translateY(-50%);
}

/* Dots Navigation - Refined */
.fullwidth-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    max-width: fit-content;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fullwidth-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.fullwidth-slider-dot.active {
    background: #3498db;
    transform: scale(1.2);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2), 0 0 8px rgba(52, 152, 219, 0.6);
}

.fullwidth-slider-dot:hover {
    background: white;
    transform: scale(1.1);
}

/* Auto-play status - Refined */
.auto-play-status {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.auto-play-icon {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.auto-play-icon:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.auto-play-icon.active {
    background: rgba(52, 152, 219, 0.8);
    border-color: rgba(52, 152, 219, 0.4);
}

/* ====== MOBILE & TABLET: WIDER CONTENT BACKGROUND BOX ====== */

/* Tablet - Wider content background */
@media (max-width: 991.98px) {
    .fullwidth-slider-section {
        height: 450px;
    }
    
    .slider-caption {
        padding: 28px 35px; /* Increased padding for wider box */
        max-width: 90%; /* Much wider than desktop (was percentage-based) */
        width: 90%; /* Fixed width for tablet */
        backdrop-filter: blur(8px);
    }
    
    /* Tablet: Slightly smaller fonts */
    .slider-caption h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .slider-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .slider-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    
    .fullwidth-slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }
}

/* Mobile - Even wider content background */
@media (max-width: 767.98px) {
    .fullwidth-slider-section {
        height: 420px;
    }
    
    .slider-caption {
        padding: 25px 30px; /* Increased padding */
        max-width: 95%; /* Much wider background box */
        width: 95%; /* Fixed width for mobile */
        border-radius: 10px;
        backdrop-filter: blur(6px);
    }
    
    /* Mobile: Smaller fonts */
    .slider-caption h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.25;
        letter-spacing: 0.3px;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.4;
    }
    
    .slider-btn {
        padding: 9px 22px; /* Slightly larger for mobile */
        font-size: 0.8rem;
        margin-top: 10px;
    }
    
    .slider-btn-group {
        gap: 10px;
        margin-top: 20px;
    }
    
    .fullwidth-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .fullwidth-slider-arrow.prev-arrow {
        left: 12px;
    }
    
    .fullwidth-slider-arrow.next-arrow {
        right: 12px;
    }
    
    .fullwidth-slider-dots {
        bottom: 20px;
        padding: 6px 10px;
    }
    
    .fullwidth-slider-dot {
        width: 7px;
        height: 7px;
    }
    
    .fullwidth-slider-dot.active {
        transform: scale(1.3);
    }
}

/* Small Mobile - Maximum width content background */
@media (max-width: 575.98px) {
    .fullwidth-slider-section {
        height: 380px;
    }
    
    .slider-caption {
        padding: 22px 26px; /* Good padding for small screens */
        max-width: 96%; /* Almost full width */
        width: 96%; /* Fixed width */
        border-radius: 8px;
        backdrop-filter: blur(4px);
    }
    
    /* Small Mobile: Very small fonts */
    .slider-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.2;
        letter-spacing: 0.2px;
    }
    
    .slider-caption p {
        font-size: 0.85rem;
        margin-bottom: 16px;
        line-height: 1.35;
    }
    
    .slider-btn {
        padding: 8px 20px;
        font-size: 0.75rem;
        margin-top: 8px;
    }
    
    .slider-btn-group {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }
    
    .fullwidth-slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .fullwidth-slider-dots {
        bottom: 18px;
        gap: 6px;
        padding: 5px 8px;
    }
    
    .auto-play-icon {
        width: 32px;
        height: 32px;
    }
    
    .fullwidth-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (iPhone SE, small devices) */
@media (max-width: 375px) {
    .fullwidth-slider-section {
        height: 360px;
    }
    
    .slider-caption {
        padding: 20px 24px; /* Comfortable padding */
        max-width: 96%; /* Keep same width */
        width: 96%; /* Fixed width */
    }
    
    /* Extra Small: Minimal readable fonts */
    .slider-caption h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        line-height: 1.15;
    }
    
    .slider-caption p {
        font-size: 0.8rem;
        margin-bottom: 14px;
        line-height: 1.3;
    }
    
    .slider-btn {
        padding: 7px 18px;
        font-size: 0.7rem;
    }
    
    .slider-btn-group {
        gap: 6px;
        margin-top: 14px;
    }
    
    .fullwidth-slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}


/* ====== SPACE FIXES ====== */

/* Override main padding on home page */
main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure no space between header and slider */
.main-header + .fullwidth-slider-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ====== TECHNOLOGY STACK SLIDER ====== */
.tech-stack-section {
    background: #f8f9fa;
    overflow: hidden;
}

.tech-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 22px 0; /* Increased padding */
}

.tech-slider-track {
    display: flex;
    animation: scrollTech 40s linear infinite;
    width: max-content;
    align-items: center;
}

.tech-slide {
    flex: 0 0 auto;
    width: 140px; /* Increased from 110px */
    margin: 0 22px; /* Increased from 18px */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px; /* Increased from 85px */
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px; /* Increased from 12px */
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.tech-logo:hover {
    transform: translateY(-8px); /* More pronounced hover */
}

/* KEEP icons colored - NO grayscale - LARGER */
.tech-logo i {
    font-size: 2.8rem; /* Increased from 2rem - Much larger icons */
    margin-bottom: 12px; /* Increased from 8px */
    transition: all 0.3s ease;
    /* Keep original colors - no grayscale */
}

/* KEEP images colored - NO grayscale - LARGER */
.tech-logo img {
    height: 42px; /* Increased from 32px - Much larger images */
    width: auto;
    margin-bottom: 12px; /* Increased from 8px */
    transition: all 0.3s ease;
    /* Keep original colors - no grayscale */
}

/* Hover effects - enhance colors */
.tech-logo:hover i,
.tech-logo:hover img {
    filter: brightness(1.1) saturate(1.2); /* Enhance colors on hover */
    transform: scale(1.25); /* Increased from 1.15 - Bigger hover effect */
}

/* Specific colors (keeping original) */
.fa-html5 { color: #e34f26; }
.fa-css3-alt { color: #1572b6; }
.fa-js { color: #f7df1e; }
.fa-php { color: #777bb4; }
.fa-laravel { color: #ff2d20; }
.fa-python { color: #3776ab; }
.fa-react { color: #61dafb; }
.fa-vuejs { color: #4fc08d; }
.fa-node-js { color: #339933; }
.fa-git-alt { color: #f05032; }
.fa-docker { color: #2496ed; }
.fa-aws { color: #ff9900; }

.tech-logo span {
    font-size: 0.9rem; /* Increased from 0.75rem - Larger text */
    font-weight: 500;
    color: #555;
    text-align: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.tech-logo:hover span {
    color: #3498db;
    font-weight: 600;
    transform: translateY(4px); /* Increased from 2px */
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.tech-slider-container:hover .tech-slider-track {
    animation-play-state: paused;
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
    .tech-slide {
        width: 130px; /* Increased from 100px */
        margin: 0 18px; /* Increased from 15px */
        height: 95px; /* Increased from 75px */
    }
    
    .tech-logo i {
        font-size: 2.4rem; /* Increased from 1.8rem */
    }
    
    .tech-logo img {
        height: 36px; /* Increased from 28px */
    }
    
    .tech-logo span {
        font-size: 0.8rem; /* Increased from 0.7rem */
    }
}

@media (max-width: 768px) {
    .tech-slide {
        width: 110px; /* Increased from 90px */
        margin: 0 16px; /* Increased from 12px */
        height: 85px; /* Increased from 70px */
    }
    
    .tech-logo {
        padding: 12px; /* Increased from 10px */
    }
    
    .tech-logo i {
        font-size: 2rem; /* Increased from 1.6rem */
        margin-bottom: 8px; /* Increased from 6px */
    }
    
    .tech-logo img {
        height: 32px; /* Increased from 26px */
        margin-bottom: 8px; /* Increased from 6px */
    }
    
    .tech-logo span {
        font-size: 0.75rem; /* Increased from 0.65rem */
    }
}

@media (max-width: 576px) {
    .tech-slide {
        width: 95px; /* Increased from 80px */
        margin: 0 12px; /* Increased from 10px */
        height: 75px; /* Increased from 65px */
    }
    
    .tech-logo i {
        font-size: 1.8rem; /* Increased from 1.4rem */
    }
    
    .tech-logo img {
        height: 28px; /* Increased from 24px */
    }
    
    .tech-logo span {
        font-size: 0.7rem; /* Increased from 0.6rem */
    }
}
/* ====== CLIENTS LOGO SLIDER ====== */
.clients-section {
    background: white;
    overflow: hidden;
}

.clients-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 22px 0; /* Increased from 20px */
}

.clients-slider-track {
    display: flex;
    animation: scrollClients 40s linear infinite;
    width: max-content;
    align-items: center;
}

.client-slide {
    flex: 0 0 auto;
    width: 135px; /* Increased from 120px but less than 160px */
    margin: 0 24px; /* Increased from 20px but less than 30px */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px; /* Increased from 60px but less than 80px */
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px; /* Increased from 8px */
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.client-logo:hover {
    transform: scale(1.08); /* Slightly bigger hover */
}

/* CLIENT logos start grayscale */
.client-logo img {
    height: 42px; /* Increased from 35px but less than 50px */
    width: auto;
    max-width: 110px; /* Increased from 100px but less than 120px */
    filter: grayscale(100%) opacity(0.7); /* Strong grayscale */
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1) !important; /* Full color on hover */
    transform: scale(1.1); /* Slightly bigger hover effect */
}

/* Demo note */
.text-muted {
    font-size: 0.8rem;
    color: #6c757d !important;
    opacity: 0.8;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-slider-container:hover .clients-slider-track {
    animation-play-state: paused;
}

/* Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Only client logos get grayscale in Safari */
    .client-logo img {
        -webkit-filter: grayscale(100%) opacity(0.7);
        filter: grayscale(100%) opacity(0.7);
    }
    
    .client-logo:hover img {
        -webkit-filter: grayscale(0%) opacity(1) !important;
        filter: grayscale(0%) opacity(1) !important;
    }
    
    /* Tech logos remain colored in Safari */
    .tech-logo:hover i,
    .tech-logo:hover img {
        -webkit-filter: brightness(1.1) saturate(1.2);
        filter: brightness(1.1) saturate(1.2);
    }
}

/* Updated CSS for Font Awesome Client Logos */
.client-slide {
    flex: 0 0 auto;
    width: 140px;
    margin: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Increased height for FA icons */
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.client-logo i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.client-logo div[style*="font-weight: bold"] {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.client-logo:hover i,
.client-logo:hover div[style*="font-weight: bold"] {
    transform: scale(1.1);
}

.client-logo span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.client-logo:hover span {
    color: #3498db;
    font-weight: 600;
}

/* ====== REAL BRAND LOGOS WITH GRAYSCALE EFFECT ====== */

/* Brand logo images */
.brand-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
    margin-bottom: 10px;
    filter: grayscale(100%) opacity(0.7); /* GRAYSCALE by default */
    transition: all 0.3s ease;
}

/* Hover effect - Show REAL COLORS */
.client-logo:hover .brand-logo {
    filter: grayscale(0%) opacity(1) !important; /* Remove grayscale on hover */
    transform: scale(1.05);
}

/* Container styles */
.client-slide {
    flex: 0 0 auto;
    width: 140px;
    margin: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.client-logo span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.client-logo:hover span {
    color: #3498db;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo {
        height: 40px;
        max-width: 100px;
    }
    
    .client-slide {
        width: 120px;
        margin: 0 20px;
        height: 90px;
    }
}

/* Featured Courses */
.course-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 1.8rem;
    color: white;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.course-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.course-tags .tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.course-link:hover {
    gap: 10px;
    color: #2980b9;
}

/* Stats Section */
.stats-section {
    color: white;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Process Section */
.process-step {
    padding: 30px 20px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(52, 152, 219, 0.1);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.step-icon i {
    font-size: 2rem;
    color: #3498db;
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.process-step p {
    color: #6c757d;
    margin: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text:before {
    content: '"';
    font-size: 3rem;
    color: #3498db;
    opacity: 0.3;
    position: absolute;
    left: -10px;
    top: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.author-info p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials Mobile Fixes */
.testimonials-section {
    padding: 60px 0;
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    /* Stack testimonials vertically on mobile */
    .testimonials-section .col-md-4 {
        margin-bottom: 30px;
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Remove last child margin */
    .testimonials-section .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    /* Adjust card height */
    .testimonial-card {
        margin-bottom: 20px;
        height: auto;
        min-height: 220px;
    }
    
    /* Center align on mobile */
    .testimonial-card {
        text-align: center;
    }
    
    /* Adjust testimonial text */
    .testimonial-text {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .testimonial-text:before {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }
    
    /* Center author info */
    .testimonial-author {
        justify-content: center;
        text-align: center;
    }
}

/* ====== PORTFOLIO SLIDER - FIXED VERSION ====== */

.slider-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.portfolio-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px; /* More space for arrows */
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
    will-change: transform;
}

/* FIX: Proper slide widths */
.slider-slide {
    flex: 0 0 auto;
    /* Desktop: show 3 cards */
    width: calc((100% - 60px) / 3); /* 3 cards with gaps */
}

.slide-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%; /* Ensure card takes full slide width */
}

.slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.slide-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide-card:hover .slide-image img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide-card:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.slide-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.slide-content {
    padding: 25px;
}

.slide-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.slide-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Slider Navigation - SIMPLE & CLEAN */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white !important;
    border: 2px solid #3498db !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50 !important;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slider-nav i {
    color: #2c3e50 !important;
}

.slider-nav:hover {
    background: #3498db !important;
    background-color: #3498db !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: #3498db !important;
}

.slider-nav:hover i {
    color: white !important;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Hide dots */
.slider-dots {
    display: none !important;
}

/* ====== RESPONSIVE BREAKPOINTS ====== */

/* Tablet: 2 cards */
@media (max-width: 991.98px) {
    .slider-slide {
        width: calc((100% - 30px) / 2); /* 2 cards with gaps */
    }
    
    .slider-container {
        padding: 0 60px;
    }
}

/* Mobile: 1 card */
@media (max-width: 767.98px) {
    .slider-slide {
        width: 100%; /* 1 full card */
        margin: 0;
        flex: 0 0 100%;
    }
    
    .slider-track {
        gap: 20px;
    }
    
    .slider-container {
        padding: 0 50px;
    }
    
    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 5px;
    }
    
    .slider-nav.next {
        right: 5px;
    }
    
    .slide-image {
        height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .slider-container {

        padding: 0 40px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .slider-nav.prev {
        left: 2px;
    }
    
    .slider-nav.next {
        right: 2px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 1.2rem;
    }
    
    .slide-image {
        height: 180px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .slider-container {
        padding: 0 35px;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .slider-nav {
        min-width: 44px;
        min-height: 44px;
        background: rgba(255, 255, 255, 0.95);
        border-width: 2px;
    }
    
    .slider-track {
        -webkit-overflow-scrolling: touch;
    }
}

/* Ensure cards have enough bottom margin */
.slide-card {
    margin-bottom: 20px; /* Add space at bottom for shadow */
}

/* Or if it's a container overflow issue */
.slider-container {
    padding-bottom: 30px; /* Add padding to see full shadow */
}

.slider-track {
    padding-bottom: 5px; /* Small padding to ensure shadow isn't cut */
}

/* NUCLEAR CSS FIX */
.slider-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 50%;
    z-index: -1;
    transition: background 0.3s ease;
}

.slider-nav:hover::before {
    background: #3498db !important;
}

.slider-nav:hover {
    background: transparent !important;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
    
    /* ADD THIS - Mobile padding for all containers */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* ADD THIS - Extra padding for content columns */
    .col-lg-10 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* Compact service cards */
.service-card {
    padding: 20px 15px !important; /* Reduced padding */
    min-height: 380px; /* Set minimum height for consistency */
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px !important; /* Smaller icons */
    height: 60px !important;
}

.service-icon i {
    font-size: 1.5rem !important; /* Smaller icon size */
}

.service-title {
    font-size: 1.3rem !important; /* Slightly smaller title */
    margin-bottom: 10px !important;
}

.service-description {
    font-size: 0.9rem !important; /* Smaller text */
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    min-height: 65px; /* Consistent description height */
}

.service-list li {
    padding: 4px 0 !important; /* Reduced list item padding */
}

.service-list li a {
    font-size: 0.9rem !important;
    padding: 2px 0 !important;
}

/* Make cards equal height */
.h-100 {
    height: 100% !important;
}

/* Reduce section padding */
.services-section.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}