/* Global Design System */

:root {
  /* HUB Brand Colors */
  --hub-primary: #324e8a;
  --hub-primary-dark: #2a4275;
  --hub-secondary: #5A4FCF;
  --hub-accent: #FF6B35;
  
  /* Neutrals */
  --white: #FFFFFF;
  --light-grey: #F8F9FA;
  --medium-grey: #6C757D;
  --dark-grey: #343A40;
  --border-grey: #DEE2E6;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --element-spacing: 20px;
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.2;
  margin-bottom: 20px;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.4;
  margin-bottom: 12px;
}

h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Buttons & CTAs */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background-color: var(--hub-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 78, 138, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--hub-primary);
  border: 2px solid var(--hub-primary);
}

.btn-secondary:hover {
  background-color: var(--hub-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 78, 138, 0.3);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 150px;
  z-index: 1000;
  margin: 0;
  padding: 0;
  border: none;
  overflow: visible;
}

/* Top Blue Bar (Above Everything) */
.navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--hub-primary);
  z-index: 1010;
}


.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 106px;
  background: var(--hub-primary);
  z-index: -1;
}

/* Circular Logo Area */
.logo-circle {
  position: absolute;
  top: -6px;
  left: -7.8px;
  width: 212px;
  height: 212px;
  background: transparent;
  border-radius: 50%;
  border: 6px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.logo-circle::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 220px;
  height: 220px;
  background: var(--hub-primary);
  border-radius: 50%;
  z-index: -1;
}

/* Blue Title Bar */
.title-bar {
  position: relative;
  background: var(--hub-primary);
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
  margin-bottom: 3px;
}

.logo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  clip-path: circle(100px at center);
  filter: drop-shadow(0 0 0 transparent);
  z-index: 1;
  max-width: 200px;
  max-height: 200px;
}

/* Fallback for div elements with background-image */
div.logo-placeholder {
  background-image: url('../logo4.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.site-title {
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  text-align: center;
  width: 100%;
}

/* White Curved Border */
.curved-border {
  position: relative;
  background: var(--white);
  height: 6px;
  width: calc(100% - 97px);
  margin-left: 97px;
  z-index: 1002;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 100px 0 0 0;
  margin-top: -3px;
}

/* Black Navigation Bar */
.nav-bar-black {
  position: relative;
  background: #000000;
  height: 50px;
  width: calc(100% - 100px);
  margin-left: 100px;
  margin-bottom: 0;
  padding-bottom: 0;
  z-index: 1000;
  border-radius: 100px 0 0 0;
  border-bottom: none;
}

.nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--hub-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hub-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Hero Section Base Styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-secondary) 100%);
  z-index: -1;
}



.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.8;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styling */
section {
  padding: var(--section-padding);
}

/* Grid Systems */
.value-grid,
.highlights-grid {
  display: grid;
  gap: 40px;
}

.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.highlights-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  overflow: hidden;
}

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

/* Contact Section */
.contact-section {
  background: #000000;
  color: var(--white);
  padding: 80px 0 20px;
  margin-top: 80px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  align-items: start;
  margin-bottom: 60px;
}

.contact-info h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  color: var(--medium-grey);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

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

.form-row input,
.form-row textarea {
  flex: 1;
  background: transparent;
  border: 2px solid #333;
  border-radius: 4px;
  padding: 16px;
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #888;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--hub-primary);
  box-shadow: 0 0 0 3px rgba(50, 78, 138, 0.1);
}

.contact-btn {
  background: var(--hub-primary);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.contact-btn:hover {
  background: var(--hub-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 78, 138, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 80px;
  border-top: 3px solid var(--hub-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 2px solid var(--hub-primary);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--hub-accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  opacity: 0.7;
  font-size: 14px;
}

/* New Contact Section Styles */
.faq-link {
  display: inline-block;
  color: var(--white);
  background-color: var(--hub-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  padding: 16px 32px;
  border-radius: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.faq-link:hover {
  background-color: var(--hub-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.email-icon {
  font-size: 20px;
}

.email-link {
  color: var(--hub-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
}

.email-link:hover {
  color: var(--hub-accent);
  text-decoration: underline;
}

.contact-info h2 + h2 {
  margin-top: 30px;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Desktop only - increased spacing for contact section forms */
@media (min-width: 769px) {
  .contact-section .form-group {
    margin-bottom: 25px;
  }
}

.form-group label {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: 2px solid #333;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hub-primary);
  box-shadow: 0 0 0 3px rgba(50, 78, 138, 0.1);
}

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

.form-submit-btn {
  background: var(--hub-primary);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-top: 10px;
}

.form-submit-btn:hover {
  background: var(--hub-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 78, 138, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    height: 120px;
  }
  
  .navbar::before {
    height: 79px;
  }
  
  .navbar::after {
    height: 60px;
    left: 0;
    width: 100%;
  }
  
  .logo-circle {
    width: 153px;
    height: 153px;
    top: -1.5px;
    left: -1.5px;
  }
  
  .logo-circle::before {
    top: -7px;
    left: -7px;
    width: 167px;
    height: 167px;
  }
  
  .logo-placeholder {
    width: 153px;
    height: 153px;
    clip-path: circle(76px at center);
  }
  
  .title-bar {
    height: 60px;
    width: 100%;
  }
  
  .site-title {
    font-size: 24px;
  }
  
  .curved-border {
    height: 4px;
    width: calc(100% - 73.5px);
    margin-left: 73.5px;
    border-radius: 75px 0 0 0;
    margin-top: -1.5px;
  }
  
  .nav-bar-black {
    height: 45px;
    width: calc(100% - 75px);
    margin-left: 75px;
    border-radius: 75px 0 0 0;
  }
  
  .nav-menu {
    gap: 24px;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  /* Contact Section Mobile - Keep Original Layout */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Hide desktop contact form on mobile */
  .contact-form {
    display: none;
  }
  
  /* Show original mobile contact info */
  .contact-info {
    display: block;
  }
  
  /* Show mobile email contact section */
  .contact-info h2 + h2 {
    display: block;
  }
  
  .email-contact {
    display: flex;
  }
  
  /* Reset FAQ link to original mobile style */
  .faq-link {
    display: inline;
    background: none;
    color: var(--hub-primary);
    padding: 0;
    font-size: 18px;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0;
  }
  
  .faq-link:hover {
    background: none;
    color: var(--hub-accent);
    transform: none;
    box-shadow: none;
    text-decoration: underline;
  }
  
  .navbar {
    height: 102px;
  }
  
  .navbar::before {
    height: 62px;
  }
  .logo-circle {
    width: 120px;
    height: 120px;
  }
  
  .logo-circle::before {
    top: -6px;
    left: -6px;
    width: 132px;
    height: 132px;
  }
  
  .logo-placeholder {
    width: 90px;
    height: 90px;
    font-size: 10px;
  }
  
  .title-bar {
    height: 50px;
    width: 100%;
  }
  
  .site-title {
    font-size: 20px;
  }
  
  .curved-border {
    height: 3px;
    width: calc(100% - 60px);
    margin-left: 60px;
    border-radius: 60px 0 0 0;
  }
  
  .nav-bar-black {
    height: 40px;
    width: calc(100% - 60px);
    margin-left: 60px;
    border-radius: 60px 0 0 0;
  }
  
  .nav-content {
    justify-content: flex-end;
    padding-right: 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  :root {
    --section-padding: 60px 0;
  }
}

@media (max-width: 480px) {
  /* Contact Section Small Mobile */
  .contact-section {
    padding: 60px 0 20px;
  }
  
  .contact-content {
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .contact-info h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .contact-details {
    gap: 15px;
  }
  
  .form-row input,
  .form-row textarea {
    padding: 14px;
    font-size: 15px;
  }
  
  .navbar {
    height: 90px;
  }
  
  .navbar::before {
    height: 55px;
  }
  .logo-circle {
    width: 100px;
    height: 100px;
  }
  
  .logo-circle::before {
    top: -5px;
    left: -5px;
    width: 110px;
    height: 110px;
  }
  
  .logo-placeholder {
    width: 70px;
    height: 70px;
    font-size: 9px;
  }
  
  .title-bar {
    height: 45px;
    width: 100%;
  }
  
  .site-title {
    font-size: 16px;
  }
  
  .curved-border {
    height: 2px;
    width: calc(100% - 50px);
    margin-left: 50px;
    border-radius: 50px 0 0 0;
  }
  
  .nav-bar-black {
    height: 35px;
    width: calc(100% - 50px);
    margin-left: 50px;
    border-radius: 50px 0 0 0;
  }
  
  .nav-content {
    padding-right: 15px;
  }
}

/* Mobile-only paragraph breaks - hidden on desktop */
.mobile-break {
  display: none;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

/* Emergency fix: Hide any logos that appear outside navbar */
/* Updated to ensure navbar logos are not affected */
body > img[src*="logo"]:not(.navbar img),
body > .logo-placeholder:not(.navbar .logo-placeholder),
body > .logo-circle:not(.navbar .logo-circle),
main > img[src*="logo"],
main > .logo-placeholder,
main > .logo-circle,
section > img[src*="logo"]:not(.navbar img):not(.navbar .logo-placeholder),
div:not(.navbar) > img[src*="logo4.png"]:only-child {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Ensure navbar logo is visible */
.navbar .logo-placeholder {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  object-fit: contain;
  pointer-events: auto !important;
  z-index: 9999 !important; /* Ensure logo is at the very front */
}

/* Global styles for player placeholder images - remove any blue backgrounds */
img[src="player_placeholder.png"] {
  background: none !important;
}
