/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3A4965;
    --accent-color: #f9d893;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-spacing: 100px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Hero Section Styles */
#hero {
    background: linear-gradient(rgba(58, 73, 101, 0.7), rgba(58, 73, 101, 0.7)), url('/images/Products_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 150px 0 150px;
    text-align: center;
}

#hero h1 {
    font-size: 4rem;
    margin-top: 50px;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
}

#hero h2:after {
    display: none;
}

/* Section Styles */
section {
    padding: var(--section-spacing) 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

section h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Clinic Services Section */
#clinic-services {
    background-color: #f7f8fb;
    padding: 80px 0;
}

#clinic-services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
}

.clinic-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.clinic-text {
    flex: 1 1 480px;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.clinic-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.clinic-text p {
    margin-bottom: 18px;
    opacity: 0.9;
}

.clinic-image {
    flex: 1 1 480px;
    text-align: center;
}

.clinic-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.clinic-image img:hover {
    transform: scale(1.02);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(58, 73, 101, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Coming Soon Sections */
.coming-soon-section {
    padding: 80px 0;
    text-align: center;
}

.coming-soon-section.alt-bg {
    background-color: #f8f9fa;
}

.coming-soon-content {
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    opacity: 0.8;
    display: block;
}

.coming-soon-content h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Feature Preview */
.feature-preview {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(58, 73, 101, 0.05);
    border-radius: 12px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.preview-item:hover {
    background: rgba(249, 216, 147, 0.1);
    transform: translateY(-3px);
}

.preview-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.preview-item span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

/* Group-Level Products & Platforms */
.products-section.alt-bg {
    background-color: #f7f8fb;
}

.section-lead {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dark);
    opacity: 0.9;
}

.group-grid {
    margin-top: 20px;
}

.group-grid .service-card {
    text-align: left;
}

.group-grid .service-card .service-icon {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.kpi-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(249, 216, 147, 0.16);
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Contact Information Styles */
.footer-contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.4;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.contact-link:hover {
    color: var(--accent-color);
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .clinic-intro {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .clinic-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .feature-preview {
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.8rem;
    }
    
    #hero h2 {
        font-size: 1.6rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
    }
    
    /* Mobile header container adjustment */
    header .container {
        padding: 0 10px 0 0;
    }
    
    /* Mobile logo position adjustment */
    .logo {
        margin-left: -10px;
    }
    
    .clinic-intro {
        gap: 25px;
    }
    
    .clinic-text {
        font-size: 1rem;
    }
    
    .clinic-text h3 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .coming-soon-icon {
        font-size: 3rem;
    }
    
    .coming-soon-content h3 {
        font-size: 1.6rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
    
    .feature-preview {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .preview-item {
        width: 200px;
        max-width: 90%;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-contact .contact-details {
        gap: 15px;
    }
    
    .contact-item {
        gap: 10px;
    }
    
    .contact-icon {
        font-size: 1rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.2rem;
    }
    
    #hero h2 {
        font-size: 1.3rem;
    }
    
    .clinic-text {
        font-size: 0.95rem;
    }
    
    .clinic-text h3 {
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .coming-soon-content p {
        font-size: 0.95rem;
    }
    
    .preview-item {
        width: 160px;
        padding: 15px;
    }
}
