/* Main Content Offset */
.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: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: linear-gradient(135deg, rgba(24, 188, 156, 0.1), rgba(44, 62, 80, 0.1));
  border-radius: 50%;
  transform: rotate(-15deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panorama-visualizer {
  width: 400px;
  height: 300px;
  position: relative;
}

.panorama-landscape {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  box-shadow: 
    -10px -10px 25px rgba(255, 255, 255, 0.8),
    10px 10px 25px rgba(0, 0, 0, 0.1);
}

.landscape-element {
  position: absolute;
  padding: 8px 12px;
  background: rgba(24, 188, 156, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(24, 188, 156, 0.3);
  animation: float 3s ease-in-out infinite;
}

.landscape-element:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.landscape-element:nth-child(2) {
  top: 40%;
  right: 20%;
  animation-delay: -1s;
}

.landscape-element:nth-child(3) {
  bottom: 30%;
  left: 25%;
  animation-delay: -2s;
}

.landscape-element:nth-child(4) {
  bottom: 15%;
  right: 15%;
  animation-delay: -1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
}

.about-text-content h2 {
  margin-bottom: 1.5rem;
}

.about-text-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    -12px -12px 30px rgba(255, 255, 255, 0.8),
    12px 12px 30px rgba(0, 0, 0, 0.15);
}

.about-image-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

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

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

.service-preview-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.9),
    8px 8px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.service-preview-card:hover {
  transform: translateY(-8px) perspective(1000px) rotateX(5deg);
  box-shadow: 
    -12px -12px 30px rgba(255, 255, 255, 0.9),
    12px 12px 30px rgba(0, 0, 0, 0.2);
}

.service-card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.8),
    3px 3px 8px rgba(0, 0, 0, 0.1);
}

/* Methodology Timeline */
.methodology-timeline-section {
  background: var(--bg-primary);
  overflow: hidden;
}

.methodology-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-track {
  position: relative;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  margin: 2rem 0;
  box-shadow: 
    inset -2px -2px 4px rgba(255, 255, 255, 0.8),
    inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
  width: 0%;
  transition: width 0.8s ease;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  margin: 0 auto -10px;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.8),
    3px 3px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item.active .timeline-dot,
.timeline-item:hover .timeline-dot {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.9),
    4px 4px 10px rgba(0, 0, 0, 0.15);
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 
    -6px -6px 16px rgba(255, 255, 255, 0.8),
    6px 6px 16px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.timeline-item.active .timeline-content {
  opacity: 1;
  transform: scale(1);
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.9),
    8px 8px 20px rgba(0, 0, 0, 0.15);
}

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

.timeline-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Resource Filter */
.resource-filter-section {
  background: var(--bg-secondary);
}

.resource-filter-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-button {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.8),
    4px 4px 10px rgba(0, 0, 0, 0.1);
}

.filter-button:hover,
.filter-button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 
    -6px -6px 16px rgba(255, 255, 255, 0.9),
    6px 6px 16px rgba(0, 0, 0, 0.15);
}

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

.resource-item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 
    -6px -6px 16px rgba(255, 255, 255, 0.8),
    6px 6px 16px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 1;
  transform: scale(1);
}

.resource-item.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.resource-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.9),
    8px 8px 20px rgba(0, 0, 0, 0.15);
}

.resource-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.resource-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.resource-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Form Sections */
.contact-section {
  background: var(--bg-primary);
}

.contact-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-content h3 {
  margin-bottom: 1rem;
}

.contact-details-list {
  list-style: none;
  margin: 2rem 0;
}

.contact-details-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.8),
    4px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-details-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.contact-details-text {
  font-weight: 500;
  color: var(--primary);
}

/* Team Member Cards */
.team-member-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 
    -10px -10px 25px rgba(255, 255, 255, 0.8),
    10px 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-member-card:hover {
  transform: translateY(-8px) perspective(1000px) rotateY(5deg);
  box-shadow: 
    -15px -15px 35px rgba(255, 255, 255, 0.9),
    15px 15px 35px rgba(0, 0, 0, 0.2);
}

.team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.8),
    8px 8px 20px rgba(0, 0, 0, 0.1);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-member-title {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-member-bio {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.8),
    8px 8px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    -12px -12px 30px rgba(255, 255, 255, 0.9),
    12px 12px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 
    -6px -6px 16px rgba(255, 255, 255, 0.8),
    6px 6px 16px rgba(0, 0, 0, 0.1);
}

.value-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
}

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

.value-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 70%;
  height: 200%;
  background: linear-gradient(45deg, rgba(24, 188, 156, 0.1), transparent);
  border-radius: 50%;
  transform: rotate(15deg);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal Page Styles */
.legal-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 
    -8px -8px 20px rgba(255, 255, 255, 0.8),
    8px 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.legal-section h2 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Responsive Site Styles */
@media (max-width: 1024px) {
  .about-content-wrapper,
  .contact-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .panorama-visualizer {
    width: 300px;
    height: 225px;
  }
  
  .timeline-items {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .timeline-item {
    flex: 1 1 300px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 70px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .panorama-visualizer {
    width: 280px;
    height: 200px;
    margin-top: 2rem;
  }
  
  .services-preview-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  
  .resource-filter-controls {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .filter-button {
    flex-shrink: 0;
  }
  
  .timeline-items {
    flex-direction: column;
  }
  
  .timeline-track {
    display: none;
  }
  
  .team-member-image {
    width: 120px;
    height: 120px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
  
  .legal-page-content {
    padding: 1rem 0;
  }
  
  .legal-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .service-card-item,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .panorama-visualizer {
    width: 250px;
    height: 180px;
  }
  
  .landscape-element {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}