/* Base Styles */
:root {
  /* Triadic color scheme */
  --primary-color: #4CAF50;
  --secondary-color: #AF4C50;
  --tertiary-color: #4C50AF;
  --light-color: #FFFFFF;
  --dark-color: #222222;
  --text-color: #333333;
  --light-gray: #F5F5F5;
  --mid-gray: #E0E0E0;
  --dark-gray: #888888;
  --accent-color: #FFD700;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
}

.section {
  padding: 5rem 1.5rem;
}

.section-title {
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
}

/* Navbar Styles */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
  margin-top: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.animate-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.2s;
}

.animate-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.4s;
}

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

/* Buttons */
.button {
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-color);
  opacity: 0.9;
}

.pulse-button {
  position: relative;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Mission Section */
.mission-section {
  background-color: var(--light-gray);
}

.mission-content {
  text-align: justify;
}

.value-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio-section {
  background-color: #fff;
}

.product-card {
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.price-tag {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
}

.feature {
  margin-right: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.feature i {
  color: var(--primary-color);
  margin-right: 5px;
}

.request-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--light-gray);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
  margin-top: 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.case-study-card {
  flex: 0 0 calc(33.333% - 40px);
  margin: 0 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-study-card .card-image {
  height: 200px;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.case-study-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

.case-study-card:hover .card-image img {
  transform: scale(1.05);
}

.case-study-card .card-content {
  padding: 20px;
  text-align: center;
}

.results {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--mid-gray);
}

.result-item {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: var(--secondary-color);
}

.prev-button {
  left: 5px;
}

.next-button {
  right: 5px;
}

/* Resources Section */
.resources-section {
  background-color: #fff;
}

.resource-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Community Section */
.community-section {
  background-color: var(--light-gray);
}

.community-stats {
  margin-top: 30px;
  text-align: center;
}

.stat-card {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--text-color);
  display: block;
}

.community-events {
  margin-top: 50px;
}

.event-card {
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.event-date {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.join-community {
  margin-top: 50px;
}

/* Contact Section */
.contact-section {
  background-color: #fff;
}

.contact-image-container {
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.contact-info {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

/* Form Styles */
.field {
  margin-bottom: 20px;
}

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

.input, .textarea, .select select {
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125em rgba(76, 175, 80, 0.25);
}

.submit-button {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-color);
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 1.5rem 2rem;
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-form .input:focus {
  border-color: var(--primary-color);
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal-content {
  border-radius: 10px;
  max-width: 500px;
}

.modal-content .box {
  border-radius: 10px;
  text-align: center;
  padding: 30px;
}

.close-modal {
  margin-top: 20px;
}

/* About Page */
.founder-image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.founder-image-container img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.founder-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  text-align: center;
}

.founder-info h3, .founder-info p {
  color: white;
  margin: 0;
}

.team-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.team-card .card-image {
  height: 300px;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./image/vision-bg.jpg') center center no-repeat;
  background-size: cover;
  opacity: 0.1;
  z-index: -1;
}

/* Contact Page */
.contact-hero {
  height: 400px;
}

.contact-info-box {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-details {
  margin-top: 20px;
}

.contact-details .contact-item {
  margin-bottom: 25px;
}

.contact-details .contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details .contact-item h4 {
  font-weight: bold;
  margin-bottom: 5px;
}

.social-contact {
  margin-top: 30px;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.social-buttons .button {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.social-buttons .button:hover {
  background-color: var(--primary-color);
  color: white;
}

.map-section {
  background-color: var(--light-gray);
}

.map-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.map-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-info h3 {
  margin-bottom: 15px;
}

.faq-section {
  background-color: var(--light-gray);
}

.faq-list {
  margin-top: 30px;
}

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

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

.faq-question h3 {
  margin: 0;
}

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

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

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Legal Pages */
.legal-hero {
  height: 300px;
}

.legal-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.legal-content ul {
  margin-left: 2rem;
}

/* Success Page */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1.5rem;
  background-color: var(--light-gray);
}

.success-content {
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-message {
  margin: 30px 0;
}

.recommended-section {
  background-color: white;
}

/* Image Containers */
.image-container, .card-image {
  overflow: hidden;
  text-align: center;
}

.image-container img, .card-image img {
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .section {
    padding: 3rem 1.5rem;
  }
  
  .case-study-card {
    flex: 0 0 calc(50% - 40px);
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .case-study-card {
    flex: 0 0 calc(100% - 40px);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .map-overlay {
    width: 100%;
    height: auto;
    bottom: 0;
    top: auto;
  }
  
  .success-content {
    padding: 30px;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.card, .stat-card, .event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .stat-card:hover, .event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Particle Animation for Hero Section */
.particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* For dark mode compatibility */
@media (prefers-color-scheme: dark) {
  :root {
    --light-gray: #222222;
    --text-color: #FFFFFF;
    --dark-color: #111111;
  }
  
  body {
    background-color: var(--dark-color);
  }
  
  .card, .stat-card, .event-card, .success-content {
    background-color: #333333;
    color: white;
  }
  
  .card h3, .card h4, .stat-card h3, .event-card h3, .success-content h1, .success-content h2 {
    color: white;
  }
  
  .faq-question, .faq-item {
    background-color: #333333;
  }
  
  .faq-question h3 {
    color: white;
  }
  
  .contact-info-box, .map-overlay {
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
  }
  
  .map-info h3 {
    color: white;
  }
  
  .input, .textarea, .select select {
    background-color: #444444;
    color: white;
    border-color: #555555;
  }
  
  .input::placeholder, .textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
}
p{
      color: #bbb9b9;
}