/* Modern CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-color: #2d3748;
  --secondary-color: #4a5568;
  --accent-color: #63b3ed;
  --light-accent: #bee3f8;
  --background-light: #f7fafc;
  --background-white: #ffffff;
  --text-dark: #1a202c;
  --text-medium: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 5rem;
  --section-padding-mobile: 3rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Title Section */
.title-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 182, 193, 0.3) 0%,
    rgba(255, 218, 185, 0.3) 14%,
    rgba(255, 255, 186, 0.3) 28%,
    rgba(186, 255, 201, 0.3) 42%,
    rgba(186, 225, 255, 0.3) 56%,
    rgba(221, 186, 255, 0.3) 70%,
    rgba(255, 186, 255, 0.3) 84%,
    rgba(255, 182, 193, 0.3) 100%
  );
  overflow: hidden;
}

.title-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    -45deg,
    rgba(255, 182, 193, 0.2),
    rgba(255, 218, 185, 0.2),
    rgba(255, 255, 186, 0.2),
    rgba(186, 255, 201, 0.2),
    rgba(186, 225, 255, 0.2),
    rgba(221, 186, 255, 0.2),
    rgba(255, 186, 255, 0.2)
  );
  background-size: 400% 400%;
  animation: rainbowShift 15s ease infinite;
}

@keyframes rainbowShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.floating-shapes {
  display: none;
}

.title-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.main-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line-1 {
  display: block;
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.title-line-2 {
  display: block;
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.title-credential {
  display: block;
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.title-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 179, 237, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 179, 237, 0.4);
}

/* About Section */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--background-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-title.centered {
  text-align: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.credentials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.credential-item {
  text-align: center;
}

.credential-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--font-display);
}

.credential-text {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-image {
  display: flex;
  justify-content: center;
}

.professional-photo {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.professional-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
  width: 300px;
  height: 400px;
  background: linear-gradient(135deg, var(--light-accent), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-overlay {
  background: rgba(45, 55, 72, 0.8);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
}

/* Services Section */
.services-section {
  padding: var(--section-padding) 0;
  background: var(--background-light);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--background-white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.service-icon {
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
}

.service-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-description {
  color: var(--text-medium);
  line-height: 1.6;
}

/* FAQ Section Styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f56565 100%);
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.faq-question:hover {
  background: linear-gradient(135deg, #4299e1 0%, #ed64a6 100%);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: white;
}

.faq-answer-content {
  padding: 1.5rem;
  color: #4a5568;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 1rem 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

.faq-answer li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 1.25rem;
  }

  .faq-toggle {
    font-size: 1.25rem;
  }
}

/* Contact Form Styling */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--background-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-medium);
}

.contact-form {
  background: var(--background-light);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.external-profile {
  text-align: center;
}

.external-profile h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.profile-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.profile-button {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 179, 237, 0.3);
}

.profile-button:hover {
  background: #4299e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 179, 237, 0.4);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-button {
  width: 100%;
  background: var(--accent-color);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: #4299e1;
  transform: translateY(-1px);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .container {
    padding: 0 1.5rem;
  }

  .title-line-1,
  .title-line-2 {
    font-size: 2.5rem;
  }

  .title-credential {
    font-size: 1.5rem;
  }

  .title-subtitle {
    font-size: 1.1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .credentials {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .professional-photo {
    width: 250px;
    height: 320px;
  }

  .image-placeholder {
    width: 250px;
    height: 320px;
  }
}

@media (max-width: 480px) {
  .title-line-1,
  .title-line-2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
