
/* ======================
   Hero Slider
   ====================== */

.hero-slider {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background: #000;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, transform 8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.1);
}


.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: scale(1);
}

.slide-content {
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00bfff, #002e5f);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.5s both;
    line-height: 1.2;
}

.slide-description {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}

/* .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    outline: none;
} */

.btn-primary {
    background: linear-gradient(135deg, #002e5f, #00bfff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 46, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 46, 95, 0.4);
    background: linear-gradient(135deg, #00bfff, #002e5f);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.btn i {
    font-size: 14px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: white;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.dot:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #002e5f, #00bfff);
    width: 0;
    transition: width 0.1s linear;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   Responsive Design
   ====================== */

/* Tablet */
@media (max-width: 991px) {
    .hero-slider {
        min-height: 500px;
        max-height: 700px;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-description {
        font-size: 1.6rem;
        max-width: 600px;
    }
    
    .slider-controls {
        bottom: 30px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .scroll-indicator {
        bottom: 100px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-slider {
        min-height: 400px;
        max-height: 600px;
        height: 70vh;
    }
    
    .slide-content {
        padding: 0 15px;
    }
    
    .slide-badge {
        padding: 6px 15px;
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .slide-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 1.4rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .slide-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .slider-controls {
        bottom: 25px;
        gap: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-dots {
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .hero-slider {
        min-height: 350px;
        max-height: 500px;
        height: 60vh;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 1.2rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        max-width: 100%;
    }
    
    .slider-controls {
        bottom: 20px;
        gap: 15px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
}

/* ======================
   Project Cards
   ====================== */

.projects-grid {
    padding: 100px 0;
    background: #f8f9fa;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #002e5f;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, #002e5f, #00bfff);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-tag {
    background: #f0f7ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #002e5f;
    border: 1px solid rgba(0, 46, 95, 0.1);
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #002e5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #00bfff;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* end home section */