/* ============================================
   HYLaine, LLC - IT Consulting Website Styles
   Modern, Professional, Responsive
   ============================================ */

/* ============================================
   1. RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
  padding-top: 70px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

a {
  color: #1a56db;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e40af;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #475569;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ============================================
   3. HEADER - STICKY WHITE WITH SHADOW
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.site-header .logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a56db;
  text-decoration: none;
}

.main-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-menu a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav .nav-menu a:hover,
.main-nav .nav-menu a.active {
  color: #1a56db;
}

.main-nav .nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a56db;
  transition: width 0.3s ease;
}

.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a.active::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .main-nav .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav .nav-menu.active {
    display: flex;
  }
  
  .main-nav .nav-menu li {
    border-bottom: 1px solid #e2e8f0;
  }
  
  .main-nav .nav-menu a {
    display: block;
    padding: 15px 0;
  }
  
  .main-nav .nav-menu a::after {
    display: none;
  }
}

/* ============================================
   4. HERO SECTIONS - DARK OVERLAY
   ============================================ */
.hero, .page-hero, .legal-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 64, 175, 0.82) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 80px 20px;
  margin: 0 auto;
  text-align: center;
}

.hero h1, .page-hero h1, .legal-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle, .page-hero p, .legal-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-problem {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border-left: 4px solid #10b981;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero h1, .page-hero h1, .legal-hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle, .page-hero p, .legal-hero p {
    font-size: 16px;
  }
  
  .hero, .page-hero, .legal-hero {
    min-height: 400px;
  }
  
  .hero-content {
    padding: 60px 15px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero h1, .page-hero h1, .legal-hero h1 {
    font-size: 56px;
  }
}

/* ============================================
   5. SECTIONS - ALTERNATING BACKGROUNDS
   ============================================ */
.section {
  padding: 80px 20px;
}

.section-light {
  background: #ffffff;
  padding: 80px 20px;
}

.section-gray {
  background: #f8fafc;
  padding: 80px 20px;
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 80px 20px;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark ul li {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark a {
  color: #93c5fd;
}

.section-dark a:hover {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .section, .section-light, .section-gray, .section-dark {
    padding: 50px 15px;
  }
}

/* ============================================
   6. CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-sm { max-width: 640px; }
.container-md { max-width: 768px; }
.container-lg { max-width: 1024px; }

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: #1a56db;
  color: #ffffff;
  border-color: #1a56db;
}

.btn-primary:hover:not(:disabled) {
  background: #1e40af;
  border-color: #1e40af;
}

.btn-secondary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.btn-secondary:hover:not(:disabled) {
  background: #1e293b;
  border-color: #1e293b;
}

.btn-accent {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.btn-accent:hover:not(:disabled) {
  background: #059669;
  border-color: #059669;
}

.btn-outline-primary {
  background: transparent;
  color: #1a56db;
  border-color: #1a56db;
}

.btn-outline-primary:hover:not(:disabled) {
  background: #1a56db;
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-white:hover:not(:disabled) {
  background: #ffffff;
  color: #1a56db;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   8. CARDS - WHITE BACKGROUND
   ============================================ */
.card, .service-card, .feature-box, .value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .service-card:hover, .feature-box:hover, .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-body, .service-card, .feature-box {
  padding: 25px;
}

.card-title, .service-card h3, .feature-box h3, .value-card h3 {
  color: #0f172a;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-text, .service-card p, .feature-box p, .value-card p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-img, .service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Service Card */
.service-card {
  padding: 30px;
  text-align: center;
}

.service-card .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  color: #1a56db;
  font-size: 1.5rem;
}

.service-card .service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card .service-link {
  display: inline-block;
  margin-top: 15px;
  color: #1a56db;
  font-weight: 500;
}

.service-card .service-link:hover {
  text-decoration: underline;
}

/* Feature Box */
.feature-box {
  text-align: center;
}

.feature-box .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  color: #1a56db;
  font-size: 1.5rem;
}

.feature-box .feature-icon svg {
  width: 32px;
  height: 32px;
}

/* Value Card */
.value-card {
  padding: 30px;
  text-align: center;
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  color: #1a56db;
  font-size: 1.5rem;
}

.value-card .value-icon svg {
  width: 32px;
  height: 32px;
}

/* Value Card with Image Overlay */
.value-card-with-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 250px;
}

.value-card-with-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.value-card-with-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 70%, transparent 100%);
  color: #ffffff;
}

.value-card-with-image-overlay h3 {
  color: #ffffff;
  margin-bottom: 5px;
}

.value-card-with-image-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   9. GRIDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   10. IMAGES IN CONTENT
   ============================================ */
.section-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-with-image {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-with-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-with-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-with-image-content {
  padding: 20px;
}

.feature-with-image-content h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-with-image-content p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

/* Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
  }
}

.story-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.story-text h2 {
  margin-bottom: 15px;
}

.story-text p {
  margin-bottom: 15px;
}

/* Content with Image */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .content-with-image {
    grid-template-columns: 1fr;
  }
  
  .content-with-image.reverse {
    direction: ltr;
  }
}

/* ============================================
   11. SERVICE DETAIL SECTIONS
   ============================================ */
.service-detail {
  padding: 60px 0;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
  }
  
  .service-row.reverse {
    direction: ltr;
  }
}

.service-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-content h2 {
  margin-bottom: 15px;
}

.service-content h3 {
  font-size: 1.125rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.service-content p {
  color: #475569;
}

.service-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.service-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #475569;
}

.service-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1a56db;
  font-weight: bold;
}

.service-content ul.example-list li::before {
  content: '→';
}

.service-number {
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  color: #1a56db;
  opacity: 0.3;
  margin-bottom: 10px;
}

/* ============================================
   12. CONTACT SECTION & FORMS
   ============================================ */
.contact-section {
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2, .contact-info h3 {
  color: #0f172a;
}

.contact-info p {
  color: #475569;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  color: #1a56db;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-form-container {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  color: #0f172a;
  margin-bottom: 20px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-details {
  margin-top: 30px;
}

.contact-details p {
  margin-bottom: 10px;
  color: #475569;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-card h3 {
  color: #0f172a;
  margin-bottom: 10px;
}

.contact-card p, .contact-card address {
  color: #475569;
  margin: 0;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  color: #1a56db;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-office-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1e293b;
}

.form-group label.required::after {
  content: ' *';
  color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-row > .form-group {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row > .form-group {
    min-width: 0;
  }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1a56db;
}

.form-checkbox label {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
}

.form-error {
  display: block;
  margin-top: 5px;
  font-size: 0.875rem;
  color: #ef4444;
}

.form-success {
  background: #10b981;
  color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ============================================
   13. FOOTER
   ============================================ */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px 30px;
}

.site-footer .logo {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 15px;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 40px;
  }
}

.footer-nav-column h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer-nav-column ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.footer-bottom .copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ============================================
   14. COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0f172a;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible,
.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 768px) {
  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-banner__text {
    flex: 1;
  }
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn--accept {
  background: #10b981;
  color: #ffffff;
  border: none;
}

.cookie-btn--accept:hover {
  background: #059669;
}

.cookie-btn--reject {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn--settings {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--settings:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.cookie-modal--visible {
  display: block;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cookie-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.cookie-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
}

.cookie-modal__close:hover {
  color: #1e293b;
}

.cookie-modal__body {
  padding: 20px;
}

.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}

.cookie-category {
  margin-bottom: 25px;
}

.cookie-category__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category__label {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-category__title {
  font-weight: 600;
  color: #0f172a;
}

.cookie-category__badge {
  background: #1a56db;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.cookie-category__description {
  font-size: 0.9rem;
  color: #475569;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cbd5e1;
  transition: 0.2s ease;
  border-radius: 24px;
}

.cookie-toggle__slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  transition: 0.2s ease;
  border-radius: 50%;
}

.cookie-toggle__input:checked + .cookie-toggle__slider {
  background: #10b981;
}

.cookie-toggle__input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

/* ============================================
   15. LEGAL CONTENT PAGES
   ============================================ */
.legal-content {
  padding: 80px 20px;
}

.legal-content article {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content article h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: #0f172a;
}

.legal-content article h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #1e293b;
}

.legal-content article p {
  color: #475569;
  margin-bottom: 15px;
}

.legal-content article ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.legal-content article ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #475569;
}

.legal-content article ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1a56db;
}

.legal-content article address {
  color: #475569;
  line-height: 1.8;
}

.last-updated {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.cookie-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}

.cookie-table td {
  color: #475569;
}

/* ============================================
   16. ABOUT PAGE SPECIFICS
   ============================================ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

.about-stats .stat {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.about-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1a56db;
  margin-bottom: 5px;
}

.about-stats .stat-label {
  display: block;
  color: #475569;
  font-size: 0.9rem;
}

.mission-statement {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #475569;
  font-style: italic;
  padding: 25px;
  background: #f8fafc;
  border-left: 4px solid #1a56db;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}

.address-block {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  margin-top: 20px;
}

.address-block h3 {
  margin-bottom: 10px;
}

.contact-links a {
  display: inline-block;
  margin-right: 20px;
  color: #1a56db;
}

/* ============================================
   17. MAP SECTION
   ============================================ */
.map-section {
  padding: 80px 20px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
}

/* ============================================
   18. CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-section .btn-outline-white {
  border-color: #ffffff;
  color: #ffffff;
}

.cta-section .btn-outline-white:hover {
  background: #ffffff;
  color: #1a56db;
}

.cta-section .btn-primary {
  background: #ffffff;
  color: #1a56db;
  border-color: #ffffff;
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   19. LOCATION SECTION
   ============================================ */
.location-section {
  padding: 80px 20px;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
  }
}

.location-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   20. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #1a56db;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #1e40af;
}

/* ============================================
   21. UTILITY CLASSES
   ============================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   22. ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1a56db;
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  .btn {
    border-width: 3px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    border-width: 2px;
  }
}

/* ============================================
   23. MODAL & BODY STATES
   ============================================ */
body.modal-open {
  overflow: hidden;
}

body.cookie-banner-active {
  padding-bottom: 120px;
}

/* ============================================
   24. FORM VALIDATION STATES
   ============================================ */
.form-group--error .form-input,
.form-group--error .form-textarea,
.form-group--error .form-select {
  border-color: #ef4444;
}

.form-group--error .form-input:focus,
.form-group--error .form-textarea:focus,
.form-group--error .form-select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.is-valid {
  border-color: #10b981 !important;
}

.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.is-invalid {
  border-color: #ef4444 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-help {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #64748b;
}

.form-global-error {
  background: #fef2f2;
  color: #ef4444;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #fecaca;
}
