/* ============================
   VARIABLES & ROOT STYLES
   ============================ */
:root {
  /* Futuristic Eco-minimalism Color Scheme - Tetrad */
  --primary: #1E88E5;       /* Blue - primary brand color */
  --primary-dark: #1565C0;  /* Dark Blue - for hover states */
  --primary-light: #64B5F6; /* Light Blue - for backgrounds */
  
  --secondary: #E53935;     /* Red - accent color */
  --secondary-dark: #C62828; /* Dark Red - for hover states */
  --secondary-light: #EF5350; /* Light Red - for highlights */
  
  --tertiary: #43A047;      /* Green - eco theme color */
  --tertiary-dark: #2E7D32; /* Dark Green - for hover states */
  --tertiary-light: #66BB6A; /* Light Green - for backgrounds */
  
  --quaternary: #FFB300;    /* Amber - warm accent */
  --quaternary-dark: #FF8F00; /* Dark Amber - for hover states */
  --quaternary-light: #FFD54F; /* Light Amber - for highlights */
  
  --dark: #263238;          /* Almost Black - for text */
  --dark-gray: #455A64;     /* Dark Gray - for secondary text */
  --light-gray: #ECEFF1;    /* Light Gray - for backgrounds */
  --white: #FFFFFF;         /* White - for text on dark backgrounds */
  
  /* Transparent 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);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary), var(--tertiary-dark));
  --gradient-quaternary: linear-gradient(135deg, var(--quaternary), var(--quaternary-dark));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================
   GLOBAL STYLES
   ============================ */
html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

.section {
  padding: var(--space-xl) 0;
}

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

/* ============================
   BUTTONS & FORM ELEMENTS
   ============================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  outline: none;
}

.button.is-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.button.is-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button.is-outlined {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.button.is-outlined:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.button.is-large {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: border var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.label {
  font-weight: 500;
  margin-bottom: var(--space-sm);
  display: block;
}

/* ============================
   HEADER & NAVIGATION
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand h1 {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.navbar-menu {
  display: flex;
}

.navbar-item {
  color: var(--dark);
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark);
  display: block;
  height: 2px;
  width: 26px;
  position: absolute;
  left: calc(50% - 13px);
  transition: all var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-medium);
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down .icon {
  color: var(--white);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* ============================
   SERVICES SECTION
   ============================ */
.services-section {
  background-color: var(--white);
}

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

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

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

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

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

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

.service-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.service-card .content {
  margin-bottom: var(--space-lg);
}

.service-card .button {
  margin-top: auto;
}

/* ============================
   SUSTAINABILITY SECTION
   ============================ */
.sustainability-section {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.sustainability-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/eco-pattern.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
}

.sustainability-content {
  position: relative;
  z-index: 2;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.sustainability-image {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sustainability-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
}

.sustainability-image:hover img {
  transform: scale(1.03);
}

.sustainability-timeline {
  margin-top: var(--space-lg);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-lg);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--tertiary);
  border-radius: 50%;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 1.5rem);
  background-color: var(--tertiary-light);
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

.timeline-content h4 {
  color: var(--tertiary-dark);
  margin-bottom: var(--space-sm);
}

/* ============================
   RESOURCES SECTION
   ============================ */
.resources-section {
  background-color: var(--white);
}

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

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

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

.resource-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
  font-size: 1.25rem;
}

.resource-card .content {
  margin-bottom: var(--space-lg);
}

.resource-card .button {
  margin-top: auto;
}

/* ============================
   WEBINARS SECTION
   ============================ */
.webinars-section {
  background-color: var(--light-gray);
}

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

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

.webinar-card .card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.webinar-date {
  color: var(--quaternary-dark);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.webinar-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.webinar-card .content {
  margin-bottom: var(--space-lg);
}

.webinar-card .button {
  margin-top: auto;
}

/* ============================
   GALLERY SECTION
   ============================ */
.gallery-section {
  background-color: var(--white);
}

.gallery-grid {
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-medium);
  opacity: 0;
  transition: opacity var(--transition-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.gallery-info {
  text-align: center;
  color: var(--white);
  transform: translateY(20px);
  transition: transform var(--transition-medium);
}

.gallery-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

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

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

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* ============================
   CLIENTELE SECTION
   ============================ */
.clientele-section {
  background-color: var(--light-gray);
}

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

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

.testimonial-card .card-content {
  padding: var(--space-lg);
  flex-grow: 1;
}

.testimonial-card .media {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.testimonial-card .media-left {
  margin-right: var(--space-md);
}

.testimonial-card .image.is-64x64 {
  width: 64px;
  height: 64px;
  overflow: hidden;
}

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

.testimonial-card .title.is-4 {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.testimonial-card .subtitle.is-6 {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.testimonial-card .content p {
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card .rating {
  color: var(--quaternary);
  font-size: 1.25rem;
  margin-top: var(--space-md);
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
  background-color: var(--white);
}

.contact-info {
  height: 100%;
  padding: var(--space-lg);
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.contact-item .icon {
  margin-right: var(--space-md);
  font-size: 1.25rem;
}

.contact-item p {
  margin: 0;
}

.contact-map {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.contact-form-container {
  height: 100%;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: var(--space-md);
  transition: color var(--transition-fast);
}

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

/* ============================
   SUCCESS PAGE
   ============================ */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

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

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

.success-title {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.success-message {
  margin-bottom: var(--space-lg);
}

/* ============================
   PRIVACY & TERMS PAGES
   ============================ */
.terms-page,
.privacy-page {
  padding-top: 100px;
}

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

.terms-title,
.privacy-title {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

.animate-fade-in {
  animation: fadeIn var(--transition-slow) both;
}

.animate-slide-up {
  animation: slideUp var(--transition-slow) both;
}

.animate-slide-right {
  animation: slideRight var(--transition-slow) both;
}

.animate-grow {
  animation: grow var(--transition-slow) both;
}

/* Animation delays for staggered effects */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================
   MEDIA QUERIES
   ============================ */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
  }
  
  .navbar-end {
    display: flex;
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .buttons.is-centered {
    flex-direction: column;
  }
  
  .buttons.is-centered .button {
    margin-bottom: var(--space-md);
    width: 100%;
  }
  
  .column {
    margin-bottom: var(--space-lg);
  }
  
  .contact-info,
  .contact-form-container {
    margin-bottom: var(--space-lg);
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .subtitle.is-5 {
    font-size: 1rem;
  }
}