/* Modern Slider Styles */
.slider-img img {
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slider-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-word {
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.highlight-word:hover {
    transform: scale(1.1);
}

.slider-subtitle p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.sl-get-started-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.sl-get-started-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Services Styles */
.rs-services {
    margin-top: -80px;
    position: relative;
    z-index: 100;
}

.services-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.services-item:hover {
    transform: translateY(-10px);
}

.services-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(51, 161, 253, 0.1);
}

.blue-bg .services-icon { background: rgba(var(--primary-rgb), 0.1); }
.orange-bg .services-icon { background: rgba(var(--secondary-rgb), 0.1); }
.purple-bg .services-icon { background: rgba(var(--accent-rgb), 0.1); }
.red-bg .services-icon { background: rgba(231, 76, 60, 0.1); }

.services-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.blue-bg .services-icon i { color: var(--primary-color); }
.orange-bg .services-icon i { color: var(--secondary-color); }
.purple-bg .services-icon i { color: var(--accent-color); }
.red-bg .services-icon i { color: #E74C3C; }

.services-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-desc p {
    color: #666;
    margin-bottom: 15px;
}

.services-btn {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-btn:hover {
    color: var(--secondary-color);
}

.services-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.services-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .slider-title {
        font-size: 2.5rem;
    }
    
    .slider-subtitle p {
        font-size: 1.2rem;
    }
    
    .services-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .slider-img img {
        height: 400px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle p {
        font-size: 1rem;
    }
}

/* Section Styles */
.section-wrapper {
    /* padding: 100px 0; */
    position: relative;
    overflow: hidden;
}

.section-wrapper.bg-light {
    background-color: var(--light-color);
}

.section-wrapper .container {
    position: relative;
    z-index: 1;
}

/* Section Title Styles */
.sec-title {
    margin-bottom: 60px;
    text-align: center;
}

.sec-title .sub-title {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sec-title h2 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.title-border {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-body {
    padding: 0;
    position: relative;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background-color: var(--white-color);
    opacity: 0.8;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body img {
    width: 100%;
    display: block;
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.5s ease forwards;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-wrapper {
        padding: 70px 0;
    }

    .sec-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .section-wrapper {
        padding: 50px 0;
    }

    .sec-title {
        margin-bottom: 40px;
    }

    .sec-title h2 {
        font-size: 26px;
    }

    .sec-title .sub-title {
        font-size: 16px;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 75vh;
    min-height: 550px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text {
    width: 100%;
    color: var(--white-color);
    text-align: center;
    padding: 0 15px;
    z-index: 3;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.highlight-word {
    display: inline-block;
    margin: 0 5px;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0 5px;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 4px;
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-subtitle p {
    font-size: 1.6rem;
    color: var(--white-color);
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    backdrop-filter: blur(5px);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Animation Classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -70px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 70px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-70px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(70px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.fadeInDown { animation-name: fadeInDown; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInLeft { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }
.zoomIn { animation-name: zoomIn; }
.bounceIn { animation-name: bounceIn; }

/* Image Animations */
@keyframes kenburnsTop {
    from {
        transform: scale(1) translateY(0);
        transform-origin: 50% 16%;
    }
    to {
        transform: scale(1.25) translateY(-15px);
        transform-origin: top;
    }
}

@keyframes kenburnsBottom {
    from {
        transform: scale(1) translateY(0);
        transform-origin: 50% 84%;
    }
    to {
        transform: scale(1.25) translateY(15px);
        transform-origin: bottom;
    }
}

@keyframes kenburnsLeft {
    from {
        transform: scale(1) translate(0, 0);
        transform-origin: 16% 50%;
    }
    to {
        transform: scale(1.25) translate(-20px, 15px);
        transform-origin: left;
    }
}

@keyframes kenburnsRight {
    from {
        transform: scale(1) translate(0, 0);
        transform-origin: 84% 50%;
    }
    to {
        transform: scale(1.25) translate(20px, -15px);
        transform-origin: right;
    }
}

.kenburnsTop { animation: kenburnsTop 7s ease-out both; }
.kenburnsBottom { animation: kenburnsBottom 7s ease-out both; }
.kenburnsLeft { animation: kenburnsLeft 7s ease-out both; }
.kenburnsRight { animation: kenburnsRight 7s ease-out both; }

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle p {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Quick Links Section */
.quick-links {
    margin-top: -80px;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.quick-link-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    transition: height 0.3s ease;
}

.quick-link-card:hover::before {
    height: 100%;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.primary-card .card-icon { background: var(--primary-color); }
.secondary-card .card-icon { background: var(--secondary-color); }
.accent-card .card-icon { background: var(--accent-color); }
.dark-card .card-icon { background: var(--dark-color); }

.card-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-card .card-link { color: var(--primary-color); }
.secondary-card .card-link { color: var(--secondary-color); }
.accent-card .card-link { color: var(--accent-color); }
.dark-card .card-link { color: var(--dark-color); }

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Owl Carousel Navigation */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.2) !important;
    color: var(--white-color) !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.owl-nav button:hover {
    background: var(--primary-color) !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.owl-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.5) !important;
    transition: all 0.3s ease !important;
}

.owl-dot.active {
    background: var(--white-color) !important;
    transform: scale(1.2);
}

/* Animation Classes */
[data-animation] {
    opacity: 0;
}

[data-animation].animated {
    opacity: 1;
}

.fadeInDown {
    animation: fadeInDown 0.5s ease forwards;
}

.fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-slider,
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle p {
        font-size: 1.1rem;
    }

    .quick-links {
        margin-top: -60px;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .quick-links {
        margin-top: -40px;
    }

    .owl-nav {
        display: none;
    }
}

/* Modern About Section Styles */
.rs-about {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
}

.sec-title .sub-title {
    display: inline-block;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
    padding: 0 25px;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s infinite;
}

.sec-title .sub-title::before,
.sec-title .sub-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-50%);
}

.sec-title .sub-title::before {
    left: -30px;
    animation: slideFromLeft 1s ease-out;
}

.sec-title .sub-title::after {
    right: -30px;
    animation: slideFromRight 1s ease-out;
}

.sec-title h2 {
    font-size: 48px;
    font-weight: 800;
    position: relative;
    margin-bottom: 30px;
    color: var(--dark-color);
    letter-spacing: -1px;
    text-transform: uppercase;
    animation: scaleIn 1s ease-out;
}

.title-border {
    width: 100px;
    height: 4px;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    animation: expandWidth 1s ease-out;
}

.title-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(120deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInUp 1s ease-out;
}

@keyframes shimmer {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes slideFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

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

.about-content-wrapper {
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: floatUp 1s ease-out;
}

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

.feature-item {
    animation: fadeInScale 0.5s ease-out backwards;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }
.feature-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.about-img-wrap {
    position: relative;
    z-index: 1;
    padding: 30px;
    height: 100%;
}

.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 600px;
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.6s ease;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    z-index: 1;
    transition: all 0.6s ease;
}

.about-img:hover::before {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
}

.about-shape {
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    top: 40px;
    left: 40px;
    z-index: -1;
    opacity: 0.2;
    animation: shapeFloat 3s ease-in-out infinite;
}

.about-content {
    padding: 20px;
}

.education-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Modern Accordion Styles */
.rs-accordion-style1 {
    margin-top: 40px;
}

.rs-accordion-style1 .card {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.rs-accordion-style1 .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.rs-accordion-style1 .card-header {
    background: var(--white-color);
    padding: 0;
    border: none;
}

.rs-accordion-style1 .acdn-title {
    padding: 20px 25px;
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.rs-accordion-style1 .acdn-title i {
    margin-right: 15px;
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-accordion-style1 .acdn-title:not(.collapsed) i {
    transform: rotate(360deg);
    background: var(--primary-color);
    color: var(--white-color);
}

.rs-accordion-style1 .card-body {
    padding: 25px;
    background: rgba(var(--primary-rgb), 0.02);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .rs-about {
        padding: 100px 0;
    }

    .education-features {
        grid-template-columns: 1fr;
    }

    .about-img-wrap {
        margin-bottom: 40px;
    }

    .about-img {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .rs-about {
        padding: 80px 0;
    }

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

    .welcome-title {
        font-size: 28px;
    }

    .about-shape {
        display: none;
    }

    .feature-item {
        padding: 12px;
    }

    .about-img {
        min-height: 400px;
    }
}

.about-btn-wrap {
    margin-top: 40px;
}

.about-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

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

.about-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: var(--white-color);
}

.about-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .about-img {
        min-height: 500px;
    }
    
    .about-content {
        padding: 30px 0;
    }
    
    .education-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .about-img {
        min-height: 400px;
    }
    
    .about-shape {
        display: none;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .about-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animated Title Styles */
.title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.typewriter {
    display: inline-block;
    position: relative;
}

.typewriter h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    animation: typing 3.5s steps(40, end) forwards;
}

.typewriter h2.typing-complete {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@media (max-width: 768px) {
    .typewriter h2 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
}

/* Add a glowing effect to the cursor */
.animated-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    animation: glow 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0.8;
}

@keyframes glow {
    0%, 100% { 
        opacity: 0.8;
        box-shadow: 0 0 10px var(--primary-color);
    }
    50% { 
        opacity: 0.3;
        box-shadow: 0 0 20px var(--primary-color);
    }
}

/* Responsive styles */
@media (max-width: 991px) {
    .animated-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .animated-title {
        font-size: 28px;
        white-space: normal;
        animation: none;
        width: 100%;
        border-right: none;
    }
    
    .animated-title::after {
        display: none;
    }
}

/* Chairman's Message Section */
.chairman-message-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.chairman-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.chairman-profile {
    margin-bottom: 30px;
    position: relative;
}

.chairman-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
}

.chairman-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.chairman-image::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.1;
}

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

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

.chairman-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.chairman-designation {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-content {
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 30px;
    position: relative;
}

.message-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.message-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    font-family: var(--primary-font);
    position: relative;
    z-index: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
}

.read-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Notice Board Styles */
.notice-content {
    position: relative;
    height: 60%;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.notice-scroll {
    position: absolute;
    width: 100%;
    transition: transform 0.1s linear;
}

.notice-item {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    margin: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.notice-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px 0 0 2px;
}

.notice-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.notice-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.notice-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-title a:hover {
    color: var(--primary-color);
}

.notice-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.notice-attachment {
    margin-top: 10px;
}

.notice-attachment .btn {
    padding: 5px 15px;
    font-size: 13px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.notice-attachment .btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.notice-attachment i {
    margin-right: 5px;
}

/* Fade effect at top and bottom */
.notice-content::before,
.notice-content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 1;
    pointer-events: none;
}

.notice-content::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
}

.notice-content::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Notice Header Styles */
.notice-board {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    overflow: hidden;
}

.notice-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 25px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.notice-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 30%);
    opacity: 0.6;
    z-index: 1;
}

.notice-icon {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.notice-icon i {
    font-size: 24px;
    color: #fff;
}

.notice-header-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.notice-header-content h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notice-header-content p {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.notice-footer {
    padding: 20px;
    background: rgba(var(--primary-rgb), 0.02);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.view-all-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
    color: #fff;
}

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

.view-all-btn:hover i {
    transform: translateX(4px);
}

/* Notice Categories */
.notice-item.academic::before {
    background: #FF6B6B;
}

.notice-item.event::before {
    background: #4ECDC4;
}

.notice-item.announcement::before {
    background: #FFD93D;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .notice-header {
        padding: 25px;
    }
    
    .notice-icon {
        width: 50px;
        height: 50px;
    }
    
    .notice-icon i {
        font-size: 24px;
    }
    
    .notice-header-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .notice-board {
        margin-top: 30px;
    }
    
    .notice-header {
        padding: 20px;
    }
    
    .notice-content {
        padding: 20px;
        max-height: 400px;
    }
    
    .notice-item {
        padding: 15px;
    }
}

/* Notice Search Styles */
.notice-search {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: rgba(var(--primary-rgb), 0.02);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 10px 40px;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 14px;
}

.clear-search {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    display: none;
    transition: all 0.3s ease;
}

.clear-search:hover {
    color: var(--primary-color);
}

.notice-status {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 10px;
    display: none;
}

.highlight {
    background: rgba(var(--primary-rgb), 0.2);
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .notice-search {
        padding: 10px 15px;
    }

    .search-input {
        padding: 8px 35px;
        font-size: 13px;
    }
}

/* Achievements Section Styles */
.achievements-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
    padding: 8  0px 0;
    position: relative;
}

.sec-description {
    font-size: 16px;
    color: var(--text-color);
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.achievement-wrap {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.achievement-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.achievement-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.achievement-wrap:hover .achievement-img img {
    transform: scale(1.1);
}

.achievement-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(var(--primary-rgb), 0.9);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.achievement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.achievement-wrap:hover .achievement-overlay {
    opacity: 1;
}

.achievement-link {
    width: 45px;
    height: 45px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.achievement-wrap:hover .achievement-link {
    transform: translateY(0);
}

.achievement-content {
    padding: 25px;
    position: relative;
}

.achievement-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.achievement-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.achievement-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.achievement-title a:hover {
    color: var(--primary-color);
}

.achievement-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.achievement-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
    margin-top: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.no-achievements {
    text-align: center;
    padding: 50px 20px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.no-data-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-data-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.no-achievements h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.no-achievements p {
    color: var(--text-color);
    margin: 0;
}

/* Owl Carousel Custom Styles */
.achievements-carousel {
    display: block !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievements-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: var(--white-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements-carousel .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
}

.achievements-carousel .owl-prev {
    left: -20px;
}

.achievements-carousel .owl-next {
    right: -20px;
}

.achievements-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.achievements-carousel .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2) !important;
    transition: all 0.3s ease;
}

.achievements-carousel .owl-dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .achievement-img {
        height: 200px;
    }
    
    .achievements-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .achievements-section {
        padding: 40px 0;
    }

    .achievement-img {
        height: 180px;
    }

    .achievement-content {
        padding: 20px;
    }

    .achievement-title {
        font-size: 16px;
    }
    
    .achievements-carousel .owl-nav {
        display: none;
    }
}

/* Achievement Stats Styles */
.achievement-stats {
    margin-bottom: 80px;
    transition: transform 0.3s ease;
}

.stat-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: rotate(0deg);
}

.stat-icon i {
    font-size: 30px;
    color: var(--white-color);
}

.stat-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-content p {
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Title Badge Styles */
.title-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.badge-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.badge-icon i {
    color: var(--white-color);
    font-size: 14px;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.title-border {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 30px auto;
    border-radius: 2px;
    position: relative;
}

.animate-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--white-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    transition: left 0.5s ease;
}

.animate-dot.active {
    left: calc(100% - 10px);
}

/* Enhanced Achievement Card Styles */
.achievement-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.achievement-img {
    height: 280px;
}

.achievement-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.achievement-overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
}

.achievement-year {
    font-size: 48px;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 20px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.achievement-link {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.achievement-link:hover {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--white-color);
}

.achievement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 14px;
}

.meta-category {
    padding: 5px 15px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.achievement-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.achievement-title a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-desc {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 15px;
    color: var(--secondary-color);
}

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

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

/* No Achievements Style */
.no-achievements {
    text-align: center;
    padding: 60px 30px;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.no-data-icon {
    width: 100px;
    height: 100px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.no-data-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.no-achievements h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.no-achievements p {
    color: var(--text-color);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .gradient-text {
        font-size: 36px;
    }
    
    .achievement-img {
        height: 250px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-content h3 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .gradient-text {
        font-size: 30px;
    }
    
    .achievement-img {
        height: 220px;
    }
    
    .achievement-year {
        font-size: 36px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-content h3 {
        font-size: 28px;
    }
    
    .achievement-stats {
        margin-bottom: 50px;
    }
}

/* News & Events Section Styles */
.news-events-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-overlay.active {
    opacity: 1;
}

.news-link {
    width: 45px;
    height: 45px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transform: translateY(20px);
    transition: all 0.4s ease;
    opacity: 0;
}

.news-item:hover .news-link {
    transform: translateY(0);
    opacity: 1;
}

.news-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: rotate(45deg);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 3px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    font-size: 14px;
}

.meta-item i {
    color: var(--primary-color);
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-desc {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--secondary-color);
}

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

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

.no-news {
    text-align: center;
    padding: 40px 20px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.no-data-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-data-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.no-news h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.no-news p {
    color: var(--text-color);
    font-size: 14px;
    margin: 0;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.view-all-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--white-color);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .news-events-section {
        padding: 60px 0;
    }
    
    .news-img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .news-events-section {
        padding: 40px 0;
    }
    
    .news-img {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-date {
        padding: 8px 12px;
    }
    
    .news-date .day {
        font-size: 20px;
    }
    
    .news-date .month {
        font-size: 12px;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-item {
    background: var(--white-color);
    border-radius: 20px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-item:hover::before {
    opacity: 1;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin: 15px 0;
}

.testimonial-rating .fa-star {
    color: #FFD700;
    transition: transform 0.3s ease;
}

.star-pulse {
    animation: starPulse 0.5s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quote-icon.rotate {
    transform: rotate(180deg);
    background: var(--primary-color);
}

.quote-icon.rotate i {
    color: var(--white-color);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.author-shape {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.author-shape.animate {
    opacity: 1;
    animation: rotateShape 2s linear infinite;
}

@keyframes rotateShape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.author-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-placeholder i {
    font-size: 24px;
    color: var(--primary-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 5px;
}

.author-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 30px;
    height: 30px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.add-testimonial-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.add-testimonial-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.ripple {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Enhanced No Testimonials Style */
.no-testimonials {
    text-align: center;
    padding: 50px 30px;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.no-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    opacity: 0.5;
}

.no-testimonials .no-data-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-item {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-item {
        padding: 20px;
        margin: 10px;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
} 
.mb-70 {
    margin-bottom: 9rem;
}

/* Best Students Section Styles */
.best-students-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.student-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    margin: 15px;
    position: relative;
}

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

.student-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.student-card:hover .student-image img {
    transform: scale(1.1);
}

.student-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.student-overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.student-card:hover .overlay-content {
    transform: translateY(0);
}

.student-grade {
    font-size: 48px;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 20px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.student-link {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.student-link.animate {
    opacity: 1;
    transform: scale(1);
}

.student-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: rotate(360deg);
}

.student-content {
    padding: 25px;
    position: relative;
}

.student-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.meta-class, .meta-grade {
    padding: 5px 15px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.student-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.student-desc {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.student-achievements {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.achievement-badge i {
    font-size: 14px;
}

.achievement-badge.pulse {
    animation: badgePulse 0.5s ease;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* No Students Style */
.no-students {
    text-align: center;
    padding: 60px 30px;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.no-students .no-data-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-students .no-data-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.no-students h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.no-students p {
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
}

/* Carousel Navigation */
.best-students-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: var(--white-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-students-carousel .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
}

.best-students-carousel .owl-prev {
    left: -25px;
}

.best-students-carousel .owl-next {
    right: -25px;
}

.best-students-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.best-students-carousel .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2) !important;
    transition: all 0.3s ease;
}

.best-students-carousel .owl-dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .best-students-section {
        padding: 60px 0;
    }
    
    .student-image {
        height: 250px;
    }
    
    .student-grade {
        font-size: 36px;
    }
    
    .student-name {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .best-students-section {
        padding: 40px 0;
    }
    
    .student-image {
        height: 220px;
    }
    
    .student-grade {
        font-size: 32px;
    }
    
    .student-content {
        padding: 20px;
    }
    
    .best-students-carousel .owl-nav {
        display: none;
    }
    
    .achievement-stats {
        margin-bottom: 30px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

/* Enhanced Best Students Carousel Styles */
.best-students-carousel {
    padding: 20px 0;
}

.student-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 10px;
}

.student-card-inner {
    position: relative;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

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

.student-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.student-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.student-card.hover .student-image img {
    transform: scale(1.1);
}

.grade-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.grade-badge.pulse {
    animation: gradePulse 0.5s ease;
}

@keyframes gradePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.student-content {
    padding: 20px;
}

.student-info {
    text-align: center;
    margin-bottom: 15px;
}

.student-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.student-class {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.achievement-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.achievement-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0.8;
    transform: translateX(-10px);
}

.achievement-badges .badge.active {
    opacity: 1;
    transform: translateX(0);
}

.badge.top-performer {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
}

.badge.merit {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.badge i {
    font-size: 14px;
}

.student-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.stat.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat i {
    width: 35px;
    height: 35px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: var(--text-color);
}

.stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Carousel Navigation */
.best-students-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.best-students-carousel .owl-nav button:hover {
    background: var(--primary-color);
}

.best-students-carousel .owl-nav button i {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.best-students-carousel .owl-nav button:hover i {
    color: var(--white-color);
}

.best-students-carousel .owl-prev {
    left: -20px;
}

.best-students-carousel .owl-next {
    right: -20px;
}

.best-students-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.best-students-carousel .owl-dot {
    width: 8px;
    height: 8px;
    background: rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.best-students-carousel .owl-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .student-image {
        height: 200px;
    }
    
    .student-name {
        font-size: 16px;
    }
    
    .achievement-badges .badge {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .student-image {
        height: 180px;
    }
    
    .student-content {
        padding: 15px;
    }
    
    .best-students-carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .student-image {
        height: 160px;
    }
    
    .grade-badge {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Modern Footer Styles */
.footer-wave {
    height: 120px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotateY(180deg);
}

.footer-section {
    position: relative;
    background: linear-gradient(135deg, #2b4162 0%, #12100e 100%);
    color: #fff;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' fill='%23ffffff'%3E%3Cg class='education-icons'%3E%3Cpath d='M20 50 L40 40 L60 40 L80 50 L60 60 L40 60 Z' class='book'/%3E%3Ccircle cx='50' cy='30' r='8' class='graduation-cap'/%3E%3Cpath d='M42 30 L58 30 L50 20 Z' class='graduation-cap'/%3E%3Crect x='45' y='65' width='10' height='15' class='pencil'/%3E%3Cpath d='M45 80 L50 85 L55 80' class='pencil'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 200px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400px 400px;
    }
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(43, 65, 98, 0.95), 
        rgba(18, 16, 14, 0.98)
    );
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 0.92;
    }
    50% {
        opacity: 0.97;
    }
}

/* Education Icons Animation */
@keyframes educationFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.education-icons {
    animation: educationFloat 6s ease-in-out infinite;
}

.book {
    animation: bookOpen 8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes bookOpen {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.2);
    }
}

.graduation-cap {
    animation: capFloat 7s ease-in-out infinite;
    transform-origin: center;
}

@keyframes capFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.pencil {
    animation: pencilWrite 5s ease-in-out infinite;
    transform-origin: bottom;
}

@keyframes pencilWrite {
    0%, 100% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}

/* Brand Section */
.footer-brand-section {
    padding: 60px 0 0px;
    position: relative;
}

.brand-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.school-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.brand-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* Quick Access Grid */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
    position: relative;
}

.access-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.access-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

/* Contact Info */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary-color);
    color: #fff;
}

/* Quick Links */
.links-list {
    display: grid;
    gap: 15px;
}

.link-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.link-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.link-item:hover::before {
    transform: translateY(-50%) scale(1.5);
}

/* Latest Updates */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.updates-list::-webkit-scrollbar {
    width: 5px;
}

.updates-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.updates-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* Newsletter */
.newsletter-content {
    text-align: center;
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.newsletter-form button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.success-message {
    background: rgba(46,213,115,0.2);
    color: #2ed573;
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* margin-top: 25px; */
}

.social-link {
    /* width: 40px;
    height: 40px; */
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    /* font-size: 1.1rem; */
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.bounce {
    animation: socialBounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes socialBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.youtube:hover { background: #ff0000; }
.social-link.instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    position: relative;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin: 0;
}

.credits {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.credits:hover {
    color: #fff;
}

.credits i {
    color: #ff6b6b;
    animation: heartBeat 1.5s ease infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.credits span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scroll-top::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.scroll-top svg {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 0;
    left: 0;
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 4;
    stroke-dasharray: 126;
    stroke-dashoffset: 126;
    transform: rotate(-90deg);
    transition: all 0.3s ease;
}

.scroll-top i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.scroll-top:hover::before {
    opacity: 1;
}

.scroll-top:hover i {
    animation: scrollTopArrow 1s infinite;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes scrollTopArrow {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 767px) {
    .scroll-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-top svg {
        width: 40px;
        height: 40px;
    }
    
    .scroll-top i {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .footer-brand-section {
        padding: 40px 0 20px;
    }
    
    .school-title {
        font-size: 2rem;
    }
    
    .access-card {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .school-title {
        font-size: 1.8rem;
    }
    
    .footer-logo {
        width: 80px;
        height: 80px;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-top {
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .links-list {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}