/* Base Styles */
:root {
    --primary-color: #e8a598; /* Rusted pink color */
    --secondary-color: #d48c7f; /* Darker rusted pink */
    --accent-color: #f8f9fa;
    --preloader-bg: rgba(255, 255, 255, 0.98);
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --border-radius: 5px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

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

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .logo img {
        max-height: 40px;
    }
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/backgrounds/background.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 70px;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 30px 0;
    justify-content: center;
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.emergency-contact {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.emergency-contact p {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

.emergency-contact a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
}

.emergency-contact a:hover {
    text-decoration: underline;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--accent-color);
}

/* Service Categories Navigation */
.service-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-category {
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-category.active,
.service-category:hover {
    background-color: var(--primary-color);
    color: #fff;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(232, 165, 152, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.pulse-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    top: 0;
    left: 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.service-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff4c4c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.featured-service {
    border: 2px solid var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.service-link, 
.service-details-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 15px;
    font-size: 0.9rem;
}

.service-details-link {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.service-link:hover {
    background-color: var(--secondary-color);
}

.service-details-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.emergency-link {
    background-color: #ff4c4c;
}

.emergency-link:hover {
    background-color: #e63c3c;
}

.service-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.service-price span {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.service-price strong {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Service Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

.service-details-container {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
}

.service-details-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-details-image {
    flex: 1;
    min-width: 300px;
}

.service-details-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-details-info {
    flex: 2;
    min-width: 300px;
}

.service-faqs {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.faq-item h4 {
    margin-bottom: 8px;
    color: var(--primary-color);
}
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.service-details-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.service-details-info h3 {
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.service-details-info ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.service-details-info ul li {
    margin-bottom: 8px;
}

.service-faqs {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-item h4 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.service-cta {
    margin-top: 30px;
    text-align: center;
}

/* View All Services Button */
.view-all-services {
    text-align: center;
    margin-top: 50px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Service Comparison Tool */
.service-comparison {
    margin-top: 60px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.service-comparison h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-comparison p {
    margin-bottom: 20px;
    color: #666;
}

/* Treatment Process Section */
.treatment-process {
    padding: 80px 0;
    background-color: #fff;
}

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

.process-step {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.process-step h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.process-step p {
    color: #666;
}
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 20px;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.emergency-link {
    background-color: #e74c3c;
}

.emergency-link:hover {
    background-color: #c0392b;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 10px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--accent-color);
}

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

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    padding: 20px;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-icon i {
    font-size: 50px;
    color: white;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Center positioning for all team members */
    transition: transform 0.3s ease;
}

.team-member:hover .team-image img {
    /* No transform for specific team members that already have custom transforms */
}

/* Custom hover effects for specific team members */
.team-member:hover .team-image:not(.team-image-neevika):not(.team-image-hema) img {
    transform: scale(1.05);
}

.team-role {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 15px 0 5px;
    color: var(--primary-color);
}

.team-member p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(rgba(232, 165, 152, 0.9), rgba(212, 140, 127, 0.9)), url('images/backgrounds/background.webp') no-repeat center center/cover;
    color: var(--light-text);
}

.testimonials .section-title {
    color: var(--light-text);
}

.testimonials .section-title::after {
    background-color: var(--light-text);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

.review-meta {
    color: #ffdd00;
    margin-left: 5px;
    font-size: 0.9em;
}

.overall-rating {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.rating-stars {
    color: #ffdd00;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-number {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.map-section {
    margin-top: 30px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

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

.map-container iframe {
    display: block;
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-button i {
    margin-right: 8px;
}

.map-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .map-actions {
        flex-direction: column;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo picture {
    margin-bottom: 15px;
    display: block;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-logo p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact-info a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

.footer-links h3,
.footer-services h3,
.footer-social h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #ccc;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Version Information Footer */
.version-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #888;
    font-family: 'Courier New', monospace;
}

.version-info p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.version-label,
.deployment-label {
    font-weight: 600;
    color: #aaa;
}

.version-number {
    background: linear-gradient(135deg, #0077b6, #00a6c2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 119, 182, 0.3);
}

.deployment-time {
    color: #0077b6;
    font-weight: 600;
    background: rgba(0, 119, 182, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Mobile responsive for version info */
@media (max-width: 768px) {
    .version-info {
        font-size: 0.75rem;
    }
    
    .version-info p {
        flex-direction: column;
        gap: 4px;
    }
    
    .version-number,
    .deployment-time {
        font-size: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 10px;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo picture {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
.about-features {
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.feature span {
    font-size: 0.95rem;
    color: #444;
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}
.directions-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

.directions-link:hover {
    color: var(--secondary-color);
}

.info-item a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--light-text);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}
.team-member .social-links {
    margin-top: 15px;
}

.team-member .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    color: var(--light-text);
    transition: var(--transition);
}

.team-member .social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.team-social-links {
    margin-top: 20px;
}

.team-social-links h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.team-social-links ul li {
    margin-bottom: 8px;
}

.team-social-links ul li a {
    color: #ccc;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.team-social-links ul li a i {
    margin-left: 8px;
    font-size: 1.1rem;
}

.team-social-links ul li a:hover {
    color: var(--primary-color);
}
.online-booking-cta {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.online-booking-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.online-booking-cta p {
    margin-bottom: 20px;
}

.online-booking-cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.online-booking-cta .btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.form-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.form-divider span {
    position: relative;
    background-color: white;
    padding: 0 15px;
    color: #777;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
}

.whatsapp-text {
    position: absolute;
    background-color: #25d366;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    right: 75px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* WhatsApp button responsive styles */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* WhatsApp button animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
}

.whatsapp-text {
    position: absolute;
    background-color: #25d366;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    right: 75px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* WhatsApp button responsive styles */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* WhatsApp button animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp link in contact section */
.info-item a .fa-whatsapp {
    color: #25d366;
    margin-left: 5px;
    font-size: 1.2em;
    vertical-align: middle;
}

.info-item a:hover .fa-whatsapp {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--preloader-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.preloader-spinner {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(232, 165, 152, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s infinite linear;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.review-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-review {
    background-color: #fff;
    color: #4285F4;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-review:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-review i {
    font-size: 1.2rem;
}
/* Custom positioning for specific team members */
.team-member img[src*="dr-abhiram.jpg"] {
    object-position: top center;
    /* Adjust the scale if needed */
    transform: scale(1.1);
}

.team-member:hover img[src*="dr-abhiram.jpg"] {
    transform: scale(1.15);
}
/* Footer doctor list styling */
.team-social-links ul {
    padding-left: 0;
    list-style: none;
}

.team-social-links li {
    margin-bottom: 8px;
}

.team-social-links li a {
    display: flex;
    align-items: center;
    color: #555;
    transition: color 0.3s ease;
}

.team-social-links li a:hover {
    color: var(--primary-color);
}

.team-social-links li a i {
    margin-left: 8px;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .team-social-links ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/* Admin link styling */
.admin-link {
    opacity: 0.5;
    font-size: 0.9em;
}

.admin-link:hover {
    opacity: 1;
}
/* Custom positioning for specific team members */
.team-image-neevika img {
    object-position: center 30%;
}

.team-image-hema img {
    object-position: center 30%;
}
/* Custom positioning for specific team members */
.team-image-neevika {
    overflow: hidden;
    position: relative;
}

.team-image-neevika img {
    position: absolute;
    top: -30%; /* Move image up to show face */
    left: 0;
    width: 100%;
    height: 160%; /* Larger than container to allow positioning */
    object-fit: cover;
}

.team-image-hema {
    overflow: hidden;
    position: relative;
}

.team-image-hema img {
    position: absolute;
    top: -30%; /* Move image up to show face */
    left: 0;
    width: 100%;
    height: 160%; /* Larger than container to allow positioning */
    object-fit: cover;
}
/* Face container for better positioning */
.face-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.face-container img {
    position: absolute;
    top: -40px; /* Move image up to show face */
    left: 0;
    width: 100%;
    height: calc(100% + 80px); /* Add extra height to allow for positioning */
    object-fit: cover;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.blog-category {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-category:hover,
.blog-category.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-post.featured .blog-image {
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.blog-category-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.blog-date,
.blog-author {
    color: #888;
}

.blog-content h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.blog-highlights .highlight {
    background: rgba(0, 166, 194, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-read-more:hover::after {
    transform: translateX(3px);
}

.blog-cta {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.blog-cta h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Video Section */
.videos {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.videos .section-title {
    color: white;
}

.videos .section-description {
    color: #ccc;
}

.video-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.video-category {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.video-category:hover,
.video-category.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.video-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.video-item.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 350px;
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-item.featured .video-thumbnail {
    height: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 166, 194, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-item:hover .video-play-btn {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #ccc;
}

.video-category-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.video-views {
    color: #aaa;
}

.video-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.video-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.video-doctor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doctor-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.video-doctor span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.video-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-cta h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.video-cta p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Responsive Design for Blog and Video Sections */
@media (max-width: 992px) {
    .blog-post.featured,
    .video-item.featured {
        grid-column: span 1;
        display: block;
    }
    
    .blog-post.featured .blog-image,
    .video-item.featured .video-thumbnail {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-categories,
    .video-categories {
        gap: 10px;
    }
    
    .blog-category,
    .video-category {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .blog-content,
    .video-content {
        padding: 20px;
    }
    
    .blog-cta,
    .video-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .blog,
    .videos {
        padding: 60px 0;
    }
    
    .blog-categories,
    .video-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-category,
    .video-category {
        width: 200px;
        text-align: center;
    }
}

/* Featured Blog Section (Main Page) */
.featured-blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.featured-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.featured-blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-blog-post .blog-image {
    height: 200px;
    overflow: hidden;
}

.featured-blog-post .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.featured-blog-post .blog-content {
    padding: 25px;
}

.featured-blog-post .blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.featured-blog-post .blog-category-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.featured-blog-post .blog-author {
    color: #888;
}

.featured-blog-post h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.featured-blog-post p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-blog-post .blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.featured-blog-post .blog-read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.featured-blog-post .blog-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.featured-blog-post .blog-read-more:hover::after {
    transform: translateX(3px);
}

/* Featured Videos Section (Main Page) */
.featured-videos {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.featured-videos .section-title {
    color: white;
}

.featured-videos .section-description {
    color: #ccc;
}

.featured-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.featured-video-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-video-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.featured-video-item .video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.featured-video-item .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.featured-video-item .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 166, 194, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.featured-video-item:hover .video-play-btn {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-video-item .video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-video-item .video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-video-item .video-content {
    padding: 25px;
}

.featured-video-item h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.featured-video-item p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.featured-video-item .video-doctor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-video-item .doctor-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-video-item .video-doctor span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-video-item .video-meta {
    color: #aaa;
    font-size: 0.85rem;
}

.featured-video-item .video-views {
    color: #aaa;
}

/* Blog and Video Hero Sections */
.blog-hero,
.video-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.blog-hero-content h1,
.video-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-hero-content p,
.video-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-hero-stats,
.video-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* Newsletter and Subscription Sections */
.newsletter,
.video-subscription {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter-content h3,
.subscription-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-content p,
.subscription-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form,
.subscription-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input,
.subscription-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button,
.subscription-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover,
.subscription-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive Design for Featured Sections */
@media (max-width: 768px) {
    .featured-blog-grid,
    .featured-videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-hero-stats,
    .video-hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .newsletter-form,
    .subscription-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-hero-content h1,
    .video-hero-content h1 {
        font-size: 2rem;
    }
}
