/* Base Styles */
:root {
  --primary-color: #7da3a1;
  --secondary-color: #d1b3c4;
  --accent-color: #f0b67f;
  --light-color: #f5e6e8;
  --dark-color: #333333;
  --header-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--body-font);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
  padding-top: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  color: var(--dark-color);
}

a {
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.button {
  transition: var(--transition);
  border-radius: 4px;
}

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

.button.is-primary:hover {
  background-color: #6a908e;
}

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

.button.is-light:hover {
  background-color: #e5d6d8;
}

/* Header Styles */
.header {
  padding: 1rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-item {
  font-weight: 600;
}

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

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

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

.hero .title, 
.hero .subtitle {
  color: white;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* About Section */
.about-section {
  padding: 5rem 1.5rem;
}

.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  text-align: center;
}

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

.card-content {
  padding: 1.5rem;
  text-align: center;
}

/* Statistics Section */
.statistics-section {
  padding: 5rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  color: white;
  height: 100%;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-family: var(--header-font);
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.stat-desc {
  font-size: 0.9rem;
}

/* Courses Section */
.courses-section {
  padding: 5rem 1.5rem;
}

/* Resources Section */
.resources-section {
  padding: 5rem 1.5rem;
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 1.5rem;
}

.tags {
  margin-top: 1rem;
}

.tag {
  border-radius: 30px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Behind the Scenes Section */
.behind-scenes {
  padding: 5rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.process-steps {
  margin-top: 3rem;
}

.step {
  display: flex;
  margin-bottom: 3rem;
  align-items: center;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

/* FAQ Section */
.faq-section, .faq-mini-section {
  padding: 5rem 1.5rem;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question h3 {
  margin: 0;
}

.icon-toggle {
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

/* Contact Section */
.contact-section {
  padding: 5rem 1.5rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-form-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styles */
.contact-info-section {
  padding: 5rem 1.5rem;
}

.info-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.info-icon {
  margin-bottom: 1.5rem;
  text-align: center;
}

.info-icon img {
  width: 60px;
  height: auto;
  margin: 0 auto;
}

.contact-form-section form {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
}

.map-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 450px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  color: white;
  max-width: 300px;
}

/* About Page Styles */
.our-story-section, .team-section, .methodology-section, .testimonials-section, .partners-section {
  padding: 5rem 1.5rem;
}

.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card .card-image {
  width: 100%;
  text-align: center;
}

.team-card img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.methodology-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.methodology-icon {
  margin-bottom: 1rem;
  text-align: center;
}

.methodology-icon img {
  width: 80px;
  height: auto;
  margin: 0 auto;
}

.testimonial-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  margin: 0 auto 1.5rem;
  text-align: center;
}

.testimonial-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before, .testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-color);
  position: absolute;
  opacity: 0.5;
}

.testimonial-text::before {
  top: -10px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -30px;
  right: -10px;
}

.testimonial-author {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: #666;
}

.partner-logo {
  text-align: center;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  transition: var(--transition);
  margin: 0 auto;
}

.partner-logo:hover img {
  transform: scale(1.05);
}

/* Legal Pages Styles */
.privacy-policy-section, .terms-section {
  padding: 5rem 1.5rem;
  margin-top: 100px;
}

.legal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-section, .terms-section {
  margin-bottom: 3rem;
}

.policy-section:last-child, .terms-section:last-child {
  margin-bottom: 0;
}

.policy-content, .terms-content {
  margin-top: 1.5rem;
}

/* Success Page Styles */
.success-section {
  text-align: center;
  background-color: #f7f9fc;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon {
  display: inline-block;
  margin-bottom: 2rem;
  text-align: center;
}

.success-icon img {
  margin: 0 auto;
}

.success-message {
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 4rem 1.5rem;
  background-color: #2c3e50;
  color: white;
}

.footer h3 {
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a, .social-links a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover, .social-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  margin-right: 0.75rem;
}

.social-links a:last-child {
  margin-right: 0;
}

/* Read More Links */
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent-color);
}

.read-more:hover::after {
  margin-left: 8px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .info-card, .methodology-card {
    margin-bottom: 1rem;
  }
}

/* Animation Styles for Particles */
.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Curved Grid Elements */
.curved-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.curved-container::before {
  content: "";
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: rgba(245, 230, 232, 0.2);
  transform: rotate(-3deg);
  z-index: -1;
}

.curved-container::after {
  content: "";
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 110%;
  height: 110%;
  background: rgba(125, 163, 161, 0.1);
  transform: rotate(2deg);
  z-index: -1;
}

/* Form Styling */
.input, .textarea, .select select {
  border: 2px solid #eee;
  box-shadow: none;
  transition: var(--transition);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.label {
  color: var(--dark-color);
  font-weight: 600;
}

/* Utility Classes */
.has-shadow {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.has-radius {
  border-radius: 8px;
}

.is-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}