* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

img, table, video, iframe {
    max-width: 100%;
    height: auto;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

.page-header-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-header-content p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .current {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 12px;
}

/* Appointment Intro */
.appointment-intro {
    text-align: center;
    margin-bottom: 50px;
}

.appointment-intro h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.appointment-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 30px;
    color: white;
}

.info-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    margin: 5px 0;
    line-height: 1.6;
}

/* Navigation Active State */
.nav-menu a.active {
    color: #667eea;
    font-weight: 600;
}

/* Form Labels */
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

/* Export Buttons */
.export-btn {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.export-btn i {
    font-size: 16px;
}

/* Date Range */
.date-range {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.date-range input {
    flex: 1;
    min-width: 150px;
    padding: 8px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
}

.date-range input:focus {
    outline: none;
    border-color: #667eea;
}

/* Appointment Booking Section */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.appointment-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.tab-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.appointment-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.appointment-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.appointment-form-container h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.submit-btn {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px auto 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.verification-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #e1e5e9;
}

.verification-section h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-btn {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.verify-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.verification-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.verification-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.verification-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.old-appointment-form {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
}

.patient-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.patient-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-display p {
    margin: 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.info-display strong {
    color: #667eea;
}

.quick-contact {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-contact h3 {
    color: #333;
    margin-bottom: 15px;
}

.quick-contact p {
    color: #666;
    margin-bottom: 25px;
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.call-btn,
.email-btn {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.call-btn:hover,
.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .appointment-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-form-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .call-btn,
    .email-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Appointment Timing Marquee Section */
.timing-marquee-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.timing-marquee {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin: 0 20px;
}

.timing-marquee marquee {
    display: block;
    white-space: nowrap;
}

.timing-marquee span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.timing-marquee i {
    margin-right: 8px;
    color: #ffd700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-menu {
    padding: 1rem 0;
}

.nav-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-link.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

.nav-link i {
    font-size: 14px;
}

.nav-menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger:hover span {
    background: #667eea;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.nav-menu.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-fullpage {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullpage-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.bg-custom
{
    background-color: indigo;

}
.navbar-nav ul li a:hover
{
    color:purple;
    border-radius: 5px;
    box-shadow: 0 0 5px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4,
                0 0 100px #03e9f4;
                background-color: #03e9f4;
                
                font-size: 20px;
               
}
.navbar-toggle:hover
{
    border-radius: 5px;
      box-shadow: 0 0 5px #03e9f4,
                  0 0 25px #03e9f4,
                  0 0 50px #03e9f4,
                  0 0 100px #03e9f4;
                  background-color: #03e9f4;
                  text-align: center;
                  font-size: 20px;
                  
                  
}
.navbar-nav a:hover{
  background-color: #03e9f4;
    border-radius: 5px;
      box-shadow: 0 0 5px #03e9f4,
                  0 0 25px #03e9f4,
                  0 0 50px #03e9f4,
                  0 0 100px #03e9f4;
                 
                  color: purple;
                  text-align: center;
                  font-size: 20px;
}
.gap
{
    padding-top: 50px;
    padding-bottom: 50px;
}
/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-left {
    flex: 0 0 40%;
}

.about-right {
    flex: 0 0 60%;
}

.about-image {
    width: 100%;
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

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

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.detail-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    color: #ffd700;
    font-size: 1.2rem;
}

.contact-item span {
    font-weight: 500;
}

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

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
}

/* Doctor Section */
.doctor {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.doctor-container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

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

.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: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.flip-card-front {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
}

.flip-card-back {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.doctor-info-back {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.doctor-info-back h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.designation {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    color: rgba(255,255,255,0.95);
}

/* Doctor Details Section */
.doctor-details-section {
    padding: 20px 0;
}

.doctor-header h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: white;
}

.specialization {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.qualification {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.doctor-about, .doctor-expertise, .doctor-education {
    margin-bottom: 30px;
}

.doctor-about h4, .doctor-expertise h4, .doctor-education h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-about p {
    line-height: 1.6;
    opacity: 0.9;
}

.expertise-list, .education-list {
    list-style: none;
    padding: 0;
}

.expertise-list li, .education-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.expertise-list li i, .education-list li i {
    color: #28a745;
    font-size: 16px;
}

.doctor-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 24px;
    color: #28a745;
}

.highlight-content {
    display: flex;
    flex-direction: column;
}

.highlight-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.highlight-text {
    font-size: 14px;
    opacity: 0.8;
}

.doctor-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.consult-btn {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.emergency-btn {
    background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}

.know-more-btn {
    background: linear-gradient(90deg, #17a2b8 0%, #138496 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.know-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 162, 184, 0.3);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu-toggle {
        display: block !important;
    }
    
    #hamburger-menu {
        display: flex !important;
        z-index: 1002 !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.9);
        padding: 8px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        cursor: pointer;
    }
    
    #hamburger-menu span {
        background: #333 !important;
        width: 25px !important;
        height: 3px !important;
        margin: 3px 0 !important;
        display: block !important;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    #hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    #hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    #hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    #nav-menu {
        display: none !important;
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    #nav-menu.active {
        display: flex !important;
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        margin: 0;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        transform: none;
        box-shadow: none;
    }
    
    .nav-link.active {
        background: rgba(102, 126, 234, 0.15);
    }
    
    .nav-brand h2 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .header {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .flip-card {
        height: 450px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .doctor-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .doctor-badge {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .doctor-details-section {
        text-align: center;
    }
    
    .doctor-header h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .specialization {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .qualification {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .doctor-about {
        margin-bottom: 25px;
    }
    
    .doctor-about h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .doctor-about p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .doctor-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .highlight-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .highlight-number {
        font-size: 20px;
    }
    
    .highlight-text {
        font-size: 12px;
    }
    
    .doctor-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .consult-btn, .emergency-btn, .know-more-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Contact section mobile fixes */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .quick-contact {
        order: 1;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 1rem;
    }
    
    .contact-item i {
        font-size: 24px;
        margin-bottom: 5px;
        color: #667eea;
    }
    
    .contact-item h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .contact-item p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .call-btn, .email-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}

.consult-btn i {
    margin-right: 8px;
}

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

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

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

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .quick-contact {
        order: 1;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-item i {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .call-btn, .email-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

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

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

.appointment-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.appointment-form h3 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #333;
}

.footer-section .map-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .map-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-fullpage {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .about-content,
    .doctor-card,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .about-left,
    .about-right {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .about-image {
        position: static;
        max-width: 350px;
        margin: 0 auto 1.5rem auto;
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .doctor-info {
        padding: 1.5rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .doctor-info h3,
    .doctor-info p,
    .doctor-info ul,
    .doctor-info li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .detail-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .detail-item h4 {
        font-size: 1rem;
    }
    
    .detail-item p {
        font-size: 0.9rem;
    }
    
    .doctor-info {
        padding: 1.5rem;
    }
    
    .doctor-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .highlight-item {
        padding: 0.8rem;
    }
    
    .consult-btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        margin-right: 0;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
    
    .doctor-info {
        padding: 1.5rem;
    }
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
    animation: slideIn 0.5s ease;
}

.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
