/* Global Styles */
:root {
    --primary-color: #1a5276;
    --secondary-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Top Bar */
.top-bar {
    background: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
}

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

.top-bar-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    height: 60px;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.4em;
    font-weight: 600;
}

.highlight {
    color: var(--primary-color);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: color 0.3s ease;
}

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

.appointment-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.appointment-nav-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1005;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px); /* Adjust for header height */
    position: relative;
    margin-top: 0;
    overflow: hidden;
    padding-top: 0;
}

.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    padding: 0 50px;
    position: relative;
    z-index: 3;
    margin-top: 30px;
}

.hero-label {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
}

/* Two Column Hero Layout */
.hero-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-left-column .hero-label,
.hero-left-column .hero-title,
.hero-left-column .hero-subtitle {
    margin-bottom: 15px;
}

.hero-right-column .hero-achievement,
.hero-right-column .hero-description {
    margin-bottom: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Services Section */
.services-section {
    position: relative;
    background: linear-gradient(45deg, #e8edf2 0%, #d1dff2 100%);
    overflow: hidden;
    padding: 80px 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.1;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.services-subheading {
    text-align: center;
    color: var(--secondary-color);
    margin: 50px 0 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

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

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

.service-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Locations Section */
.locations-section {
    position: relative;
    background: url('../images/Spine.jpg') center/cover fixed;
    overflow: hidden;
    padding: 80px 0;
}

.locations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.locations-section .container {
    position: relative;
    z-index: 2;
}

.locations-section h2,
.section-description,
.locations-grid {
    position: relative;
    z-index: 2;
}

.locations-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.location-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    position: relative;
    z-index: 1;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.location-card:first-child {
    border-top: 4px solid var(--primary-color);
}

.location-header {
    padding: 25px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    text-align: center;
    transition: background-color 0.3s ease;
}

.location-card:hover .location-header {
    background-color: var(--primary-color);
}

.location-header h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.location-card:hover .location-header h3 {
    color: var(--white);
}

.location-details {
    padding: 25px;
}

.location-details p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-details i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 4px;
}

.location-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.location-cta {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.location-card .btn-outline {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.location-card .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .location-header {
        padding: 20px 15px;
    }
    
    .location-header h3 {
        font-size: 1.3rem;
    }
    
    .location-details {
        padding: 20px;
    }
    
    .location-cta {
        flex-direction: column;
    }
    
    .location-card .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .services-section::before,
    .research-section::before,
    .research-section::after,
    .contact-section::before,
   
    .locations-section::after {
        width: 150px;
        height: 150px;
    }

    .locations-section::before {
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
    }
}

/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(to right, #dae8ef 0%, #e3eef3 100%);
    overflow: hidden;
    padding: 80px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    opacity: 0.05;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

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

.contact-info h3,
.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5em;
    transition: color 0.3s ease;
}

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

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
}

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

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

/* Responsive Design */
@media (max-width: 1100px) {
    .desktop-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .appointment-nav-btn {
        padding: 10px 16px;
    }
}

@media (max-width: 992px) {
    .desktop-menu {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 15px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2em;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Two Column Layout */
    .hero-two-column {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .hero-left-column,
    .hero-right-column {
        text-align: center;
    }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    z-index: 9999;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

body.no-scroll {
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
}

.mobile-sidebar .sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    pointer-events: auto;
}

/* Articles Section */
.articles-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

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

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

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

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-strip .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 10px;
    }

    .contact-info a {
        display: block;
        margin: 5px 0;
    }

    .social-links a {
        margin: 0 10px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about-section {
    position: relative;
    background: linear-gradient(135deg, #e9eff3 0%, #2a5298cb 100%);
    overflow: hidden;
    padding: 100px 0;
    color: var(--white);
}

.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(95, 174, 238, 0.511);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.about-section::before {
    top: -150px;
    left: -150px;
    transform: rotate(45deg);
}

.about-section::after {
    bottom: -150px;
    right: -150px;
    transform: rotate(225deg);
}

.about-grid {
    position: relative;
    z-index: 1;
}

.about-content h2,
.about-content h3,
.about-content p,
.about-content .qualifications,
.about-content .designation,
.about-content .institution {
    color: black;
}

.education,
.achievements {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
}

.education h4,
.achievements h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.education ul,
.achievements ul {
    color: var(--white);
}

.education li,
.achievements li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.education li::before,
.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
}

.experience-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.about-content {
    padding-right: 40px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.doctor-info {
    margin-bottom: 30px;
}

.doctor-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.qualifications,
.designation,
.institution {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}

.expertise,
.education,
.achievements {
    margin-bottom: 25px;
}

.expertise h4,
.education h4,
.achievements h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.expertise li,
.education li,
.achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.expertise li:before,
.education li:before,
.achievements li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.about-cta {
    margin-top: 40px;
}

.about-image {
    position: relative;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Responsive styles for About section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        padding-right: 0;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section::before,
    .about-section::after {
        width: 200px;
        height: 200px;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

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

    .doctor-info h3 {
        font-size: 1.5rem;
    }

    .education h4,
    .achievements h4 {
        text-align: center;
        margin-top: 30px;
    }

    .education li,
    .achievements li {
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .about-cta {
        display: flex;
        justify-content: center;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 10px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
}

/* Research & Publications Section */
.research-section {
    position: relative;
    background: linear-gradient(135deg, #e9eef3 0%, #e1e8ef 100%);
    overflow: hidden;
    padding: 80px 0;
}

.research-section::before,
.research-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.05;
}

.research-section::before {
    left: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.research-section::after {
    right: -100px;
    bottom: 20%;
    transform: rotate(45deg);
}

.research-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.publications-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.publication-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.publication-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.publication-icon i {
    font-size: 1.5rem;
}

.publication-content {
    flex: 1;
}

.publication-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.4;
}

.publication-journal {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-style: italic;
    font-size: 0.9rem;
}

.publication-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(25, 118, 210, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
}

.pub-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.research-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .publications-list {
        max-width: 95%;
    }
}

@media screen and (min-width: 768px) {
    .publications-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive adjustments for services grid */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }
    .services-section h2 {
        font-size: 28px;
    }
    .section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .services-subheading {
        font-size: 20px;
        margin: 30px 0 20px;
    }
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .service-card {
        width: 100%;
        margin: 0;
    }
    .service-card i {
        font-size: 32px;
    }
}

/* Neurological Conditions Section */
.conditions-section {
    position: relative;
    padding: 60px 0;
    background: url('../images/depositphotos_13281915-stock-photo-human-brain-in-x-ray.jpg') center/cover fixed;
}

.conditions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.conditions-section .container {
    position: relative;
    z-index: 2;
}

.conditions-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: bold;
}

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

.condition-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.condition-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.condition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.condition-item:hover::before {
    opacity: 0.05;
}

.condition-item > * {
    position: relative;
    z-index: 2;
}

.condition-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.condition-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .condition-item {
        padding: 20px;
    }
    
    .condition-item h3 {
        font-size: 1.2rem;
    }
}

/* Responsive Design for Conditions Section */
@media (max-width: 768px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .conditions-section {
        padding: 60px 0;
    }
    
    .conditions-section h2 {
        font-size: 24px;
        padding: 0 20px;
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 15px;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-icon:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon i {
    font-size: 32px;
}

.whatsapp-message {
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    white-space: nowrap;
    animation: messageLoop 8s infinite;
}

@keyframes messageLoop {
    0%, 100% {
        opacity: 0;
        transform: translateX(-20px);
    }
    15%, 35% {
        opacity: 1;
        transform: translateX(0);
    }
    40% {
        opacity: 0;
        transform: translateX(20px);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon i {
        font-size: 28px;
    }
    
    .whatsapp-message {
        font-size: 14px;
        padding: 8px 16px;
        max-width: 200px;
    }
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.video-gallery-section h2{
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

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

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    padding: 1rem;
}

.video-description h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #333;
}

.video-description p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.hidden-video {
    display: none;
}

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

.btn-facebook {
    background-color: #1877f2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.btn-facebook:hover {
    background-color: #1664d9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-wrapper {
        padding-top: 75%; /* Adjust aspect ratio for mobile */
    }

    .video-controls {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Online Booking Section */
.booking-section {
    background: linear-gradient(135deg, #e9eef3 0%, #e1e8ef 100%);
    padding: 80px 0;
}

.booking-section h2{
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.booking-info {
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.price-card {
    text-align: center;
    padding: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.price-card h3 {
    margin-bottom: 10px;
    color: white;
}

.price {
    font-size: 2.5em;
    font-weight: bold;
    margin: 15px 0;
}

.price-card .qr-code img {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .price-card .qr-code img {
        width: 200px;
        height: 200px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .price-card .qr-code img {
        width: 150px;
        height: 150px;
    }
}

.booking-steps h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.booking-steps ol {
    padding-left: 20px;
}

.booking-steps li {
    margin-bottom: 15px;
}

.booking-steps ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.booking-steps ul li {
    margin-bottom: 5px;
    color: #666;
}

.booking-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qr-code {
    text-align: center;
    padding: 2px;
    border-radius: 10px;
    
}

.qr-code img {
    width: 200px;
    height: 200px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #25D366;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
    font-size: 1.2em;
}

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

    .booking-section {
        padding: 40px 0;
    }

    .booking-info,
    .booking-qr {
        padding: 20px;
    }
}

