/* Custom CSS for Dr. Poorna's Website - Glassmorphic Design */

/* Variables */
:root {
    /* Professional Color Palette */
    --primary-color: #0056b3;
    --primary-color-light: #e6f0ff;
    --primary-light: #3a7bd5;
    --primary-dark: #003b7a;
    --secondary-color: #00a67d;
    --secondary-color-light: #e6f8f5;
    --accent-color: #ff6b35;
    --text-color: #2c3e50;
    --text-light: #6c7a89;
    --light-text: #f9fafb;
    --light-bg: #f9fafb;
    --border-color: #e1e8ed;
    
    /* Emergency Colors */
    --emergency-gradient-start: #2b5876;
    --emergency-gradient-end: #4e4376;
    --emergency-text: #ffffff;
    --emergency-btn-bg: #3a7bd5;
    --emergency-btn-hover: #2a6cc5;
    --emergency-icon-bg: rgba(255, 255, 255, 0.15);
    
    /* Enhanced Glassmorphic Effect */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 10px 30px 0 rgba(31, 38, 135, 0.12);
    --glass-shadow-hover: 0 15px 35px 0 rgba(31, 38, 135, 0.18);
    
    /* Refined Variables */
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.95)), url('../img/bg-pattern.svg');
    background-attachment: fixed;
    background-size: 300px 300px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

h2.section-heading {
    margin-bottom: 2.5rem;
    position: relative;
}

h2.section-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

h3 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}

p {
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    letter-spacing: 0.2px;
    line-height: 1.7;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #00c491);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 166, 125, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #00c491, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 166, 125, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Cards - Glassmorphic Effect */
.card {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.card-body {
    padding: 1.8rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(13, 71, 161, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Animated background shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 350px;
    height: 350px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -100px;
    left: 5%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    animation: float 18s ease-in-out infinite 1s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 15%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    animation: float 12s ease-in-out infinite 2s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    animation: float 20s ease-in-out infinite 3s;
}

.shape-5 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    right: 30%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    animation: float 25s ease-in-out infinite 4s;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.05);
    animation: pulse 8s ease-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 300px 300px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    color: white;
    font-weight: 800;
    margin-bottom: 1.8rem;
    font-size: 3.5rem;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.highlight-text {
    position: relative;
    display: inline-block;
    color: #74c0fc;
    text-shadow: 0 0 15px rgba(116, 192, 252, 0.5);
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(116, 192, 252, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px 25px;
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #74c0fc, #4dabf7);
    z-index: 1;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(116, 192, 252, 0.2), transparent 70%);
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.stat-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #fff !important;
    transition: all 0.3s ease;
}

.stat-item i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #fff, #e6f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: pulse-text 2s infinite alternate;
}

@keyframes pulse-text {
    0% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    100% {
        text-shadow: 0 0 15px rgba(116, 192, 252, 0.6);
    }
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Modern Glass Card for 3D Model */
.modern-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    height: 400px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.5s ease;
}

.modern-glass-card.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.modern-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    z-index: 3;
}

.modern-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.modern-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.card-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    z-index: 0;
}

.card-decoration.top-right {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
}

.card-decoration.bottom-left {
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(116, 192, 252, 0.2), rgba(116, 192, 252, 0.05));
}

/* Trust Badge */
.trust-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Spline 3D Model Container */
.spline-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.spline-container:hover {
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.spline-viewer {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.spline-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 86, 179, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Service Cards */
.service-card {
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    border-radius: 15px;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: rgba(26, 115, 232, 0.2);
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

.service-card:hover .service-icon::after {
    transform: scale(1.5);
    opacity: 0;
}

/* Testimonials */
.testimonial {
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.testimonial::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 86, 179, 0.05) 50%);
    border-radius: 0 0 15px 0;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

.testimonial-content {
    position: relative;
    padding-top: 40px;
    margin-bottom: 25px;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 6rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.15;
    line-height: 1;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 20px;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 86, 179, 0.05) 50%);
    border-radius: 0 20px 0 0;
    z-index: 0;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
    z-index: 1;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 15px 20px;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-color);
    height: auto;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.15);
    background-color: #fff;
}

.form-label {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
    display: block;
}

.form-select {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 15px 20px;
    transition: var(--transition);
    height: auto;
    font-size: 1rem;
    color: var(--text-color);
    background-position: right 15px center;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.15);
    background-color: #fff;
}

.form-text {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 300px 300px;
    opacity: 0.5;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.25rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), rgba(255, 255, 255, 0.5));
    border-radius: 2px;
}

footer ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 30px;
}

footer ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

footer ul li i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

footer a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact-info li {
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    padding-left: 0;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, var(--emergency-gradient-start), var(--emergency-gradient-end));
    color: var(--emergency-text);
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="rgba(255,255,255,0.05)" d="M10 0L20 10L10 20L0 10L10 0z"/></svg>');
    background-size: 20px 20px;
    opacity: 0.1;
}

.emergency-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: var(--emergency-icon-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.emergency-icon i {
    font-size: 2.5rem;
    color: var(--emergency-text);
}

.btn-emergency {
    background: var(--emergency-btn-bg);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background: var(--emergency-btn-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: white;
    padding-left: 0;
    text-decoration: underline;
}

/* About Page */
.doctor-profile-img {
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 5px solid white;
}

.doctor-profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

.qualification-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.qualification-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.qualification-year {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.expertise-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

/* Navigation - Glassmorphic */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: var(--glass-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    padding-left: 15px;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 3px;
}

.navbar-nav .nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 5px;
    transition: var(--transition);
    margin: 0 5px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    transition: var(--transition);
    color: var(--text-color);
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

section.bg-light {
    background-color: var(--light-bg);
}

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: float 8s infinite ease-in-out;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    animation: float 12s infinite ease-in-out reverse;
}

.cta-shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 20%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: float 10s infinite ease-in-out 2s;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-cta-primary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.btn-cta-primary:hover i {
    transform: translateX(3px);
}

.btn-cta-primary i {
    transition: transform 0.3s ease;
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-secondary:hover i {
    transform: translateX(3px);
}

.btn-cta-secondary i {
    transition: transform 0.3s ease;
}

.cta-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-trust-indicators span {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-trust-indicators span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

section.bg-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #00c491);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

section.bg-primary .section-title h2::after,
section.bg-secondary .section-title h2::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.7), rgba(255,255,255,1));
}

section.bg-primary .section-title p,
section.bg-secondary .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.section-wave .shape-fill {
    fill: #FFFFFF;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.team-card {
    height: 100%;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
}

.team-img-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color-light);
}

.team-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
}

.team-position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Statistics Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Custom Glassmorphic Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: var(--transition);
}

.glass-container:hover {
    box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .glass-container {
        padding: 25px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border-radius: var(--border-radius);
        padding: 15px;
        margin-top: 10px;
        box-shadow: var(--glass-shadow);
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .expertise-item {
        padding: 15px;
    }
    
    /* CTA Section Responsive */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cta-trust-indicators {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .doctor-profile-img {
        margin-bottom: 20px;
    }
    
    footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
    }
}