:root {
  /* Tetrad Color Scheme */
  --primary-color: #FF3366;       /* Primary Pink */
  --secondary-color: #33CCFF;     /* Secondary Blue */
  --tertiary-color: #FFCC33;      /* Tertiary Yellow */
  --quaternary-color: #66CC33;    /* Quaternary Green */
  
  /* Darker Variations */
  --primary-dark: #CC1A4A;
  --secondary-dark: #1A99CC;
  --tertiary-dark: #E6B800;
  --quaternary-dark: #4C9926;
  
  /* Lighter Variations */
  --primary-light: #FF99B3;
  --secondary-light: #99E6FF;
  --tertiary-light: #FFE699;
  --quaternary-light: #B3E699;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #212529;
  
  /* Shadows for Neumorphism */
  --neushadow-light: 12px 12px 24px rgba(0, 0, 0, 0.1), -12px -12px 24px rgba(255, 255, 255, 0.6);
  --neushadow-medium: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.6);
  --neushadow-small: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.6);
  --neushadow-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.6);
  
  /* Brutalist Borders */
  --brutalist-border: 3px solid var(--black);
  --brutalist-border-thick: 6px solid var(--black);
  
  /* Fonts */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container widths */
  --container-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

.section:nth-child(even) {
  background-color: var(--white);
}

/* Buttons */
.button, button, input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--neushadow-small);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before, button::before, input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
  transition: all var(--transition-medium);
  z-index: -1;
}

.button:hover::before, button:hover::before, input[type="submit"]:hover::before {
  left: 100%;
}

.button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--neushadow-medium);
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

.button:active, button:active, input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--neushadow-inset);
}

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

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

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

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

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

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

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

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

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0;
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  display: flex;
}

.navbar-item {
  margin: 0 1rem;
  position: relative;
  color: var(--dark-gray);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--dark-gray);
  transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

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

.hero-body {
  padding: 2rem;
  width: 100%;
}

.hero .title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.3s;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
}

.hero .buttons {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.7s;
}

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

/* Services Section */
.services .card {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--neushadow-medium);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services .card:hover {
  transform: translateY(-10px);
}

.services .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.services .card-content {
  padding: 2rem;
  background: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

/* Methodology Section */
.methodology {
  background: var(--white);
}

.methodology-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--neushadow-medium);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.methodology-number {
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 8rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.03);
  z-index: 1;
}

.methodology-card .title {
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.methodology-card p {
  position: relative;
  z-index: 2;
}

.methodology-image {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--neushadow-light);
  display: flex;
  justify-content: center;
}

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

.methodology-image:hover img {
  transform: scale(1.02);
}

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

.price-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--neushadow-medium);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.basic {
  border-top: 5px solid var(--secondary-color);
}

.price-card.standard {
  border-top: 5px solid var(--primary-color);
  transform: translateY(-5px);
}

.price-card.premium {
  border-top: 5px solid var(--tertiary-color);
}

.price-header {
  padding: 2rem;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--medium-gray);
}

.price-header .title {
  margin-bottom: 0.5rem;
}

.price-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.price-body li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--medium-gray);
  position: relative;
  padding-left: 25px;
}

.price-body li:last-child {
  border-bottom: none;
}

.price-body li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--quaternary-color);
}

.price-footer {
  padding: 2rem;
  background: var(--white);
  border-top: 1px solid var(--medium-gray);
}

.additional-info {
  margin-top: 3rem;
}

.table {
  width: 100%;
  margin: 1.5rem 0;
}

.table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--medium-gray);
}

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

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

.projects .card {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--neushadow-medium);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.projects .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.projects .card-content {
  padding: 1.5rem;
  background: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projects .title {
  color: var(--primary-color);
}

/* Resources Section */
.resources .resource-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--neushadow-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-medium);
}

.resources .resource-card:hover {
  transform: translateY(-5px);
}

.resources .title {
  color: var(--primary-color);
}

.resources p {
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--neushadow-medium);
  height: 100%;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-content p {
  position: relative;
  padding: 0 15px;
}

.testimonial-content p:before, .testimonial-content p:after {
  content: '"';
  font-size: 2em;
  color: var(--primary-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--neushadow-small);
  margin-right: 15px;
}

.author-info {
  text-align: left;
}

.author-info .name {
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.author-info .car {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Contact Section */
.contact {
  background: var(--white);
}

.contact-info {
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 12px;
  box-shadow: var(--neushadow-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.map-container {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--neushadow-small);
}

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

.contact-form {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--neushadow-medium);
  height: 100%;
}

.field {
  margin-bottom: 1rem;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  font-family: var(--body-font);
  transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select:after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
}

.checkbox {
  margin-top: 1rem;
  display: block;
}

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

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

.footer p {
  color: var(--medium-gray);
}

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

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

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

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

.social-links {
  margin-bottom: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  position: relative;
}

.social-links a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.social-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.social-links a:hover:after {
  width: 100%;
}

.legal-links {
  margin-top: 1.5rem;
}

.legal-links a {
  color: var(--medium-gray);
  margin-right: 1rem;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* AOS Animation Enhancements */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-gray), var(--white));
}

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

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.content-page {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

.content-page .container {
  max-width: 800px;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--neushadow-medium);
}

.content-page h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.content-page p {
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .title {
    font-size: 3.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .title {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-item {
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid var(--medium-gray);
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .button, button, input[type="submit"] {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Success page animation */
.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--quaternary-color);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 6;
  stroke: var(--quaternary-color);
  stroke-miterlimit: 10;
  margin: 0 auto 30px;
  box-shadow: inset 0px 0px 0px var(--quaternary-color);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px var(--quaternary-color);
  }
}

/* For bulma compatibility */
.is-fullheight {
  min-height: 100vh;
}

.has-text-centered {
  text-align: center !important;
}

.has-text-right {
  text-align: right !important;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -0.75rem;
}

.column {
  padding: 0.75rem;
  flex: 1 1 0;
}

.is-one-quarter {
  flex: 0 0 25%;
  max-width: 25%;
}

.is-one-third {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.is-two-thirds {
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}

.is-offset-2 {
  margin-left: 16.6666%;
}

.is-fullwidth {
  width: 100%;
}

@media (max-width: 767px) {
  .columns {
    display: block;
  }
  
  .column {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  .is-offset-2 {
    margin-left: 0;
  }
}