/* Base Variables */
:root {
  /* Primary Colors - Analogous Scheme */
  --primary-color: #3a7bd5;
  --primary-light: #63a4ff;
  --primary-dark: #0d47a1;
  --secondary-color: #3ad59f;
  --secondary-light: #7aeac0;
  --secondary-dark: #00a57e;
  --tertiary-color: #d53a7b;
  --tertiary-light: #ff6aa4;
  --tertiary-dark: #a10d54;

  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f5f7fa;
  --neutral-300: #e4e9f0;
  --neutral-400: #cbd5e1;
  --neutral-500: #94a3b8;
  --neutral-600: #64748b;
  --neutral-700: #475569;
  --neutral-800: #27303f;
  --neutral-900: #121826;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Neomorphism Effects */
  --neomorphic-flat: 6px 6px 12px rgba(0, 0, 0, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.8);
  --neomorphic-pressed: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  --neomorphic-light: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.9);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--neutral-900);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

/* Neomorphic Elements */
.neomorphic-card {
  background: var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--neomorphic-flat);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.neomorphic-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--neomorphic-light);
  overflow: hidden;
  margin-bottom: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.neomorphic-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.neomorphic-button {
  border: none !important;
  box-shadow: var(--neomorphic-flat) !important;
  transition: all 0.3s ease !important;
  background: linear-gradient(145deg, var(--neutral-200), var(--neutral-300)) !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

.neomorphic-button:hover {
  box-shadow: var(--neomorphic-light) !important;
  transform: translateY(-3px) !important;
}

.neomorphic-button:active {
  box-shadow: var(--neomorphic-pressed) !important;
  transform: translateY(0) !important;
}

.neomorphic-input {
  background: var(--neutral-300) !important;
  border: none !important;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius-md) !important;
  padding: 1rem !important;
  transition: all 0.3s ease !important;
}

.neomorphic-input:focus {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.5) !important;
  outline: none !important;
}

.neomorphic-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.neomorphic-subtitle {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.button.is-primary {
  background-color: var(--primary-color) !important;
  color: white !important;
}

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

.button.is-light {
  background-color: var(--neutral-100) !important;
  color: var(--neutral-800) !important;
}

.button.is-light:hover {
  background-color: var(--neutral-300) !important;
}

/* Header & Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-item {
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--neutral-800);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-brand .title {
  margin-bottom: 0;
  color: var(--primary-color);
}

.navbar-burger {
  color: var(--neutral-800);
}

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

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

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

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--neutral-100);
}

.scroll-down-icon {
  display: inline-block;
  animation: bounce 2s infinite;
}

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

/* Vision Section */
.vision-section {
  background-color: var(--neutral-200);
}

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

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

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

.gallery-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

/* Partners Section */
.partners-section {
  background-color: var(--neutral-100);
}

.partner-logo {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-10px);
}

.partner-logo img {
  max-height: 80px;
  margin: 0 auto;
  object-fit: contain;
}

/* Projects Section */
.projects-section {
  background-color: var(--neutral-200);
}

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

.projects-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projects-section .card-content {
  padding: 1.5rem;
}

/* Resources Section */
.resources-section {
  background-color: var(--neutral-100);
  background-image: url('image/resources-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  z-index: 1;
}

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

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 2rem;
}

/* Customer Stories Section */
.customer-stories-section {
  background-color: var(--neutral-200);
}

.testimonial-card {
  height: 100%;
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: var(--neomorphic-light);
}

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

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

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

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

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

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

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

/* Blog Section */
.blog-section {
  background-color: var(--neutral-200);
}

.blog-card {
  height: 100%;
}

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

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.blog-excerpt {
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-100);
  background-image: url('image/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  z-index: 1;
}

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

.contact-info p {
  margin-bottom: 0.75rem;
}

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: 4rem 0 2rem;
}

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

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

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

.footer-links a {
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

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

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

.social-links a {
  color: var(--neutral-400);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.newsletter-form .input {
  background-color: var(--neutral-700);
  color: var(--neutral-100);
  border: none;
}

.newsletter-form .input::placeholder {
  color: var(--neutral-500);
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  background: var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--neomorphic-flat);
  padding: 3rem;
}

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

.success-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message {
  margin-bottom: 2rem;
}

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

.terms-content,
.privacy-content {
  background: var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--neomorphic-flat);
  padding: 3rem;
  margin-top: 2rem;
}

/* Utilities */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-secondary {
  color: var(--secondary-color) !important;
}

.has-text-tertiary {
  color: var(--tertiary-color) !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .section {
    padding: 4rem 0;
  }
  
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-body {
    padding: 6rem 0 3rem;
  }
  
  .neomorphic-card {
    padding: 1.5rem;
  }
  
  .testimonial-image {
    width: 100px;
    height: 100px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content button {
    align-self: flex-end;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-body {
    padding: 5rem 0 2rem;
  }
  
  .neomorphic-card {
    padding: 1.25rem;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Hyperrealistic Textures */
.texture-paper {
  background-image: url('image/texture-paper.jpg');
  background-size: cover;
  background-blend-mode: overlay;
}

.texture-fabric {
  background-image: url('image/texture-fabric.jpg');
  background-size: cover;
  background-blend-mode: soft-light;
}

.texture-stone {
  background-image: url('image/texture-stone.jpg');
  background-size: cover;
  background-blend-mode: overlay;
}