    :root{
      --panel-min-height: 560px;
      --panel-padding: 64px;
      --image-extra: 220px;
      --accent: #b71c1c;
      --panel-bg: #0b0b0b;
    }
    
    .page-header {
      text-align: center;
      padding: 140px 20px 40px;
    }
    .page-header h1 {
      font-size: 2.5rem;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    .contact-section{padding:60px 40px;}
    .contact-container {
      max-width:1320px; margin:0 auto;
      display:grid; grid-template-columns: 1fr 1fr; align-items:center;
    }
    .col-image img{
      width:100%; height: calc(var(--panel-min-height) + var(--image-extra));
      object-fit: cover;
      box-shadow: 0 18px 48px rgba(0,0,0,0.25);
    }
    .col-panel { margin-left:-60px; }
    .panel {
      background: var(--panel-bg); color: #fff;
      padding: var(--panel-padding);
      min-height: var(--panel-min-height);
      display:flex; flex-direction:column;
    }
    .panel .title {
      font-family: 'Anton', sans-serif;
      font-size:56px; margin-bottom:18px;
    }
    .lead, .cta { font-size:18px; line-height:1.8; margin-bottom:20px; }
    .lead { font-style: italic; }
    .cta { font-style: italic; }
    .contact-grid {
      display:grid; grid-template-columns: 1fr 1fr;
      gap:22px 40px; margin-top:auto;
    }
    .contact-item { display:flex; gap:18px; }
    .ico { width:26px; height:26px; color: var(--accent); margin-top:4px; }
    .label { font-weight:700; font-size:14px; margin-bottom:6px; text-transform:uppercase; }
    .value { font-size:16px; }
    
    /* Social Media Icons - Inline with contact info */
    .social-item {
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }
    .social-media {
      display: flex;
      gap: 12px;
      margin-top: 4px;
    }
    .social-media a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
    }
    .social-media a:hover {
      background: var(--accent);
      transform: translateY(-2px);
    }
    .social-media img {
      width: 18px;
      height: 18px;
      filter: brightness(0) invert(1);
    }

    /* Footer Contact Icons */
    .footer-contact-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 0.8rem;
    }
    .footer-contact-icon {
      color: #b71c1c;
      width: 16px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    @media (max-width:880px){
      .contact-container{ grid-template-columns: 1fr; }
      .col-panel{ margin-left:0; }
      .panel{ padding:36px; min-height:auto; }
      .contact-grid{ grid-template-columns: 1fr; }
    }
/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(70, 70, 70, 0.15);
  tap-highlight-color: rgba(70, 70, 70, 0.15);
  transition: background-color 0.3s ease, color 0.2s ease;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: clamp(40px, 6vw, 70px);
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: black;
  margin-left: -5px;
  white-space: nowrap;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  color: black;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0.5px 0 0 currentColor;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8px;
  height: 2px; width: 100%;
  background: #444;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li a:hover::after { transform: scaleX(1); }

/* DROPDOWN (desktop) - FIXED */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: block;
  position: absolute;
  background: #fff;
  min-width: 180px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  z-index: 999;
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: #000;
  text-align: center;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.dropdown-content li a:hover {
  background: #f5f5f5;
  color: #000;
}

/* Create invisible hover bridge */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-links li.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* DROPDOWN ARROW STYLES */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 2px;
}

.nav-links li.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Point down when dropdown is active/tapped */
.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* BURGER MENU */
.burger {
  position: absolute;
  right: clamp(0.8rem, 3vw, 1.2rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(36px, 7vw, 64px);
  height: clamp(36px, 7vw, 64px);
  z-index: 1101;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 0.9vw, 8px);
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 100%;
  height: clamp(3px, 0.6vw, 4px);
  background: black;
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem 1rem;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.mobile-nav a {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: black;
  display: block;
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0.5px 0 0 currentColor;
}

/* MOBILE DROPDOWN STYLES - FIXED */
.mobile-nav .dropdown-content {
  display: none;
  position: static;
  background: transparent;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  max-height: none;
  overflow: visible;
}

.mobile-nav .mobile-dropdown.active .dropdown-content {
  display: block;
}

.mobile-nav .dropdown-content li a {
  font-size: 1.2rem;
  color: #000;
  padding: 8px 0;
  opacity: 1;
  visibility: visible;
  font-weight: 600;
}

.mobile-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-nav .dropdown-arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* CONTACT PAGE SPECIFIC STYLES */
/* HEADER */
.page-header {
  text-align: center;
  padding: 140px 20px 40px;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* CONTACT SECTION */
:root{
  --panel-min-height: 560px;
  --panel-padding: 64px;
  --image-extra: 220px;
  --accent: #b71c1c;
  --panel-bg: #0b0b0b;
}

.contact-section {
  padding: 60px 40px;
  position: relative;
}

.contact-container {
  max-width: 1320px; 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  align-items: center;
  position: relative;
}

.col-image {
  position: relative;
  z-index: 1; /* Image behind on desktop */
}

.col-image img{
  width: 100%; 
  height: calc(var(--panel-min-height) + var(--image-extra));
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0,0,0,0.25);
}

.col-panel { 
  margin-left: -60px; 
  position: relative;
  z-index: 2; /* Panel in front on desktop */
}

.panel {
  background: var(--panel-bg); 
  color: #fff;
  padding: var(--panel-padding);
  min-height: var(--panel-min-height);
  display: flex; 
  flex-direction: column;
  position: relative;
}

.panel .title {
  font-family: 'Anton', sans-serif;
  font-size: 56px; 
  margin-bottom: 18px;
}

.lead, .cta { 
  font-size: 18px; 
  line-height: 1.8; 
  margin-bottom: 20px; 
}
.lead { font-style: italic; }
.cta { font-style: italic; }

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

.contact-item { 
  display: flex; 
  gap: 18px; 
  align-items: flex-start;
}

.ico { 
  width: 26px; 
  height: 26px; 
  color: var(--accent); 
  margin-top: 4px;
  fill: currentColor;
  flex-shrink: 0;
}

.label { 
  font-weight: 700; 
  font-size: 14px; 
  margin-bottom: 6px; 
  text-transform: uppercase; 
}
.value { font-size: 16px; }
.value a {
  color: #fff;
  transition: color 0.3s ease;
}
.value a:hover {
  color: var(--accent);
}

/* Social Media Icons - Inline with contact info */
.social-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.social-media {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.social-media a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.social-media img {
  width: 18px;
  height: 18px;
  filter: none;
}

/* MOBILE STYLES - FIXED Z-INDEX STACKING */
@media (max-width: 880px){
  .contact-section {
    padding: 40px 20px;
  }
  
  .contact-container { 
    grid-template-columns: 1fr; 
    gap: 0;
  }
  
  .col-image {
    order: 1; /* Image first in HTML flow */
    z-index: 1; /* Image behind */
    position: relative;
  }
  
  .col-image img {
    height: 400px;
    width: 90%;
    margin: 0 auto;
    display: block;
  }
  
  .col-panel { 
    order: 2; /* Panel second in HTML flow */
    margin-left: 0;
    margin-top: -100px; /* Pull panel up over image */
    z-index: 2; /* Panel in front */
    position: relative;
  }
  
  .panel { 
    padding: 36px; 
    min-height: auto;
    position: relative;
    z-index: 3;
  }
  
  .contact-grid { 
    grid-template-columns: 1fr; 
  }
  
  .panel .title {
    font-size: 42px;
    text-align: center;
  }
  
  .lead, .cta {
    text-align: center;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .contact-section {
    padding: 30px 15px;
  }
  
  .col-panel {
    margin-top: -80px;
  }
  
  .col-image img {
    height: 350px;
    width: 85%;
  }
  
  .panel {
    padding: 24px;
  }
  
  .panel .title {
    font-size: 36px;
  }
  
  .lead, .cta {
    font-size: 16px;
  }
}

/* FOOTER - UPDATED LAYOUT */
.footer {
  background:#111;color:#fff;padding:3rem 1.5rem 1.5rem;margin-top:3rem;font-size:0.95rem;
}
.footer-container {
  display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:2rem;max-width:1200px;margin:0 auto;
}

/* Consistent heading sizes */
.footer h3, .footer h4 {
  font-family:'Anton',sans-serif;
  margin-bottom:0.8rem;
  font-size: 1.3rem; /* Same size for all headings */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer p,.footer a{color:#ccc;line-height:1.6;}
.footer a:hover{color:#b71c1c;} /* Changed to red hover color */

/* Fixed footer brand alignment */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.8rem;
  width: 100%;
}
.footer-logo-container img {
  max-height: 3rem;
  width: auto;
}
.footer-logo-container h3 {
  font-size: 1.5rem;
  margin: 0;
}
.footer-brand .tagline {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color:#bbb;
  width: 100%;
  text-align: center;
}

.footer-links ul{list-style:none;}
.footer-links li{margin-bottom:0.5rem;}
.footer-links a{font-weight:600;}

/* SOCIAL MEDIA SECTION */
.footer-social-media {
  display: flex;
  flex-direction: column;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Smaller icons */
  height: 40px; /* Smaller icons */
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1rem; /* Smaller icon size */
}
.footer-socials a:hover {
  background: #b71c1c; /* Red background on hover */
  transform: scale(1.1);
  color: #fff;
}

/* CONTACT SECTION */
.footer-contact p{margin-bottom:0.4rem;}
.footer-contact a{border-bottom:2px solid transparent;transition:border-color 0.3s ease;}
.footer-contact a:hover{border-bottom-color:#b71c1c;} /* Changed to red hover color */

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.footer-contact-icon {
  color: #b71c1c;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom{
  text-align:center;
  margin-top:2.5rem;
  font-size:0.85rem;
  color:#999;
  border-top:1px solid #333;
  padding-top:1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.creator {
  font-size: 0.8rem;
  color: #777;
}

/* RESPONSIVE STYLES */
@media (max-width:900px){
  .footer-container{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  .footer-container{grid-template-columns:1fr;text-align:center;}
  .footer-socials{justify-content:center;}
  .footer-logo-container {justify-content: center;text-align: center;}
}
@media (max-width: 600px) {
  .footer-contact-item {
    justify-content: center; /* Center the flex items */
    text-align: center;
  }
}
/* INSTRUCTORS HERO SECTION - FIXED */
.instructors-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/images/instructors/instructors-hero.jpg') center/cover;
  margin-top: 80px;
}

.instructors-hero .hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  z-index: 3;
  position: relative;
}

.instructors-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.instructors-hero p {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.contact-hero {
  background: url('../images/dojo-bg.jpg') center/cover;
  color: #000; /* Black text */
  text-align: center;
  padding: 8rem 1rem 4rem;
  margin-top: 70px;
}

.contact-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Timetable Section */
.contact-section {
  padding: 4rem 1rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}
@media (max-width: 768px) {
  .contact-hero {
    padding: 6rem 1rem 3rem;
  }
  
  .pricing-card { 
    padding: 2rem 1.5rem; 
  }
  
  .pricing-card h2 { 
    font-size: 1.8rem; 
  }
  
  .price-label, .price-amount { 
    font-size: 1rem; 
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .instructors-cta {
    padding: 60px 20px;
  }
  
  .instructors-cta .content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .footer-socials {
    justify-content: center;
  }
}
/* CTA SECTION */
.instructors-cta {
  padding: 80px 20px;
  text-align: center;
  background: #c00;
  color: white;
}

.instructors-cta .content h2 {
  color: white;
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.instructors-cta p {
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: white;
  color: #c00;
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
