/* style.css - Premium Doctor Portfolio Styling */
:root {
    /* Color Palette - Premium Medical Theme (Clean White, Deep Blue, Soft Teal) */
    --color-bg: #F8FAFC;
    --color-bg-alt: #F1F5F9;
    --color-dark: #0F172A;
    --color-dark-alt: #1E293B;

    --color-text: #334155;
    --color-text-muted: #64748B;
    --color-text-light: #F8FAFC;
    --color-text-light-muted: #CBD5E1;

    --color-primary: #0284C7;
    /* Medical Blue */
    --color-primary-hover: #0369A1;
    --color-primary-light: #E0F2FE;

    --color-secondary: #0D9488;
    /* Teal Accent */
    --color-secondary-light: #CCFBF1;

    --color-border: #E2E8F0;
    --color-border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-body: 'Poppins', sans-serif;

    /* Layout & Spacing */
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.2);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: min(var(--container-width), 90vw);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.section-padding {
    padding: 6rem 0;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

.bg-light {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.text-white {
    color: var(--color-text-light) !important;
}

.text-light-muted {
    color: var(--color-text-light-muted) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    /* Pill shaped for medical theme */
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff !important;
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

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

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Typography Scale */
.section-subtitle {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    background: var(--color-secondary-light);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.2rem;
}

.section-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s;
}

.navbar.scrolled .nav-content {
    height: 70px;
}

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

.logo-icon {
    background: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-dark);
}

.logo-title {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: white;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary-hover);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-description {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-number {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-dark);
}

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

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(2, 132, 199, 0.15);
    top: -20px;
    right: -20px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(13, 148, 136, 0.15);
    bottom: -20px;
    left: -20px;
}

.hero-image {
    position: relative;
    z-index: 1;
    max-width: 450px;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.support-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    border-left: 4px solid var(--color-secondary);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-secondary-light);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.small-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-main-img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.certification-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 4px solid white;
}

.certification-badge i {
    font-size: 2rem;
    color: var(--color-secondary-light);
}

.certification-badge strong {
    display: block;
    font-size: 1.2rem;
}

.certification-badge span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-text {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

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

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--color-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.blood-pressure {
    background: #ffe4e6;
    color: #e11d48;
}

.diabetes {
    background: #e0f2fe;
    color: #0284c7;
}

.lungs {
    background: #ccfbf1;
    color: #0d9488;
}

.stomach {
    background: #fef3c7;
    color: #d97706;
}

.thyroid {
    background: #f3e8ff;
    color: #9333ea;
}

.general {
    background: #f1f5f9;
    color: #475569;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Clinics */
.clinics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.clinic-card {
    background: var(--color-dark-alt);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-normal);
}

.clinic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.clinic-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.hospital-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.clinic-header h3 {
    color: white;
    margin: 0;
}

.clinic-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-row i {
    color: var(--color-primary);
    margin-top: 0.3rem;
    font-size: 1.1rem;
}

.detail-row p {
    color: var(--color-text-light-muted);
    margin: 0;
}

.detail-row strong {
    color: white;
}

.detail-row .closed {
    color: #f87171;
}

/* Booking Section */
.booking-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.booking-info {
    background: var(--color-bg-alt);
    padding: 4rem;
}

.booking-desc {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.booking-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-steps li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-text h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.step-text p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.booking-form-container {
    padding: 4rem;
}

.form-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-bg);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 5rem 0 2rem;
}

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

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
    font-size: 0.95rem;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

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

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--color-primary-light);
    width: 16px;
    text-align: center;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transition: var(--transition-slow);
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(30px);
}

.fade-right {
    transform: translateX(-30px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-image-wrapper {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .support-card {
        left: 10px;
        bottom: 10px;
        padding: 0.8rem;
    }

    .certification-badge {
        right: 10px;
        bottom: -20px;
    }

    .booking-info,
    .booking-form-container {
        padding: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .contact-info li {
        justify-content: center;
    }

    .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition-normal);
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-toggle {
        display: block;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        border: none;
        padding-top: 0;
    }

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

    .expertise-list {
        grid-template-columns: 1fr;
    }
}