/* Root Colors and Variables */
:root {
    --primary-color: #E12454;
    --secondary-color: #223645;
    --accent-color: #3C8080;
    --light-bg: #EBF5F5;
    --text-dark: #223645;
    --text-light: #7A8A9E;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(34, 54, 69, 0.6), rgba(34, 54, 69, 0.6)), url('../homepage-backdrop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.about-hero {
    background: linear-gradient(rgba(34, 54, 69, 0.6), rgba(34, 54, 69, 0.6)), url('../about-us-backdrop.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Referral Banner */
.referral-banner {
    background-color: var(--light-bg);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.banner-container {
    max-width: 600px;
    margin: 0 auto;
}

.banner-container h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.banner-container p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Introducing Section */
.introducing {
    padding: 80px 20px;
    background-color: var(--white);
}

.intro-content {
    margin-bottom: 60px;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.intro-content h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.intro-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.intro-text-left {
    text-align: left;
    max-width: 100%;
}

.intro-text-left p {
    margin-left: 0;
    margin-right: 0;
}

.intro-text-left ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.intro-text-left li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.intro-text-left li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card h5 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.stat-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.services h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.services h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.service-card-content {
    padding: 1.5rem;
    padding-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
    display: inline-block;
}

.service-link:hover {
    color: var(--accent-color);
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Commitment Section */
.commitment {
    padding: 120px 20px;
    background-color: var(--white);
}

.commitment h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.commitment h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.commitment-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.commitment-card:hover {
    transform: translateX(10px);
}

.commitment-card h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.commitment-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 100%;
}

.approach-item {
    text-align: center;
    padding: 0;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.approach-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.approach-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
    display: block;
    border-radius: 0;
}

.approach-item h6 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 1.5rem 1.5rem 0;
}

.approach-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 1.5rem 1.5rem;
}

.commitment-cta {
    text-align: center;
    margin-top: 3rem;
}

.commitment-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.testimonials h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.testimonial-header img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-header .role {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--white);
}

.contact h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(26, 77, 122, 0.2);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Service Details Page Styles */
.service-hero {
    min-height: 400px;
    padding: 100px 20px;
}

.service-hero h2 {
    font-size: 3rem;
}

.service-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-details {
    padding: 100px 20px;
    background-color: var(--white);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-content>p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    padding: 20px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.service-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 1.2rem;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    color: var(--text-light);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.service-features li:hover {
    background-color: #e8f0f0;
    transform: translateX(8px);
    box-shadow: 0 2px 10px rgba(60, 128, 128, 0.1);
}

.service-features li strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.service-features-detailed {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.service-features-detailed h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-features-detailed h4:first-child {
    margin-top: 0;
}

.service-features-detailed p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features-detailed p:last-child {
    margin-bottom: 0;
}

.service-content>p:not(:first-of-type) {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    background-color: transparent;
    border: none;
    padding: 0;
}

.service-cta {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    text-align: center;
}

.service-cta p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-cta .btn {
    margin: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .service-details {
        padding: 60px 20px;
    }

    .service-hero {
        padding: 80px 20px;
        min-height: 350px;
    }

    .service-hero h2 {
        font-size: 2rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .service-content h3 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .service-content h4 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    .service-features li {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .service-features-detailed {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .service-cta {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active li {
        padding: 1rem 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .intro-content h3,
    .services h3,
    .commitment h3 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stats-grid,
    .services-grid,
    .commitment-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 15px;
        min-height: 400px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .intro-content h2,
    .services h2,
    .commitment h2,
    .testimonials h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Feature Rows for Why Choose Us - Enhanced Visuals */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content-side {
    flex: 1;
}

.feature-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image-side img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* More modern, softer radius */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* Deeper, softer shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-image-side img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-features.box-style {
    margin-top: 2rem;
}

.service-features.box-style li {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Subtle card feel */
    margin-bottom: 1rem;
    padding: 1.2rem;
    border-radius: 8px;
    /* Rounded corners */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-features.box-style li:hover {
    transform: translateX(5px);
    background: #fffcfc;
    /* Very subtle highlight */
    box-shadow: 0 6px 15px rgba(225, 36, 84, 0.1);
    /* Primary color glow hint */
}

/* Feature Row Responsiveness */
@media (max-width: 968px) {
    .feature-row {
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-image-side {
        width: 100%;
        order: -1;
        /* Images appear above text on mobile for visual engagement */
    }

    .feature-image-side img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }

    .service-features.box-style li {
        padding: 1rem;
    }
}

/* About Us Page Specific */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }
}