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

/* Bengali Font - Using Google Fonts for Bengali as fallback */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

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

/* SEO-friendly text selection - only prevent on headers */
h1, h2, h3, .logo-text, .tagline, .header-tagline {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection for important content (SEO-friendly) */
p, .qualifications, .schedule, .chamber-info, .contact-text, .copyright {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

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

/* Header styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo styling for custom image */
.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

/* Logo image sizing */
.logo img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    padding: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
}

/* Tagline styling */
.header-tagline {
    font-size: 16px;
    opacity: 0.9;
    text-align: right;
    max-width: 200px;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Doctor name with small photo */
.doctor-name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hero-photo-small {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.hero-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name-text {
    text-align: left;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-contact {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

/* Mobile number styling in hero */
.serial-info {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f1c40f;
    font-weight: bold;
    line-height: 1.4;
}

/* Mobile number with animation */
.mobile-number-hero {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.mobile-number-hero a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    animation: pulse 2s infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    }
}

/* Ring animation for phone icon */
@keyframes ring {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.mobile-number-hero a:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.8);
    background: linear-gradient(45deg, #2ecc71, #3498db);
}

.mobile-number-hero .fa-phone-alt {
    animation: ring 3s infinite;
    display: inline-block;
    transform-origin: 50% 50%;
}

.mobile-number-hero a:hover .fa-phone-alt {
    animation: ring 0.5s infinite;
}

/* Call to action text */
.call-to-action {
    font-size: 18px;
    color: #f1c40f;
    margin-top: 10px;
    font-weight: bold;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.scam-warning-hero {
    background-color: rgba(231, 76, 60, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
}

.hero-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.hero-chamber, .hero-schedule {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 300px;
    backdrop-filter: blur(5px);
    text-align: left;
}

.hero-chamber h3, .hero-schedule h3 {
    color: #f1c40f;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(241, 196, 15, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-chamber p, .hero-schedule p {
    font-size: 17px;
    line-height: 1.6;
}

.hero-chamber .chamber-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
}

/* Main content */
.content {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
    gap: 40px;
}

.doctor-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.doctor-photo {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.photo-container {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section styles */
.section {
    margin-bottom: 30px;
}

.section-title {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.qualifications {
    line-height: 1.8;
    font-size: 18px;
}

/* Doctor name bold in qualifications section */
.doctor-name-bold {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

/* Registration number styling */
.registration-number {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* Contact info */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-icon {
    background-color: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Mobile number styling */
.mobile-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.mobile-number a {
    color: inherit;
    text-decoration: none;
}

.mobile-number:hover {
    background-color: #e1f0fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

/* Serial text styling with call time */
.serial-text {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.4;
}

.serial-text .call-time {
    font-size: 16px;
    color: #e74c3c;
    font-weight: 600;
    display: block;
    margin-top: 3px;
}

/* Warning message styling */
.warning-message {
    background-color: #fff3cd;
    border-left: 5px solid #f39c12;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-message i {
    color: #e74c3c;
    font-size: 20px;
}

/* Schedule styles */
.schedule {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
}

.schedule-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    align-items: flex-start;
}

.schedule-item:last-child {
    border-bottom: none;
}

/* Friday closed styling */
.schedule-item.friday-closed {
    color: #e74c3c;
    font-weight: bold;
}

.schedule-item.friday-closed .day {
    color: #e74c3c;
}

.schedule-item.friday-closed .time {
    color: #e74c3c;
    font-weight: bold;
}

.day {
    font-weight: bold;
    color: #2c3e50;
    flex: 1;
    min-width: 150px;
    margin-bottom: 5px;
}

.time {
    color: #2c3e50;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Chamber info */
.chamber-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #f39c12;
}

.chamber-name {
    font-weight: bold;
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

/* SEO-friendly hidden headings for structure */
.seo-heading {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    font-size: 16px;
    opacity: 0.8;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-tagline {
        text-align: center;
        max-width: 100%;
    }
    
    .doctor-name-container {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-name-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .mobile-number-hero {
        font-size: 24px;
    }
    
    .serial-info {
        font-size: 18px;
    }
    
    .serial-info .call-time {
        font-size: 16px;
    }
    
    .hero-photo-small {
        width: 90px;
        height: 90px;
    }
    
    .hero-chamber, .hero-schedule {
        min-width: 100%;
    }
    
    .content {
        flex-direction: column;
    }
    
    .photo-container {
        width: 250px;
        height: 350px;
    }
    
    .mobile-number {
        font-size: 20px;
    }
    
    .serial-text {
        font-size: 16px;
    }
    
    .serial-text .call-time {
        font-size: 15px;
    }
    
    .doctor-name-bold {
        font-size: 20px;
    }
    
    .call-to-action {
        font-size: 16px;
    }
    
    /* Mobile schedule fix */
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .day {
        margin-bottom: 5px;
        min-width: 100%;
    }
    
    .time {
        text-align: left;
        margin-left: 0;
    }
    
    .schedule-item.friday-closed .time {
        font-weight: bold;
        color: #e74c3c;
    }
    
    /* Adjust logo size for mobile */
    .logo img {
        width: 110%;
        height: 110%;
    }
}

@media (max-width: 480px) {
    .qualifications, .contact-item {
        font-size: 16px;
    }
    
    .mobile-number {
        font-size: 18px;
    }
    
    .hero-photo-small {
        width: 80px;
        height: 80px;
    }
    
    .photo-container {
        width: 200px;
        height: 300px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .mobile-number-hero {
        font-size: 20px;
    }
    
    .serial-info {
        font-size: 16px;
    }
    
    .scam-warning-hero {
        font-size: 14px;
    }
    
    .hero-chamber h3, .hero-schedule h3 {
        font-size: 18px;
    }
    
    .hero-chamber p, .hero-schedule p {
        font-size: 15px;
    }
    
    .serial-text {
        font-size: 15px;
    }
    
    .doctor-name-bold {
        font-size: 18px;
    }
    
    .mobile-number-hero a {
        padding: 8px 15px;
    }
    
    /* Adjust logo size for small mobile */
    .logo img {
        width: 100%;
        height: 100%;
    }
    
    /* Schedule adjustments for very small screens */
    .schedule {
        padding: 15px;
    }
    
    .schedule-item {
        padding: 10px 0;
    }
}

/* Print styles for SEO */
@media print {
    body {
        background-color: white;
        color: black;
        font-size: 12pt;
    }
    
    .hero {
        background: white !important;
        color: black;
        padding: 20px 0;
    }
    
    .mobile-number-hero a, .mobile-number {
        color: black !important;
        background: none !important;
        box-shadow: none !important;
        animation: none !important;
        border: 1px solid #ccc;
    }
    
    .logo img {
        filter: grayscale(100%);
    }
}