/* ---------------------------
   HERO SECTION
--------------------------- */
.hero {
  height: 100vh;
  min-height: 700px;
  background-image: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px; /* offset for navbar */
}

.hero-content {
  text-align: center;
  color: var(--text-white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  color: var(--text-white);
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeInUp 1s ease;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

/* Hero Search Bar */
.hero-search {
  background: var(--bg-color-alt);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.search-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.search-tab {
  padding: 8px 16px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -17px;
}

.search-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 16px;
  align-items: end;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-color);
  outline: none;
}

@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .btn { grid-column: span 2; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2.5rem; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .btn { grid-column: 1; }
}

/* ---------------------------
   ABOUT SECTION
--------------------------- */
.about-section {
  background-color: var(--bg-color-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 4px solid var(--bg-color-alt);
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.about-content .section-title {
  text-align: left;
}

.about-features {
  margin-top: var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.about-feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 4px;
}

.feature-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .experience-badge { right: 20px; }
}

/* ---------------------------
   STATS SECTION
--------------------------- */
.stats-section {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: var(--spacing-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: var(--spacing-lg);
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------
   TESTIMONIALS
--------------------------- */
.testimonials {
  background-color: var(--bg-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--bg-color-alt);
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--accent-color);
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-light);
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.client-details h4 {
  margin-bottom: 4px;
}

.client-details p {
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------------------------
   CONTACT SECTION
--------------------------- */
.contact-section {
  background-color: var(--bg-color-alt);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  background-color: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-container {
  padding: var(--spacing-xl);
}

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

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  min-height: 400px;
  background-color: #e5e5e5;
  position: relative;
}

.map-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-light);
  gap: 16px;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* Utilities / Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
