/* ============================================
   PROFESSIONAL ORTHOPAEDICS WEBSITE STYLES
   ============================================ */

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

:root {
    --primary-color: #3e6493;
    --secondary-color: #0598fc;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
    --success-color: #28a745;
}

body {
    font-family: 'Lato', sans-serif;
    color: #2c3e50;
    line-height: 1.65;
    background-color: #fff;
    letter-spacing: 0.3px;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5aa0 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 15px 0;
}

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

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

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    border-radius: 2px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-menu a:hover {
    opacity: 0.8;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.contact-btn {
    background-color: var(--secondary-color);
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #0481d1;
    border-bottom: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 110px 20px;
    background-image: linear-gradient(120deg, rgba(16, 34, 58, 0.78) 0%, rgba(16, 34, 58, 0.48) 45%, rgba(16, 34, 58, 0.28) 100%), url('images/image4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-overlay-widget {
    max-width: 640px;
    background: rgba(15, 31, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 35px;
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #c9e5ff;
    margin-bottom: 5px;
}

.hero-credentials {
    font-size: 14px;
    color: #dbe7f5;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-specialty {
    font-size: 16px;
    color: white;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: white;
}

.cta-button.primary:hover {
    background-color: #0481d1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 152, 252, 0.25);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ============================================
   INTRO SECTION
   ============================================ */

.intro-section {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.intro-text {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-image {
    height: auto;
    overflow: hidden;
}

.about-content p {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    letter-spacing: 0.2px;
}

.subsection-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
}

/* ============================================
   SURGICAL INTERESTS
   ============================================ */

.surgical-interests {
    margin-top: 20px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.surgical-interests h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.interest-item {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.interest-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.interest-item ul {
    list-style: none;
}

.interest-item li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

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

.interest-item li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 10px;
}

/* ============================================
   ACCREDITATIONS
   ============================================ */

.accreditations {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.accreditations h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.accred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.accred-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.accred-grid img:hover {
    filter: grayscale(0%);
}

/* ============================================
   TREATMENTS SECTION
   ============================================ */

.treatments-section {
    padding: 80px 20px;
}

.treatments-section .section-header h2 {
    margin-bottom: 6px;
}

.treatment-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.treatment-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.treatment-card.reverse .treatment-image {
    order: 2;
}

.treatment-card.reverse .treatment-content {
    order: 1;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.treatment-image {
    height: auto;
    overflow: hidden;
    align-self: start;
}

.treatment-content {
    align-self: start;
}

.treatment-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.treatment-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* ============================================
   CONDITIONS SECTION
   ============================================ */

.conditions-section {
    background-color: var(--light-color);
    padding: 80px 20px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.condition-card {
    background: white;
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.condition-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.condition-card ul {
    list-style: none;
}

.condition-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.condition-card li:last-child {
    border-bottom: none;
}

.condition-card li:before {
    content: "• ";
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 10px;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */

.appointment-section {
    padding: 80px 20px;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.appointment-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.appointment-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.appointment-content ul {
    list-style: none;
    margin-left: 20px;
}

.appointment-content li {
    padding: 8px 0;
    font-size: 15px;
}

.appointment-content li:before {
    content: "✓ ";
    color: var(--secondary-color);
    margin-right: 10px;
}

.appointment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.appointment-image {
    height: auto;
    overflow: hidden;
}

/* ============================================
   JOURNEY SECTION
   ============================================ */

.journey-section {
    background-color: var(--light-color);
    padding: 80px 20px;
}

.journey-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.step-arrow {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
    align-self: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5aa0 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0px;
}

.contact-details p {
    font-size: 14px;
    line-height: 1.8;
}

.contact-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 4px;
}

.operating-hospitals p + p {
    margin-top: 8px;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: -0.2px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(5, 152, 252, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin: 10px 0;
    font-size: 14px;
}

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

@media (max-width: 1024px) {
    .hero {
        min-height: 540px;
        padding: 80px 20px;
    }

    .hero-overlay-widget {
        max-width: 560px;
    }

    .about-grid,
    .appointment-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .treatment-card,
    .treatment-card.reverse {
        grid-template-columns: 1fr;
    }

    .treatment-card.reverse .treatment-image,
    .treatment-card.reverse .treatment-content {
        order: unset;
    }

    .journey-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .nav-menu {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 480px;
        padding: 70px 20px;
    }

    .hero-overlay-widget {
        max-width: 100%;
        padding: 28px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title,
    .section-header h2 {
        font-size: 28px;
    }

    .nav-container {
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: var(--primary-color);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        padding: 14px;
        min-width: 220px;
        z-index: 120;
    }

    .nav-menu.nav-open {
        display: flex;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

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

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

@media (max-width: 480px) {
    .hero {
        min-height: 420px;
        padding: 55px 15px;
    }

    .hero-overlay-widget {
        padding: 22px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .about-section,
    .treatments-section,
    .journey-section {
        padding: 50px 15px;
    }
}