:root {
    --primary-color: #385ca4;
    --secondary-color: #e03c4c;
    --accent-color: #F5F5F7;
    --text-color: #333;
    --white: #fff;
    font-family: 'Roboto Flex', sans-serif;
}

/* Hero Section */
.chp-hero {
    background: linear-gradient(rgba(56, 92, 164, 0.65), rgba(56, 92, 164, 0.65)),
                url('../images/newtechhealthcare.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    color: var(--white);
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Introduction Section - Enhanced */
.intro-section {
    padding: 6rem 0;
    background: var(--white);
}

.intro-section h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    line-height: 1.2;
}

.intro-section h2 br {
    display: block;
    content: "";
    margin-bottom: 0.5rem;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-color);
}

/* Features Section - Enhanced */
.features-section {
    padding: 6rem 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.features-section h2,
.benefits-section h2,
.additional-benefits h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
}

.features-section h2::after,
.benefits-section h2::after,
.additional-benefits h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Features Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1000px;
}

/* Add space between top and bottom features-grid */
.features-grid + .features-grid {
    margin-top: 4rem; /* Adds space between the two grid sections */
}

/* Container adjustment for features section */
.features-section .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-block {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: var(--white);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    max-width: 450px;
    height: auto;
    min-height: 0;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-block .feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(56, 92, 164, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-block .feature-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.feature-block .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-block h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-block p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design for Feature Blocks */
@media (max-width: 768px) {
    .feature-block {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .feature-block .feature-icon {
        margin: 0 auto 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-block {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .features-grid {
        gap: 2rem;
    }
    
    .features-grid + .features-grid {
        margin-top: 3rem; /* Slightly less space on smaller screens */
    }
}

@media (max-width: 768px) {
    .features-grid {
        gap: 1.5rem;
        margin: 2rem auto;
    }
    
    .features-grid + .features-grid {
        margin-top: 2rem; /* Even less space on mobile */
    }
    
    .features-section .container {
        padding: 2rem 1rem;
    }
    
    .feature-block {
        padding: 1.5rem;
    }
}

/* Benefits Section - Enhanced */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-section h2 {
    font-family: 'Roboto Flex', sans-serif;
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-card {
    background: var(--accent-color);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(224, 60, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.benefit-card h3 {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* CTA Blocks - Enhanced */
.cta-block {
    background: linear-gradient(135deg, var(--primary-color), #2c4a8c);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.cta-block h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cta-button, .secondary-button {
    font-family: 'Roboto Flex', sans-serif;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(224, 60, 76, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 60, 76, 0.4);
    background: #c93543;
}

.secondary-button {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Additional Benefits - Enhanced */
.additional-benefits {
    padding: 4rem 0;
    background: var(--accent-color);
}

.additional-benefits .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-benefits .benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin: 0;
    height: auto;
}

.additional-benefits .benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.additional-benefits .benefit-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), #2c4a8c);
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.final-cta p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 3rem 0;
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    padding: 0 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 50px;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
}

.footer-bottom p {
    margin: 0;
}

.legal-links {
    margin: 0;
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Update logo color */
.footer-logo img {
    max-height: 50px;
    filter: brightness(0) invert(1); /* Makes the logo white */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c93543;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-benefits .container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* CTA Block in Features Section */
.features-section .cta-block {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), #2c4a8c);
    text-align: center;
    color: var(--white);
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.features-section .cta-block h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}