/* Mobile Responsive Enhancements for Weekend Incubator */

/* Global Mobile Adjustments */
@media (max-width: 767px) {
  /* Reduce section padding on mobile */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Adjust section titles for mobile */
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .section-title p {
    font-size: 16px;
    padding: 0 15px;
  }
  
  /* Fix container padding */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Adjust buttons for better mobile tapping */
  .comman-btn {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  /* Fix absolute positioning issues */
  [style*="position: absolute"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

/* Success Stories Mobile Adjustments */
@media (max-width: 767px) {
  /* Stack the content in success stories */
  .success-stories .col-md-4,
  .success-stories .col-md-6,
  .success-stories .col-md-2 {
    width: 100%;
    margin-bottom: 15px;
  }
  
  /* Adjust founder image position */
  .success-stories .col-md-2 img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
  }
  
  /* Center align founder info on mobile */
  .success-stories h3 {
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
  }
  
  .success-stories p {
    font-size: 14px;
    text-align: center;
  }
}

/* Curriculum Roadmap Mobile Adjustments */
@media (max-width: 767px) {
  /* Make month blocks stack vertically */
  #course .col-md-3 {
    width: 100%;
    margin-bottom: 15px;
  }
  
  /* Adjust week headings */
  #course h4 {
    font-size: 18px;
    margin-top: 10px;
  }
  
  /* Adjust list items */
  #course ul {
    padding-left: 15px;
  }
  
  #course li {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  /* Post-course support section */
  #course .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }
  
  /* Adjust icon size for mobile */
  #course .col-md-4 div[style*="width: 60px"] {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 10px !important;
  }
  
  #course .col-md-4 i {
    font-size: 24px !important;
  }
}

/* Contact Form Mobile Adjustments */
@media (max-width: 767px) {
  /* Stack form and contact info */
  #contact .col-md-7,
  #contact .col-md-5 {
    width: 100%;
  }
  
  /* Adjust form fields */
  #contact input,
  #contact textarea {
    margin-bottom: 15px;
    font-size: 16px; /* Larger for better mobile input */
    padding: 12px;
  }
  
  /* Adjust contact info icons */
  .single-contact-info {
    margin-bottom: 15px;
  }
  
  .single-contact-info span {
    font-size: 20px !important;
  }
  
  /* Center align contact info on mobile */
  .contact-info-text {
    text-align: center;
  }
  
  .contact-info-text h4 {
    font-size: 18px;
  }
  
  .contact-info-text p {
    font-size: 14px;
  }
}

/* Hero Section Mobile Adjustments */
@media (max-width: 767px) {
  /* Fix hero section layout */
  .header-hero-area {
    padding-top: 20px !important;
    overflow: hidden;
  }
  
  /* Adjust logo positioning */
  .col-md-4.offset-md-4.text-center {
    margin: 0 auto 20px;
    width: 100%;
    text-align: center;
  }
  
  .col-md-4.offset-md-4.text-center img {
    max-width: 120px;
  }
  
  /* Fix text content */
  .slider-text {
    padding-top: 0 !important;
    text-align: center;
  }
  
  .slider-text h1 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 auto 15px;
    max-width: 100% !important;
  }
  
  .slider-text .intro {
    font-size: 14px;
  }
  
  /* Fix countdown section */
  .slider-text > div {
    margin: 10px -15px !important;
    border-radius: 0 !important;
  }
  
  /* Adjust countdown timer for mobile */
  #countdown-timer {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Fix flex layout issues */
  [style*="display: flex; justify-content: space-between"] {
    flex-direction: column;
    align-items: center;
  }
  
  #countdown-timer div {
    margin: 5px 10px;
  }
  
  /* Center the register button */
  #webinar-register-btn {
    display: block;
    margin: 15px auto 0;
    text-align: center;
  }
  
  /* Hide arrow on mobile */
  img[alt="Arrow pointing to register"] {
    display: none !important;
  }
  
  /* Hide hero image on mobile or make it smaller */
  .col-md-5 {
    display: none;
  }
}

/* Fix navigation on mobile */
@media (max-width: 767px) {
  .logo {
    text-align: center !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
  }
  
  .logo img {
    max-width: 100px !important;
  }
}
