/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-color: #86C3D0;
  --primary-dark: #5A9EAE;
  --primary-light: #B6E0E9;
  
  /* Secondary Colors */
  --secondary-color: #F5C0B8;
  --secondary-dark: #E5A197;
  --secondary-light: #FFDAD4;
  
  /* Accent Colors */
  --accent-color: #D4E2B0;
  --accent-dark: #B8CB8A;
  --accent-light: #E9F2D7;
  
  /* Neutral Colors */
  --dark-color: #333333;
  --medium-color: #777777;
  --light-color: #F5F5F5;
  --white-color: #FFFFFF;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #F8F8F8;
  
  /* Shadow and Depth */
  --shadow-soft: 5px 5px 15px rgba(0, 0, 0, 0.05), -5px -5px 15px rgba(255, 255, 255, 0.5);
  --shadow-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  --shadow-hover: 8px 8px 20px rgba(0, 0, 0, 0.07), -8px -8px 20px rgba(255, 255, 255, 0.7);
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-huge: 3rem;
  
  /* Transitions */
  --transition-slow: 0.5s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-fast: 0.2s ease-in-out;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: var(--font-size-huge);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-medium);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md);
}

section {
  padding: var(--spacing-xxl) 0;
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-light {
  color: var(--text-light);
}

.text-dark {
  color: var(--text-dark);
}

.text-medium {
  color: var(--text-medium);
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  padding-bottom: var(--spacing-md);
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--text-medium);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-inset);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-link {
  background: none;
  box-shadow: none;
  color: var(--primary-color);
  padding: 0.5rem 0;
  position: relative;
  font-weight: 600;
}

.btn-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.btn-link:hover {
  box-shadow: none;
  transform: none;
  color: var(--primary-dark);
}

.btn-link:hover::after {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: var(--font-size-xl);
  margin-bottom: 0;
}

.logo a {
  color: var(--text-dark);
}

.navigation {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--spacing-lg);
}

.nav-links a {
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 2px 0;
  transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-xl);
  z-index: 1;
}

.hero-content h1 {
  color: var(--white-color);
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: var(--white-color);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* Services Section */
.services {
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.card-content {
  padding: var(--spacing-lg);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  margin-top: 0;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--light-color);
  border-radius: 5px;
  margin: var(--spacing-md) 0;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 5px;
  color: var(--white-color);
  font-size: var(--font-size-xs);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--spacing-sm);
}

/* Instructors Section */
.instructors {
  background-color: var(--white-color);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.instructor-title {
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.instructor-expertise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.instructor-expertise span {
  background-color: var(--primary-light);
  color: var(--text-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: var(--font-size-xs);
  font-family: 'Montserrat', sans-serif;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-color);
  position: relative;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xl);
}

.testimonial-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  border: 5px solid var(--primary-light);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  font-weight: bold;
  margin-bottom: 0;
  color: var(--text-dark);
}

.testimonial-course {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.testimonial-rating {
  color: #FFD700; /* Gold star color */
}

/* Portfolio Section */
.portfolio {
  background-color: var(--white-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

/* Gallery Section */
.gallery {
  background-color: var(--light-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white-color);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-md);
}

.gallery-overlay p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: var(--font-size-sm);
}

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

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xxl);
}

.timeline-date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.timeline-content {
  position: relative;
  width: 45%;
  background-color: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  margin-top: var(--spacing-md);
}

/* Resources Section */
.resources {
  background-color: var(--light-color);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.resource-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Sustainability Section */
.sustainability {
  background-color: var(--white-color);
}

.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xl);
}

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

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

/* Insights Section */
.insights {
  background-color: var(--light-color);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.insight-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.insight-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.insight-content {
  padding: var(--spacing-lg);
}

/* Innovation Section */
.innovation {
  background-color: var(--white-color);
}

.innovation-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xl);
}

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

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

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

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

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

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: 'Merriweather', serif;
  background-color: var(--white-color);
  box-shadow: var(--shadow-inset);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.info-item {
  margin-bottom: var(--spacing-lg);
}

.info-map {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo,
.footer-links,
.footer-legal,
.footer-social {
  min-width: 200px;
}

.footer-logo h2 {
  color: var(--white-color);
  margin-bottom: var(--spacing-sm);
}

.footer h3 {
  color: var(--white-color);
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-md);
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: var(--spacing-sm);
}

.footer a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: var(--spacing-xl);
}

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

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-soft);
}

/* Animations */
[data-delay="200"] {
  animation-delay: 0.2s;
}

[data-delay="400"] {
  animation-delay: 0.4s;
}

[data-delay="600"] {
  animation-delay: 0.6s;
}

[data-delay="800"] {
  animation-delay: 0.8s;
}

[data-delay="1000"] {
  animation-delay: 1s;
}

/* Responsive Design */
@media (max-width: 992px) {
  :root {
    --font-size-huge: 2.5rem;
    --font-size-xxl: 1.8rem;
    --font-size-xl: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-date {
    left: 30px;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  
  .sustainability-content,
  .innovation-content {
    flex-direction: column;
  }
  
  .innovation-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navigation {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    padding: var(--spacing-md);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navigation.active {
    display: block;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links li {
    margin: var(--spacing-md) 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    margin-bottom: var(--spacing-sm);
    width: 100%;
  }
  
  .services-grid,
  .instructors-grid,
  .portfolio-grid,
  .insights-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .footer-logo,
  .footer-links,
  .footer-legal,
  .footer-social {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --spacing-xxl: 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-md);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    color: black;
    background: white;
    font-size: 12pt;
  }
  
  a:after {
    content: " (" attr(href) ")";
  }
}