/* Hero Section Styles */
.hero-section {
  position: relative;
  color: white;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

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

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Page Navigation */
.page-navigation {
  position: sticky;
  top: 0;
  background-color: #1a3755;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navigation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navigation-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation-links li {
  margin: 0;
}

.navigation-links a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.navigation-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.navigation-links li.active a {
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-button {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s;
  margin: 10px;
  font-weight: bold;
}

.cta-button:hover {
  background-color: #2980b9;
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Calculator Options Section */
.calculator-options {
  margin-top: 60px;
  padding: 0 20px 60px;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
  color: #333;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.mode-switcher-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.mode-switcher-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mode-switcher {
  display: flex;
  flex-direction: column;
}

.mode-tabs {
  display: flex;
  position: relative;
  background-color: #f5f5f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mode-tab {
  flex: 1;
  text-align: center;
  padding: 22px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
  color: #666;
  z-index: 1;
  overflow: hidden;
}

.mode-tab i {
  font-size: 1.5rem;
  margin-right: 8px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.mode-tab span {
  vertical-align: middle;
  position: relative;
  transition: transform 0.3s ease;
}

.mode-tab.active {
  color: white;
}

.mode-tab:hover:not(.active) {
  background-color: rgba(0, 0, 0, 0.02);
}

.mode-tab:hover i {
  transform: translateY(-3px);
}

.tab-indicator {
  position: absolute;
  height: 100%;
  width: 33.33%;
  background-color: #3498db;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mode-tab:nth-child(2).active ~ .tab-indicator {
  left: 33.33%;
  background-color: #3498db;
}

.mode-tab:nth-child(3).active ~ .tab-indicator {
  left: 66.66%;
  background-color: #3498db;
}

.mode-content-container {
  position: relative;
  overflow: hidden;
}

.mode-content {
  display: none;
  padding: 30px;
  animation: fadeIn 0.5s ease;
}

.mode-content.active {
  display: flex;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mode-header {
  width: 100%;
  margin-bottom: 20px;
}

.mode-header h3 {
  font-size: 1.8rem;
  margin: 0 0 5px 0;
  color: #333;
}

.mode-header p {
  font-size: 1.1rem;
  margin: 0;
  color: #666;
}

.mode-description {
  width: 60%;
  padding-right: 30px;
}

.mode-image {
  width: 40%;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  position: relative;
}

.mode-image:hover {
  transform: scale(1.02);
}

.mode-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
  position: relative;
}

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

.mode-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  pointer-events: none;
  z-index: 1;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

/* PREVIEW label */
.mode-image::before {
  content: 'PREVIEW';
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(52, 152, 219, 0.85);
  color: white;
  padding: 5px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 1px;
}

.mode-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.mode-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.mode-features li:hover {
  transform: translateX(5px);
}

.mode-features li i {
  color: #27ae60;
  margin-right: 10px;
}

.mode-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mode-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: -1;
}

.mode-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mode-button.assistive {
  background-color: #3498db;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.mode-button.assistive:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(52, 152, 219, 0.5);
}

.mode-button.standard {
  background-color: #3498db;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.mode-button.standard:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(52, 152, 219, 0.5);
}

.mode-button.advanced {
  background-color: #3498db;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.mode-button.advanced:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(52, 152, 219, 0.5);
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  background-color: white;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  width: 320px;
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.feature-description {
  color: #666;
  line-height: 1.5;
}

/* About SEMS Section */
.about-sems {
  padding: 80px 20px;
  background-color: #1a3755;
  color: white;
}

.about-sems-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-sems-content {
  flex: 1;
  min-width: 300px;
}

.about-sems-image {
  flex: 1;
  min-width: 300px;
}

.about-sems-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-sems h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.about-sems p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-list i {
  color: #27ae60;
  margin-right: 15px;
  font-size: 1.2rem;
}

/* SEMS Details Section */
.section {
  margin-bottom: 60px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section .section-title {
  color: #1a3755;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

/* Triangle Setup for How SEMS Works */
.triangle-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.triangle-item {
  width: 300px;
  margin: 0 15px 30px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.triangle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.triangle-icon {
  font-size: 1.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.triangle-content h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.triangle-content p {
  color: #666;
  line-height: 1.5;
}

/* Two Column Layout */
.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.column {
  flex: 1;
  min-width: 300px;
}

.content-column {
  padding: 20px;
}

.image-column img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.details-list {
  list-style: none;
  padding: 0;
}

.details-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.details-list i {
  color: #3498db;
  margin-right: 20px;
  flex-shrink: 0;
}

.detail-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.detail-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* NOVA Platform Section */
.nova-section {
  padding: 80px 20px;
  background-color: #1a3755;
  color: white;
}

.nova-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nova-section .section-title,
.nova-section .section-description {
  color: white;
}

.nova-section .detail-content h3 {
  color: white;
}

.nova-section .detail-content p {
  color: #ddd;
}

.nova-section .details-list i {
  color: #f1c40f;
  width: 32px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

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

.faq-item {
  margin-bottom: 20px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #f3f3f3;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.toggle-icon {
  transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

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

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 20px;
  background-color: rgba(30, 30, 35, 0.7);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px);
  z-index: 0;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Animation Classes */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navigation-container{
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    padding: 80px 20px;
  }

  .calculator-options,
  .features-section,
  .about-sems,
  .section,
  .nova-section,
  .faq-section,
  .cta-section {
    padding: 50px 20px;
  }

  .mode-content {
    padding: 25px 20px;
  }

  .mode-switcher-container {
    margin: 0 10px;
  }

  .faq-container,
  .about-sems-container,
  .nova-container {
    padding: 0 10px;
  }

  .navigation-links {
    flex-wrap: wrap;
  }
  
  .navigation-links a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .mode-content.active {
    flex-direction: column;
  }
  
  .mode-description,
  .mode-image {
    width: 100%;
  }
  
  .mode-description {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .triangle-container {
    flex-direction: column;
    align-items: center;
  }
  
  .triangle-item {
    width: 100%;
    max-width: 300px;
    margin: 15px 0;
  }
  
  .about-sems-container, 
  .two-columns {
    flex-direction: column;
  }

  .about-sems-image,
  .image-column {
    order: -1;
  }

  .feature-item {
    width: 100%;
    max-width: 320px;
  }

  .cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .cta-description {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-background{
    top: 23%;
    height: 80%;
  }

  .cta-section {
    background-attachment: scroll;
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-section {
    padding: 60px 15px;
  }

  .calculator-options,
  .features-section,
  .about-sems,
  .section,
  .nova-section,
  .faq-section,
  .cta-section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .section-description {
    margin-bottom: 25px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  .mode-content {
    padding: 20px 15px;
  }

  .mode-header {
    margin-bottom: 15px;
  }

  .mode-header h3 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .mode-button {
    padding: 12px 25px;
  }
  
  .navigation-links a {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  
  .mode-tab i {
    margin-right: 0;
    font-size: 1.2rem;
  }
  
  .mode-tab span {
    display: none;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
} 