/* Page-specific and Theme Styles */

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

/* Hero Sections */
.hero-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(0, 102, 71, 0.9), rgba(0, 77, 53, 0.95)), url('images/hero1-modern-office-technology_orig.jpg') center/cover;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-content h1 {
  color: white;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .lead-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Stats Section */
.stats-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item {
  animation: fadeInUp 1s ease both;
}

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

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card-item {
  animation: fadeInUp 1s ease both;
}

.service-card-item:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card-item:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card-item:nth-child(4) {
  animation-delay: 0.3s;
}

/* Investment Strategies */
.investment-strategies {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.strategy-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

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

.strategy-title {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.strategy-return {
  background: var(--accent);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 16px;
}

/* About Section */
.about-section {
  background: var(--bg-primary);
}

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

.about-text {
  animation: fadeInLeft 1s ease both;
}

.about-image {
  animation: fadeInRight 1s ease both;
}

.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* Team Section */
.team-section {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-member-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-secondary);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.member-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.member-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.contact-info h4 {
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border: none;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 0 24px 24px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-secondary);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

/* Calculator Section */
.calculator-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

.calculator-wrapper {
  max-width: 600px;
  margin: 48px auto 0;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-result {
  background: var(--primary);
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-top: 24px;
}

.calc-result h4 {
  color: white;
  margin-bottom: 8px;
}

.calc-amount {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

/* Value Ticker */
.value-ticker {
  background: var(--primary);
  color: white;
  padding: 12px 0;
  text-align: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.ticker-content {
  animation: scroll-left 30s linear infinite;
}

/* Portfolio Comparison Table */
.portfolio-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 48px 0;
}

.portfolio-table table {
  width: 100%;
  border-collapse: collapse;
}

.portfolio-table th,
.portfolio-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-primary);
}

.portfolio-table .highlight {
  background: var(--primary);
  color: white;
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.client-testimonial {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .strategy-cards,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .calculator-wrapper {
    margin: 32px auto 0;
    padding: 24px;
  }
  
  .portfolio-table {
    font-size: 0.9rem;
  }
  
  .portfolio-table th,
  .portfolio-table td {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .services-grid,
  .strategy-cards,
  .team-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper,
  .calculator-wrapper {
    padding: 20px;
  }
}