/* main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0052CC;
    --secondary-color: #0088FF;
    --accent-color: #00C6FF;
    --dark-color: #003366;
    --light-color: #F0F8FF;
    --text-color: #333333;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 82, 204, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    50% {
        opacity: 0.6;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) rotateX(45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes floatingBubbles {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(5deg);
    }
    50% {
        transform: translateY(-3px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

@keyframes iconGlow {
    0%, 100% {
        transform: scale(1.1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15) rotate(180deg);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes floatPattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 300px;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Header Styles */
.header {
    background: #E8F0F8;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideInDown 0.8s ease-out;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    animation: slideInLeft 0.8s ease-out;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0066CC, #004499);
    border-radius: 12px;
    position: relative;
    transform: rotate(-5deg);
}

.logo-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-icon::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #0066CC;
}

.nav-wrapper {
    background: white;
    border-radius: 50px;
    padding: 8px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    animation: fadeIn 1s ease-out 0.3s both;
}

.nav-menu ul, .nav-menu ol {
    padding: 0px !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 25px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0066CC;
    background: rgba(0,102,204,0.08);
}

.nav-link.active::before {
    content: '•';
    position: absolute;
    left: -8px;
    color: #0066CC;
    font-size: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

.btn-appointment {
    background: #003D8F;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    animation: slideInRight 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.btn-appointment::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;
}

.btn-appointment:hover::before {
    width: 300px;
    height: 300px;
}

.btn-appointment:hover {
    background: #002D6F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 61, 143, 0.3);
}

.btn-appointment .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-appointment:hover .arrow {
    transform: translateX(5px);
}

/* Scroll-triggered animation elements */
.scroll-animated-element {
    position: absolute;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.element-visible {
    opacity: 1;
}

/* Hero section floating elements */
.hero-element {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-element-1 {
    top: 20%;
    left: 5%;
    transform: translateX(-100px);
}

.hero-element-2 {
    top: 70%;
    right: 8%;
    transform: translateX(100px);
}

.hero-element-3 {
    bottom: 25%;
    left: 12%;
    transform: translateY(100px);
}

/* Stats section floating icons */
.stats-element {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0066CC;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stats-element-1 {
    top: 10%;
    left: 10%;
    transform: translateY(-50px) rotate(-45deg);
}

.stats-element-2 {
    top: 15%;
    right: 15%;
    transform: translateY(-50px) rotate(45deg);
}

.stats-element-3 {
    bottom: 10%;
    left: 15%;
    transform: translateY(50px) rotate(-30deg);
}

.stats-element-4 {
    bottom: 15%;
    right: 10%;
    transform: translateY(50px) rotate(30deg);
}

/* Services section floating elements */
.services-element {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.services-element-1 {
    top: 5%;
    left: 5%;
    transform: translateX(-100px) rotate(-20deg);
}

.services-element-2 {
    top: 10%;
    right: 5%;
    transform: translateX(100px) rotate(20deg);
}

.services-element-3 {
    bottom: 5%;
    left: 8%;
    transform: translateY(100px) rotate(-15deg);
}

.services-element-4 {
    bottom: 10%;
    right: 8%;
    transform: translateY(100px) rotate(15deg);
}

/* About section floating elements */
.about-element {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0066CC;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.about-element-1 {
    top: 20%;
    left: 3%;
    transform: translateX(-80px) scale(0.8);
}

.about-element-2 {
    top: 30%;
    right: 3%;
    transform: translateX(80px) scale(0.8);
}

.about-element-3 {
    bottom: 25%;
    left: 5%;
    transform: translateY(80px) scale(0.8);
}

/* Testimonials section floating elements */
.testimonials-element {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.testimonials-element-1 {
    top: 15%;
    left: 8%;
    transform: translateX(-70px) rotate(-10deg);
}

.testimonials-element-2 {
    top: 20%;
    right: 8%;
    transform: translateX(70px) rotate(10deg);
}

.testimonials-element-3 {
    bottom: 15%;
    left: 10%;
    transform: translateY(70px) rotate(-5deg);
}

.testimonials-element-4 {
    bottom: 20%;
    right: 10%;
    transform: translateY(70px) rotate(5deg);
}

/* CTA section floating elements */
.cta-element {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-element-1 {
    top: 25%;
    left: 12%;
    transform: translateX(-60px) scale(0.9);
}

.cta-element-2 {
    top: 35%;
    right: 12%;
    transform: translateX(60px) scale(0.9);
}

.cta-element-3 {
    bottom: 30%;
    left: 15%;
    transform: translateY(60px) scale(0.9);
}

/* Animation classes for scroll triggering */
.element-slide-in-left {
    transform: translateX(0) !important;
}

.element-slide-in-right {
    transform: translateX(0) !important;
}

.element-slide-in-up {
    transform: translateY(0) !important;
}

.element-slide-in-down {
    transform: translateY(0) !important;
}

.element-rotate-in {
    transform: rotate(0deg) !important;
}

.element-scale-in {
    transform: scale(1) !important;
}

/* Continuous floating animation for visible elements */
.element-visible.hero-element {
    animation: gentleFloat 4s ease-in-out infinite;
}

.element-visible.stats-element {
    animation: gentleFloat 5s ease-in-out infinite;
}

.element-visible.services-element {
    animation: gentleFloat 6s ease-in-out infinite;
}

.element-visible.about-element {
    animation: gentleFloat 5.5s ease-in-out infinite;
}

.element-visible.testimonials-element {
    animation: gentleFloat 4.5s ease-in-out infinite;
}

.element-visible.cta-element {
    animation: gentleFloat 5s ease-in-out infinite;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(0, 136, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-duration: 20s;
    background: rgba(0, 198, 255, 0.1);
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-duration: 25s;
    background: rgba(0, 82, 204, 0.08);
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-duration: 18s;
    background: rgba(0, 136, 255, 0.12);
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation-duration: 22s;
    background: rgba(0, 198, 255, 0.09);
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 40%;
    animation-duration: 17s;
    background: rgba(0, 82, 204, 0.11);
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 50%;
    animation-duration: 24s;
    background: rgba(0, 136, 255, 0.07);
}

.particle:nth-child(7) {
    width: 110px;
    height: 110px;
    top: 70%;
    left: 60%;
    animation-duration: 19s;
    background: rgba(0, 198, 255, 0.13);
}

.particle:nth-child(8) {
    width: 50px;
    height: 50px;
    top: 40%;
    left: 30%;
    animation-duration: 16s;
    background: rgba(0, 82, 204, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 1;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #00CCFF);
    z-index: 10000;
    transition: width 0.2s ease;
}

/* Services Hero Section */
.services-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(8, 145, 178, 0.9) 100%),
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0px;
    opacity: 0;
    animation: slideUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 1s ease forwards 0.5s;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: slideUp 1s ease forwards 0.7s;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

/* Services Section */
.services {
    padding: 120px 20px;
    background: linear-gradient(135deg, #E8F0F8 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #003D8F, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007BFF, #0066CC, #0052A3);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #4B5563;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    perspective: 1200px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card::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: left 0.7s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card.card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #007BFF, #0066CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
    animation: iconFloat 4s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card.card-visible .service-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 26px;
    font-weight: 700;
    color: #003D8F;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.2s;
}

.service-card.card-visible .service-title {
    opacity: 1;
    transform: translateY(0);
}

.service-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.4s;
}

.service-card.card-visible .service-description {
    opacity: 1;
    transform: translateY(0);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-button {
    background: linear-gradient(135deg, #0088FF, #00C6FF);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.service-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, var(--primary-color));
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
    border-radius: 0 0 25px 25px;
}

.service-card:hover .service-hover-content {
    transform: translateY(0);
}

/* Featured Services */
.featured-services {
    background: linear-gradient(135deg, #0052CC, #00C6FF);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.featured-services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: moveGrid 20s linear infinite;
}

.featured-services .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.featured-services .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.featured-services .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.featured-card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.featured-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.featured-description {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-size: 1rem;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-content {
    position: relative;
    z-index: 2;
}

.emergency-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.emergency-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.emergency-phone {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.emergency-button {
    background: white;
    color: #dc2626;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.emergency-button:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #dc2626;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0052CC, #003366);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #0088FF, #00C6FF);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.4);
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

/* Hero Slider Section */
.hero-slider {
    margin-top: 75px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #75a3e0 0%, #0066CC 100%);
    padding: 40px;
    position: relative;
    color: white;
}

.hero-slide.active {
    display: flex;
}

.hero-slide video.hero-video {
    position: absolute;
    top: 55%;
    left: 50%;
    min-width: 100%;
    height: 80vh;
    width: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 20px;
}

.hero-slide .video-overlay {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 80vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    z-index: 2;
    border-radius: 20px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 0;
    letter-spacing: 0px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.2s 1 normal forwards;
}

.hero-subtitle {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s 1 normal forwards;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    opacity: 0;
    animation: slideInBottom 0.8s ease-out 0.8s 1 normal forwards;
}

.best-medical-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.best-medical-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.badge-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.badge-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 1.5rem 0;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s 1 normal forwards;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out 1.4s 1 normal forwards;
    transition: all 0.3s ease;
}

.phone-number:hover {
    transform: translateX(10px);
}

.hero-images {
    flex: 1;
    position: relative;
    height: 600px;
}

.circle-frame {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 20px solid rgba(255, 255, 255, 0.1);
    background: white;
    /* animation: float 4s ease-in-out infinite; */
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.circle-frame:hover img {
    transform: scale(1.1);
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.7s 1 normal forwards;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.4);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.slider-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #007BFF;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: 5px auto;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 30%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    animation: slideInRight 1s ease-out 1.2s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #007BFF;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.4rem;
    font-weight: bold;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background: #ffffffff;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-label {
    position: absolute;
    right: 55px;
    background: #007BFF;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0;
}

.social-link:hover .social-label {
    opacity: 1;
    right: 60px;
}

.social-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Stats Section */
.stats {
    padding: 100px 20px;
    background: linear-gradient(135deg, #E8F0F8 0%, #F8FAFB 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.stats.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.stats.fade-out {
    opacity: 0;
    transform: translateY(50px);
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 40%), radial-gradient(circle at 70% 50%, rgba(0, 123, 255, 0.02) 0%, transparent 40%);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: #FFFFFF;
    padding: 45px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02), 0 20px 25px -5px rgba(0, 102, 204, 0.05);
    transition: all 0.4s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }
.stat-card:nth-child(4) { transition-delay: 0.4s; }

.stats.fade-in .stat-card {
    opacity: 1;
    transform: translateY(0);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(0, 123, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 30px 60px -15px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #007BFF 0%, #0066CC 50%, #0052A3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.25), inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.stat-card:hover .stat-icon {
    animation: float 2s ease-in-out infinite;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 50%, #003D8F 100%);
    border-radius: 50%;
    transform: scale(1.1);
}

.stat-icon svg {
    width: 40px;
    height: 40px;
    stroke: #FFFFFF;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #003D8F 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-number .plus {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #007BFF 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(-10px) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover .stat-number .plus {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.stat-label {
    font-size: 17px;
    font-weight: 600;
    color: #4B5563;
    letter-spacing: -0.01em;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* About Section */
.about {
    padding: 5rem 3rem;
    background: #F8F9FA;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

.about.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.about.fade-out {
    opacity: 0;
    transform: translateY(50px);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    opacity: 1;
    transform: translateX(-50px);
}

.about-image.animate {
    animation: slideInLeft 0.8s ease-out forwards;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    opacity: 1;
    transform: translateX(50px);
}

.about-content.animate {
    animation: slideInRight 0.8s ease-out forwards;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #003D8F;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(-30px);
}

.about-feature.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.about-feature:nth-child(1) { animation-delay: 0.1s; }
.about-feature:nth-child(2) { animation-delay: 0.2s; }
.about-feature:nth-child(3) { animation-delay: 0.3s; }

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066CC, #003D8F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-feature:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0f8 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 40%), 
                radial-gradient(circle at 70% 50%, rgba(0, 123, 255, 0.02) 0%, transparent 40%);
    animation: floatingBubbles 20s linear infinite;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 20px 0;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007BFF, #0066CC, #0052A3);
    border-radius: 25px 25px 0 0;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 
                0 0 0 1px rgba(255, 255, 255, 0.3);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066CC;
    transition: all 0.4s ease;
}

.testimonial-content:hover .quote-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 123, 255, 0.1) 100%);
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    color: #FFD700;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 30px;
    position: relative;
    padding-right: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.testimonial-content:hover .author-avatar {
    border-color: rgba(0, 102, 204, 0.3);
    transform: scale(1.05);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testimonial-content:hover .author-avatar img {
    transform: scale(1.1);
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #003D8F;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.treatment-date {
    font-size: 12px;
    color: #999;
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0066CC;
    background: transparent;
    color: #0066CC;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0066CC;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.testimonial-nav:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.testimonial-nav:hover::before {
    transform: scale(1);
}

.testimonial-dots {
    display: flex;
    gap: 12px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-dot.active {
    background: #0066CC;
    transform: scale(1.2);
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-dot:hover::before {
    opacity: 1;
}

/* Enhanced CTA Section */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 2%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 2%, transparent 20%);
    background-size: 300px 300px;
    animation: floatPattern 20s linear infinite;
}

.cta-glow {
    display:none;
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    /* animation: pulseGlow 4s ease-in-out infinite; */
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    animation: slideInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 18px;
    animation: bounce 2s infinite;
}

.badge-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

/* Hover Effects */
.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.5);
}

.cta-button.primary:hover .button-glow {
    opacity: 1;
}

.cta-button.primary:hover .button-icon {
    transform: scale(1.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover .button-icon {
    transform: scale(1.2);
}

.cta-assurance {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.assurance-icon {
    font-size: 16px;
}

.cta-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 24px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Footer */
.footer {
    background: #0a2540;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 40px;
}
.footer-section-d{
    display: flex;
    justify-content: space-around;
    width:80%;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer-content {
    display: flex;
    
    gap: 30px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    color: #00c6ff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00c6ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: #aaa;
}

/* Footer Navigation (Mobile only) */
.footer-nav {
    display: none;
}

/* Video Pages Styles */
.main-container {
    padding: 15px;
    margin-top: 70px;
}

.page-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-out;
    background-color: #003d8f;
    border-radius: 10px;
    padding: 10px 0px;
}

.page-title {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.category-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideInUp 0.8s ease-out;
    backdrop-filter: blur(8px);
}

.category-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.category-icon {
    margin-right: 10px;
    color: #667eea;
    font-size: 1.8rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}

.video-card:hover,
.video-card:active {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f8f9fa;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: opacity 0.3s ease;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.video-card:hover .video-player,
.video-card:active .video-player {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.play-overlay:hover,
.play-overlay:active {
    background: rgba(102, 126, 234, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.video-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

.video-duration {
    background: #667eea;
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.video-views {
    display: flex;
    align-items: center;
}

.video-views i {
    margin-right: 4px;
}

/* Animation Classes for Scroll Triggering */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-wrapper {
        display: none;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-title {
        font-size: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .services-hero {
        min-height: 50vh;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}
.mob-title{
        display:none;
    }
@media (max-width: 768px) {
    .desktop-title{
        display:none;
    }
    .mob-title{
        display:block;
    }
    .footer-content{
        display:grid;
    }
    .footer-brand{
        width:100% !important;
    }
    .footer-section-d{
        width:100% !important;
    }
    .footer-section{
        width:30% !important;
    }
    .header-container {
        padding: 0 1rem;
    }
    .about-image {
        opacity: 1;
        transform: translateX(0);
    }
    .about-content {
        opacity: 1;
        transform: translateX(0);
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-images {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats {
        padding: 60px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .stats-container {
        display: flex;
        gap: 16px;
        min-width: max-content;
        padding-bottom: 10px;
    }

    .stat-card {
        flex: 0 0 auto;
        width: 170px;
        padding: 32px 20px;
        border-radius: 16px;
    }

    .stat-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .stat-icon svg {
        width: 32px;
        height: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-number .plus {
        font-size: 24px;
    }

    .stat-label {
        font-size: 15px;
    }

    .services {
        padding: 80px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 36px;
    }

    .service-card {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 30px;
    }

    .service-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-card {
        margin: 0 1rem;
    }

    .emergency-title {
        font-size: 2rem;
    }

    .emergency-phone {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .emergency-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .floating-particles {
        display: none;
    }

    /* Hide scroll animated elements on mobile */
    .scroll-animated-element {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-brand {
        grid-column: 1/-1;
        width:20%;
        text-align: center;
    }

    .footer-brand h3 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 12px;
        color: #ccc;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

    .footer-nav.hide {
        transform: translateY(100%);
    }

    .footer-nav a {
        text-decoration: none;
        color: #444;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        transition: color 0.3s, transform 0.2s;
    }

    .footer-nav a i {
        font-size: 20px;
    }

    .footer-nav a.active,
    .footer-nav a:hover {
        color: #007bff;
        transform: translateY(-2px);
    }

    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
    }

    .main-container {
        padding: 10px;
        margin-top: 60px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .category-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .category-title {
        font-size: 1.3rem;
        border-bottom: 2px solid #667eea;
        padding-bottom: 6px;
    }

    .category-icon {
        font-size: 1.5rem;
        margin-right: 8px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-card {
        border-radius: 8px;
    }

    .video-container {
        height: auto;
        padding-top: 56.25%;
    }

    .video-thumbnail,
    .video-player {
        border-radius: 8px 8px 0 0;
    }

    .play-overlay {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .video-info {
        padding: 12px;
    }

    .video-title {
        font-size: 0.95rem;
    }

    .video-description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .video-meta {
        font-size: 0.75rem;
    }

    .video-duration {
        padding: 2px 5px;
        border-radius: 8px;
    }
}

@media screen and (max-width: 700px) {
        .footer-section-d{
            width:100%;
        }
        .footer-brand{
            width:100%;
        }
    .social-sidebar {
        position: fixed;
        bottom: 60px;
        right: 0px;
        display: none;
        flex-direction: column;
        gap: 30px;
        background: #477a9d;
        height: 50%;
        padding: 16px 0px;
        border-radius: 30px 0px 0px 30px;
    }

    .social-sidebar a {
        margin-top: 12px;
        font-size: 20px;
    }

    .social-link:hover {
        background: none;
        box-shadow: none;
        border: none;
    }

    .social-link {
        transition: background 0.9s;
        background: none;
        border: none;
        box-shadow: none;
    }

    .social-link:hover {
        background: #444;
    }
}

@media (max-width: 640px) {
    .section-header {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-align: center;
        margin-bottom: 114px;
        color: #222;
    }

    .section-title {
        font-size: 24px;
        font-weight: 700;
    }

    .section-subtitle {
        font-size: 14px;
        color: #555;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 32px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .service-title {
        font-size: 22px;
    }

    .service-description {
        font-size: 15px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .category-section {
        padding: 12px;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .category-icon {
        font-size: 1.3rem;
    }

    .video-grid {
        gap: 12px;
    }

    .video-card {
        border-radius: 6px;
    }

    .video-info {
        padding: 10px;
    }

    .video-title {
        font-size: 0.9rem;
    }

    .video-description {
        font-size: 0.75rem;
    }

    .video-meta {
        font-size: 0.7rem;
    }

    .play-overlay {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 15px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 28px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    .services-hero {
        min-height: 40vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .service-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .featured-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .featured-icon {
        font-size: 2.5rem;
    }

    .emergency-title {
        font-size: 1.8rem;
    }

    .emergency-text {
        font-size: 1rem;
    }

    .emergency-phone {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .services-hero {
        background-attachment: scroll;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
/* Mobile Notification Styles */
@media (max-width: 768px) {
    .notification-permission-prompt {
        position: fixed;
        bottom: 80px;
        left: 10px;
        right: 10px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        z-index: 10000;
        text-align: center;
    }
    
    .notification-buttons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        justify-content: center;
    }
    
    .notification-btn {
        padding: 8px 15px;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        font-size: 14px;
    }
    
    .enable-btn {
        background: white;
        color: #667eea;
    }
    
    .later-btn {
        background: transparent;
        color: white;
        border: 1px solid white;
    }
}

.footer-brand{
    width:20%;
}
.footer-section-d{
    width:80%;
}