@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1c2338;
  --secondary-color: #a3705c;
  --text-color: #615f5c;
  --light-color: #f4f3f2;
  --dark-color: #0d0e12;
  --accent-color: #87bfd3;
  --gray-color: #7d7d7e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 450px;
  width: 100%;
  background-color: white;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  position: relative;
}

.banner {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile {
  text-align: center;
  position: relative;
  margin-top: -60px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
}

.profile-name {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
}

.profile-title {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--light-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
}

.social-icon img {
  width: 16px;
  height: 16px;
}

.bio {
  padding: 0 30px;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 14px;
}

.section {
  padding: 30px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-icon {
  width: 24px;
  height: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
}

.section-content {
  margin-top: 20px;
}

.welcome-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.welcome-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style-type: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 14px;
}

.service-card {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.service-icon {
  width: 50px;
  height: 50px;
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.service-text {
  font-size: 14px;
  line-height: 1.5;
}

.cases-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.case-item {
  position: relative;
  min-width: 150px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
  opacity: 1;
}

.appointment-form {
  margin-top: 20px;
}

.input-group {
  margin-bottom: 15px;
}

.input-label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.input-field {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.input-icon {
  position: relative;
}

.input-icon input {
  padding-left: 40px;
}

.input-icon img {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background-color: #8a5f4e;
}

.testimonial-card {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
}

.testimonial-info p {
  font-size: 12px;
  color: var(--gray-color);
}

.blog-card {
  margin-top: 20px;
}

.blog-img-container {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-color);
}

.blog-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

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

.blog-link img {
  width: 14px;
  height: 14px;
}

.contact-group {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 20px;
  height: 20px;
}

.contact-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.contact-content a, .contact-content p {
  font-size: 14px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
}

.working-hours {
  margin-top: 10px;
}

.working-day {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 14px;
}

.map-container {
  height: 200px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background-color: var(--light-color);
  padding: 15px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-color);
  margin-top: 30px;
}

.footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

.inquiry-form {
  margin-top: 20px;
}

.inquiry-form textarea {
  resize: none;
  height: 120px;
}

.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.language-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 180px;
  padding: 10px;
  display: none;
}

.language-selector:hover .language-dropdown {
  display: block;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.language-item:hover {
  background-color: var(--light-color);
}

.language-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
}

.action-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  transform: translateY(-5px);
}

.contact-btn {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  padding: 0 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contact-btn.active {
  width: 160px;
}

.contact-btn-icon {
  width: 20px;
  height: 20px;
}

.contact-btn-text {
  font-size: 14px;
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-btn.active .contact-btn-text {
  opacity: 1;
}

@media (max-width: 480px) {
  .container {
    border-radius: 0;
  }

  .section {
    padding: 20px;
  }

  .bio {
    padding: 0 20px;
  }
}
