/* Oxford CBSE Homepage Styles */

/* Custom Styles */
.react-wrapper {
    overflow: hidden;
}
.react-slider-part,
.carousel-item,
.banner-section {
    padding-top: 90px; /* Match this to your header height */
}
.react-wrapper-inner {
    position: relative;
}

/* Header Styles */
.header-area {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-area.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* React Slider Part - Exact Match */
.react-slider-part {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.home-sliders.home2 {
    height: 100vh;
    position: relative;
}

.single-slide {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-img img.mobile {
    display: none;
}

.single-slide .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.slider-content {
    flex: 1;
    max-width: 50%;
}

.content-part {
    color: white;
}

.slider-pretitle {
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #800000;
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-weight: 600;
    position: relative;
    /* Removed transform: skew(-10deg); */
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.slider-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #800000;
}

.slider-btn {
    margin-top: 20px;
}

.react-btn-border {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.react-btn-border:hover {
    background: white;
    color: #333;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Video Button - Exact React Style */
.event__video-btn--play {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.event__video-btn--play-btn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #800000;
    transition: all 0.3s ease;
}

.event__video-btn--play-btn:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.event__video-btn--play-btn i.arrow_triangle-right {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    animation: pulse 2s infinite;
}

.event__video-btn--play-btn i.arrow_triangle-right:before {
    content: '\25B6';
    color: white;
    font-style: normal;
    margin-left: 3px;
}

.event__video-btn--play-btn em {
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Remove underline from video intro button */
.event__video-btn--play-btn em {
    text-decoration: none !important;
}

.event__video-btn--play-btn {
    text-decoration: none !important;
}

.event__video-btn--play-btn:hover {
    text-decoration: none !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .slider-img img.desktop {
        display: none;
    }

    .slider-img img.mobile {
        display: block;
    }

    .single-slide .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .slider-content,
    .event__video-btn--play {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .slider-title {
        font-size: 32px;
    }

    .event__video-btn--play-btn i.arrow_triangle-right {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Service Styles */
.react_popular_topics {
    background: #f8f9fa;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgb(128, 0, 0);
}

.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Service Cards - New Design */
.service-card-new {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    color: white;
    z-index: 3;
}

.service-card-content h4 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-learn-more {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.service-learn-more:hover {
    color: white;
    text-decoration: none;
    opacity: 1;
    transform: translateX(5px);
}

.service-learn-more i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.service-learn-more:hover i {
    transform: translateX(3px);
}

/* About Styles */
.about__area {
    padding: 100px 0;
    background: white;
}

.about__title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

.about__title em {
    color: rgb(128, 0, 0);
    font-style: normal;
    position: relative;
}

.about__title em:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about__paragraph {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

.about__paragraph2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.about__paragraph2 a {
    color: rgb(128, 0, 0);
    text-decoration: none;
    font-weight: 600;
}

.about__paragraph2 a:hover {
    text-decoration: underline;
}

.more-about {
    color: rgb(128, 0, 0);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.more-about:hover {
    color: rgb(118, 75, 162);
    text-decoration: none;
    transform: translateX(5px);
}

.more-about i {
    transition: transform 0.3s ease;
}

.more-about:hover i {
    transform: translateX(3px);
}

.about__image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Enhanced About Section Styles */
.about__area .row {
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image.pe-lg-4 {
    padding-right: 2rem !important;
}

/* About Image Badge */
.about-badge {
    position: absolute;
    top: 30%;
    left: 75%;

    transform: translate(-50%, -50%);
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

/* Float animation for badge */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about__content.ps-lg-4 {
    padding-left: 2rem !important;
}

/* Modern Read More Button */
.btn-read-more {
    background: white;
    color: #800000;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #800000;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.btn-read-more:hover {
    background: #800000;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.4);
}

.btn-read-more i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* About Actions Row - Side by Side Layout */
.about-actions-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.read-more-section {
    flex-shrink: 0;
}

.support-section {
    flex: 1;
}

.support-info-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    object-fit: contain;
}

.support-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Support Info Styling */
.support-info {
    margin-top: 20px;
}

.support-label {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    display: block;
    margin-bottom: 0;
    line-height: 1.2;
}

.support-email {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.support-email:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Campus Styles */
.campus_sec {
    background: #f8f9fa;
    padding: 100px 0;
}

.campus-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.campus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: rgb(128, 0, 0);
}

.campus-item .icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.campus-item .icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.campus-item:hover .icon img {
    transform: scale(1.1);
}

.campus-item .text h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.campus-item .text p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.campus-item a {
    color: rgb(128, 0, 0);
    margin-left: auto;
    font-size: 18px;
    transition: all 0.3s ease;
}

.campus-item:hover a {
    color: rgb(118, 75, 162);
    transform: translateX(5px);
}

/* Course Styles */
.popular__course__area {
    padding: 100px 0;
    background: white;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgb(128, 0, 0);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover img {
    transform: scale(1.05);
}

.course-info {
    padding: 25px;
}

.course-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.course-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-price {
    color: rgb(128, 0, 0);
    font-weight: bold;
    font-size: 18px;
}

.view-courses {
    background: rgb(128, 0, 0);;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-courses:hover {
    background: rgb(118, 75, 162);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Counter Styles */
.count__area {
    background: 	#800000;
    color: white;
    padding: 80px 0;
    position: relative;
}

.count__area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.count__content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.count__content p {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-number {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.count__content p:last-child {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Event Styles */
.react-upcoming__event {
    padding: 100px 0;
    background: #f8f9fa;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgb(128, 0, 0);
}

.event-date {
    background: linear-gradient(135deg, rgb(128, 0, 0) 0%, rgb(118, 75, 162) 100%);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.event-date div:first-child {
    font-size: 28px;
    line-height: 1;
}

.event-date div:last-child {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.event-info {
    padding: 25px;
}

.event-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.event-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.event-info p i {
    color: rgb(102, 126, 234);
    margin-right: 8px;
    width: 16px;
}

.event-info .btn {
    background: rgb(102, 126, 234);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-info .btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* New Event Card Styles - Matching the Image Design */
.event-card-new {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.event-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
}

.event-card-new:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* background: linear-gradient(90deg, #e91e63, #2c5aa0); */
}

.event-date-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.date-number {
    font-size: 48px;
    font-weight: 700;
    color: 	#800000;
    line-height: 1;
    margin-bottom: 5px;
}

.date-month {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: capitalize;
}

.event-time {
    color: 	#800000;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.event-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: 	#800000;
    font-size: 12px;
}

.btn-find-out {
    background: transparent;
    border: 2px solid 	#800000;
    color: #800000;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-find-out:hover {
    background: 	#800000;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.btn-find-out i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.btn-find-out:hover i {
    transform: translateX(3px);
}

/* Event Section Background Override */
.react-upcoming__event {
    position: relative;
}

.react-upcoming__event:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="rgba(44,90,160,0.05)"/><circle cx="80" cy="20" r="0.5" fill="rgba(44,90,160,0.05)"/><circle cx="20" cy="80" r="0.5" fill="rgba(44,90,160,0.05)"/><circle cx="80" cy="80" r="0.5" fill="rgba(44,90,160,0.05)"/></svg>');
    opacity: 0.5;
}

.react-upcoming__event .container {
    position: relative;
    z-index: 2;
}

/* Slider Carousel Styles */
.react-slider-part {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slider-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
}

.carousel-item .container {
    position: relative;
    z-index: 3;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: none !important;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

/* Slider Stats */
.slider-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.stat-item p {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Slider Features */
.slider-features {
    color: white;
    text-align: center;
}

.feature-item {
    color: white;
}

.feature-item i {
    opacity: 0.9;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

/* Carousel Animation */
.carousel-item.active .slider-content,
.carousel-item.active .slider-stats,
.carousel-item.active .slider-features {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Button with Pulsating Effect */
.video-btn-pulsate {
    background: none !important;
    border: none !important;
    padding: 0;
    position: relative;
    z-index: 5;
    animation: pulse 2s infinite ease-in-out;
}

.video-btn-pulsate:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite ease-out;
    z-index: -1;
}

.video-btn-pulsate i {
    color: white !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: block;
}

.video-btn-pulsate:hover {
    animation-play-state: paused;
}

.video-btn-pulsate:hover i {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.1);
}

.video-btn-pulsate div {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Fix Content Overlapping */
.carousel-item {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-item .container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.carousel-item .row {
    align-items: center;
    min-height: 60vh;
}

.slider-content {
    padding-right: 20px;
}

/* Fix Bootstrap Carousel Conflicts for Testimonials */
#testimonialCarousel .carousel-item {
    height: auto !important;
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

#testimonialCarousel .carousel-item.active,
#testimonialCarousel .carousel-item-next,
#testimonialCarousel .carousel-item-prev {
    display: block;
}

#testimonialCarousel .carousel-item-next:not(.carousel-item-start),
#testimonialCarousel .active.carousel-item-end {
    transform: translateX(100%);
}

#testimonialCarousel .carousel-item-prev:not(.carousel-item-end),
#testimonialCarousel .active.carousel-item-start {
    transform: translateX(-100%);
}

/* Ensure proper stacking */
#testimonialCarousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

#testimonialCarousel .carousel-item {
    z-index: 1;
}

#testimonialCarousel .carousel-item.active {
    z-index: 2;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .slider-stats {
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .feature-item i {
        font-size: 2rem !important;
    }

    .feature-item h4 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .slider-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .carousel-indicators {
        bottom: 20px;
    }
}

/* Testimonial Section Styles */
.react-clients.home-testimonial {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -10px; /* Reduce gap from title */
}

.testimonial-carousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-carousel .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.testimonial-carousel .carousel-item.active {
    display: block;
}

.testimonial-single {
    padding: 40px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    width: 100%;
}

.testimonial-image {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 1;
}

.testimonial-content {
    padding-left: 40px;
}

.student-name {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.2;
}

.student-role {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 60px;
    color: #ddd;
    position: absolute;
    left: -25px;
    top: -10px;
    font-family: serif;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #ffc107;
    font-size: 16px;
}

.rating-text {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

/* Testimonial Navigation */
.testimonial-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    font-size: 18px;
    pointer-events: auto;
    opacity: 0.8;
}

.testimonial-prev {
    left: -80px;
}

.testimonial-next {
    right: -80px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    opacity: 1;
}

/* Testimonial Indicators */
.testimonial-indicators {
    position: relative;
    bottom: auto;
    margin: 30px auto 0;
    justify-content: center;
    gap: 10px;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    margin: 0;
    transition: all 0.3s ease;
    opacity: 1;
    text-indent: unset;
}

.testimonial-indicators button.active {
    background: #667eea;
    transform: scale(1.3);
}

.testimonial-indicators button:hover {
    background: #667eea;
    opacity: 0.8;
}

/* Responsive Testimonial Styles */
@media (max-width: 1200px) {
    .testimonial-prev {
        left: -60px;
    }

    .testimonial-next {
        right: -60px;
    }
}

@media (max-width: 1024px) {
    .testimonial-prev {
        left: -40px;
    }

    .testimonial-next {
        right: -40px;
    }
}

@media (max-width: 992px) {
    .testimonial-content {
        padding-left: 0;
        padding-top: 30px;
        text-align: center;
    }

    .testimonial-prev,
    .testimonial-next {
        display: none;
    }

    .student-name {
        font-size: 24px;
    }

    .testimonial-text:before {
        display: none;
    }

    .testimonial-single {
        min-height: auto;
        padding: 20px 0;
    }

    .testimonial-carousel {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonial-image {
        max-width: 200px;
    }

    .student-name {
        font-size: 22px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-indicators {
        margin-top: 20px;
    }

    .testimonial-single {
        padding: 15px 0;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .testimonial-image {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .student-name {
        font-size: 20px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .rating-section {
        justify-content: center;
    }
}

/* Footer Styles */
footer {
    background: #1a1a1a !important;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="20" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>');
}

footer .container {
    position: relative;
    z-index: 2;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgb(102, 126, 234);
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: rgb(102, 126, 234) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgb(102, 126, 234);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Back to Top Button */
#backToTop {
    background: rgb(102, 126, 234);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Utility Classes */
.pt---100 {
    padding-top: 100px;
}

.pb---100 {
    padding-bottom: 100px;
}

.pt---120 {
    padding-top: 120px;
}

.pb---120 {
    padding-bottom: 120px;
}

.pt---90 {
    padding-top: 90px;
}

.pb---110 {
    padding-bottom: 110px;
}

.pb---70 {
    padding-bottom: 70px;
}

.graybg-home {
    background: #f8f9fa;
}

/* Animation Classes */
.wow {
    visibility: hidden;
}

.animated {
    visibility: visible;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .slider-title {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .about__title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .slider-title {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about__title {
        font-size: 28px;
    }

    .campus-item {
        flex-direction: column;
        text-align: center;
    }

    .campus-item .icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .campus-item a {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .react-slider-part {
        height: 80vh;
        text-align: center;
    }

    .slider-title {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .about__title {
        font-size: 24px;
    }

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

    .pt---100, .pt---120 {
        padding-top: 60px;
    }

    .pb---100, .pb---120 {
        padding-bottom: 60px;
    }

    .service-item,
    .course-card,
    .event-card,
    .blog-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .campus-item {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .slider-title {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .about__title {
        font-size: 22px;
    }

    .react-btn-border {
        padding: 10px 20px;
        font-size: 14px;
    }

    .service-item {
        padding: 30px 15px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .course-info,
    .event-info,
    .blog-info {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header-area,
    #backToTop,
    .social-links {
        display: none !important;
    }

    .react-slider-part {
        height: auto;
        background: white;
        color: black;
    }

    * {
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-item,
    .course-card,
    .event-card,
    .blog-card,
    .testimonial-card,
    .campus-item {
        border: 2px solid #000;
    }

    .react-btn-border {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wow {
        visibility: visible !important;
    }
}

/* Blog Section - New Design */
.blog-card-new {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-new:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: 	#800000;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.blog-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    color: 	#800000;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title:hover {
    color: #667eea;
}

.blog-author {
    margin-top: auto;
}

.blog-author i {
    color: #bbb;
    font-size: 12px;
}

.blog-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Responsive Blog Cards */
@media (max-width: 768px) {
    .blog-card-new {
        margin-bottom: 20px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 20px 15px;
    }

    .blog-title {
        font-size: 16px;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .blog-image {
        height: 160px;
    }

    .blog-date-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Responsive styles for about section */
@media (max-width: 991px) {
    .about__image.pe-lg-4 {
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }

    .about__content.ps-lg-4 {
        padding-left: 0 !important;
    }

    .about__image {
        text-align: center;
    }

    .about-badge {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .badge-icon {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
}

@media (max-width: 768px) {
    .btn-read-more {
        padding: 12px 28px;
        font-size: 15px;
    }

    .about__title {
        font-size: 28px;
        text-align: center;
    }

    .about__paragraph,
    .about__paragraph2 {
        text-align: center;
    }

    .about-actions-row {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
    }

    .support-info-inline {
        justify-content: center;
    }

    .support-text {
        text-align: center;
    }

    .about-badge {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .badge-icon {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
}

@media (max-width: 576px) {
    .about-actions-row {
        gap: 20px;
    }

    .support-icon {
        width: 40px;
        height: 40px;
    }

    .support-info-inline {
        gap: 12px;
    }

    .btn-read-more {
        padding: 10px 24px;
        font-size: 14px;
    }

    .about-badge {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .badge-icon {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
}
