/* === Base Variables and Reset === */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #3273dc; /* Main blue */
  --primary-dark: #1a54b8; 
  --primary-light: #4a8af2;
  
  --secondary-color: #dc3232; /* Complementary red */
  --secondary-dark: #b82020;
  --secondary-light: #f24a4a;
  
  --tertiary-color: #32dc72; /* Tertiary green */
  --tertiary-dark: #20b852;
  --tertiary-light: #4af28a;
  
  --quaternary-color: #dc9132; /* Quaternary orange */
  --quaternary-dark: #b87520;
  --quaternary-light: #f2a94a;
  
  /* Neutral Colors */
  --dark: #222222;
  --dark-gray: #444444;
  --medium-gray: #777777;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  
  /* UI Elements */
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  --button-shadow: 0 4px 10px rgba(50, 115, 220, 0.3);
  --input-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === Typography === */
body {
  font-family: 'Work Sans', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.title.is-1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.title.is-2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.title.is-3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.title.is-4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.title.is-5 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* === Global Elements === */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1200px;
}

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

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

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

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Buttons */
.button {
  border-radius: var(--border-radius);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: var(--button-shadow);
  border: none;
  height: auto;
  padding: 0.75rem 1.5rem;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(50, 115, 220, 0.4);
}

.button.is-light {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button.is-light:hover {
  background-color: var(--light-gray);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
  box-shadow: none;
}

.button.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.button.is-info {
  background-color: var(--tertiary-color);
  color: var(--white);
}

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

.button.is-info.is-outlined {
  color: var(--tertiary-color);
  border-color: var(--tertiary-color);
}

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

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

.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 115, 220, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(50, 115, 220, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(50, 115, 220, 0);
  }
}

/* Form Elements */
input.input, textarea.textarea, select.select {
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
  box-shadow: var(--input-shadow);
  transition: all var(--transition-fast);
}

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

.field:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Tags */
.tag {
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

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

.tag.is-info {
  background-color: var(--tertiary-color);
  color: var(--white);
}

.tag.is-success {
  background-color: var(--quaternary-color);
  color: var(--white);
}

.tag.is-warning {
  background-color: var(--secondary-color);
  color: var(--white);
}

.tag.is-danger {
  background-color: var(--quaternary-dark);
  color: var(--white);
}

/* === Header & Navigation === */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
}

.navbar-item {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--dark);
  transition: color var(--transition-fast);
  padding: 1.5rem 1rem;
}

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

.navbar-burger {
  height: 4.5rem;
}

.navbar-menu.is-active {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .title,
.hero .subtitle,
.hero .hero-description {
  color: var(--white) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* === Services Section === */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card .card-content {
  padding: 2rem;
}

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

.progress-container {
  margin-bottom: 1.5rem;
}

.progress {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 1.5s ease-in-out;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* === Pricing Section === */
.pricing-section {
  background-color: var(--light-gray);
}

.pricing-card {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border: 2px solid var(--primary-color);
}

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

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.currency {
  font-size: 1.5rem;
  font-weight: 500;
  margin-right: 0.2rem;
}

.period {
  font-size: 1rem;
  color: var(--medium-gray);
  font-weight: 400;
  margin-left: 0.5rem;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.features li i {
  color: var(--primary-color);
  margin-right: 1rem;
}

.ribbon {
  position: absolute;
  top: 30px;
  right: -30px;
  transform: rotate(45deg);
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 8px 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.additional-info {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.notification.is-info {
  background-color: rgba(50, 220, 114, 0.1);
  border-left: 4px solid var(--tertiary-color);
  color: var(--dark);
}

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

.project-card {
  height: 100%;
}

.project-card .client {
  margin-bottom: 1rem;
  color: var(--medium-gray);
}

.project-card .tags {
  margin-top: 1.5rem;
}

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

.resource-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  text-align: center;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(50, 115, 220, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  transition: all var(--transition);
}

.resource-card:hover .icon-container {
  background-color: var(--primary-color);
}

.animated-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition);
}

.resource-card:hover .animated-icon {
  color: var(--white);
  transform: scale(1.2);
}

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

.resource-card p {
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
}

/* === Innovation Section === */
.innovation-section {
  position: relative;
  overflow: hidden;
}

.innovation-content {
  padding: 2rem;
}

.innovation-features {
  margin-top: 2rem;
}

.feature {
  display: flex;
  margin-bottom: 2rem;
}

.feature .icon-container {
  margin: 0;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.innovation-image {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.innovation-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.parallax-effect {
  transition: transform 0.5s ease-out;
}

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

.sustainability-content {
  padding: 2rem;
}

.sustainability-initiatives {
  margin-top: 2rem;
}

.initiative {
  display: flex;
  margin-bottom: 2rem;
}

.initiative .icon-container {
  margin: 0;
  margin-right: 1.5rem;
  background-color: rgba(50, 220, 114, 0.1);
  flex-shrink: 0;
}

.initiative .animated-icon {
  color: var(--tertiary-color);
}

.initiative:hover .icon-container {
  background-color: var(--tertiary-color);
}

.initiative:hover .animated-icon {
  color: var(--white);
}

.sustainability-image {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.sustainability-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Events Section === */
.events-section {
  background-color: var(--white);
}

.event-card {
  position: relative;
  overflow: hidden;
}

.event-card .card-content {
  position: relative;
  padding-top: 4rem;
}

.event-date {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-card .location {
  color: var(--medium-gray);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.event-card .location i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

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

.insight-card .date {
  color: var(--medium-gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.insight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.careers-content {
  padding: 2rem;
}

.benefits {
  margin-top: 2rem;
}

.benefit {
  display: flex;
  margin-bottom: 2rem;
}

.benefit .icon-container {
  margin: 0;
  margin-right: 1.5rem;
  background-color: rgba(220, 145, 50, 0.1);
  flex-shrink: 0;
}

.benefit .animated-icon {
  color: var(--quaternary-color);
}

.benefit:hover .icon-container {
  background-color: var(--quaternary-color);
}

.benefit:hover .animated-icon {
  color: var(--white);
}

.job-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.job-card .title {
  margin-bottom: 0.5rem;
}

.job-location {
  display: flex;
  align-items: center;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.job-location i {
  margin-right: 0.5rem;
  color: var(--quaternary-color);
}

.job-card .tags {
  margin: 1.5rem 0;
}

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

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

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  height: 100%;
}

.contact-info .title {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  margin-bottom: 2rem;
}

.contact-method .icon-container {
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0;
  margin-right: 1.5rem;
}

.contact-method .animated-icon {
  color: var(--white);
}

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

.contact-text p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-media .title {
  margin-bottom: 1rem;
}

.social-links a {
  color: var(--white);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.social-links a:hover {
  opacity: 0.8;
}

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

/* === Footer === */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding: 5rem 1.5rem 2rem;
}

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

.footer p {
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin-bottom: 2rem;
}

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

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

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

.footer .social-links {
  display: flex;
  margin-top: 1.5rem;
}

.footer .social-links a {
  color: var(--light-gray);
  margin-right: 1.5rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 3rem;
}

.footer-bottom hr {
  background-color: rgba(255, 255, 255, 0.1);
  height: 1px;
  margin: 2rem 0;
}

/* === 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-color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: rgba(50, 220, 114, 0.1);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon i {
  font-size: 3rem;
  color: var(--tertiary-color);
}

/* === Privacy & Terms Pages === */
.content-page {
  padding-top: 100px;
}

.content-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 3rem;
}

.content-container h1 {
  margin-bottom: 2rem;
}

.content-container h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* === Cookie Consent === */
#cookie-consent {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#accept-cookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

/* === Media Queries === */
@media screen and (max-width: 1023px) {
  .hero .title.is-1 {
    font-size: 2.8rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.8rem;
  }
  
  .title.is-2 {
    font-size: 2.4rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }

  .hero-content {
    padding: 20px;
    margin-top: 40px;
  }
  
  .hero .title.is-1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .feature, .initiative, .benefit {
    flex-direction: column;
  }
  
  .feature .icon-container, .initiative .icon-container, .benefit .icon-container {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}