/* Modern Home Page Styles */

/* Hero Carousel Enhancements */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    margin-bottom: 3rem;
    border: none;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-item:hover img {
    transform: scale(1.03);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0 3rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.carousel-caption p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Featurettes Modernization */
.marketing {
    padding: 5rem 0;
}

.featurette-divider {
    margin: 7rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.featurette-heading {
    font-weight: 700;
    letter-spacing: -0.03rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 2.2rem;
    line-height: 1.2;
}

.featurette-heading:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    margin-top: 1.2rem;
    border-radius: 2px;
}

.featurette-image {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 5px solid #fff;
    transform: translateY(0);
}

.featurette:hover .featurette-image {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

/* Buttons & CTAs */
.btn-primary {
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background-color: #0069d9;
}

.btn-outline-light {
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-warning {
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border: none;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Hover Effects */
.featurette:hover .featurette-heading {
    color: #007bff;
    transition: color 0.3s ease;
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .carousel-item {
        height: 65vh;
        min-height: 450px;
    }
    
    .carousel-caption {
        padding: 2rem;
        margin: 0 2rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .featurette-divider {
        margin: 4rem 0;
    }
    
    .featurette-heading {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.9rem;
    }
    
    .carousel-caption p {
        font-size: 1.05rem;
    }
    
    .featurette-heading {
        font-size: 1.7rem;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    .marketing {
        padding: 3rem 0;
    }
    
    .featurette-divider {
        margin: 3rem 0;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Modern Card Styles */
.modern-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(90deg, #007bff, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shadow Text */
.shadow-text {
     color: #ffffff;
     text-shadow: 0 0 3px rgb(255, 182, 73), 0 0 7px rgba(255, 255, 255);
     font-weight: 600;
     font-size: 1.1em; /* Optional: if you want to keep the font size from base.css */
}

.shadow-text:hover {
    text-decoration: none;
}

/* Custom Button Styles */
.btn-custom {
    background: linear-gradient(90deg, #007bff, #00bfff);
    border: none;
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.5);
    color: white;
}

/* Image Hover Effects */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-container img {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover::before {
    opacity: 1;
}

/* Icon Styles */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 5rem 0;
}

.stats-item {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonial Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin: -50px auto 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #fff;
}

.faq-section .featurette-heading {
    position: relative;
    margin-bottom: 3rem;
}

.faq-section .featurette-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    margin: 1.2rem auto;
    border-radius: 2px;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.accordion-button {
    padding: 1.5rem;
    font-size: 1.1rem;
    border-radius: 15px;
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.accordion-button:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.7;
    color: #555;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    padding: 5rem 0;
    border-radius: 20px;
    text-align: center;
    margin: 5rem 0;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subheading {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Footer Improvements */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 2rem 0 !important;
    margin-top: 3rem !important;
}