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

:root {
    --bg-color: #f0e6d2;
    --highlight-color: #a67451;
    --text-color: #13070d;
    --white: #ffffff;
    --light-bg: #f6e1d2;
    --shadow: rgba(19, 7, 13, 0.15);
    --gradient: linear-gradient(135deg, #a67451, #776751);
    --accent-color: #776751;
}

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

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent-color);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    /* padding: 15px 0; */
    transition: all 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

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

.logo-icon {
    font-size: 2rem;
}

.logo-text img {
    width: 30%;
}
.footer-text img {
    width: 60%;
    background: white;
    border-radius: 25px;
    padding: 14px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--highlight-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Swiper Slider */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-color), var(--light-bg));
    display: none;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--highlight-color);
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(17, 5, 13, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    text-align: center;
    color: var(--text-color);
    max-width: 800px;
    padding: 0 20px;
}

.slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease;
}

.content-wrapper h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.content-wrapper h1 span {
    color: var(--highlight-color);
    background: var(--white);
    padding: 0 15px;
    border-radius: 15px;
    display: inline-block;
    transform: rotate(-2deg);
}

.content-wrapper p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.slide-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-glow {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(122, 90, 57, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(122, 90, 57, 0.6);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 16px 33px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    color: var(--highlight-color) !important;
    font-size: 20px !important;
    font-weight: bold !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--white) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px var(--shadow) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5) !important;
}

/* Floating Doctor Card */
.floating-doctor-card {
    position: absolute;
    bottom: 100px;
    right: 50px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.doctor-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 25px 70px var(--shadow);
    min-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.doctor-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(122, 90, 57, 0.3);
}

.doctor-info h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.doctor-info p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #ffd700;
}

.rating span {
    color: var(--text-color);
    font-size: 1rem;
    margin-left: 8px;
    font-weight: 600;
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 0.2rem;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(122, 90, 57, 0.1);
    color: var(--highlight-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(122, 90, 57, 0.2);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

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

.about-card {
    background: var(--light-bg);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 90, 57, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px var(--shadow);
}

.card-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(122, 90, 57, 0.3);
}

.about-card h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.story-image img, .mission-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(122, 90, 57, 0.3);
    transition: all 0.5s ease;

}
.features-image img {
    width: 100%;
    height: 32rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(122, 90, 57, 0.3);
    transition: all 0.5s ease;

}

.degree-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.degree {
    background: var(--highlight-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(122, 90, 57, 0.3);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: var(--bg-color);
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 90, 57, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(122, 90, 57, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--highlight-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 50%, 
        rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    transition: all 0.4s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.card-tag {
    background: var(--highlight-color);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(166, 116, 81, 0.3);
}

.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--highlight-color);
}

.gallery-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 90, 57, 0.1);
}

.info-item:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 40px var(--shadow);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(122, 90, 57, 0.3);
}

.info-text h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-text p {
    color: var(--highlight-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 15px 50px var(--shadow);
    border: 1px solid rgba(122, 90, 57, 0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 18px 25px;
    border: 2px solid rgba(122, 90, 57, 0.1);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 5px rgba(122, 90, 57, 0.1);
    background: var(--white);
}

.btn-submit {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 20px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(122, 90, 57, 0.3);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(122, 90, 57, 0.4);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.brand-logo h3 {
    color: var(--highlight-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(122, 90, 57, 0.4);
}

.footer-links h4,
.footer-services h4 {
    color: var(--highlight-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 1rem;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== PAGE HERO STYLES ===== */
.page-hero,
.gallery-hero,
.doctor-hero,
.contact-hero,
.about-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-color), #fff);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-hero::before,
.doctor-hero::before,
.contact-hero::before,
.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(166, 116, 81, 0.05) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content,
.doctor-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
}

.section-tag,
.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    color: var(--highlight-color);
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(166, 116, 81, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(166, 116, 81, 0.2);
}

.hero-content h1,
.doctor-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content h1 span,
.doctor-hero-content h1 span {
    color: var(--highlight-color);
    font-style: italic;
}

.hero-content p,
.doctor-description {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===== DOCTOR PAGE STYLES ===== */
.doctor-profile {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-color) 100%);
    position: relative;
}

.doctor-profile::before {
    content: 'Dr.';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 15rem;
    font-weight: 900;
    color: var(--highlight-color);
    opacity: 0.03;
    font-family: 'Playfair Display', serif;
    pointer-events: none;
}

.doctor-hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.doctor-image-wrapper {
    position: relative;
    z-index: 1;
}

.doctor-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--highlight-color);
    border-radius: 30px;
    z-index: -1;
    transition: all 0.3s ease;
}

.doctor-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--white);
    background: var(--white);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-placeholder-box {
    display: flex;
    width: 100%;
    height: 600px;
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--highlight-color);
}

.doctor-placeholder-box i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.doctor-placeholder-box p {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.8;
}

.doctor-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.doctor-info {
    display: flex;
    flex-direction: column;
}

.doctor-title {
    display: inline-block;
    color: var(--highlight-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-left: 50px;
}

.doctor-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--highlight-color);
}

.doctor-info h2 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    font-weight: 700;
}

.doctor-info h2 span {
    color: var(--highlight-color);
    font-style: italic;
}

.credentials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.credential {
    background: rgba(166, 116, 81, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--highlight-color);
    border: 1px solid rgba(166, 116, 81, 0.2);
    transition: all 0.3s ease;
}

.credential:hover {
    background: var(--highlight-color);
    color: var(--white);
    transform: translateY(-2px);
}

.doctor-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--highlight-color);
}

.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--highlight-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Timeline Section */
.timeline-section {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(166, 116, 81, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, var(--highlight-color), var(--accent-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-card {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    animation: fadeInUp 0.6s ease;
}

.timeline-card:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-card:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: var(--gradient);
    border: 5px solid var(--white);
    box-shadow: 0 0 0 5px rgba(166, 116, 81, 0.2), 0 5px 15px rgba(166, 116, 81, 0.3);
    position: absolute;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(166, 116, 81, 0.3), 0 8px 20px rgba(166, 116, 81, 0.4);
}

.timeline-card:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-card:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-content {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 25px;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid rgba(166, 116, 81, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.timeline-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(166, 116, 81, 0.25);
    border-color: var(--highlight-color);
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.7;
}

.timeline-year {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(166, 116, 81, 0.3);
}

/* Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(166, 116, 81, 0.03) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.expertise-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-color) 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(166, 116, 81, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(166, 116, 81, 0.25);
    border-color: var(--highlight-color);
}
.expertise-card i {
    /* transition: all 0.4s ease; */
    display: flex;
}

.expertise-icon {
    width: 90px;
    height: 90px;
    background: rgba(166, 116, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--highlight-color);
    transition: all 0.4s ease;
}

.expertise-card:hover .expertise-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(166, 116, 81, 0.4);
}

.expertise-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.expertise-card p {
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Philosophy Section */
.philosophy-section {
    padding: 150px 0;
    background: linear-gradient(135deg, rgba(166, 116, 81, 0.95), rgba(119, 103, 81, 0.95)), 
                url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?w=1600&h=900&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 7, 13, 0.3);
}

.philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}

.quote-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.quote-box h3 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First Approach */

/* Base Mobile Styles */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.2rem !important; }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        position: relative;
    }
    
    .nav-logo {
        gap: 10px;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .doctor-hero-content {
        gap: 3rem;
    }

    .doctor-info h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        transition: all 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(166, 116, 81, 0.1);
    }

    .nav-menu a {
        padding: 20px 0;
        display: block;
        font-size: 1.1rem;
    }

    /* Hero Swiper Slider */
    .hero-section {
        height: 80vh;
    }

    .content-wrapper h1 {
        font-size: 2.5rem !important;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-glow, .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Doctor Page */
    .doctor-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .doctor-image img {
        height: 450px;
    }

    .doctor-info h2 {
        font-size: 3rem;
    }

    .doctor-description {
        padding-left: 0;
        border-left: none;
        text-align: center;
    }

    .doctor-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item {
        text-align: center;
    }

    .doctor-placeholder-box {
        height: 450px;
    }

    /* Services & Gallery Grid */
    .services-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    /* Process Section */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Timeline */
    .timeline::after {
        left: 31px;
    }

    .timeline-card {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-card:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-card:nth-child(odd) {
        text-align: left;
    }

    .timeline-card:nth-child(odd) .timeline-dot,
    .timeline-card:nth-child(even) .timeline-dot {
        left: 21px;
        right: auto;
    }

    /* Contact Page */
    .contact-hero, .privacy-hero, .terms-hero {
        padding: 120px 0 60px !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-services ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* Sections */
    .section-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .content-wrapper h1 {
        font-size: 2rem !important;
    }

    .doctor-info h2 {
        font-size: 2.5rem;
    }

    .doctor-image img {
        height: 350px;
    }

    .doctor-placeholder-box {
        height: 350px;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .footer-services ul {
        grid-template-columns: 1fr;
    }

    .stat-item .number {
        font-size: 3rem;
    }
}