/* Mobile Home Page Styles */

@media (max-width: 768px) {
  /* ========================================
     Mobile Hero Section
     ======================================== */
  .hero {
    height: 500px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
  }
  
  .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }
  
  /* Add H.U.B. title at the top of hero */
  .hero::before {
    content: "H.U.B.";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    z-index: 3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
  }
  
  .hero-tagline-right {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 var(--mobile-padding);
    transform: none;
    top: auto;
    pointer-events: none;
  }
  
  .hero-tagline-right h1 {
    font-size: 36px;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  
  /* ========================================
     Mobile Mission Statement
     ======================================== */
  .mission-statement {
    padding: 40px var(--mobile-padding);
    background: white;
    text-align: center;
  }
  
  .mission-statement h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
  }
  
  .mission-statement p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 100%;
  }
  
  /* ========================================
     Mobile What We Offer Section
     ======================================== */
  .highlights {
    padding: 40px 0;
    background: var(--light-gray);
  }
  
  .highlights .container {
    padding: 0 var(--mobile-padding);
  }
  
  .section-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
  }
  
  /* Mobile Cards - Vertical Stack */
  .highlights-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .highlight-card {
    height: 200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .highlight-card:active {
    transform: scale(0.98);
  }
  
  .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(50, 78, 138, 0.7) 0%,
      rgba(50, 78, 138, 0.9) 100%
    );
    z-index: 2;
  }
  
  .card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
  }
  
  .card-content h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  
  .card-content .btn {
    background: white;
    color: var(--primary);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .card-content .btn:active {
    transform: scale(0.95);
  }
  
  /* Cards always stack vertically on mobile */
  
  /* ========================================
     Mobile Contact Section
     ======================================== */
  .contact-section {
    display: none !important;
  }
  
  .contact-content {
    display: block;
  }
  
  .contact-info {
    text-align: center;
    padding: 0 var(--mobile-padding);
  }
  
  .contact-info h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 20px;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }
  
  .contact-item {
    text-align: center;
  }
  
  .contact-label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
  }
  
  .contact-value {
    display: block;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
  }
  
  /* ========================================
     Mobile Footer
     ======================================== */
  .footer-bottom {
    padding: 15px var(--mobile-padding);
    text-align: center;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
  }
  
  /* ========================================
     Remove Desktop Elements
     ======================================== */
  .value-proposition,
  .about-snippet,
  .hero-register,
  .hero-register-btn {
    display: none !important;
  }
}
