@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
  --color-primary: #9CB4A1;
  --color-primary-dark: #8BA890;
  --color-accent: #F2A65A;
  --color-accent-hover: #E09549;
  --color-bg: #F9F6F0;
  --color-text: #4A4A4A;
  --color-white: #FFFFFF;
  
  --font-main: 'Zen Maru Gothic', sans-serif;
  --border-radius-card: 30px;
  --border-radius-btn: 50px;
  --shadow-soft: 0 10px 25px rgba(156, 180, 161, 0.15);
  --shadow-hover: 0 15px 35px rgba(156, 180, 161, 0.25);
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Typography */
.section-title {
  text-align: center;
  color: var(--color-primary-dark);
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 15px 40px;
  border: none;
  border-radius: var(--border-radius-btn);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 10px rgba(242, 166, 90, 0.3);
}

.btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 166, 90, 0.4);
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 2px dashed rgba(156, 180, 161, 0.5);
  transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Header */
header {
  background-color: var(--color-white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.mobile-menu-toggle {
  display: none;
}

.nav-links a {
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-contact-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 25px;
  border-radius: var(--border-radius-btn);
  font-weight: 500;
  transition: all var(--transition-speed);
}

.nav-contact-btn:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Layout Utils */
.section-padding {
  padding: 100px 0;
}
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 140px;
  overflow: hidden;
}
.wave-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.hero-inner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 10;
}
.hero-text {
  flex: 1.6;
  text-align: left;
}
.hero-illustration {
  flex: 0.8;
  max-width: 450px;
  display: flex;
  justify-content: center;
}
.floating-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.hero h1 {
  margin-bottom: 25px;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.05);
  line-height: 1.3;
}
.hero h1 .h1-sub {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
}
.hero h1 .h1-main {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 30px;
}
.wave-bottom {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 80px;
  line-height: 0;
}
.wave-bottom svg {
  width: 100%; height: 100%;
  display: block;
}

/* Services (Option 3: Modern Overlap) */
.overlap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px 30px;
  margin-top: 60px;
}
.overlap-card {
  position: relative;
  background: var(--color-white);
  padding: 60px 30px 40px;
  border-radius: 40px 15px 40px 15px;
  box-shadow: 0 20px 40px rgba(156, 180, 161, 0.1);
  border: 1px solid rgba(156, 180, 161, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
}
.overlap-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(156, 180, 161, 0.2);
  border-color: var(--color-accent);
}
.floating-icon {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background: var(--color-accent);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(242, 166, 90, 0.3);
  transform: rotate(-8deg);
  transition: all 0.4s ease;
}
.overlap-card:hover .floating-icon {
  transform: rotate(0deg) scale(1.1);
  background: var(--color-primary);
  box-shadow: 0 10px 20px rgba(156, 180, 161, 0.4);
}
.overlap-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--color-primary-dark);
  font-weight: 700;
}
.overlap-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  opacity: 0.9;
}


/* About */
.about {
  background-color: var(--color-white);
}
.about-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.about-image {
  flex: 1;
  text-align: center;
}
.physician-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--color-white);
  object-fit: cover;
  transition: transform var(--transition-speed);
}
.physician-img:hover {
  transform: translateY(-5px);
}
.about-content {
  flex: 1.2;
}

/* Flow & Contact */
.flow-contact {
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  padding-top: 120px;
}
.wave-top-contact {
  position: absolute;
  top: -1px; left: 0; width: 100%; height: 80px;
  line-height: 0;
}
.wave-top-contact svg {
  width: 100%; height: 100%;
  display: block;
}
.flow-contact .section-title {
  color: var(--color-white);
}
.flow-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}
.step {
  flex: 1;
  background: rgba(255,255,255,0.1);
  padding: 40px 30px;
  border-radius: var(--border-radius-card);
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}
.step-num {
  width: 60px; height: 60px;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(242, 166, 90, 0.4);
}
.contact-box {
  background-color: var(--color-white);
  color: var(--color-text);
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--border-radius-card);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-hover);
}
.contact-box h3 {
  color: var(--color-primary-dark);
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
  margin-top: 30px;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.required {
  background-color: #e74c3c;
  color: white;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.optional {
  background-color: #9CB4A1; /* Matches primary color */
  color: white;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(156, 180, 161, 0.5);
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit .btn {
  width: 100%;
  max-width: 300px;
}

/* Footer */
footer {
  background-color: var(--color-bg);
  padding: 60px 0 40px;
  text-align: center;
  color: var(--color-primary-dark);
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Animation Utils */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Column Section */
.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.column-card {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.column-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.column-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.column-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.column-card:hover .column-img img {
  transform: scale(1.05);
}

.column-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.column-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.column-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 15px;
  line-height: 1.4;
}

.column-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: 0.8;
}

.column-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-speed);
}

.column-link:hover {
  color: var(--color-accent);
}

.column-link svg {
  transition: transform var(--transition-speed);
}

.column-link:hover svg {
  transform: translateX(5px);
}

/* Article Page Specific */
.article-header {
  padding: 80px 0 60px;
  text-align: center;
  background-color: var(--color-white);
}

.article-meta {
  margin-bottom: 20px;
  color: var(--color-primary-dark);
  font-weight: 500;
}

.article-title {
  font-size: 2.5rem;
  color: var(--color-primary-dark);
  max-width: 800px;
  margin: 0 auto 30px;
}

.article-main-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: var(--border-radius-card);
  margin: 0 auto 60px;
  display: block;
  box-shadow: var(--shadow-soft);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
}

.article-body h2 {
  color: var(--color-primary-dark);
  margin: 50px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg);
}

.article-body h3 {
  color: var(--color-text);
  margin: 30px 0 15px;
}

.article-body p {
  margin-bottom: 25px;
}

.article-footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--color-bg);
}

/* Responsive Column */
@media (max-width: 768px) {
  .article-title { font-size: 1.8rem; }
  .article-body { font-size: 1rem; }
}

/* Footer Domain */
.footer-domain {
  color: var(--color-primary);
  font-weight: 700;
}
