:root {
  /* Color system */
  --primary: #0077ff;
  --primary-dark: #0055cc;
  --primary-light: #55aaff;
  --secondary: #ff5500;
  --secondary-dark: #cc4400;
  --secondary-light: #ff7733;
  --accent: #00ccaa;
  --accent-dark: #00aa88;
  --accent-light: #33eebb;
  --dark: #1a1a2e;
  --dark-blue: #16213e;
  --medium-blue: #0f3460;
  --light: #f5f7fa;
  --white: #ffffff;
  --gray: #4a4a4a;
  --gray-light: #8a8a8a;
  --gray-lighter: #e0e0e0;
  --success: #23d160;
  --warning: #ffdd57;
  --danger: #ff3860;
  --info: #209cee;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--medium-blue) 100%);
  --gradient-light: linear-gradient(135deg, var(--light) 0%, var(--gray-lighter) 100%);
  
  /* Shadows */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-large: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

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

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container overrides */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Button styles */
.button {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  font-family: var(--font-heading);
  font-weight: 500;
}

.button:not(.is-text):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button:not(.is-text):active {
  transform: translateY(0);
  box-shadow: var(--shadow-small);
}

.button.is-primary {
  background: var(--gradient-primary);
  border: none;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
}

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.animated-button:hover::after {
  transform: translateX(0);
}

/* Section styles */
.section {
  padding: var(--space-xl) 0;
}

.section .title {
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  z-index: -1;
}

.section.is-colored {
  background: var(--gradient-light);
  color: var(--dark);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar {
  transition: all var(--transition-normal);
  padding: var(--space-md) 0;
  background-color: #fff !important;
}

.navbar.is-transparent {
  background-color: transparent;
}

.navbar.is-scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-medium);
  padding: var(--space-sm) 0;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal), left var(--transition-normal);
}

.navbar-item:hover::after {
  width: 100%;
  left: 0;
}

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

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxl) var(--space-md);
}

.hero .title, 
.hero .subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('image/wave-bg.png');
  background-size: 100% 100px;
  animation: wave-animation 10s linear infinite;
}

@keyframes wave-animation {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

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

.mission-content, 
.vision-content {
  margin-bottom: var(--space-lg);
}

.mission-image, 
.vision-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mission-image img, 
.vision-image img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.mission-image:hover img, 
.vision-image:hover img {
  transform: scale(1.03);
}

/* Vision Section */
.vision-section {
  background: var(--gradient-light);
}

/* Attractions (Projects) Section */
.attractions-section {
  background-color: var(--white);
  position: relative;
}

.content-carousel {
  position: relative;
  overflow: hidden;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  margin-bottom: var(--space-lg);
}

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

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

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

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

.card-content {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.card-content .title {
  margin-bottom: var(--space-md);
}

.card-content p {
  margin-bottom: var(--space-md);
  color: var(--gray);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Workshops Section */
.workshops-section {
  background: var(--gradient-light);
}

.workshops-intro {
  margin-bottom: var(--space-xl);
}

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

.innovation-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-lg);
}

.innovation-content p {
  margin-bottom: var(--space-md);
}

/* Awards Section */
.awards-section {
  background: var(--gradient-light);
}

.awards-intro {
  margin-bottom: var(--space-xl);
}

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

.resource-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--light);
  height: 100%;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  color: var(--primary);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background: var(--gradient-light);
}

.behind-scenes-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-lg);
}

/* Careers Section */
.careers-section {
  background-color: var(--white);
}

.careers-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-lg);
}

/* Contact Section */
.contact-section {
  background: var(--gradient-light);
  position: relative;
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.contact-info {
  margin-bottom: var(--space-lg);
}

.contact-details p {
  margin-bottom: var(--space-sm);
}

.field {
  margin-bottom: var(--space-md);
}

.input, 
.textarea, 
.select select {
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: var(--space-xl) 0;
}

.footer .title {
  color: var(--white);
}

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

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

.footer ul li a {
  color: var(--gray-lighter);
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

.footer ul li a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  display: inline-block;
  padding: var(--space-xs) 0;
  transition: color var(--transition-normal);
}

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

.copyright {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
}

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

.success-container {
  max-width: 600px;
}

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

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

.privacy-content, 
.terms-content {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

/* Media Queries */
@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .card-image {
    height: 200px;
  }
  
  .contact-form-container {
    padding: var(--space-lg);
  }
  
  .navbar-menu {
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
  }
  
  .hero-body {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 576px) {
  .section .title {
    font-size: 1.75rem !important;
  }
  
  .section .subtitle {
    font-size: 1.25rem !important;
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .card-image {
    height: 180px;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-xxl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-xxl); }