/* ============================================
   ENHANCED UI STYLES FOR CRICKET SCHOLARSHIP
   ============================================ */

/* Modern Color Palette */
:root {
    --gradient-primary: linear-gradient(135deg, #e63543 0%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #13d527 0%, #00ae11 100%);
    --gradient-dark: linear-gradient(135deg, #1d1d1d 0%, #4d4d4d 100%);
}

/* Enhanced Navbar Scrolled State */
/* Enhanced Navbar Scrolled State - Removed to respect Modern UI White Theme */
/* .navbar-area.scrolled {
    background: rgba(230, 53, 67, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
} */

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(230, 53, 67, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 53, 67, 0.6);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(230, 53, 67, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.review-info h5 {
    margin: 0;
    color: var(--black);
    font-size: 18px;
}

.review-info p {
    margin: 5px 0 0;
    color: var(--gray-1);
    font-size: 14px;
}

.review-rating {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    color: var(--dark-3);
    line-height: 1.8;
    font-size: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--gray-4);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(230, 53, 67, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(230, 53, 67, 0.05);
}

.faq-question h5 {
    margin: 0;
    font-size: 18px;
    color: var(--black);
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(230, 53, 67, 0.02);
}

.faq-answer-content {
    padding: 20px 25px;
    color: var(--dark-3);
    line-height: 1.8;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.stat-card {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Service Cards */
.single-services {
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 40px 30px;
    background: white;
    border: 2px solid transparent;
    height: 100%;
}

.single-services:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.single-services:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    line-height: 1;
}

/* Enhanced Form Styling */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 53, 67, 0.25);
}

.form-control.filled {
    border-color: var(--success);
}

.form-control.focused {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Trust Badges */
.trust-badges {
    padding: 60px 0;
    background: var(--light-3);
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.trust-badge h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trust-badge p {
    font-size: 14px;
    color: var(--gray-1);
    margin: 0;
}

/* Location Pages Link */
.location-links {
    padding: 60px 0;
    background: white;
}

.location-card {
    background: white;
    border: 2px solid var(--gray-4);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.location-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.location-card h6 {
    margin: 0;
    font-size: 16px;
    color: var(--black);
}

.location-card a {
    color: inherit;
    text-decoration: none;
}

/* Enhanced Gallery */
.single-news {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.single-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Success Stories */
.success-story {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.success-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.success-story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success-story h5 {
    color: var(--black);
    margin-bottom: 10px;
}

.success-story p {
    color: var(--dark-3);
    line-height: 1.8;
}

/* Responsive Enhancements */
@media (max-width: 767px) {

    .reviews-section,
    .faq-section,
    .stats-section {
        padding: 50px 0;
    }

    .review-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 80px;
        right: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Loading State */
body:not(.loaded) {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
}

/* Breadcrumb */
.breadcrumb-area {
    padding: 20px 0;
    background: var(--light-3);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: var(--gray-1);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-3);
}

/* Enhanced Call to Action */
.call-action {
    position: relative;
    overflow: hidden;
}

.call-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 53, 67, 0.9) 0%, rgba(255, 107, 107, 0.9) 100%);
    z-index: 1;
}

.call-action .inner-content {
    position: relative;
    z-index: 2;
}

/* Improved Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Enhanced Footer */
.section2_footer_wrapper {
    position: relative;
}

.section2_footer_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1d1d1d 0%, #2d2d2d 100%);
    opacity: 0.95;
}

.footer_widget {
    position: relative;
    z-index: 1;
}