:root {
    --primary-color: #00796B;
    /* Teal */
    --primary-dark: #004D40;
    --secondary-color: #0277bd;
    /* Blue */
    --accent-color: #E0F2F1;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #F5F7FA;
    --gradient-hero: linear-gradient(135deg, rgba(0, 77, 64, 0.9) 0%, rgba(2, 119, 189, 0.85) 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-menu a {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
}

.btn-mobile {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text .tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .card-image {
    height: 200px;
    overflow: hidden;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-content .icon-box {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 10px;
}

/* Why Us */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.align-center {
    align-items: center;
}

.why-content {
    flex: 1;
    min-width: 300px;
}

.why-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.why-image img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}


.feature-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact & Recruitment Forms */
.contact-section {
    background-color: var(--white);
    padding: 80px 0;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.modern-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.1);
}

.form-actions {
    margin-top: 10px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Recruitment Specifics */
.recruitment-wrapper {
    padding: 40px 0;
}

.reverse-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.col-text {
    flex: 1;
    padding-right: 40px;
}

.col-form {
    flex: 1;
    max-width: 450px;
}

.recruit-list {
    margin-top: 20px;
}

.recruit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.recruit-list i {
    color: var(--secondary-color);
    background: rgba(2, 119, 189, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.recruit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eee;
}

.recruit-card h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.modern-form.compact {
    display: flex;
    flex-direction: column;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-secondary:hover {
    background-color: #01579b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #f1f1f1;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    color: #aaa;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}



/* =========================================
   Multidisciplinary Team Section (New)
   ========================================= */
.mt-section {
    position: relative;
    background-color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.mt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mt-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--white);
}

.mt-icon {
    width: 90px;
    height: 90px;
    background-color: #e0f2f1;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.mt-card:hover .mt-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.mt-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.mt-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Differentiated Services Pills */
.mt-services-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.mt-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.mt-pill {
    background: var(--white);
    border: 1px solid #e1e1e1;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.mt-pill i {
    color: var(--secondary-color);
}

.mt-pill:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mt-pill:hover i {
    color: var(--white);
}

/* Specialist Hero Box */
.mt-hero-box {
    display: flex;
    background: linear-gradient(135deg, #004D40 0%, #00695c 100%);
    border-radius: 30px;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 77, 64, 0.2);
    min-height: 500px;
}

.mt-hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.mt-hero-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.mt-hero-box:hover .mt-hero-image img {
    transform: scale(1.03);
}

.mt-hero-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mt-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mt-hero-content h3 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.mt-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.mt-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.mt-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
}

.mt-list i {
    color: #4DB6AC;
    /* Teal accent */
    font-size: 1.2rem;
}

/* =========================================
   Hospitals Section
   ========================================= */
.hospitals-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.hospital-item {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 180px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    filter: grayscale(100%);
    cursor: pointer;
    border: 1px solid transparent;
}

.hospital-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.hospital-item:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    z-index: 2;
}

/* Mobile Click/Active State */
.hospital-item:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-sm);
}

/* =========================================
   Responsive Media Queries
   ========================================= */

@media (max-width: 992px) {

    /* Header */
    .header-cta .btn,
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: 2;
        margin-top: 40px;
    }

    .about-features {
        display: inline-block;
        text-align: left;
    }

    /* MT Section (New) */
    .mt-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .mt-hero-box {
        flex-direction: column;
        min-height: auto;
    }

    .mt-hero-image {
        height: 300px;
        width: 100%;
    }

    .mt-hero-content {
        padding: 40px 30px;
    }

    .mt-hero-content h3 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .mt-list {
        grid-template-columns: 1fr;
    }

    .mt-hero-content {
        padding: 30px 20px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .modern-form {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 20px;
    }

    .reverse-mobile {
        flex-direction: column;
        gap: 40px;
    }

    .col-text {
        padding-right: 0;
        text-align: center;
    }

    .recruit-list {
        display: inline-block;
        text-align: left;
    }

    .col-form {
        width: 100%;
        max-width: 100%;
    }

    /* Hospitals Responsive */
    .hospitals-grid {
        gap: 20px;
    }

    .hospital-item {
        width: 220px;
        height: 150px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .container {
        padding: 0 25px;
        /* Slightly less on very small screens, but better than 20 */
    }

    /* Hospitals Responsive */
    .hospital-item {
        width: 46%;
        height: 120px;
        padding: 15px;
    }
}