/* === Base Styles === */
:root {
  --primary-orange: #F7931E;
  --light-gray: #f5f5f5;
  --dark-gray: #4a4a4a;
  --text-color: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.8rem;
  color: var(--dark-gray);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* === Layout === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background-color: #fff;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--primary-orange);
  padding: 5px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.8rem;
  margin-left: 15px;
  color: var(--dark-gray);
}

.menu ul {
  list-style: none;
  padding: 0;
}

.menu li {
  margin-bottom: 15px;
}

.menu a {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  color: var(--text-color);
  transition: all 0.3s ease;
  background: transparent;
  font-weight: 600;
}

.menu a:hover, .menu li.active a {
  background-color: rgba(247, 147, 30, 0.1); /* light tint */
  color: var(--primary-orange);
}

.menu a i {
  margin-right: 10px;
  width: 25px;
  text-align: center;
}

/* CTA Button */
.cta-container {
  margin-top: auto;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 15px 20px;
  width: 100%;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

.cta-subtitle {
  font-size: 0.9rem;
  color: var(--primary-orange);
  font-weight: 600;
}

/* Content */
.content-wrapper {
  margin-left: 250px;
  padding: 40px;
  min-height: 100vh;
  background-color: #fff;
}

/* Responsive Header */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--primary-orange);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

/* Grid & Cards */
.grid-container {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
  background-color: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.light-gray-bg {
  background-color: var(--light-gray);
}

/* Lists in Cards */
ul li::before {
  content: "•";
  color: var(--primary-orange);
  font-weight: bold;
  margin-right: 8px;
}

.card ul {
  padding-left: 20px;
}

/* Quote Block */
.quote-block {
  background-color: var(--primary-orange);
  color: white;
  text-align: center;
  position: relative;
}

.quote-block blockquote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
}

.quote-block::before {
  content: '" “ ';
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
  position: absolute;
  top: -20px;
  left: -15px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background-color: white;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: scale(1.03);
  background-color: #fffdf5;
}

/* === Sections Visibility === */
.page-section {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Specialists & Reviews === */
.specialists-grid, .reviews-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.specialist-card {
  text-align: center;
}

.specialist-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 4px solid var(--primary-orange);
}

.specialty {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.review-card {
  padding: 20px;
  background-color: #fff;
  border-left: 4px solid var(--primary-orange);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.review-card .fas.fa-star {
  color: gold;
}

/* === Contacts & Forms === */
.contact-block {
  max-width: 800px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

/* === Responsive Media Queries === */
@media (max-width: 992px) {
  .sidebar { width: 70px; padding-top: 40px; }
  .brand-name, .logo-img { display: none; }
  .menu li a span, .cta-subtitle, .btn-primary span { display: none; }
  .menu li a i { margin-right: 0; text-align: center; width: auto; font-size: 1.4rem; }
  
  /* Center menu on small screens */
  .menu ul {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 30px;
  }

  .logo-container { justify-content: center; }
}

@media (max-width: 768px) {
  body { margin-left: 0; }
  
  .sidebar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    top: auto;
    flex-direction: row;
    padding: 10px;
    justify-content: space-between;
    border-top: 2px solid #f0f0f0;
    z-index: 2000;
  }
  
  .logo-container, .menu { display: none; } /* Hide main menu on phone */
  .cta-container { margin-left: 15px; }

  .btn-primary {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 24px;
  }
  
  .grid-container, .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { font-size: 2rem; }
}

/* Mobile Top Bar (for navigation on phones) */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  background-color: var(--primary-orange);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: flex; }
  
  .sidebar.open {
    width: 100vw !important;
    height: auto;
    top: 0;
    left: 0;
    bottom: auto;
    flex-direction: column;
  }

  .menu { display: block; margin-top: 30px; }
}
