/* Basic Reset and Lao Font Import */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Lao', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* Utility Class */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #ffffff;
    color: #004d99; /* Deep Blue for professionalism */
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #004d99;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s;
}

nav ul a:hover {
    color: #e67e22; /* Accent color for hover */
}

/* Buttons */
.btn {
    display: inline-block;
    background: #004d99;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 20px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #003366;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #eef1f5;
}

h1, h2 {
    color: #004d99;
    text-align: center;
    margin-bottom: 10px;
}

h1 {
    font-size: 3em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
}

.subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* Hero Section Specifics */
.hero {
    background: url('placeholder-ivf-bg.jpg') no-repeat center center/cover; /* CHANGE THIS IMAGE */
    color: #fff;
    text-align: center;
    padding: 150px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Dark overlay for text readability */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05); 
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.4em;
    margin-top: 10px;
    color: #004d99;
}

/* Services Grid */
.services-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.team-member {
    flex: 0 0 calc(33.33% - 20px); 
    max-width: 300px;
}

.team-image {
    width: 150px;
    height: 150px;
    background: #ccc; /* Placeholder image */
    border-radius: 50%;
    margin: 0 auto 15px;
}

.team-member h4 {
    color: #004d99;
    margin-bottom: 5px;
}

.team-member p {
    color: #555;
    font-size: 0.9em;
}


/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form input[type="tel"], 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Noto Sans Lao', sans-serif;
}

.contact-info {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

.contact-info p {
    margin: 5px 0;
}

/* Footer */
footer {
    background: #004d99;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    
    h2 {
        font-size: 2em;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
        padding: 0;
    }

    nav ul li {
        margin: 0 10px;
    }
    
    .team-member {
        flex: 0 0 100%; 
        margin-bottom: 20px;
    }
}
