/* ============================
   Variables
   ============================ */
:root {
  /* Primary Colors - Triadic Color Scheme */
  --primary-color: #3273dc; /* Primary blue */
  --secondary-color: #dc3232; /* Vibrant red */
  --tertiary-color: #32dc32; /* Vibrant green */
  
  /* Darker variants */
  --primary-dark: #2060c0;
  --secondary-dark: #c02020;
  --tertiary-dark: #20c020;
  
  /* Lighter variants */
  --primary-light: #5295e8;
  --secondary-light: #e85252;
  --tertiary-light: #52e852;
  
  /* Neutral colors */
  --neutral-dark: #363636;
  --neutral-medium: #777777;
  --neutral-light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  
  /* Overlays */
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-light: rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --title-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --radius-circle: 50%;
}

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
  font-family: var(--title-font);
  font-weight: 600;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-small);
}

section {
  position: relative;
  overflow: hidden;
}

/* Container with hyperrealistic texture overlay */
.texture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/texture-overlay.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
}

/* ============================
   Button Styles
   ============================ */
.button {
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--title-font);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

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

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

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

.button.is-secondary {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white);
}

.button.is-secondary:hover {
  background: var(--secondary-dark);
}

.button.is-tertiary {
  background: var(--gradient-tertiary);
  border: none;
  color: var(--white);
}

.button.is-tertiary:hover {
  background: var(--tertiary-dark);
}

.button.is-outlined.is-white {
  border-width: 2px;
  font-weight: 600;
}

.button.is-outlined.is-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Pulse animation for buttons */
.pulse-button {
  position: relative;
}

.pulse-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: var(--primary-color);
  opacity: 0.6;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

/* ============================
   Header & Navigation
   ============================ */
.navbar {
  transition: background-color var(--transition-medium);
  box-shadow: var(--shadow-small);
}

.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-menu {
  box-shadow: none;
}

.navbar-item {
  font-family: var(--title-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  height: 4.25rem;
}

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--overlay-dark), var(--overlay-light));
  z-index: 1;
}

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

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

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

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

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.9s;
}

.animate-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 1.2s;
}

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

/* ============================
   Vision Section
   ============================ */
.vision-section {
  padding: 5rem 1.5rem;
}

.vision-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

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

.vision-content {
  padding: 1rem 0;
}

.vision-values {
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.value-item .icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* ============================
   Features/Services Section
   ============================ */
.features-section {
  background-color: var(--neutral-light);
  padding: 5rem 1.5rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

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

.service-card .card-image {
  overflow: hidden;
}

.service-card .image-container {
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.service-card .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}

.service-card .title {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ============================
   Workshops Section
   ============================ */
.workshops-section {
  position: relative;
  padding: 5rem 1.5rem;
  color: var(--white);
}

.workshop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--overlay-dark), var(--overlay-medium));
  z-index: 1;
}

.workshops-section .container {
  position: relative;
  z-index: 2;
}

.workshop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

.workshop-card .card-image {
  overflow: hidden;
}

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

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

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

.workshop-card .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}

.workshop-card .title {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.workshop-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.workshop-details p {
  margin-bottom: 0.5rem;
}

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

.resource-card {
  height: 100%;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

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

.resource-card .card-content {
  padding: 1.5rem;
}

.resource-card .title {
  margin-bottom: 1rem;
}

.resource-card a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================
   Accolades Section
   ============================ */
.accolades-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-light);
}

.accolade-item {
  margin-bottom: 2rem;
}

.accolade-image {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-medium);
}

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

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

.client-logos {
  margin-top: 4rem;
}

.client-logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100px;
  opacity: 0.7;
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.client-logo img {
  max-height: 80px;
  width: auto;
}

/* ============================
   Gallery Section
   ============================ */
.gallery-section {
  padding: 5rem 1.5rem;
}

.gallery-container {
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-medium);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--overlay-dark), transparent);
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-text .title {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.gallery-text p {
  margin-bottom: 0;
}

/* ============================
   News & Insights Section
   ============================ */
.news-insights-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-light);
}

.news-item {
  margin-bottom: 2rem;
  transition: transform var(--transition-medium);
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

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

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

.news-content {
  padding: 1rem 0;
}

.news-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.insights-item {
  padding: 1.5rem;
  margin-bottom: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.insights-header {
  margin-bottom: 1rem;
}

.insights-author {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.insights-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
}

.insights-content p {
  margin-bottom: 1rem;
}

/* Read more links */
.button.is-small.is-primary.is-outlined {
  border-width: 2px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.button.is-small.is-primary.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ============================
   Contact Section
   ============================ */
.contact-section {
  position: relative;
  padding: 5rem 1.5rem;
  color: var(--white);
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--overlay-dark), var(--overlay-medium));
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-info-card, 
.contact-form-card {
  height: 100%;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  background-color: var(--white);
  color: var(--neutral-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item .icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.map-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

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

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .label {
  color: var(--neutral-dark);
}

.contact-form .input, 
.contact-form .textarea {
  border-radius: var(--radius-small);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

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

.contact-form .checkbox a {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-form .checkbox a:hover {
  color: var(--primary-dark);
}

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

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

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

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

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

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

.social-links a {
  color: var(--neutral-light);
  transition: color var(--transition-fast);
  font-weight: 600;
}

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

.newsletter-form .input {
  border-radius: var(--radius-small) 0 0 var(--radius-small);
}

.newsletter-form .button {
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

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

/* ============================
   Additional Pages Styles
   ============================ */
/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--neutral-light);
}

.success-content {
  text-align: center;
  padding: 3rem;
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-large);
  max-width: 600px;
}

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

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.privacy-content,
.terms-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

/* ============================
   Animation Effects
   ============================ */
/* Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  display: block;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

/* ScrollReveal Animation */
.reveal-fade-up {
  visibility: hidden;
}

/* ============================
   Responsive Adjustments
   ============================ */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
  }
  
  .accolade-image {
    width: 150px;
    height: 150px;
  }
  
  .client-logo {
    height: 80px;
    padding: 0.5rem;
  }
  
  .client-logo img {
    max-height: 60px;
  }
}

@media screen and (max-width: 768px) {
  .service-card .image-container,
  .workshop-card .image-container {
    height: 200px;
  }
  
  .news-image {
    height: 180px;
    margin-bottom: 1rem;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .contact-info-card {
    margin-bottom: 2rem;
  }
  
  .contact-item .icon {
    font-size: 1.25rem;
  }
  
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .service-card .image-container,
  .workshop-card .image-container {
    height: 180px;
  }
  
  .accolade-image {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .map-container img {
    height: 250px;
  }
}

/* ============================
   Animation for navbar
   ============================ */
.navbar {
  animation: fadeInDown 1s;
}

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

/* JavaScript Generated Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================
   Additional Utility Classes
   ============================ */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-tertiary { color: var(--tertiary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-tertiary { background-color: var(--tertiary-color) !important; }
.bg-light { background-color: var(--neutral-light) !important; }
.bg-dark { background-color: var(--neutral-dark) !important; }

.glassmorphism {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.has-text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.overlay-dark {
  background-color: var(--overlay-dark);
}

.overlay-medium {
  background-color: var(--overlay-medium);
}

.overlay-light {
  background-color: var(--overlay-light);
}

/* Custom animations for specific elements */
.custom-fade-in {
  animation: fadeIn 1s ease forwards;
}

.custom-slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

.custom-slide-in-right {
  animation: slideInRight 1s ease forwards;
}

.custom-zoom-in {
  animation: zoomIn 1s ease forwards;
}