/* Custom CSS for ImpactX Scholarship Page */

/* Base styles */
.btn-group .btn {
    border-radius: 25px !important;
    font-size: 1rem;
    padding: 10px 20px;
}

body {
    overflow-x: hidden;
    font-size: 16px;
}

.form-control:focus,
.form-select:focus {
    border-color: #f37d06;
    box-shadow: 0 0 0 0.2rem rgba(243, 125, 6, 0.25);
}

.accordion-button:not(.collapsed) {
    background-color: #FBF9F3;
    color: #f37d06;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(243, 125, 6, 0.25);
}

/* Slick Slider Customizations */
.testimonials-slider .slick-dots {
    bottom: -60px;
}

.testimonials-slider .slick-dots li button:before {
    color: #f37d06;
    font-size: 12px;
}

.testimonials-slider .slick-dots li.slick-active button:before {
    color: #f37d06;
}

.video-carousel .slick-prev,
.video-carousel .slick-next {
    z-index: 1;
    width: 50px;
    height: 50px;
}

.video-carousel .slick-prev {
    left: 25px;
}

.video-carousel .slick-next {
    right: 25px;
}

.video-carousel .slick-prev:before,
.video-carousel .slick-next:before {
    font-size: 24px;
    color: #f37d06;
}

/* Enhanced hover effects */
.video-container:hover::before {
    background: rgba(243, 125, 6, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.active-btn {
       background: #3038FF;
    background: linear-gradient(90deg, rgba(48, 56, 255, 1) 26%, rgba(163, 92, 255, 1) 79%);
    color: #ffffff !important;
    padding: 14px 25px;
}

.banner-section p {
    color: #504E4E !important;
    font-size: 16px;
}

.criteria-p {
    font-size: 18px;
    font-weight: 600;
}

.heading {
    font-size: 18px;
    color: #17012C;
    font-weight: 700;
}

.heading-p {
    font-size: 16px;
    color: #504E4E;
    font-weight: 500;
}

.slick-youtube-slider iframe {
    border-radius: 25px;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float-updown {
    animation: floatUpDown 3s ease-in-out infinite;
}

.animate-float-updown-delay {
    animation: floatUpDown 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.gradient-text {
    background: linear-gradient(to right, #3038FF, #A35CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apply-btn {
    background: linear-gradient(135deg, #f37d06, #ff9500);
    border: none;
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 125, 6, 0.3);
}

.orange-text {
    color: #f37d06;
}

.orange-border {
    border-color: #f37d06;
}

.dark-text {
    color: #17012C;
}

.wave-bg {
    background-image: url('../img/impactx-new/wave-pattern.webp');
    background-size: cover;
    background-position: center;
}

.p-70 {
    padding: 70px 0;
}

.video-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.video-container::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slick-dots {
    bottom: -50px;
}

.slick-prev:before,
.slick-next:before {
    color: #f37d06;
    font-size: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem 0 1.5rem;
    margin: 1rem;
    position: relative;
}

.profile-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -32px;
    left: 24px;
    object-fit: cover;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: #C9CBF2;
    color: #142c6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 999;
}

.vertical-line {
    position: absolute;
    left: 50%;
    height: 100%;
    z-index: 0;
    border: 1px dashed #ffffff;
    top: 86px;
}

.step-block {
    position: relative;
    padding: 2rem 0;
}

.banner-section h1 {
    font-size: 60px;
    line-height: 1;
}

.slick-track {
    display: flex;
}

.testimonials-slider .slick-track .slick-slide {
    display: flex;
    height: auto;
}

.slick-youtube-slider .slick-slide {
    padding-right: 16px;
}

.slick-youtube-slider .slick-list {
    overflow: visible;
    padding-right: 0 !important;
}

.slick-youtube-slider .slick-prev,
.slick-youtube-slider .slick-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #f97316;
    color: #f97316;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slick-youtube-slider .slick-prev {
    left: 15px;
}

.slick-youtube-slider .slick-next {
    right: 15px;
}

.slick-prev-custom,
.slick-next-custom {
    background: transparent;
    border: none;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.slick-prev-custom {
    right: 65px;
    top: 30px;
}

.slick-next-custom {
    right: 0;
    top: 30px;
}

.slick-prev-custom2,
.slick-next-custom2 {
    background: transparent;
    border: none;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.slick-prev-custom2 {
    left: 160px;
    bottom: 140px;
}

.slick-next-custom2 {
    left: 235px;
    bottom: 140px;
}

.otp-btn {
    border-top-left-radius: 0px;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-bottom-left-radius: 0px;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion-button {
    overflow: hidden;
    padding: 25px 15px;
}

.accordion-item:last-of-type {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.blur-circle {
    bottom: -266px;
    right: -230px;
    width: 45%;
}

/* Loading animation for buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* Enhanced gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-overlay {
    background: linear-gradient(45deg, rgba(48, 56, 255, 0.9), rgba(163, 92, 255, 0.9));
}

/* Custom form styling */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #f37d06;
}

/* Enhanced card styles */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar for modals */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #f37d06;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #e36a05;
}

.Blur-Ellipse {
    top: 132px;
    left: 50px;
    /* width: 200px; */
}

.Blur-full-Ellipse {
    bottom: 0;
    right: 100px;
}

.slick-initialized .slick-slide {
    margin: 30px 0;
}

.wave {
    position: absolute;
    top: 50px;
    left: 150px
}

.wave2 {
    position: absolute;
    top: 450px;
    right: 50px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-section h1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .apply-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .video-container img {
        height: 250px;
    }

    .video-container::before {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }

    .step-block {
        padding: 10px 0;
    }

    .slick-prev-custom,
    .slick-next-custom {
        top: 20px;
    }

    .slick-prev-custom2 {
        left: 100px;
        bottom: 120px;
    }

    .slick-next-custom2 {
        left: 160px;
        bottom: 120px;
    }
}

@media (max-width: 768px) {
    .banner-section h1 {
        font-size: 2rem;
    }

    .display-2 {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 1.5rem;
    }

    .testimonial-card {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vertical-line {
        display: none;
    }

    .p-70 {
        padding: 40px 0;
    }

    .apply-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .video-container img {
        height: 200px;
    }

    .video-container::before {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .form-control,
    .form-select {
        font-size: 0.9rem;
    }

    .btn-group .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .slick-youtube-slider .slick-prev,
    .slick-youtube-slider .slick-next {
        width: 35px;
        height: 35px;
    }

    .profile-img {
        width: 50px;
        height: 50px;
        top: -25px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .logo {
        margin: 0 auto;
        display: block;
    }

    .banner-section h1 {
        font-size: 1.8rem;
        margin-top: 20px;
    }

    .display-2 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.25rem;
    }

    .p-70 {
        padding: 30px 0;
    }

    .testimonial-card {
        padding: 1rem;
        margin: 0.25rem;
    }

    .apply-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .form-control,
    .form-select {
        font-size: 0.85rem;
    }

    .video-container img {
        height: 180px;
    }

    .video-container::before {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 30px 0;
    }

    .btn-group .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .slick-prev-custom,
    .slick-next-custom {
        top: auto;
        bottom: -80px;
    }

    .slick-prev-custom {
        left: 125px;
    }

    .slick-next-custom {
        right: 125px;
        left: auto;
    }

    .slick-prev-custom2,
    .slick-next-custom2 {
        top: auto;
        bottom: 0;
    }

    .slick-prev-custom2 {
        left: 125px;
    }

    .slick-next-custom2 {
        right: 125px;
        left: auto;
    }


    .slick-youtube-slider .slick-prev,
    .slick-youtube-slider .slick-next {
        width: 30px;
        height: 30px;
    }

    .accordion-button {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .blur-circle,
    .Blur-full-Ellipse,
    .Blur-Ellipse {
        display: none;
    }

    .step-block .d-flex {
        justify-content: center;
    }

    .pb-mobile {
        padding-bottom: 106px !important
    }

    .slick-youtube-slider .slick-slide {
        padding-right: 0;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
    }

    .social-media {
        justify-content: center !important;
        margin-top: 20px;
    }

    .wave2,
    .wave {
        display: none;
    }

    .criteria-p {
        font-size: 16px;
    }

    .Criteria-img img {
        width: 50px;
        height: 50px;
    }




}