/* ============================================
   CareLink London - Styles
   Health-Travel Style: White BG, Blue Accents
   Mobile-First, Responsive, Accessible
   ============================================ */

/* CSS Variables */
:root {
  --primary-blue: #0066cc;
  --primary-blue-dark: #004d99;
  --primary-blue-light: #e6f2ff;
  --accent-blue: #00a3e0;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6c757d;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --border-color: #dee2e6;
  --success-green: #28a745;
  --whatsapp-green: #25D366;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

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

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

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 10px;
  text-decoration: none;
  color: var(--white);
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-wrapper:hover {
  text-decoration: none;
}

.logo-img {
  width: 150px;
  height: 45px;
  object-fit: contain;
  border-radius: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  white-space: nowrap;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

.main-nav.active {
  display: flex;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--primary-blue);
  background: var(--primary-blue-light);
}

/* Header Actions */
.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #20bd5a;
  border-color: #20bd5a;
  color: var(--white);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border: none;
}

.btn-instagram:hover,
.btn-instagram:focus {
  background: linear-gradient(45deg, #e08323, #d5582c, #cb1733, #bb1356, #ab0878);
  color: var(--white);
}

/* Instagram Icon */
.instagram-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* WhatsApp Icon */
.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   Partners Section
   ============================================ */
.partner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.partner-featured {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

.partner-featured .partner-image {
  height: 250px;
}

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

.partner-image {
  height: 200px;
  overflow: hidden;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.partner-content {
  padding: 1.5rem;
}

.partner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}

.partner-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-content p {
  color: var(--text-medium);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.partner-content p:last-child {
  margin-bottom: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .partner-featured {
    grid-template-columns: 350px 1fr;
  }

  .partner-featured .partner-image {
    height: auto;
    min-height: 350px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .partner-featured {
    grid-template-columns: 400px 1fr;
  }

  .partner-featured .partner-image {
    min-height: 400px;
  }
}

/* ============================================
   Main Content & Sections
   ============================================ */
main {
  min-height: 100vh;
}

.section {
  padding: 3rem 1rem;
}

.section-alt {
  background: var(--off-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-sm {
  max-width: 800px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--white) 100%);
  padding: 3rem 1rem 4rem;
  text-align: center;
}

.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 0 0 1.5rem;
}

.hero-intro {
  font-size: 1rem;
  color: var(--text-medium);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-disclaimer {
  display: inline-block;
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Feature Cards
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 0.75rem;
}

.feature-text {
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Checklist & Bullet Lists
   ============================================ */
.check-list,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--primary-blue);
  font-weight: 700;
}

/* ============================================
   Highlight Box
   ============================================ */
.highlight-box {
  background: var(--primary-blue-light);
  border-left: 4px solid var(--primary-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: var(--text-dark);
}

/* ============================================
   City Tags
   ============================================ */
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.city-tag {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
}

.city-note {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
}

/* ============================================
   Contact Section & Forms
   ============================================ */
.contact-section {
  background: var(--off-white);
}

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

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #dc3545;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-control.error {
  border-color: #dc3545;
}

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

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.95rem;
  color: var(--text-medium);
  cursor: pointer;
}

/* Form Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-link {
  font-size: 0.9rem;
  text-align: center;
}

/* Success Message */
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.form-success p {
  margin: 0;
}

/* Error Message */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* Office Info */
.office-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.office-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.office-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.office-content {
  flex: 1;
}

.office-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.office-value {
  color: var(--text-medium);
}

.office-value a {
  color: var(--primary-blue);
}

/* ============================================
   Events Page Specific
   ============================================ */
.events-intro {
  max-width: 900px;
  margin: 0 auto;
}

.events-intro p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* Event Cards / Accordion */
.events-list {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
}

.event-header {
  padding: 1.25rem 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.event-header:hover {
  background: var(--primary-blue-dark);
}

.event-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.event-date {
  font-size: 0.95rem;
  opacity: 0.9;
}

.event-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.event-card.open .event-toggle {
  transform: rotate(45deg);
}

.event-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.event-card.open .event-body {
  padding: 1.5rem;
  max-height: 2000px;
}

.event-description {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.event-highlights-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* Event Poster Styles */
.event-poster {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #f0f7ff 100%);
}

.event-poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  border-radius: var(--radius-md);
}

.event-poster:hover img {
  transform: scale(1.02);
}

/* Event poster with fancy border */
.event-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary-blue);
  border-radius: var(--radius-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-poster:hover::before {
  opacity: 1;
}

.poster-placeholder {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
  margin-top: 1.25rem;
  background: var(--off-white);
}

/* Event Registration Form */
.event-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 2.5rem 1rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-disclaimer-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .section {
    padding: 4rem 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0;
  }

  .nav-links {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-links a {
    padding: 0.5rem 1rem;
  }

  .header-actions {
    flex-direction: row;
    width: auto;
    gap: 0.75rem;
  }

  .hero {
    padding: 4rem 2rem 5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .hero-intro {
    font-size: 1.1rem;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions {
    flex-direction: row;
    align-items: center;
  }

  .form-link {
    text-align: left;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero {
    padding: 5rem 2rem 6rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section {
    padding: 5rem 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .feature-card {
    padding: 2.5rem 2rem;
  }

  .contact-grid {
    gap: 3rem;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .container {
    padding: 0;
  }

  .header-container {
    padding: 0;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .btn,
  .form-card,
  .nav-toggle {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .section {
    padding: 1rem 0;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0044aa;
    --border-color: #000;
  }

  .btn {
    border-width: 3px;
  }

  .feature-card,
  .form-card,
  .office-card,
  .event-card {
    border-width: 2px;
    border-color: #000;
  }
}

/* ============================================
   Modern Events Page Styles
   ============================================ */

/* Events Hero */
.events-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #004080 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem 3rem;
}

.events-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.events-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0.95;
  margin: 0 0 1.5rem;
}

.events-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Intro Text */
.intro-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: center;
}

.intro-disclaimer {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 1.5rem;
}

/* Info Grid - Two Column */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.info-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 1.25rem;
}

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

.info-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
}

/* Events Grid - Modern Card Layout */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Modern Event Card */
.modern-event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.modern-event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Event Image Wrapper */
.event-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #d4e8ff 100%);
}

.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Date Badge */
.event-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 60px;
}

.date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Event Content */
.event-content {
  padding: 1.5rem;
}

.event-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.event-location {
  font-size: 0.95rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.event-summary {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* Event Details Button */
.event-details-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.event-details-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.event-details-btn .arrow {
  transition: transform 0.3s ease;
}

.event-details-btn[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Event Details Content */
.event-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
  margin: 0;
  padding: 0;
}

.event-details-content.open {
  max-height: 500px;
  padding-top: 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.event-details-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.event-details-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.event-details-content ul li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.event-note {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
}

.contact-action-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.contact-action-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}

.contact-action-whatsapp:hover {
  border-color: #1da851;
  background: #20bd5a;
}

.contact-action-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.whatsapp-icon-large {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-action-text {
  display: flex;
  flex-direction: column;
}

.contact-action-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.contact-action-whatsapp .contact-action-label {
  color: rgba(255,255,255,0.9);
}

.contact-action-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-action-whatsapp .contact-action-value {
  color: var(--white);
}

/* Office Address Card */
.office-address-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: left;
}

.office-address-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.office-address-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.office-address-value {
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}

/* Contact Help Box */
.contact-help-box {
  background: var(--primary-blue-light);
  border-left: 4px solid var(--primary-blue);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dark);
}

/* ============================================
   Responsive - Events Page
   ============================================ */

@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .events-hero {
    padding: 5rem 2rem 4rem;
  }
  
  .events-hero-title {
    font-size: 2.75rem;
  }
  
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .event-image-wrapper {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1024px) {
  .events-hero-title {
    font-size: 3rem;
  }
  
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .event-content {
    padding: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .events-grid {
    gap: 2.5rem;
  }
}

/* ============================================
   Enhanced Contact Section - Events Page
   ============================================ */

/* Override contact cards for better appearance */
.contact-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.contact-action-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-action-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
  text-decoration: none;
}

.contact-action-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue-light);
  border-radius: 50%;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.contact-action-card:hover .contact-action-icon {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.contact-action-card:hover .contact-action-icon {
  color: var(--white);
}

.contact-action-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-action-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-action-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-blue);
  word-break: break-word;
}

/* WhatsApp Card Special Styling */
.contact-action-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
}

.contact-action-whatsapp .contact-action-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.contact-action-whatsapp:hover .contact-action-icon {
  background: rgba(255,255,255,0.3);
}

.contact-action-whatsapp .contact-action-label {
  color: rgba(255,255,255,0.85);
}

.contact-action-whatsapp .contact-action-value {
  color: var(--white);
}

.contact-action-whatsapp:hover {
  border-color: rgba(255,255,255,0.5);
  background: linear-gradient(135deg, #2be071 0%, #15a085 100%);
}

.whatsapp-icon-large {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Office Address Card Enhancement */
.office-address-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

.office-address-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.office-address-content {
  flex: 1;
}

.office-address-label {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem;
}

.office-address-value {
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

/* Contact Help Box Enhancement */
.contact-help-box {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #d4e8ff 100%);
  border-left: 5px solid var(--primary-blue);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 639px) {
  .contact-cards-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-action-card {
    width: 100%;
    max-width: 320px;
  }
}

/* Date badge year */
.date-year {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.9;
}

/* Full date display in card */
.event-date-full {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

/* Event Image - Portrait Format (1080x1350) */
.event-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #d4e8ff 100%);
}

.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

/* Responsive adjustments for portrait images */
@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1400px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   LEGAL PAGES STYLES
   =========================================== */

.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: underline;
}

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

.info-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.warning-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

.warning-box h3 {
    color: #b45309;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.warning-box p {
    color: #92400e;
    margin-bottom: 0;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

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

.cookie-table th {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background: #f8fafc;
}

.cookie-table tr:hover {
    background: #f0f7ff;
}

/* ===========================================

/* Footer Company Info */
.footer-company-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company-info p {
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .cookie-content {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        max-width: 150px;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

/* ===========================================
   ENHANCED FOOTER STYLES
   =========================================== */

.site-footer {
    background: linear-gradient(180deg, #1a365d 0%, #0f2942 100%);
    color: white;
    padding-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-company {
    padding-right: 2rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-company-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-legal-links h4,
.footer-quick-links h4,
.footer-contact-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-legal-links ul,
.footer-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links li,
.footer-quick-links li {
    margin-bottom: 0.5rem;
}

.footer-legal-links a,
.footer-quick-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-legal-links a:hover,
.footer-quick-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-disclaimer-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
}

.footer-disclaimer-section .footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer-section .footer-disclaimer-title {
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-disclaimer-section .footer-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    text-align: center;
}

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

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-company {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-company-details {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-company-details {
        text-align: center;
    }
    
    .footer-legal-links,
    .footer-quick-links,
    .footer-contact-info {
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ===========================================
   COOKIE CONSENT BANNER (Compact)
   =========================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    border-top: 2px solid var(--primary-blue, #0066cc);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content .cookie-text {
    color: #374151;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-content .cookie-text a {
    color: var(--primary-blue, #0066cc);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-buttons .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.cookie-buttons .btn-outline {
    background: transparent;
    border: 1px solid #9ca3af;
    color: #6b7280;
}

.cookie-buttons .btn-outline:hover {
    background: #f3f4f6;
    border-color: #6b7280;
}

.cookie-buttons .btn-primary {
    background: var(--primary-blue, #0066cc);
    border: 1px solid var(--primary-blue, #0066cc);
    color: white;
}

.cookie-buttons .btn-primary:hover {
    background: #0052a3;
}

@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        gap: 0.75rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
