/* General Reset */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* General Styles */
body {
    font-family: Arial bold, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* White */
    color: #0074e1; /* Green color */
}

header {
    background-color: #c5dbf1; /* Pale blue */
    color: #003366; /* Darker blue for contrast */
    padding: 20px;
    text-align: center;
    width: 100%; /* Ensure header spans full width */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

header h1 {
    margin: 0;
    font-size: 5.0rem;
    text-align: right;
    padding-right: 30px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #003366;
    text-decoration: none;
    margin: 0 10px;
}

nav a.language-switch {
    font-weight: bold;
}

section {
    padding: 20px;
    width: 100%; /* Ensure sections span full width */
}

.content {
    max-width: 1200px; /* Adjusted for better spacing */
    margin: 0 auto;
    padding: 0 20px;
}

.about-container {
    display: flex;             /* Horizontal layout */
    align-items: flex-start;   /* Align top of image and text */
    gap: 20px;                 /* Space between image and text */
    margin-top: 20px;
}

.profile-photo {
    width: 580px;
    height: auto;
    border-radius: 50%;
    margin: 0;
}

.profile-info {
    flex: 1;                   /* Allow text to fill remaining space */
}

.clinic-photos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.clinic-photos-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.clinic-photos-2 img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
}

.clinic-photos img {
    width: 45%;
    height: auto;
    border-radius: 100px;
}

.email-link {
    color: #2E8B57;
    text-decoration: none;
    font-weight: bold;
}

footer {
    background-color: #c5dbf1; /* Pale blue */
    color: #003366;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 110%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Me Section */
#about {
    font-size: 130%; /* Increase font size by 30% */
    line-height: 1.5; /* Increase line spacing by 50% */
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.contact-left, .contact-right {
    flex: 1;
}

.company-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.map-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #2E8B57;
    text-decoration: none;
    font-weight: bold;
}

.map-link:hover {
    text-decoration: underline;
}

.address, .working-hours {
    margin-bottom: 20px;
}

.address p, .working-hours p {
    margin: 5px 0;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #0074e1;
    border-radius: 5px;
}

form button {
    background-color: #0074e1;
    color: #F5F5DC;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #F79E02;
}

#form-success {
    color: #F79E02;
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
    text-align: center;
    padding-right: 0;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    width: 70%;
    max-width: 300px;
    margin-bottom: 20px;
  }

  .clinic-photos, .clinic-photos-2 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .clinic-photos img, .clinic-photos-2 img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content {
    padding: 0 10px;
  }
}
