/* Custom CSS for Dr. Harsha Vikram Orthopedic Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #0075ad;
    --secondary-color: #df0236;
    --accent-color: #00a8cc;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --white: #ffffff;
    --gray: #718096;
    --light-gray: #e2e8f0;
    --success: #38a169;
    --warning: #ed8936;
    --info: #3182ce;
    --gradient-primary: linear-gradient(135deg, #0075ad 0%, #00a8cc 50%, #df0236 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lead {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
}

/* Custom Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navigation Styles */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    margin: 0 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    opacity: 1;
    letter-spacing: 0.5px;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.98);
    max-width: 600px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    font-weight: 500;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border: 8px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.feature-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(0,117,173,0.03);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(223,2,54,0.03);stop-opacity:1" /></linearGradient></defs><rect width="1000" height="1000" fill="url(%23grad2)"/></svg>');
    opacity: 0.5;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(0, 117, 173, 0.1);
}

.about-image img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: var(--shadow-xl);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content h4 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.qualifications {
    background: rgba(0, 117, 173, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.qualifications h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.qualifications ul li {
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.qualifications ul li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.qualifications ul li i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad3" cx="30%" cy="30%" r="40%"><stop offset="0%" style="stop-color:rgba(0,117,173,0.05);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(0,117,173,0);stop-opacity:1" /></radialGradient></defs><circle cx="300" cy="300" r="200" fill="url(%23grad3)"/></svg>');
    opacity: 0.7;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section h2 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.services-section .lead {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--shadow-xl);
}

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

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.15);
}

.service-content {
    padding: 2rem 1.5rem;
    position: relative;
}

.service-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Legacy service icon styles for backward compatibility */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad4" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.15);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad4)"/><circle cx="800" cy="800" r="200" fill="url(%23grad4)"/><circle cx="500" cy="100" r="100" fill="url(%23grad4)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.stats-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    color: white;
}

/* Trusted by Clients Section */
.trusted-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.trusted-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad5" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.15);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad5)"/><circle cx="800" cy="800" r="200" fill="url(%23grad5)"/><circle cx="500" cy="100" r="100" fill="url(%23grad5)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.trusted-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.rating-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.rating-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: white;
}

.rating-stars {
    margin-bottom: 1rem;
}

.rating-stars i {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.rating-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.rating-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.stars {
    margin-bottom: 1rem;
}

.client-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-color);
    color: var(--primary-color);
}

/* Awards Section */
.awards-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-xl);
}

.award-image img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 15px;
    background: white;
    padding: 10px;
    transition: all 0.3s ease;
}

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

.award-icon {
    margin-bottom: 1rem;
}

.award-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Insurance Section */
.insurance-section {
    padding: 5rem 0;
}

.insurance-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.insurance-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.insurance-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 2rem;
}

.insurance-track:hover {
    animation-play-state: paused;
}

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

    100% {
        transform: translateX(-50%);
    }
}

.insurance-logo {
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 120px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.insurance-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.insurance-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.insurance-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive Design for Insurance Carousel */
@media (max-width: 768px) {
    .insurance-logo {
        height: 100px;
        width: 150px;
        padding: 1rem;
    }

    .insurance-logo img {
        max-height: 60px;
    }

    .insurance-track {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .insurance-logo {
        height: 80px;
        width: 120px;
        padding: 0.75rem;
    }

    .insurance-logo img {
        max-height: 50px;
    }

    .insurance-track {
        gap: 1rem;
    }
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad6" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad6)"/><circle cx="800" cy="800" r="200" fill="url(%23grad6)"/></svg>');
    animation: float 15s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.cta-content .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    margin: 0.5rem;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

.cta-buttons .btn-outline-light {
    color: white;
    border: 2px solid white;
    background: transparent;
}

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

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content .lead {
        font-size: 1.1rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.accordion-button {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 117, 173, 0.25);
}

/* Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    position: relative;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,1000 0,1000"/></svg>');
}

.appointment-content {
    position: relative;
    z-index: 2;
}

.appointment-form {
    position: relative;
    z-index: 2;
}

.appointment-content ul li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

/* Contact Hero Section */
.contact-hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.contact-hero-content {
    position: relative;
    z-index: 3;
}

.contact-hero-image {
    position: relative;
    z-index: 3;
}

.contact-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    line-height: 1.1;
}

.contact-hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    opacity: 1;
    letter-spacing: 0.5px;
}

.contact-hero-content .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.98);
    max-width: 600px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    font-weight: 500;
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 0;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    margin-bottom: 2rem;
    position: relative;
}

.contact-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.contact-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

.phone-numbers p {
    margin-bottom: 0.5rem;
}

.phone-numbers a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-numbers a:hover {
    color: var(--secondary-color) !important;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
}

.contact-form {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 117, 173, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 117, 173, 0.15);
    transform: translateY(-2px);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Emergency Section */
.emergency-section {
    background: var(--gradient-secondary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad7" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad7)"/><circle cx="800" cy="800" r="200" fill="url(%23grad7)"/></svg>');
    animation: float 15s ease-in-out infinite;
}

.emergency-content {
    position: relative;
    z-index: 2;
}

.emergency-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.emergency-content .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.emergency-buttons .btn {
    padding: 1rem 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    margin: 0.5rem;
}

.emergency-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.emergency-buttons .btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

.emergency-buttons .btn-outline-light {
    color: white;
    border: 2px solid white;
    background: transparent;
}

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

/* Location Item Styles */
.location-item {
    background: rgba(0, 117, 173, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(10px);
    background: rgba(0, 117, 173, 0.08);
}

.location-item h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Responsive Design for Contact Pages */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }

    .contact-hero-content h2 {
        font-size: 1.5rem;
    }

    .contact-hero-content .lead {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .emergency-content h2 {
        font-size: 2.2rem;
    }

    .emergency-content .lead {
        font-size: 1.1rem;
    }

    .emergency-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .location-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-content h1 {
        font-size: 1.8rem;
    }

    .contact-hero-content h2 {
        font-size: 1.3rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Map Container */
.map-container {
    margin-bottom: 2rem;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
    border: none;
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 117, 173, 0.1);
}

.footer-section h5 {
    color: var(--dark-color);
    font-weight: 700;
}

.footer-section .text-white {
    color: var(--dark-color) !important;
}

.footer-section .text-white-50 {
    color: var(--gray) !important;
}

.footer-brand img {
    filter: none;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray);
}

.footer-contact a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--gray);
}

.footer-contact a:hover {
    color: var(--primary-color) !important;
}

.footer-contact i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.footer-section hr {
    border-color: rgba(0, 117, 173, 0.2) !important;
}

.footer-section .text-center p {
    color: var(--gray) !important;
}

.newsletter-form .input-group {
    margin-top: 1rem;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn:hover {
    background-color: #128c7e !important;
    border-color: #128c7e !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white !important;
}

.whatsapp-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.5);
    color: white !important;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 117, 173, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 117, 173, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-section .container {
        padding-top: 2rem;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section .display-4,
    .hero-section .display-6 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-section .h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 20px;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 250px;
        width: 75%;
        height: auto;
       
    }
    
    .about-hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .about-hero-section .container {
        padding-top: 2rem;
    }
    
    .about-hero-section .row {
        flex-direction: column-reverse;
    }
    
    .about-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .about-hero-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .about-hero-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .about-hero-content .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-hero-image {
        margin-bottom: 2rem;
        text-align: center;
        margin-top:30px ;
    }
    
    .about-hero-image img {
        max-width: 250px;
        width: 75%;
        height: auto;
        
    }
    
    .contact-hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .contact-hero-section .container {
        padding-top: 2rem;
    }
    
    .contact-hero-section .row {
        flex-direction: column-reverse;
    }
    
    .contact-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .contact-hero-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-hero-content .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-hero-image {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-hero-image img {
        max-width: 250px;
        width: 75%;
        height: auto;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-section {
        padding: 4rem 0;
    }
    
    .stat-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .qualification-timeline {
        padding-left: 0;
    }
    
    .qualification-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-details-section {
        padding: 4rem 0;
    }
    
    .values-section {
        padding: 4rem 0;
    }
    
    .trusted-section {
        padding: 4rem 0;
    }
    
    .rating-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .award-image {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }
    
    .award-image img {
        width: 120px;
        height: 120px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0.25rem 0;
    }
    
    .footer-section {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand,
    .footer-contact {
        text-align: start;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-section .container {
        padding-top: 1rem;
    }
    
    .hero-section .display-4,
    .hero-section .display-6 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-section .h6 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    .about-hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .about-hero-section .container {
        padding-top: 1rem;
    }
    
    .about-hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .about-hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .about-hero-content h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .about-hero-content .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .about-hero-image img {
        max-width: 200px;
    }
    
    .contact-hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .contact-hero-section .container {
        padding-top: 1rem;
    }
    
    .contact-hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .contact-hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-hero-content .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .contact-hero-image img {
        max-width: 200px;
    }
    
    .feature-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .value-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .qualification-item {
        padding: 0.75rem;
    }
    
    .rating-card {
        padding: 1rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
    
    .appointment-form,
    .contact-form {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

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

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

/* Print Styles */
@media print {

    .navbar,
    .chat-button,
    .hero-buttons {
        display: none !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
    }

    .stats-section,
    .appointment-section {
        background: white !important;
        color: black !important;
    }
}