/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: 0;
    margin-left: 5px;
    line-height: normal;
    position: relative;
    top: 1px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 15px;
    padding: 12px 10px;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}


/*** Header ***/
#header-carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 75vh; /* Desktop height */
    overflow: hidden;
}

    #header-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        /* object-fit: cover;  Maintain aspect ratio */
    }

/* Caption overlay */
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Controls */
#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 8%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Tablet */
@media (max-width: 992px) {
    #header-carousel .carousel-item {
        height: 55vh;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 40vh; /* Reduced size */
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    #header-carousel .carousel-item {
        height: 32vh; /* Compact banner */
    }
}

/* Indicators */
#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #ffffff;
    border-radius: 60px;
    overflow: hidden;
}

    #header-carousel .carousel-indicators [data-bs-target] img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/breadcrumb.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
.fact-item {
    transition: all 0.4s ease;
}

.fact-item:hover {
    transform: translateY(-10px);
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.fact-item:hover .fact-icon {
    background: linear-gradient(135deg, var(--primary), #0066cc);
    color: #fff;
}

.fact-item:hover .fact-icon.fa-3x {
    color: #fff !important;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    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;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Premium Redesign Extensions */
.premium-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.lift-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift-on-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
}

.gradient-overlay {
    position: relative;
    border-radius: inherit;
}

.gradient-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,156,255,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 1;
}

.gradient-overlay:hover::after {
    opacity: 1;
}

.rounded-modern {
    border-radius: 16px !important;
}

.soft-shadow {
    box-shadow: 0 8px 24px rgba(0,0,0,0.04) !important;
}

.hover-primary {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.hover-primary:hover * {
    color: #fff !important;
}

/* ========================================
   FLOATING PHARMA ELEMENTS BACKGROUND
   ======================================== */
.floating-pharma-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.08;
    animation: floatAround 20s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 156, 255, 0.3));
}

.floating-element.tablet {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #009CFF 0%, #0066cc 100%);
    border-radius: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.capsule {
    width: 40px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 20px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element.capsule.blue {
    background: linear-gradient(135deg, #009CFF 0%, #0044aa 100%);
    top: 30%;
    right: 25%;
    animation-delay: -10s;
}

.floating-element.syrup {
    width: 30px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border-radius: 3px;
    top: 70%;
    left: 20%;
    animation-delay: -3s;
}

.floating-element.injection {
    width: 15px;
    height: 40px;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-radius: 2px;
    top: 40%;
    left: 5%;
    animation-delay: -7s;
}

.floating-element.injection::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 10px;
    background: #ddd;
    border-radius: 2px;
}

.floating-element.pill {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #e83e8c 0%, #c71585 100%);
    border-radius: 50%;
    top: 15%;
    right: 8%;
    animation-delay: -12s;
}

.floating-element.pill.white {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #009CFF;
    top: 80%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(15deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-10deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(5deg);
    }
}

/* ========================================
   ENHANCED SECTION ANIMATIONS
   ======================================== */
.section-animated {
    position: relative;
    z-index: 1;
}

.section-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.95) 100%);
    z-index: -1;
}

.section-container {
    position: relative;
    z-index: 2;
}

/* Enhanced Section Headers */
.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,156,255,0.1) 0%, transparent 70%);
    z-index: -1;
}

.section-title-enhanced {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title-enhanced::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #0066cc);
    border-radius: 2px;
}

/* ========================================
   ENHANCED CARD STYLES
   ======================================== */
.enhanced-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    overflow: hidden;
}

.enhanced-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.enhanced-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #0066cc 100%);
    color: #fff;
    transition: all 0.4s ease;
}

.enhanced-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(0,156,255,0.4);
}

/* ========================================
   ENHANCED BUTTONS
   ======================================== */
.btn-enhanced {
    position: relative;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0066cc 100%);
    border: none;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,156,255,0.4);
}

.btn-enhanced-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,156,255,0.5);
    color: #fff;
}

/* ========================================
   ENHANCED NAVBAR
   ======================================== */
.navbar-enhanced {
    background: linear-gradient(135deg, #1a88e4 0%, #0056b3 100%) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    min-height: 60px;
}

.navbar-enhanced .nav-link {
    position: relative;
    padding: 8px 14px !important;
    font-weight: 500;
    color: #fff !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-enhanced .nav-link:hover,
.navbar-enhanced .nav-link.active {
    color: #000 !important;
    background: #fff;
}

/* ========================================
   ENHANCED FOOTER
   ======================================== */
.footer-enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

.footer-enhanced .footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-enhanced .footer-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* ========================================
   PARALLAX HERO SECTIONS
   ======================================== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,156,255,0.9) 0%, rgba(0,102,204,0.85) 100%);
}

/* ========================================
   PRODUCT CARD ENHANCEMENTS
   ======================================== */
.product-card-enhanced {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.product-card-enhanced:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,156,255,0.2);
}

.product-card-enhanced .product-image {
    position: relative;
    padding: 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    overflow: hidden;
}

.product-card-enhanced .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   TESTIMONIAL ENHANCEMENTS
   ======================================== */
.testimonial-enhanced {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-enhanced::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(0,156,255,0.1);
    line-height: 1;
}

.testimonial-enhanced .quote-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ========================================
   PAGE HEADER ENHANCEMENTS
   ======================================== */
.page-header-enhanced {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #0066cc 100%);
    overflow: hidden;
}

.page-header-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: floatParticles 10s linear infinite;
}

@keyframes floatParticles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-80px); }
}

.page-header-enhanced h1 {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* ========================================
   FORM ENHANCEMENTS
   ======================================== */
.form-enhanced .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-enhanced .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,156,255,0.1);
    background: #fff;
}

.form-enhanced .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

/* ========================================
   CONTACT INFO CARDS
   ======================================== */
.contact-card-enhanced {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #0066cc);
}

.contact-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.contact-card-enhanced .contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,156,255,0.1), rgba(0,102,204,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.contact-card-enhanced:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary), #0066cc);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

/* ========================================
   SCROLL ANIMATION UTILITIES
   ======================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   GALLERY ENHANCEMENTS
   ======================================== */
.gallery-item-enhanced {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-item-enhanced img {
    transition: all 0.5s ease;
}

.gallery-item-enhanced:hover img {
    transform: scale(1.2);
}

.gallery-item-enhanced .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,156,255,0.9), rgba(0,102,204,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item-enhanced:hover .gallery-overlay {
    opacity: 1;
}

/* ========================================
   ABOUT PAGE ENHANCEMENTS
   ======================================== */
.feature-box-enhanced {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-box-enhanced .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.feature-box-enhanced .feature-icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: rotateBorder 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   BLOG CARD ENHANCEMENTS
   ======================================== */
.blog-card-enhanced {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.blog-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.blog-card-enhanced .blog-image {
    position: relative;
    overflow: hidden;
}

.blog-card-enhanced .blog-image img {
    transition: all 0.5s ease;
}

.blog-card-enhanced:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card-enhanced .blog-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */
@media (max-width: 768px) {
    .section-title-enhanced {
        font-size: 1.8rem;
    }
    
    .page-header-enhanced h1 {
        font-size: 2rem;
    }
    
    .enhanced-card {
        margin-bottom: 20px;
    }
    
    .floating-element {
        display: none;
    }
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
/* Desktop - social in navbar (hidden by default, shown on desktop) */
.desktop-social-links {
    display: none;
}

/* Mobile Social Links - hidden on desktop */
.navbar-social-links {
    display: none;
}

@media (min-width: 992px) {
    .desktop-social-links {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    .desktop-social-links .nav-item .btn {
        width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding-bottom: 20px;
    }
    .navbar-social-links {
        display: block;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .navbar-social-links .btn-square {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   HOME PAGE STYLES
   ======================================== */
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 20px;
}

.experience-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,156,255,0.1), rgba(0,102,204,0.1));
}

.feature-play-btn .btn-primary {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 156, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 156, 255, 0);
    }
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    opacity: 1;
}

/* ========================================
   NAVIGATION DROPDOWN STYLES
   ======================================== */
.navbar-nav .nav-item {
    position: relative;
}
.navbar-nav .nav-link {
    padding: 8px 12px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Download Button in Navbar */
.btn-download {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.btn-download:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.btn-download i {
    color: #fff;
}
.btn-download:hover i {
    color: var(--primary);
}

/* First Level Dropdown */
.navbar-nav .dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    margin-top: 0;
    padding: 10px 8px;
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 5px 20px rgba(0,0,0,0.08);
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    pointer-events: none;
}
.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown > .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
    pointer-events: auto;
}

/* Dropdown Items */
.navbar-nav .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 5px 5px;
    margin: 2px 0;
    border-radius: 8px;
    font-weight: 500;
    color: #444;
    transition: all 0.25s ease;
    white-space: normal;
}
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0,156,255,0.1), rgba(0,102,204,0.05));
    color: var(--primary);
    transform: translateX(5px);
}
.navbar-nav .dropdown-menu .dropdown-item i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Divider */
.navbar-nav .dropdown-menu .dropdown-divider {
    margin: 10px 0;
    border-color: rgba(0,0,0,0.06);
}

/* Second Level Submenu */
.navbar-nav .dropdown-menu .dropdown-submenu {
    position: relative;
}
.navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -5px;
    left: 100%;
    min-width: 240px;
    margin-left: 0;
    padding: 5px 10px;
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 5px 20px rgba(0,0,0,0.08);
    transform: translateX(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1002;
    pointer-events: none;
}
.navbar-nav .dropdown-menu .dropdown-submenu:hover > .dropdown-menu,
.navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Submenu Arrow */
.navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-item::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    color: #999;
    transition: transform 0.3s ease;
}
.navbar-nav .dropdown-menu .dropdown-submenu:hover > .dropdown-item::after {
    transform: translateX(5px);
    color: var(--primary);
}

/* Hover Arrow for First Level */
.navbar-nav .dropdown > .dropdown-toggle::after {
    display: inline-block;
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    vertical-align: 0;
    border: none !important;
    transition: transform 0.3s ease;
    line-height: normal;
    position: relative;
    top: 1px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(180deg, #1a88e4 0%, #0056b3 100%);
        padding: 15px;
        border-radius: 0 0 15px 15px;
    }
    .navbar-nav {
        padding: 0;
        margin: 0;
    }
    .navbar-nav .nav-item {
        margin: 2px 0;
    }
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        color: #fff !important;
        border-radius: 8px;
        font-size: 15px;
    }
    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.15);
        color: #fff !important;
    }
    .navbar-nav .dropdown > .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0;
        margin: 5px 0 5px 10px;
        background: rgba(0,0,0,0.15);
        border: none;
        display: none;
        border-radius: 8px;
    }
    .navbar-nav .dropdown > .dropdown-menu.show {
        display: block !important;
    }
    .navbar-nav .dropdown-menu > li {
        margin: 0;
    }
    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 10px 15px;
        color: #e0e0e0 !important;
        font-size: 14px;
        border-radius: 6px;
        margin: 2px 0;
    }
    .navbar-nav .dropdown-menu .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: #fff !important;
    }
    .navbar-nav .dropdown-menu .dropdown-item i {
        color: #fff !important;
        margin-right: 10px;
    }
    .navbar-nav .dropdown-menu .dropdown-divider {
        border-color: rgba(255,255,255,0.2);
        margin: 5px 0;
    }
    .navbar-nav .dropdown-menu .dropdown-submenu {
        position: relative;
    }
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 0 0 15px;
        margin: 5px 0 5px 5px;
        background: rgba(0,0,0,0.2);
        border: none;
        display: none;
        border-radius: 8px;
    }
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
    }
    .navbar-nav .dropdown > .dropdown-toggle::after {
        float: right;
        margin-top: 0;
        transform: rotate(0deg);
    }
    .navbar-nav .dropdown > .dropdown-toggle.active::after {
        transform: rotate(180deg);
    }
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-item {
        position: relative;
    }
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-item::after {
        transform: rotate(90deg);
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -5px;
    }
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu.show ~ .dropdown-item::after,
    .navbar-nav .dropdown-menu .dropdown-submenu.show > .dropdown-item::after {
        transform: rotate(270deg);
    }
}