:root {
    --primary-color: #385ca4;
    --secondary-color: #e03c4c;
    --accent-color: #F5F5F7;
    --text-color: #333;
    --white: #fff;
}

/* Enhanced Hero Section */
.sites-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; /* Increased height for better impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.cta-button {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    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.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Add animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Introduction Section */
.intro-section {
    padding: 5rem 0;
    background: var(--white);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background: var(--accent-color);
}

.solution-section h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-block {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-block h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-block p {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-points {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 3rem;
    margin: 2rem -3rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.point {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    height: 100%;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(56, 92, 164, 0.1);
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(56, 92, 164, 0.15);
    border-color: var(--primary-color);
}

.point h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.point p {
    text-align: center;
    color: var(--primary-color);
    line-height: 1.6;
}

.cta-block {
    margin: 4rem -2rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #2c4a8c);
    text-align: center;
    color: var(--white);
}

.cta-block h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.demo-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #c93543;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: var(--white);
}

.why-choose-us h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.benefits-grid-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefits-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

.scroll-arrow:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.scroll-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

.scroll-arrow i {
    font-size: 1.2rem;
}

.benefit-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(56, 92, 164, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), #2c4a8c);
    padding: 6rem 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.final-cta p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.final-cta .cta-button {
    background: var(--secondary-color);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(224, 60, 76, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 60, 76, 0.4);
    background: #c93543;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-block {
        padding: 2rem 1.5rem;
    }
    
    .point {
        padding: 1rem;
    }
    
    .cta-block {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .point, .benefit-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .point, .benefit-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .cta-block {
        margin: 3rem -1rem;
        padding: 3rem 1rem;
    }
} 

/* Update Final CTA text alignment */
.cta-text {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 1.5rem;
    color: var(--white);
    margin: 2rem 0;
}

/* Remove background cards for Data Analysis and Engagement sections */
.feature-block:nth-last-of-type(2),  /* Engagement section */
.feature-block:last-of-type {        /* Data Analysis section */
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* Adjust spacing and layout for both sections */
.feature-block:nth-last-of-type(2) .feature-points,
.feature-block:last-of-type .feature-points {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    justify-content: flex-start;
}

/* Center the titles and descriptions */
.feature-block:nth-last-of-type(2) h3,
.feature-block:nth-last-of-type(2) > p,
.feature-block:last-of-type h3,
.feature-block:last-of-type > p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* Maintain card styles for both sections */
.feature-block:nth-last-of-type(2) .point,
.feature-block:last-of-type .point {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
} 

/* Analytics section scroll container */
.analytics-grid-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.analytics-grid-container .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.analytics-grid-container .scroll-arrow:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.analytics-grid-container .scroll-arrow i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.analytics-grid-container .scroll-left {
    left: -20px;
}

.analytics-grid-container .scroll-right {
    right: -20px;
} 

/* 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);
}

/* For mobile devices */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 