@media (max-width: 768px) {
  /* Hide timeline circles on mobile */
  .timeline-circle {
    display: none !important;
  }

  /* Safari-specific fixes for mobile timeline */
  @supports (-webkit-touch-callout: none) {
    .timeline-item {
      width: 100% !important;
      margin: 2.5rem auto !important;
      max-width: 90vw;
      float: none !important;
      clear: both !important;
    }
    .timeline-card {
      width: 100%;
      position: relative;
      margin: 0 auto;
    }
    .timeline-card img {
      margin: 0 auto 1rem auto;
    }
    .timeline::before {
      left: 50% !important;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
    }
  }
}
  /* Medal icon centered under year/event on mobile */
  .timeline-medal-mobile {
    display: none;
  }
  
  .timeline-card .timeline-medal-mobile {
    display: none;
  }
  
  @media (max-width: 768px) {
    .timeline-card .timeline-medal-mobile {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0.5rem 0 0.2rem 0;
      font-size: 1.7rem;
    }
  }
/* ===== Improved mobile timeline/legacy section ===== */
@media (max-width: 768px) {
  .timeline-section {
    padding: 2.5rem 0.2rem 2.5rem 0.2rem;
    background-attachment: scroll;
  }
  .timeline {
    max-width: 100vw;
    padding: 0;
    margin: 0 auto;
  }
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: var(--toronto-red);
    border-radius: 2px;
  }
  .timeline-item {
    max-width: 95vw;
    margin: 2.5rem auto !important;
    width: 100%;
    position: relative;
    float: none;
    clear: both;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .timeline-item::after {
    display: none;
  }
  .timeline-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    padding: 1rem 0.5rem;
    border-radius: 10px;
    max-width: 95vw;
    width: 100%;
    font-size: 1rem;
    margin: 0 auto;
  }
  .timeline-card img {
    width: 100%;
    max-width: 240px;
    max-height: 120px;
    height: auto;
    object-fit: cover;
    margin-bottom: 0.7rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
  }
  .timeline-circle {
    left: 50%;
    right: auto !important;
    transform: translate(-50%, -50%);
    top: 0;
    margin-top: -20px;
    width: 36px;
    height: 36px;
    border-width: 3px;
    font-size: 1.1rem;
  }
  .timeline-year {
    font-size: 1.15rem;
    text-align: center;
  }
  .timeline-event {
    font-size: 1rem;
    text-align: center;
  }
}
/* ===================== MOBILE NAVIGATION (HAMBURGER) ===================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2200;
    margin-right: 0.5rem;
    z-index: 1200;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-bar {
    width: 26px;
    height: 3px;
    background: var(--accent);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
  }
  .nav-scroll-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 0 0 12px 12px;
    padding: 0.5rem 0 1rem 0;
    display: none; /* fallback */
    flex-direction: column;
    align-items: flex-start;
    z-index: 2100; /* above header */
    -webkit-overflow-scrolling: touch;
    /* ensure hidden state works even if display gets overridden somewhere */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  
  /* Safari-specific navigation fixes */
  @supports (-webkit-touch-callout: none) {
    .nav-scroll-wrapper {
      width: 100%;
      left: 0;
      right: 0;
    }
    .site-header .container.nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
    }
    .logo {
      margin-left: 0.2rem;
    }
  }
  .nav-scroll-wrapper.nav-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .nav__menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 1.5rem;
  }
  .nav__menu li {
    width: 100%;
  }
  .nav__menu a {
    font-size: 1.15rem;
    padding: 0.7rem 0;
    width: 100%;
    display: block;
    border-radius: 6px;
    transition: background 0.2s;
  }
  .nav__menu a:hover {
    background: #f5f5f5;
    color: var(--accent);
  }
  .nav {
    flex-wrap: nowrap;
  }
}

@media (max-width: 900px) {
  .nav-scroll-wrapper {
    max-width: 100vw;
    overflow-x: visible;
  }
}

@media (max-width: 900px) {
  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    /* Show hamburger only on mobile */
    display: flex;
  }
  .nav-scroll-wrapper {
    /* Hide nav by default on mobile */
    display: none;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
  .nav-scroll-wrapper {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }
  .nav__menu {
    flex-direction: row;
    gap: 1.5rem;
    padding: 0.5rem 0;
  }
}
/* Mobile responsive adjustments for timeline/legacy section */
@media (max-width: 768px) {
  .timeline-section {
    padding: 2rem 0.2rem;
  }
  .timeline {
    padding: 0;
  }
  .timeline-item {
    margin: 1.2rem 0;
    min-width: 0;
  }
  .timeline-card {
    padding: 0.8rem 0.5rem;
    border-radius: 10px;
    max-width: 95vw;
    width: 100%;
    font-size: 0.98rem;
  }
  .timeline-card img {
    width: 100%;
    max-width: 260px;
    max-height: 140px;
    height: auto;
    object-fit: cover;
    margin-bottom: 0.7rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .timeline-year {
    font-size: 1.1rem;
  }
  .timeline-event {
    font-size: 1rem;
  }
}
/* Mobile hero section improvements */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 520px;
    margin-top: 0;
    align-items: flex-start;
  }
  .hero-content {
    padding-top: 80px;
    padding-bottom: 32px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .scroll-down {
    margin-top: 1.5rem;
  }
}
/* ==========================================================================
   BRENDON RODNEY - OFFICIAL WEBSITE STYLES
   Created by: Abdullah Mahfouz (aboudmahfouz@gmail.com)
   ========================================================================== */

/* ==========================================================================
   ROOT VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color Palette */
  --primary: #292d33;        /* Dark gray for text */
  --accent: #E31837;         /* Toronto Red - primary brand color */
  --white: #ffffff;          /* Pure white */
  --black: #000000;          /* Pure black */
  --light-gray: #f5f5f5;     /* Light gray for backgrounds */
  --border: #ddd;            /* Standard border color */
  --shadow: rgba(0, 0, 0, 0.08); /* Subtle shadow color */
  
  /* Toronto FC Brand Colors */
  --toronto-red: #E31837;    /* Primary red */
  --toronto-blue: #003E7E;   /* Secondary blue */
  --toronto-silver: #A5A4A4; /* Accent silver */
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  line-height: 1.6;
  background: var(--white);
}

/* Container for consistent width across sections */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Reset link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Responsive image defaults */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

/* Fixed header with glass morphism effect */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 2rem;
  z-index: 2000;
  transition: all 0.3s ease;
}

/* Navigation container */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo styling with white background container */
.logo {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  background: #fff;
  border-radius: 4px;
  margin-left: 0.2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .logo {
    margin-left: 0.1rem;
    padding: 0.15rem 0.4rem 0.15rem 0.1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
}

.logo img {
  width: 120px;
  height: 45px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

/* Logo hover effect */
.logo:hover img {
  transform: scale(1.05);
}

/* Scrollable navigation wrapper for mobile */
.nav-scroll-wrapper {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar on mobile devices */
.nav-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Navigation menu */
.nav__menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  white-space: nowrap;
  padding: 0.5rem 0;
}

/* Navigation links with underline animation */
.nav__menu a {
  position: relative;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Animated underline effect on hover */
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__menu a:hover::after {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

/* Full viewport hero with background image */
.hero {
  position: relative;
  margin-top: 70px; /* Account for fixed header */
  height: calc(100vh - 70px);
  background-image: url('../img/brendon 2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  mix-blend-mode: multiply;
  z-index: 0;
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  width: 100%;
  padding: 0 1rem;
}

/* Animated hero title with gradient text */
.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, #a40e28, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease infinite,
             text-reveal 1.2s ease-out forwards;
}

/* Gradient animation for hero title */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Text reveal animation */
@keyframes text-reveal {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Hero subtitle styling */
.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

/* Underline accent for subtitle */
.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #a40e28;
  border-radius: 2px;
  opacity: 0.9;
}

/* Scroll down indicator */
.scroll-down {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Animated arrow */
.scroll-down .arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  animation: arrow-bounce 1.5s infinite;
}

/* Arrow bounce animation */
@keyframes arrow-bounce {
  0%   { transform: rotate(45deg) translate(0, 0); opacity: 1 }
  50%  { transform: rotate(45deg) translate(0, 8px); opacity: 0.6 }
  100% { transform: rotate(45deg) translate(0, 0); opacity: 1 }
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

/* Primary button with gradient and animations */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(45deg, var(--accent) 0%, #8e0d22 100%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

/* Shine effect for buttons */
.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: translate(-100%, -100%) rotate(45deg);
  transition: transform 0.5s ease;
  z-index: -1;
}

/* Button hover effects */
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn:hover::before {
  transform: translate(0, 0) rotate(45deg);
}

/* Button active state */
.btn:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Portfolio button with enhanced styling */
.portfolio-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--toronto-red);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

/* Portfolio button hover effects */
.portfolio-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 24, 55, 0.4);
  background: #cc1630;
}

/* Arrow icon animation */
.portfolio-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.portfolio-btn:hover i {
  transform: translateX(4px);
}

/* Pulse animation for attention */
@keyframes pulse {
  0% { box-shadow: 0 6px 20px rgba(227, 24, 55, 0.3); }
  50% { box-shadow: 0 6px 30px rgba(227, 24, 55, 0.5); }
  100% { box-shadow: 0 6px 20px rgba(227, 24, 55, 0.3); }
}

/* ==========================================================================
   PROFILE/BIOGRAPHY SECTION
   ========================================================================== */

/* Profile section with gradient background */
.profile-section {
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #e1e1e1 100%);
}

/* Additional overlay for depth */
.profile-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(230,230,230,0.6));
  z-index: -1;
}

/* Profile grid layout */
.profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}

/* Profile image container */
.profile-image {
  position: relative;
}

.profile-image img {
  border-radius: 8px;
}

/* Stats overlay on profile image */
.profile-born {
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  background: rgba(0,0,0,0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.profile-born ul {
  list-style: none;
  color: var(--white);
  font-size: 0.9rem;
}

.profile-born li {
  margin-bottom: 0.25rem;
}

/* Profile text styling */
.profile-text h2 {
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.profile-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.profile-text p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   TIMELINE/LEGACY SECTION
   ========================================================================== */

/* Timeline section with background image */
.timeline-section {
  padding: 6rem 2rem;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url('../img/background-2.png') center/cover no-repeat fixed;
  color: white;
}

/* Section title styling */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Title underline accent */
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--toronto-red);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(227, 24, 55, 0.5);
}

/* Timeline container */
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Central vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--toronto-red);
  top: 0;
}

/* Timeline items */
.timeline-item {
  width: 100%;
  max-width: 500px;
  margin: 2rem 0;
  position: relative;
}

/* Alternate timeline items left/right */
.timeline-item:nth-child(odd) {
  margin-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  margin-left: calc(50% + 2rem);
}

/* Horizontal connecting lines */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 2rem;
  height: 4px;
  background: var(--toronto-red);
}

.timeline-item:nth-child(odd)::after {
  right: -2rem;
}

.timeline-item:nth-child(even)::after {
  left: -2rem;
}

/* Timeline achievement cards */
.timeline-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.timeline-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Achievement year styling */
.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--toronto-red);
  margin-bottom: 0.5rem;
}

/* Achievement event description */
.timeline-event {
  font-size: 1.1rem;
  color: #333;
}

/* Medal circle markers */
.timeline-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--toronto-red);
  border: 4px solid white;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timeline-circle i {
  color: white;
  font-size: 18px;
}

/* Medal color variations */
.medal-gold .fa-medal {
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.medal-silver .fa-medal {
  color: #C0C0C0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.medal-bronze .fa-medal {
  color: #CD7F32;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Position circles on timeline */
.timeline-item:nth-child(odd) .timeline-circle {
  right: -3.25rem;
}

.timeline-item:nth-child(even) .timeline-circle {
  left: -3.25rem;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

/* Team section with background */
.team-section {
  background-color: #000; /* Fallback color */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                    url('img/background-2.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  color: white;
  position: relative;
  z-index: 0;
}

/* Team layout container */
.team-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Team info section */
.team-info {
  flex: 1;
  text-align: left;
  max-width: 500px;
  width: 40%;
}

/* Team heading with large accent text */
.team-heading {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.team-heading span {
  font-size: 4rem;
  color: var(--accent);
}

/* Team logo */
.team-logo {
  width: 120px;
  margin: 1.5rem 0;
  display: block;
}

/* Team achievement card */
.team-achievement {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.team-achievement h3 {
  color: var(--toronto-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Team member names */
.team-members {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Team description */
.team-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Gold medal result */
.team-result {
  color: #ffd700;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Team button */
.team-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-button:hover {
  background: var(--accent);
  color: #fff;
}

/* Team photo */
/* Team photo styling - desktop-friendly with mobile compatibility */
.team-photo {
  flex: 1;
  text-align: center;
  margin: 2rem 0;
  width: 50%;
}

.team-photo img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

/* Gallery section styling */
.gallery-section {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

/* Gallery slider container */
.gallery-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
}

/* Gallery track for smooth scrolling */
.gal-track {
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  will-change: scroll-position;
}

/* Hide scrollbar */
.gal-track::-webkit-scrollbar {
  display: none;
}

/* Individual gallery slides */
.gal-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  user-select: none;
}

.gal-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

/* Gallery navigation buttons */
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* Button positioning */
.gal-prev {
  left: 14px;
}

.gal-next {
  right: 14px;
}

/* Gallery dots indicator */
.gal-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.gal-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.gal-dots button.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Gallery grid for hover effects */
.gallery-grid img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

/* Contact section header */
.contact-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Contact title with underline */
.contact-title {
  position: relative;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #a40e28;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Contact form wrapper */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

/* Contact form styling */
.contact-form {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  width: 100%;
}

/* Form input styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.contact-form select {
  background-color: white;
  color: #333;
  appearance: menulist; /* Ensures proper display across browsers */
  -webkit-appearance: menulist; /* For Safari */
}

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

/* Form submit button */
.contact-form .btn.cta {
  padding: 1rem;
  background-color: #a40e28;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .btn.cta:hover {
  background-color: #8e0d22;
}

/* Contact info icons */
.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  text-align: center;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

/* Contact icon sizing */
.contact-info img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Contact image section */
.contact-image {
  flex: 1 1 350px;
  max-width: 450px;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Media partner logo */
.media-wrapper {
  perspective: 600px;
  text-align: center;
  margin: 2rem auto;
}

.media-wrapper .media-img {
  display: inline-block;
  width: 60%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Site footer styling */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

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

/* Footer accent color */
.site-footer .highlight {
  color: #a40e28;
  font-weight: 600;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

/* Typewriter animation for text effects */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.12em solid var(--white);
  animation:
    typing 2s steps(30, end) forwards,
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--white); }
}

/* Stat card hover effects */
.stat {
  display: inline-block;
  padding: 1rem;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Stat number styling */
.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  transition: color 0.3s ease;
}

/* SVG line animations */
.svg-try-line path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1s ease-out;
}

.svg-try-line.revealed path {
  stroke-dashoffset: 0;
}

/* CTA button variations */
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #a40e28, #8e0d22);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #8e0d22, #700b1a);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 57, 53, 0.4);
}

/* Secondary CTA styling */
.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.cta-btn.secondary {
  background: rgba(255,255,255,0.2);
  color: #171717;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.35);
}

/* ==========================================================================
   BOOKINGS/OFFERINGS SECTION
   ========================================================================== */

/* Offerings section styling */
.offerings-section {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

/* Offerings grid layout */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
}

/* Individual offering cards */
.offering-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.offering-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Offering card icons */
.offering-card i {
  font-size: 3rem;
  color: var(--toronto-red);
  margin-bottom: 1.5rem;
  display: block;
}

/* Offering card titles */
.offering-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.offering-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.offering-card h3 a:hover {
  color: var(--toronto-red);
}

/* Offering card descriptions */
.offering-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

/* Learn more button styling */
.learn-more-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--toronto-red);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.3);
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 24, 55, 0.4);
  background: #cc1630;
}

/* Section title for bookings */
.offerings-section .section-title {
  color: var(--primary);
  text-shadow: none;
  margin-bottom: 1rem;
}

.offerings-section .section-title::after {
  background: var(--toronto-red);
  box-shadow: 0 2px 8px rgba(227, 24, 55, 0.3);
}


/* Mobile responsive adjustments for bookings and bio/profile */
@media (max-width: 768px) {
  /* Force mobile-friendly background for team section */
  .team-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)) !important;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }
  .offering-card {
    padding: 1.5rem;
  }
  .offering-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .offering-card h3 {
    font-size: 1.3rem;
  }
  .offerings-section {
    padding: 4rem 1rem;
  }

  /* Team section mobile optimizations */
  .team-inner {
    flex-direction: column;
  }
  
  .team-info {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .team-logo {
    margin: 1.5rem auto;
  }
  
  .team-photo {
    width: 100%;
    margin: 1.5rem auto;
    padding: 0;
    display: block;
  }
  
  .team-photo img {
    max-width: 85%;
    width: auto;
    margin: 0 auto;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
  }
  
  /* Contact form mobile optimizations */
  .contact-form {
    max-width: 100%;
    width: 90%;
    padding: 0 10px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 12px;
    -webkit-appearance: none; /* Removes default styling on iOS */
    appearance: none;
    border-radius: 8px;
  }
  
  .contact-form select {
    -webkit-appearance: menulist; /* Restore dropdown appearance on iOS */
    appearance: menulist;
  }
  
  .contact-form .btn.cta {
    width: 100%;
    margin-top: 5px;
  }
  
  /* Biography/Profile section responsive */
  .profile {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  .profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .profile-image img {
    width: 90vw;
    max-width: 340px;
    height: auto;
  }
  .profile-born {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.25rem;
    width: max-content;
    min-width: 180px;
    font-size: 0.95rem;
  }
}

/* Safari-fixed class for emergency fix */
img.safari-fixed {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 95% !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
}

