/* Base Styles & Variables */
:root {
  --primary: #2C3E50;
  --secondary: #E67E22;
  --accent: #3498DB;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --bg-gradient-start: #ECF0F1;
  --bg-gradient-end: #D6EAF8;
  --text-primary: #2C3E50;
  --text-secondary: #7F8C8D;
  --success: #27AE60;
  --warning: #F39C12;
  --error: #E74C3C;
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 80px;
}

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

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-settings-toggle {
  color: white !important;
}

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

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
}

.btn-accent {
  background: var(--accent);
}

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

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

.btn-lg {
  padding: 15px 32px;
  font-size: 1.1rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0;
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: auto;
  z-index: 1;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-title {
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: rgba(236, 240, 241, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

.service-image {
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.service-title {
  margin-bottom: 1rem;
}

.service-description {
  flex-grow: 1;
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.about-content {
  padding: 2rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: rgba(236, 240, 241, 0.5);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  padding: 2rem;
}

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(127, 140, 141, 0.2);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Parallax Sections */
.parallax-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem 0;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.parallax-content {
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.parallax-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.parallax-text {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.cookie-consent.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-text {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-settings-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background: white;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-settings-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(127, 140, 141, 0.2);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--success);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

/* Thanks Page */
.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 3rem 1rem;
}

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

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thanks-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Methodology Page */
.methodology-steps {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.methodology-step {
  position: relative;
  padding: 2rem 0 2rem 3rem;
  border-left: 2px solid var(--accent);
}

.methodology-step:last-child {
  border-left: 2px solid transparent;
}

.methodology-step-number {
  position: absolute;
  left: -25px;
  top: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  z-index: 2;
}

.methodology-step-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

/* Programs Page */
.program-card {
  margin-bottom: 3rem;
  transition: var(--transition);
}

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

.program-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.program-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-right: 1rem;
}

.program-details {
  margin-top: 1.5rem;
}

.program-detail-item {
  display: flex;
  margin-bottom: 1rem;
}

.program-detail-icon {
  color: var(--secondary);
  margin-right: 1rem;
  min-width: 24px;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-secondary); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Telephone Input */
.iti {
  width: 100%;
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-image {
    width: 40%;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 2rem;
  }
  
  .parallax-section {
    height: 300px;
  }
  
  .parallax-title {
    font-size: 2rem;
  }
  
  .parallax-text {
    font-size: 1.1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .methodology-step {
    padding: 1.5rem 0 1.5rem 2rem;
  }
  
  .methodology-step-number {
    left: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .thanks-icon {
    font-size: 4rem;
  }
  
  .thanks-title {
    font-size: 2rem;
  }
  
  .thanks-text {
    font-size: 1.1rem;
  }
}