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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    height: 85px;
    width: auto;
    margin-right: 15px;
    border-radius: 5px;
}

/* Highlight Animation */
.highlight-pulse {
    animation: highlightPulse 1s ease-in;
    box-shadow: 0 0 20px #ff6b6b, 0 0 40px #ff6b6b, 0 0 60px #ff6b6b;
}

@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: 0 0 20px #ff6b6b;
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px #ff6b6b, 0 0 50px #ff6b6b;
        transform: scale(1.05);
    }
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    gap: 15px;
}

.brand-link:hover {
    opacity: 0.8;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services .discount-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    margin-bottom: 3rem;
}

.services .discount-banner i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services .discount-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.services .discount-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(44, 90, 160, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-color: #2c5aa0;
}

.service-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.icon-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .icon-particles {
    opacity: 1;
    animation: particleFloat 2s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.service-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-card:hover .service-benefits {
    opacity: 1;
    transform: translateY(0);
}

.benefit-tag {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.service-card:hover::before {
    opacity: 1;
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes popup {
    0% { transform: translateY(-15px) scale(1.05); }
    50% { transform: translateY(-20px) scale(1.08); }
    100% { transform: translateY(-15px) scale(1.05); }
}

/* Services Section Background */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(44, 90, 160, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.service-card * {
    position: relative;
    z-index: 2;
}

.service-card i {
    font-size: 2.8rem;
    color: #2c5aa0;
    margin-bottom: 0;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.service-card:hover i {
    transform: scale(1.1) rotate(3deg);
    color: #ff6b6b;
    filter: drop-shadow(0 0 15px rgba(44, 90, 160, 0.4));
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.1) rotate(3deg); }
    50% { transform: scale(1.15) rotate(-3deg); }
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #2c5aa0;
    text-shadow: 0 0 10px rgba(44, 90, 160, 0.3);
}

.service-card p {
    color: #666;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #555;
}

/* Additional Doctors Info Box */
.additional-doctors-box {
    background: #f8f9fa;
    border: 2px solid #2c5aa0;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.additional-doctors-box h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.specialists-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.specialist-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.specialist-item i {
    color: #2c5aa0;
    font-size: 1.2rem;
}

.discount-info {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.discount-info i {
    margin-right: 0.5rem;
}

.book-appointment-btn {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.book-appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c5aa0;
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

.close {
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Doctor Profile Section Updates */
.doctor-profile {
    padding: 80px 0;
    background: white;
}

.doctor-profile h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.doctor-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doctor-image {
    text-align: center;
}

.doctor-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #2c5aa0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.doctor-image i {
    font-size: 8rem;
    color: #2c5aa0;
    background: white;
    padding: 2rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.doctor-info h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.doctor-title {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 600;
}

.doctor-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.detail-item i {
    color: #2c5aa0;
    font-size: 1.2rem;
    width: 20px;
}

.doctor-description {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Location Map */
.location-map {
    margin-top: 3rem;
    text-align: center;
}

.location-map h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-note {
    background: #2c5aa0;
    color: white;
    padding: 1rem;
    margin: 0;
    font-weight: 600;
}

/* Emergency Contact Button */
.emergency-contact {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.emergency-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ff4444;
    color: white;
    padding: 5px 5px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.emergency-btn:hover {
    background: #ff3333;
    transform: scale(1.02);
}

.emergency-btn i {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.emergency-btn span {
    font-size: 0.6rem;
    font-weight: 600;
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(255, 68, 68, 0.8); }
    100% { box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4); }
}

/* Instagram Button */
.instagram-social {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    transition: all 0.3s;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #bc1888 0%,#cc2366 25%,#dc2743 50%,#e6683c 75%,#f09433 100%);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.6);
}

.instagram-btn i {
    font-size: 2rem;
}

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

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #20b358;
    transform: scale(1.1);
}

.whatsapp-btn i {
    font-size: 2rem;
}

/* Clinic Image in About Section */
.clinic-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Clinic Gallery Section */
.clinic-gallery {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.clinic-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.clinic-gallery p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item.center-photo {
    width: 326px;
    margin: 0 auto;
}

.gallery-item.center-photo img {
    width: 326px;
    height: 710px;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(1.1) contrast(1.1);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.animate:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-item.animate:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-item.animate:nth-child(3) {
    transition-delay: 0.3s;
}

@keyframes slideInRotate {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(45deg) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) rotateX(10deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.3);
}

.gallery-item::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.6s;
    z-index: 2;
}

.gallery-item:hover::before {
    left: 100%;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.2) contrast(1.2) saturate(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

/* Flip Card Animation */
.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 400px;
    height: 300px;
    perspective: 1000px;
    margin: 0 auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flip-card-front {
    background-color: #fff;
}

.flip-card-back {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
}

.flip-card-front .clinic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.logo-flip {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: white;
    padding: 10px;
}

.flip-card-back h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.flip-card-back p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
}

/* About Section Updates */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-image i {
    font-size: 8rem;
    color: #2c5aa0;
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 0.2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #1e3d72;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-brand i {
    margin-right: 10px;
    color: #ff6b6b;
}

/* Other Specialists Section */
.other-specialists {
    padding: 40px 0;
    background: #f8f9fa;
}

.specialists-box {
    background: white;
    border: 2px solid #2c5aa0;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.specialists-box h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.specialists-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.doctor-highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #2c5aa0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(44, 90, 160, 0.2);
}

.doctor-highlight-box:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.doctor-highlight-box i {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.doctor-highlight-box:hover i {
    color: white;
}

.doctor-highlight-box span {
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .specialists-list {
        grid-template-columns: 1fr;
    }
}

.discount-info {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.discount-info i {
    margin-right: 0.5rem;
}

.book-appointment-btn {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.book-appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

/* Appointment Page Styles */
.appointment-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.appointment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.appointment-header h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.appointment-header i {
    margin-right: 10px;
}

.appointment-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: #2c5aa0;
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.appointment-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: left;
}

.appointment-summary p {
    margin: 0.5rem 0;
    color: #333;
}

.btn-download {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-download:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Responsive Design for Appointment Page */
@media (max-width: 768px) {
    .logo {
        height: 65px;
    }
    
    .doctor-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .doctor-image i {
        font-size: 5rem;
        padding: 1.5rem;
    }
    
    .doctor-photo {
        width: 180px;
        height: 180px;
    }
    
    .emergency-contact {
        right: 10px;
    }
    
    .emergency-btn {
        padding: 12px 8px;
    }
    
    .instagram-social {
        bottom: 90px;
        right: 20px;
    }
    
    .instagram-btn {
        width: 50px;
        height: 50px;
    }
    
    .instagram-btn i {
        font-size: 1.5rem;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 1.5rem;
    }
    
    .clinic-image {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Success Animation */
.success-animation {
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-animation .modal-header {
    background: #4CAF50 !important;
    animation: tickAnimation 1s ease-in-out;
}

@keyframes tickAnimation {
    0% {
        background: #2c5aa0;
    }
    50% {
        background: #4CAF50;
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.6);
    }
    100% {
        background: #4CAF50;
    }
}

/* Error Animation */
.error-animation {
    animation: errorShake 0.6s ease-in-out;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.error-header {
    background: #f44336 !important;
    animation: errorPulse 1s ease-in-out;
}

@keyframes errorPulse {
    0%, 100% {
        background: #f44336;
    }
    50% {
        background: #d32f2f;
        box-shadow: 0 0 30px rgba(244, 67, 54, 0.6);
    }
}

.error-header i {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: errorIconSpin 0.8s ease-in-out;
}

@keyframes errorIconSpin {
    0% {
        transform: rotate(0deg) scale(0.5);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .services h2,
    .about-text h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
}