:root {
  /* Kenya Harlequin FC Brand Color System - HTMLF Reference */
  /* Primary palette */
  --color-primary: #0072CE;           /* Blue */
  --color-secondary: #8B1A1A;         /* Maroon */
  --color-success: #4F8A3D;           /* Green */
  --color-warning: #d4af37;           /* Gold */
  --color-danger: #8B1A1A;            /* Maroon */
  --color-info: #0072CE;              /* Blue */
  --color-accent: #0072CE;            /* Blue - primary accent */
  --color-accent-2: #8B1A1A;          /* Maroon */
  --color-accent-3: #4F8A3D;          /* Green */
  
  /* Semantic variables */
  --color-bg-primary: #f5f5f5;        /* Background */
  --color-bg-secondary: #ffffff;      /* Surface/White */
  --color-bg-hover: #f0f4f8;          /* Light blue-gray hover */
  --color-surface: #ffffff;           /* Cards, panels, content areas */
  --color-surface-alt: #f0f4f8;       /* Light blue-gray surfaces */
  
  --color-text-primary: #1a1a1a;      /* Primary Text */
  --color-text-secondary: #555555;    /* Secondary Text */
  --color-text-muted: #888888;        /* Muted Text */
  --color-text-inverse: #ffffff;       /* Text on colored backgrounds */
  
  --color-border: #e0e0e0;            /* Standard borders */
  --color-border-light: #f0f0f0;       /* Light borders */
  --color-border-strong: #cccccc;     /* Strong borders */
  
  /* Status indicators */
  --color-status-verified: #4F8A3D;    /* Green */
  --color-status-admin: #1a1a1a;      /* Dark */
  --color-status-coach: #0072CE;      /* Blue */
  --color-status-medical: #8B1A1A;    /* Maroon */
  --color-status-performance: #0072CE; /* Blue */
  --color-status-attendance: #4F8A3D; /* Green */
  --color-status-inactive: #888888;   /* Gray */
  
  /* Component-specific colors */
  --color-sidebar-bg: #ffffff;         /* Sidebar background */
  --color-sidebar-text: #1a1a1a;       /* Sidebar text */
  --color-sidebar-active: #0072CE;    /* Active navigation indicator */
  --color-sidebar-hover: #f0f4f8;      /* Hover state */
  
  --color-navbar-bg: #ffffff;          /* Navbar background */
  --color-navbar-border: #0072CE;       /* Navbar border */
  
  --color-notification: #8B1A1A;      /* Notification badge */
  
  --color-banner-blue: #0072CE;       /* Charts - Blue */
  --color-banner-green: #4F8A3D;      /* Charts - Green */
  --color-banner-burgundy: #8B1A1A;   /* Charts - Maroon */
  --color-banner-ivory: #d4af37;      /* Charts - Gold */
  
  /* Radius and spacing */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows (subtle, modern) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-base: 0.2s ease;
  --transition-smooth: 0.3s ease;
  
  /* RGB values for rgba() usage */
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --accent-rgb: 0, 114, 206;
  
  /* Legacy variables for compatibility */
  --bg: var(--color-bg-primary);
  --surface: var(--color-surface);
  --text: var(--color-text-primary);
  --accent: var(--color-primary);
  --border-color: var(--color-border);
  --accent-hover: var(--color-primary);
  --text-heading: var(--color-text-primary);
  --text-muted: var(--color-text-secondary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  height: 130px;
  background: #ffffff;
  border-bottom: 3px solid #0072CE;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.logo-img {
  height: 127px;
  width: auto;
}

.nav-search {
  flex-shrink: 0;
  position: relative;
}

.search-input {
  width: 200px;
  padding: 8px 16px 8px 36px;
  border: 2px solid transparent;
  border-radius: 25px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #f0f4f8;
  outline: none;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5' stroke='%23888' stroke-width='1.8'/%3E%3Cpath d='M13 13l3.5 3.5' stroke='%23888' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.search-input::placeholder {
  color: #888;
}

.search-input:hover {
  background-color: #e8eef4;
  border-color: #0072CE;
  width: 230px;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: #0072CE;
  width: 250px;
  box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.15);
  color: #0072CE;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 6px 10px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  border-radius: 2px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #0072CE;
  background: rgba(0, 114, 206, 0.07);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 4px;
  background: #0072CE;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: block;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border-top: 3px solid #0072CE;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 999;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.dropdown-menu li a::before {
  content: '\203A';
  font-size: 1.1rem;
  color: #0072CE;
  transition: transform 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #0072CE;
  color: #ffffff;
  padding-left: 20px;
}

.dropdown-menu li a:hover::before {
  color: #ffffff;
  transform: translateX(3px);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  background-color: #4b4141;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.45) 100%);
  overflow: hidden;
}

.quins-ribbon {
  position: absolute;
  left: 40px;
  top: 20%;
  bottom: 20%;
  width: 5px;
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.ribbon-segment {
  flex: 1;
}

.ribbon-red   { background-color: #8B1A1A; }
.ribbon-blue  { background-color: #0072CE; }
.ribbon-brown { background-color: #6F4E37; }
.ribbon-grey  { background-color: #C0C0C0; }
.ribbon-green { background-color: #4F8A3D; }

.hero-content {
  position: relative;
  z-index: 1;
  margin-left: 100px;
  padding: 60px 40px;
  max-width: 750px;
}

.hero-banner {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-banner span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.hero-headline {
  font-family: 'Oswald', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}


.hero-sub {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-latin {
  font-family: 'IM Fell DW Pica SC', serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 13px 30px;
  background: #0072CE;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #005bab;
  transform: translateY(-2px);
}

.btn-outline {
  padding: 13px 30px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: #ffffff;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  .nav-search {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 3px solid #0072CE;
    padding: 12px;
    gap: 4px;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 16px;
  }
  .dropdown-menu {
    position: static;
    background: #ffffff;
    border: none;
    border-top: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
}

.section-dark {
  background: #f5f5f5;
  border-top: none;
  border-bottom: none;
}

.news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 40px;
  background: #f5f5f5;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.news-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #8B1A1A;
  text-transform: uppercase;
}

.news-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 10px;
}

.btn-see-all {
  padding: 12px 28px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-see-all:hover {
  background: #0072CE;
}

.news-featured {
  display: block;
  margin-bottom: 24px;
}


.news-featured-img {
  position: relative;
  width: 40%;
  height: 450px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.05);
}

.news-featured-text {
  padding: 24px 0 0;
}

.news-featured-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #555;
  background: #f0f0f0;
  padding: 6px 14px;
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: block;
}

.news-card:hover {
}

.news-card-img {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.news-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
  color: #ffffff;
}

.tag-academy {
  background: #6F4E37;
}

.tag-men {
  background: #8B1A1A;
}

.tag-women {
  background: #4F8A3D;
}

@media (max-width: 900px) {
  .news-section {
    padding: 60px 24px;
  }
  .news-title {
    font-size: 2rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-featured {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .news-featured-img {
    height: 260px;
  }
  .news-card-img {
    height: 200px;
  }
}

.team-section {
  position: relative;
  background: #514444;
  padding: 60px 40px 0;
}

.team-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #1a75c0;
  z-index: 0;
}

.team-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.team-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #0072CE;
  margin: 12px auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card-frame {
  position: relative;
  border: 3px solid #4F8A30;
  border-radius: 4px;
  overflow: hidden;
  height: 370px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .team-card-frame {
  transform: scale(1.03);
  border-color: #6FBF40;
}

.team-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.team-card:hover .team-card-frame img {
  transform: scale(1.05);
}

.team-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  border-left: 4px solid #4F8A30;
  padding-left: 10px;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
}

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.team-player-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border-left: 4px solid #4F8A30;
  padding-left: 10px;
}

.team-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #0072CE;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  border: none;
}

.team-btn:hover {
  background: #8B1A1A;
  color: #ffffff;
}

.social-section {
  background: #1a1a1a;
  padding: 60px 40px;
  text-align: center;
}

.social-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.social-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.social-card svg {
  width: 28px;
  height: 28px;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-x         { background: #000000; border: 2px solid #333; }
.social-facebook  { background: #1877F2; }
.social-tiktok    { background: #000000; border: 2px solid #333; border-radius: 16px; }
.social-youtube   { background: #FF0000; }

.sponsors-section {
  background: #ffffff;
  padding: 70px 40px;
  text-align: center;
}

.sponsors-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8B1A1A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 50px;
}

.sponsors-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #0072CE;
  margin: 12px auto 0;
}

.sponsors-sub {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #0072CE;
}

.sponsor-card img {
  width: 180px;
  height: 100px;
  object-fit: contain;
  filter: none;
}

.sponsor-card:hover img {
  filter: none;
}

.sponsor-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.sponsor-link {
  padding: 5px 12px;
  background: #f0f4f8;
  color: #0072CE;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 20px;
  border: 1px solid #0072CE;
  transition: background 0.2s ease, color 0.2s ease;
}

.sponsor-link:hover {
  background: #0072CE;
  color: #ffffff;
}

.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  background: #8B1A1A;
}

.newsletter-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 50px 50px;
}

.newsletter-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.newsletter-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.newsletter-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #ffffff;
  margin-top: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.6);
  padding: 10px 0;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
  border-bottom-color: #ffffff;
}

.newsletter-btn {
  align-self: flex-end;
  padding: 14px 36px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  border: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #0072CE;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: #1a1a1a;
}

.contact-left {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-right: none;
}

.contact-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #8B1A1A;
  margin-top: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: #8B1A1A;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #8B1A1A;
  margin-bottom: 6px;
}

.contact-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.contact-email {
  color: #0072CE;
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: #ffffff;
}

.contact-map-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: #8B1A1A;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: none;
  transition: background 0.2s ease;
}

.contact-map-btn:hover {
  background: #0072CE;
}

.contact-right {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 500px;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.contact-right iframe:hover {
  filter: grayscale(20%);
}

.footer {
  background: #1a1a1a;
  border-top: 3px solid #8B1A1A;
  padding: 50px 40px 0;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.footer-logo-link:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.footer-logo-link img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
}

.footer-logo-link span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  text-align: center;
}

.footer-logo-link:hover span {
  color: #ffffff;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.history-hero {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(139,26,26,0.6) 100%), url('images/history-photo.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-hero-overlay {
  text-align: center;
  padding: 20px;
}

.history-hero-since {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.history-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.history-hero-sub {
  font-family: 'IM Fell DW Pica SC', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.history-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  background: var(--color-bg-primary);
}

.history-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.history-block-reverse {
  direction: rtl;
}

.history-block-reverse > * {
  direction: ltr;
}

.history-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: #8B1A1A;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.history-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  border-left: 4px solid #8B1A1A;
  padding-left: 14px;
}

.history-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

.history-img {
  width: 100%;
  height: 320px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 3px solid #8B1A1A;
}

.history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.history-img:hover img {
  transform: scale(1.05);
}

.history-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #8B1A1A, #0072CE, #4F8A3D);
  margin: 40px 0;
  border-radius: 2px;
}

.history-timeline {
  margin-top: 60px;
  background: #1a1a1a;
  border: none;
  border-radius: 6px;
  padding: 50px 40px;
}

.timeline-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  text-align: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #8B1A1A;
}

.timeline-item {
  position: relative;
  padding: 20px 0 20px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0072CE;
  border: 3px solid #1a1a1a;
}

.timeline-year {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #8B1A1A;
  min-width: 60px;
}

.timeline-event {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}