/********** Enhanced Template CSS with Modern Animations **********/
/********** Created for Montessori Prime School Yellandu **********/

:root {
    --primary: #DD3E74;
    --light: #FFF5F3;
    --dark: #103741;
    --secondary: #FFC107;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* ========================================
   BASIC RESETS AND SMOOTH SCROLLING
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   SCROLL PROGRESS INDICATOR
======================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #667eea, #764ba2);
    background-size: 200% auto;
    z-index: 9999;
    transition: width 0.1s ease;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(221, 62, 116, 0.3);
}

/* ========================================
   SPINNER / LOADER
======================================== */

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: linear-gradient(135deg, var(--primary), var(--dark));
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Custom Spinner Animation */
.spinner-border-custom {
    width: 3rem;
    height: 3rem;
    border: 0.4em solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================
   ENHANCED BUTTON STYLES
======================================== */

.btn {
    font-weight: 500;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
}

.btn.btn-primary {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

/* Ripple Effect on Buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(221, 62, 116, 0.3);
}

/* Enhanced Button Variant */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(221, 62, 116, 0.4);
}

/* Button Sizes */
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* Outline Button Hover */
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--primary);
}

/* ========================================
   DROPDOWN STYLES
======================================== */

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.dropdown-menu img {
    transition: transform 0.3s ease;
}

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

/* ========================================
   TYPOGRAPHY / HEADINGS
======================================== */

h1, h2, h3, h4,
.h1, .h2, .h3, .h4,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5, h6, .h5, .h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Text Underline Effect */
.text-gradient-underline {
    position: relative;
    display: inline-block;
}

.text-gradient-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #667eea);
    transition: width 0.3s ease;
}

.text-gradient-underline:hover::after {
    width: 100%;
}

/* ========================================
   NAVBAR STYLES
======================================== */

.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* ========================================
   HEADER / CAROUSEL
======================================== */

.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 300px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.owl-carousel-item img {
    max-height: 600px;
    object-fit: cover;
    width: 100%;
    transition: transform 8s ease;
}

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

@media (max-width: 768px) {
    .owl-carousel-item img {
        max-height: 300px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/head-banner-2.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* ========================================
   FACILITY SECTION
======================================== */

.facility-item {
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.facility-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.facility-item:hover::after {
    width: 300%;
    height: 300%;
}

.facility-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(221, 62, 116, 0.3);
}

.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.facility-item:hover .facility-icon {
    transform: rotateY(360deg) scale(1.1);
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-img img {
    transition: .5s;
}

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

/* ========================================
   CLASSES SECTION
======================================== */

.classes-item {
    transition: all .5s ease;
    border-radius: 20px;
}

.classes-item:hover {
    margin-top: -10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ========================================
   TEAM SECTION
======================================== */

.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ========================================
   STATS COUNTER SECTION
======================================== */

.stats-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.stats-item:hover::before {
    left: 100%;
}

.stats-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(221, 62, 116, 0.2);
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    font-family: 'Lobster Two', cursive;
}

@media (max-width: 768px) {
    .counter {
        font-size: 2rem;
    }
    
    .stats-item {
        padding: 30px 20px;
    }
}

/* ========================================
   CARD ENHANCEMENTS
======================================== */

.card-enhanced {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.card-enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Glass Morphism Card */
.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 3D Card Effect */
.card-3d {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FEATURE GRADIENT BACKGROUNDS
======================================== */

.feature-gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.feature-gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.feature-gradient-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* ========================================
   IMAGE EFFECTS
======================================== */

/* Zoom Image Wrapper */
.zoom-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.zoom-img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}

.zoom-img-wrapper:hover .zoom-img {
    transform: scale(1.1);
}

/* Ken Burns Effect */
.ken-burns-effect {
    overflow: hidden;
}

.ken-burns-effect img {
    transition: transform 10s ease;
}

.ken-burns-effect:hover img {
    transform: scale(1.2);
}

/* Image Overlay */
.image-overlay-color {
    position: relative;
    overflow: hidden;
}

.image-overlay-color::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 62, 116, 0.8), rgba(102, 126, 234, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay-color:hover::after {
    opacity: 1;
}

/* ========================================
   PARALLAX SECTION
======================================== */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll !important;
    }
}

/* ========================================
   NEWS / BLOG CARDS
======================================== */

.news-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.news-card img {
    transition: transform 0.5s ease;
}

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

/* Badge Styling */
.badge-custom {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

/* ========================================
   TESTIMONIAL SECTION
======================================== */

.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-item {
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-item.active {
    transform: scale(1.05);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
    transform: scale(1.1);
}

/* Animated Testimonial Flow */
.testimonial-flow-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin: 10px 0;
    background: #fff;
    width: 90%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.testimonial-flow-item i {
    margin-right: 15px;
}

.testimonial-anim-part {
    max-width: 600px;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.testimonial-flow {
    display: flex;
    flex-direction: column;
    animation: scrollTestimonials 25s linear infinite;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.testimonial-anim-part:hover .testimonial-flow {
    animation-play-state: paused;
}

/* ========================================
   FOOTER SECTION
======================================== */

.footer-section {
    background-color: #000000;
    background-image: linear-gradient(45deg, #000000d4, #000000ba), url(../img/land.jpg);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/footer-pattern.png');
    opacity: 0.05;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-3px) scale(1.1);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(5px);
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    transition: all 0.3s ease;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ========================================
   ANIMATIONS
======================================== */

/* Float Animation */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Bounce Animation */
.bounce-animation {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Scale Animation */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Rotate Animation */
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-360 {
    animation: rotate360 2s linear infinite;
}

/* Swing Animation */
@keyframes swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.swing {
    transform-origin: top center;
    animation: swing 1s ease;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.heartbeat {
    animation: heartbeat 1.5s infinite;
}

/* ========================================
   FLOATING WHATSAPP BUTTON
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ========================================
   LOGO RESPONSIVE
======================================== */

.logo-responsive {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

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

@media (max-width: 576px) {
    .logo-responsive {
        width: 200px;
    }
}

/* ========================================
   EXPERIENCE BANNER
======================================== */

.experience-banner {
    display: inline-block;
}

.experience-badge {
    position: absolute;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 0px 8px 8px 0px;
    box-shadow: 0 5px 15px rgba(221, 62, 116, 0.3);
    animation: slideInLeft 0.5s ease;
}

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

/* ========================================
   GALLERY
======================================== */

.gallery-item {
    display: none;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item.show {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* ========================================
   ANNOUNCEMENT / SCROLL BAR
======================================== */

.announcement-bar {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    color: #222;
    font-size: 1rem;
    padding: 10px;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.announcement-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.blink-link {
    animation: blink 1s infinite;
    color: var(--primary);
    font-weight: bold;
    text-decoration: underline;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

.scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 10px 0;
    position: relative;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

.scroll-wrapper:hover .scroll-text {
    animation-play-state: paused;
}

/* ========================================
   PAGE TITLE AREA
======================================== */

.page-title-area {
    background-color: #f6f1ed;
    position: relative;
    padding-top: 20px;
    padding-bottom: 80px;
}

/* ========================================
   MOTIVATION ABOUT AREA
======================================== */

.motivation-about-area {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.motivation-about-image {
    position: relative;
    text-align: center;
}

.motivation-about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.video-btn-box {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.959);
    padding: 10px 15px;
    border-radius: 5px;
    animation: float 3s infinite ease-in-out;
}

.video-btn h5 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.motivation-about-me-content .sub-title {
    text-transform: uppercase;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.motivation-about-me-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.quote {
    padding: 20px;
    background-color: #f9f9f9;
    font-size: 18px;
    font-weight: 600;
    border-left: 5px solid var(--primary);
    margin: 20px 0;
}

/* ========================================
   OUR STORY TITLE
======================================== */

.our-story-title .h3 .number {
    opacity: .38;
    position: absolute;
    left: 0;
    line-height: 1;
    top: 1px;
    font-size: 45px;
    font-weight: 900;
    font-style: italic;
}

/* ========================================
   ZOOM CARD
======================================== */

.zoom-card {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.zoom-card img {
    transition: transform 0.3s ease-in-out;
    display: block;
    width: 100%;
}

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

/* ========================================
   CHAT BUTTON
======================================== */

#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* ========================================
   CONTACT FORM
======================================== */

#contactForm .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* ========================================
   FORM ENHANCEMENTS
======================================== */

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(221, 62, 116, 0.25);
}

.form-floating label {
    transition: all 0.3s ease;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

/* ========================================
   REVEAL ON SCROLL
======================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ACCESSIBILITY
======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE UTILITIES
======================================== */

@media (max-width: 768px) {
    .display-2 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .facility-item:hover {
        transform: translateY(-10px) scale(1);
    }
    
    .card-enhanced:hover {
        transform: translateY(-10px) scale(1);
    }
    
    .card-3d:hover {
        transform: scale(1.02);
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .navbar,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .scroll-progress {
        display: none !important;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

/* ========================================
   SELECTION STYLES
======================================== */

::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ========================================
   END OF ENHANCED STYLES
======================================== */