/* --- General Setup & Variables --- */
:root {
    --primary-orange: #F58A42;
    --dark-text: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --white: #ffffff;
    --dark-teal: #0d5c63;
    --dark-blue: #112A46;
}

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

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

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

a {
    text-decoration: none;
    color: var(--primary-orange);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; color: var(--light-text); }


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.main-nav a {
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-orange);
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: #e07b3a;
    border-color: #e07b3a;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-text);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #cdd2d6;
}


/* --- Sections --- */
.section {
    padding: 60px 0;
}
.bg-light {
    background-color: var(--bg-light);
}
.section-title, .page-title {
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    color: var(--dark-text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.section-description {
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: var(--light-text);
}


/* --- Hero Section --- */
.hero-section {
    background: url('https://media.istockphoto.com/id/836237600/photo/100-year-old-woman-and-her-home-healthcare-nurse.jpg?s=612x612&w=0&k=20&c=aUl5xlkoGrkZ8mkW6fZrgYOFm98glRJB_Gm2qtA2WsE=') no-repeat center center/cover;
    background-color: rgba(0,0,0,0.5);
    background-blend-mode: overlay;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}
.hero-section h1 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin: 1rem auto 2rem auto;
    font-size: 1.1rem;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* --- Home Page Specific Sections --- */
.trusted-by-section {
    padding: 40px 0;
    background: var(--bg-light);
}
.trusted-by-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.trust-logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.7;
}
.logo-bijon { color: var(--dark-teal); }
.logo-niramay { color: #555; }
.logo-manipal { color: var(--dark-blue); }

.core-services-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.core-service-item {
    background-color: var(--bg-light);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}
.core-service-item span {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}
.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    text-align: center;
}
.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}
.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
}
.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--dark-text);
}


/* --- About Page --- */
.about-page .text-container {
    max-width: 800px;
    margin-bottom: 4rem;
}
.about-page h2 {
    margin-top: 3rem;
}
.team-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.team-member-card {
    text-align: center;
}
.team-member-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.team-member-card p {
    color: var(--light-text);
    margin-bottom: 0;
}


/* --- Services Page --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card-content {
    padding: 1.5rem;
}
.service-card-content p {
    margin-bottom: 0;
}
.cta-section {
    text-align: center;
}
.cta-section h2 {
    margin-bottom: 0.5rem;
}
.cta-section p {
    margin-bottom: 2rem;
}


/* --- Gallery Page --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.album-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.album-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}
.album-card:hover img {
    transform: scale(1.05);
}
.album-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
    padding: 2rem 1rem 1rem 1rem;
    margin: 0;
    font-size: 1.2rem;
}


/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-info p {
    margin-bottom: 0.5rem;
}
.contact-map iframe {
    border-radius: 8px;
}
.contact-form-section {
    max-width: 700px;
    margin: 60px auto 0 auto;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}
.contact-form-section h2 {
    text-align: center;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: #f1f1f1;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background-color: var(--white);
}
form button {
    width: 100%;
    font-size: 1.1rem;
}


/* --- Footer --- */
.main-footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 40px;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}
.footer-nav a {
    color: var(--white);
    opacity: 0.8;
}
.footer-nav a:hover {
    opacity: 1;
}
.main-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav ul {
        gap: 1.5rem;
    }

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

    .hero-section {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 2rem;
    }
}