/* === VARIABLES === */
:root {
  /* Tetrad Color Scheme */
  --primary: #2E3BFD;      /* Electric Blue */
  --primary-dark: #1a26e0;
  --secondary: #FD2E6C;    /* Hot Pink */
  --secondary-dark: #e01a55;
  --tertiary: #2EFD8F;     /* Mint Green */
  --tertiary-dark: #1ae077;
  --quaternary: #FD8F2E;   /* Orange */
  --quaternary-dark: #e0771a;
  
  /* Neutrals */
  --dark: #222;
  --medium: #777;
  --light: #f8f9fa;
  --white: #fff;
  
  /* UI Elements */
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
  --brutal-shadow: 6px 6px 0 rgba(0, 0, 0, 0.75);
  --brutal-border: 3px solid var(--dark);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

/* === BASE STYLES === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

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

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

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

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

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

.brutal-box {
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  background-color: var(--white);
  padding: var(--space-md);
  position: relative;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.brutal-box:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.75);
}

.brutal-card {
  border: var(--brutal-border);
  background-color: var(--white);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

/* === BUTTONS === */
.btn, button, input[type="submit"] {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 25px;
  border: 3px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-medium);
  text-align: center;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--dark);
}

.btn:active, button:active, input[type="submit"]:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn-primary, .btn-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary, .btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.brutal-button {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--dark);
  font-weight: 700;
}

.brutal-button:hover {
  transform: translate(-5px, -5px);
  box-shadow: 7px 7px 0 var(--dark);
}

.brutal-button-sm {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* === FORMS === */
.form-control, input, textarea, select {
  width: 100%;
  padding: 12px 15px;
  border: var(--brutal-border);
  background: var(--white);
  margin-bottom: var(--space-sm);
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition-fast);
}

.form-control:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: var(--brutal-shadow);
  transform: translateY(-2px);
}

.brutal-input {
  border: var(--brutal-border);
  padding: 15px;
  font-size: 1rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* === HEADER === */
.header-brutal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark);
  padding: 15px 0;
  border-bottom: 3px solid var(--primary);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 10px;
  padding: 10px 15px;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--tertiary) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--tertiary);
  transition: width var(--transition-medium);
}

.navbar-nav .nav-link:hover::after {
  width: calc(100% - 30px);
}

.navbar-toggler {
  border: 2px solid var(--white);
}

/* === HERO SECTION === */
.hero-section {
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 80px; /* Account for fixed header */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.brutal-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
}

.brutal-subtitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

/* === CONTACT FORM TOP === */
.contact-form-top {
  padding: 180px 0 50px;
  background-color: var(--light);
  position: relative;
  z-index: 2;
 padding-top: 140px !important;
}

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

.brutal-section-title {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.brutal-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: var(--primary);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  border: var(--brutal-border);
}

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

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

.card-content {
  padding: var(--space-sm);
  text-align: center;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

/* === PROCESS SECTION === */
.process-section {
  padding: var(--space-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
}

.process-container {
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--brutal-border);
  margin-right: var(--space-md);
}

.step-content {
  flex-grow: 1;
  padding-top: 5px;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

/* === RESOURCES SECTION === */
.resources-section {
  padding: var(--space-xl) 0;
  background-color: var(--light);
}

.resource-card {
  background-color: var(--white);
  border: var(--brutal-border);
  padding: var(--space-md);
  height: 100%;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
  text-align: center;
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.resource-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.resource-list a {
  color: var(--dark);
  transition: color var(--transition-fast);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.resource-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* === PARTNERS SECTION === */
.partners-section {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.partners-slider {
  padding: var(--space-md);
}

.partner-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: transform var(--transition-medium);
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin: 0 auto var(--space-sm);
  border: var(--brutal-border);
  padding: 10px;
}

.partner-logo p {
  font-weight: 600;
  margin-bottom: 0;
}

/* === ABOUT SECTION === */
.about-section {
  padding: var(--space-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.about-stats {
  padding: var(--space-md);
}

.stat-item {
  margin-bottom: var(--space-md);
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.team-container {
  margin-top: var(--space-md);
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: var(--brutal-border);
  margin-bottom: var(--space-sm);
}

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

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--medium);
  margin-bottom: 0;
}

/* === PRESS SECTION === */
.press-section {
  padding: var(--space-xl) 0;
  background-color: var(--light);
}

.press-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: var(--space-sm);
}

.press-logo img {
  max-height: 50px;
  object-fit: contain;
}

.press-content {
  flex-grow: 1;
}

.press-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.press-date {
  font-size: 0.9rem;
  color: var(--medium);
  margin-top: var(--space-sm);
}

/* === CAREERS SECTION === */
.careers-section {
  padding: var(--space-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.careers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
}

.careers-container {
  position: relative;
  z-index: 1;
}

.careers-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.job-listings {
  padding: var(--space-md);
}

.job-item {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--light);
  text-align: center;
}

.job-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.job-item h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.job-item p {
  margin-bottom: var(--space-sm);
}

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

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

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.info-item i {
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--primary);
}

.info-item p {
  margin-bottom: 0;
}

.map-container {
  border: var(--brutal-border);
  overflow: hidden;
}

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

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--tertiary);
  transform: translateX(5px);
}

.social-links {
  margin-top: var(--space-md);
}

.social-links a {
  color: var(--white);
  margin-right: var(--space-sm);
  transition: color var(--transition-fast);
}

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

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* === COOKIE CONSENT === */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
}

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

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

.cookie-btn {
  background-color: var(--tertiary);
  color: var(--dark);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.cookie-btn:hover {
  background-color: var(--tertiary-dark);
}

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

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
}

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

/* === PRIVACY & TERMS PAGES === */
.page-content {
  padding-top: 150px;
  padding-bottom: var(--space-xl);
}

.page-title {
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp var(--transition-slow) both;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991.98px) {
  .brutal-title {
    font-size: 2.5rem;
  }
  
  .brutal-subtitle {
    font-size: 1.2rem;
  }
  
  .brutal-section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 150px 0 80px;
  }
  
  .navbar-collapse {
    background-color: var(--dark);
    padding: 15px;
    border-bottom: 3px solid var(--primary);
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: var(--space-sm);
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .brutal-title {
    font-size: 2rem;
  }
  
  .brutal-section-title {
    font-size: 1.8rem;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .process-container, .about-content, .careers-container {
    padding: var(--space-sm);
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .contact-form-top {
    padding: 150px 0 30px;
  }
}

@media (max-width: 575.98px) {
  .brutal-title {
    font-size: 1.8rem;
  }
  
  .brutal-subtitle {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 130px 0 60px;
  }
  
  .brutal-section-title {
    font-size: 1.5rem;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}