/* Main Content Spacing */
.main-content {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Sections */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 74, 0.8), rgba(26, 42, 74, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, white, #f1c40f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(230, 126, 34, 0.05), transparent);
  transform: rotate(-45deg);
  transition: transform 0.5s ease;
}

.feature-item:hover::before {
  transform: rotate(-45deg) translate(50%, 50%);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #f39c12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.feature-description {
  position: relative;
  z-index: 2;
}

/* About Section */
.about-section {
  background: white;
}

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

.about-text h2 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Grid */
.services-section {
  background: var(--bg-secondary);
}

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

/* Testimonials */
.testimonials-section {
  background: white;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent);
  font-family: Georgia, serif;
  opacity: 0.3;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.testimonial-author-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Stats Section */
.stats-section {
  background: var(--primary);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 5rem 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 74, 0.9), rgba(230, 126, 34, 0.8));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Process Section */
.process-section {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #f39c12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Contact Page Specific */
.contact-info-section {
  background: var(--bg-secondary);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #f39c12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f39c12);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: -2s;
}

.floating-shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 70%;
  right: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step::after {
    display: none;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-top: 70px;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .service-card-item,
  .team-member-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}