/* ===== HERO SLIDER ===== */
.hero-slider {
    margin-top: -76px; /* Offset for fixed navbar */
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background: var(--primary);
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 43, 94, 0.9) 0%, rgba(10, 43, 94, 0.7) 100%);
    z-index: 1;
}

.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 0 15px;
}

.carousel-caption .container {
    max-width: 1200px;
}

.carousel-caption .display-3,
.carousel-caption .display-4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-gradient-light {
    background: linear-gradient(135deg, #ffffff 0%, #e6b12e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
}

.carousel-indicators button.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(230, 177, 46, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Exam Tags in Slider */
.exam-tags-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.exam-tag-slider {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.exam-tag-slider:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.exam-tag-slider i {
    color: var(--secondary);
}

.exam-tag-slider:hover i {
    color: var(--primary);
}

/* Profession Badges */
.profession-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
}

.testimonial-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(10, 43, 94, 0.05);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--secondary);
    margin: 0 auto;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    background: var(--secondary);
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
    opacity: 1;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 80vh;
    }
    
    .carousel-caption .display-3 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .display-4 {
        font-size: 2rem;
    }
    
    .exam-tags-slider {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 100vh;
    }
    
    .carousel-caption .display-3 {
        font-size: 2rem;
    }
    
    .carousel-caption .display-4 {
        font-size: 1.75rem;
    }
    
    .profession-badge {
        margin-bottom: 10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}
/* ===== GALLERY STYLES ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h5 {
    color: white;
    margin-bottom: 5px;
    font-size: 1rem;
}

.gallery-caption p {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Lightbox customization */
.lb-loader .lb-cancel {
    border-color: #e6b12e;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.5;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

.lb-data .lb-close {
    background-size: cover;
}

/* ===== BLOG STYLES ===== */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 177, 46, 0.1);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    position: relative;
    background: white;
}

.blog-meta {
    font-size: 0.85rem;
}

/* Blog post page */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0a2b5e;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-featured-image {
    overflow: hidden;
    border-radius: 15px;
}

.post-featured-image img {
    transition: transform 0.5s ease;
}

.post-featured-image:hover img {
    transform: scale(1.02);
}
/* ===== GALLERY PREVIEW STYLES ===== */
.gallery-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 250px;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

.gallery-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 43, 94, 0.9), rgba(10, 43, 94, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.gallery-preview-item:hover .gallery-preview-overlay {
    opacity: 1;
}

.gallery-preview-overlay h5 {
    color: white;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-preview-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-preview-item:hover .gallery-preview-overlay h5,
.gallery-preview-item:hover .gallery-preview-overlay .btn {
    transform: translateY(0);
}

/* ===== BLOG PREVIEW STYLES ===== */
.blog-preview {
    background: #f8fafd;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 177, 46, 0.15);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    position: relative;
    background: white;
}

.blog-meta {
    font-size: 0.85rem;
}

/* ===== HERO SLIDER ADDITIONS ===== */
.success-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation delays */
.animate__delay-1s {
    animation-delay: 0.3s;
}

.animate__delay-2s {
    animation-delay: 0.6s;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .gallery-preview-item {
        height: 200px;
    }
    
    .success-stat {
        margin-bottom: 1rem;
    }
    
    .feature-list {
        padding: 1rem;
    }
}