/* Manohar Hospital - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #0e548f;
    --secondary-color: #207dff;
    --accent-color: #9fd025;
    --light-bg: #cceaf6;
    --dark: #333;
    --white: #fff;
    --gray: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Keyframe 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);
    }
}

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

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

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

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(32, 125, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(32, 125, 255, 0.8), 0 0 30px rgba(32, 125, 255, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInUnderline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(159, 208, 37, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(159, 208, 37, 0.8);
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    transition: all 0.3s;
}

.top-bar:hover {
    background: #0a3d6e;
}

.top-bar i {
    margin-right: 5px;
    color: var(--accent-color);
    transition: all 0.3s;
}

.top-bar:hover i {
    transform: scale(1.2);
}

/* Navigation */
.navbar {
    background: var(--light-bg) !important;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand img {
    width: 180px;
    height: 80px;
    transition: all 0.3s;
}

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

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    transition: all 0.3s;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 10px 18px !important;
    transition: all 0.3s;
    font-size: 15px;
    position: relative;
}

/* Animated underline for nav links */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-wrap {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 600px;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 84, 143, 0.7);
}

.hero-wrap .text {
    position: relative;
    z-index: 1;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-wrap h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-wrap p {
    font-size: 18px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-wrap .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Intro Section */
.ftco-intro {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ftco-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.ftco-intro h2 {
    font-size: 36px;
    font-weight: 600;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

/* Section Styles */
.ftco-section {
    padding: 80px 0;
    position: relative;
}

.ftco-section.bg-light {
    background: #f8f9fa;
}

.heading-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.heading-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    transition: all 0.3s;
}

.heading-section:hover h2::after {
    width: 100%;
}

.heading-section p {
    color: var(--gray);
}

/* Services - Enhanced Hover Effects */
.services-2 {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.services-2:hover::before {
    left: 100%;
}

.services-2:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 84, 143, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.services-2:hover * {
    color: var(--white) !important;
}

.services-2:hover .number {
    opacity: 0.5;
    color: var(--white);
}

.services-2 .icon-wrap {
    position: relative;
    margin-bottom: 20px;
}

.services-2 .number {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
    transition: all 0.3s;
}

.services-2 .fa {
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.services-2:hover .fa {
    animation: iconBounce 0.6s ease;
    transform: scale(1.2);
}

.services-2 h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.services-2 p {
    color: var(--gray);
    font-size: 14px;
    transition: all 0.3s;
}

/* Department - 3D Tilt Effect */
.department-wrap {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.department-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s;
    z-index: 0;
}

.department-wrap:hover::after {
    opacity: 1;
}

.department-wrap:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 25px 50px rgba(14, 84, 143, 0.3);
}

.department-wrap:hover * {
    color: var(--white) !important;
    position: relative;
    z-index: 1;
}

.department-wrap .fa {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.4s;
    display: inline-block;
}

.department-wrap:hover .fa {
    animation: float 1s ease-in-out infinite;
    transform: scale(1.2);
}

.department-wrap h3 {
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

/* Doctor - Image Zoom & Overlay */
.doctor-wrap {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.doctor-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 84, 143, 0.8), rgba(32, 125, 255, 0.8));
    opacity: 0;
    transition: all 0.4s;
    z-index: 1;
}

.doctor-wrap:hover::before {
    opacity: 1;
}

.doctor-wrap:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(14, 84, 143, 0.3);
}

.doctor-wrap .img {
    transition: all 0.5s;
    position: relative;
}

.doctor-wrap:hover .img {
    transform: scale(1.15);
}

.doctor-wrap .text {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.doctor-wrap:hover .text {
    transform: translateY(-10px);
    color: var(--white);
}

.doctor-wrap:hover h3,
.doctor-wrap:hover .position {
    color: var(--white) !important;
}

.doctor-wrap h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s;
}

.doctor-wrap .position {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--primary-color), #0a3d6e);
    padding: 60px 0;
}

.counter-wrap {
    text-align: center;
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.counter-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.5s;
    opacity: 0;
}

.counter-wrap:hover::before {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

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

.counter-wrap .number {
    font-size: 48px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}

.counter-wrap:hover .number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.counter-wrap span {
    font-size: 16px;
    position: relative;
}

/* Blog - Image Zoom & Content Slide */
.blog-wrap {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-wrap:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(14, 84, 143, 0.25);
}

.blog-wrap .img {
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
}

.blog-wrap:hover .img {
    transform: scale(1.15);
}

.blog-wrap .img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 84, 143, 0.3), rgba(32, 125, 255, 0.3));
    opacity: 0;
    transition: all 0.3s;
}

.blog-wrap:hover .img::after {
    opacity: 1;
}

.blog-wrap .text {
    padding: 20px;
    transition: all 0.3s;
    position: relative;
}

.blog-wrap:hover .text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px);
}

.blog-wrap:hover h3,
.blog-wrap:hover p {
    color: var(--white) !important;
}

.blog-wrap h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.blog-wrap p {
    color: var(--gray);
    font-size: 14px;
    transition: all 0.3s;
}

/* Contact Box - Pulse Effect */
.contact-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: all 0.3s;
}

.contact-box:hover::before {
    transform: scaleX(1);
}

.contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 84, 143, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-box .fa {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.contact-box:hover .fa {
    animation: pulse 0.6s ease infinite;
    color: var(--secondary-color);
    transform: scale(1.2);
}

.contact-box h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.contact-box:hover h3 {
    color: var(--secondary-color);
}

.contact-box p {
    color: var(--gray);
    font-size: 14px;
    transition: all 0.3s;
}

.contact-box:hover p {
    color: var(--dark);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(14, 84, 143, 0.15);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(32, 125, 255, 0.1);
    outline: none;
    background: var(--white);
    transform: translateY(-2px);
}

.contact-form .form-control:hover {
    border-color: var(--accent-color);
}

.contact-form .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    z-index: -1;
    transition: all 0.5s;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 84, 143, 0.3);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

/* Hero Button - Shine Effect */
.hero-wrap .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.hero-wrap .btn::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: all 0.5s;
    animation: shine 2s infinite;
}

.hero-wrap .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-wrap .btn:hover::before {
    animation: shine 1s;
}

/* Footer */
.ftco-footer {
    background: linear-gradient(135deg, var(--primary-color), #0a3d6e);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.ftco-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(159, 208, 37, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s;
}

.ftco-footer:hover::before {
    transform: scale(1.5);
    top: -50px;
    right: -50px;
}

.ftco-footer h2 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.ftco-footer h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.ftco-footer h2:hover::after {
    width: 60px;
}

.ftco-footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.ftco-footer:hover p {
    color: var(--white);
}

.ftco-footer ul {
    list-style: none;
    padding: 0;
}

.ftco-footer ul li {
    margin-bottom: 12px;
    position: relative;
}

.ftco-footer ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.ftco-footer ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -20px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    color: var(--accent-color);
}

.ftco-footer ul li a:hover {
    color: var(--white);
    padding-left: 20px;
}

.ftco-footer ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.ftco-footer-social {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.ftco-footer-social li {
    margin: 0 !important;
}

.ftco-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.ftco-footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s;
}

.ftco-footer-social a:hover::before {
    transform: scale(1);
}

.ftco-footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
}

.ftco-footer .row:last-child {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
}

.ftco-footer .text-center p {
    margin: 0;
}

/* Scroll to Top - Glow Effect */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid transparent;
}

#scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    animation: glow 1s infinite;
    border-color: var(--accent-color);
}

#scroll-to-top .fa {
    font-size: 20px;
    transition: all 0.3s;
}

#scroll-to-top:hover .fa {
    transform: scale(1.2);
    animation: bounce 0.5s;
}

/* Additional Interactive Elements */

/* Image hover overlay for all images */
.img {
    position: relative;
    overflow: hidden;
}

.img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 84, 143, 0.3);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

/* Link hover effects */
a {
    transition: all 0.3s;
}

/* List items hover */
ul.list-unstyled li {
    transition: all 0.3s;
}

ul.list-unstyled li:hover {
    transform: translateX(10px);
}

/* Form elements focus animation */
input:focus,
textarea:focus,
select:focus {
    animation: borderGlow 1s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrap {
        height: 450px;
    }
    
    .hero-wrap h1 {
        font-size: 32px;
    }
    
    .hero-wrap p {
        font-size: 16px;
    }
    
    .ftco-section {
        padding: 50px 0;
    }
    
    .heading-section h2 {
        font-size: 28px;
    }
    
    .navbar-brand img {
        width: 150px;
        height: 60px;
    }
    
    .counter-wrap .number {
        font-size: 36px;
    }
    
    .services-2:hover,
    .department-wrap:hover,
    .doctor-wrap:hover,
    .blog-wrap:hover,
    .contact-box:hover {
        transform: translateY(-5px);
    }
}

/* Animation on scroll - elements fade in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax effect on hero */
.hero-wrap {
    background-attachment: fixed;
}

/* Smooth page transitions */
a, button {
    outline: none !important;
}

/* Selection color */
::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* ===== WHY CHOOSE US - IMAGE ON HOVER ===== */
.choose-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 300px;
}

.choose-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
}

.choose-card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 84, 143, 0.85), rgba(32, 125, 255, 0.85));
    transition: all 0.4s;
}

.choose-card:hover .choose-card-img {
    opacity: 1;
    transform: scale(1);
}

.choose-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choose-card:hover .choose-card-content {
    background: transparent;
    transform: translateY(10px);
}

.choose-card:hover .choose-card-content * {
    color: var(--white) !important;
}

.choose-card:hover .choose-card-content .fa {
    color: var(--accent-color) !important;
    animation: iconBounce 0.6s ease infinite;
}

.choose-card .fa {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.4s;
}

.choose-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.choose-card p {
    color: var(--gray);
    font-size: 14px;
    transition: all 0.3s;
    margin: 0;
}

/* Additional hover shine effect for choose card */
.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    z-index: 3;
    transition: all 0.6s;
    pointer-events: none;
}

.choose-card:hover::before {
    left: 100%;
}
