/*
 * C-STAR OVERSEAS LIMITED - Responsive Styles
 */

/* ==========================================================================
   1. Laptop & Large Tablet Breakpoints (Max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .services-grid {
    gap: 16px;
  }
  
  .service-card {
    height: 360px;
  }
  
  .about-img-primary {
    height: 400px;
  }
}

/* ==========================================================================
   2. Medium Tablet Breakpoints (Max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
  section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  /* Navigation Mobile Toggle and Collapse */
  .mobile-nav-toggle {
    display: block;
  }
  
  .header-menu-col {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
    padding: 40px;
    display: block;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  
  .header-nav.sticky .header-menu-col {
    top: 70px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    border-top: 1px solid rgba(16, 59, 115, 0.08);
  }
  
  .header-menu-col.show {
    left: 0;
  }
  
  .header-menu {
    flex-direction: column;
    gap: 24px;
  }
  
  .header-menu-link {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
  }
  
  .header-nav.sticky .header-menu-link {
    color: var(--text-color);
  }
  
  .header-cta-btn {
    margin-top: 30px;
    width: 100%;
    text-align: center;
  }
  
  /* Hero Banner adjustment */
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* About US Collapse */
  .about-image-wrapper {
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 40px;
  }
  
  .about-img-primary {
    height: 350px;
  }
  
  /* Timeline Horizontal to Vertical Stack check */
  .about-timeline {
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
    padding-top: 0;
  }
  
  .about-timeline::before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 4px;
  }
  
  .about-timeline-item::before {
    left: -20px;
    top: 6px;
  }
  
  /* Key Strengths Grid */
  .strengths-row > div {
    margin-bottom: 24px;
  }
  
  /* Services 3+2 collapses into 2 Columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    grid-column: span 1 !important;
  }
  
  .service-card.wide {
    grid-column: span 1 !important;
  }
  
  /* Statistics borders collapse */
  .stat-card {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
  }
  
  .stat-card:last-child {
    border-bottom: none;
  }
  
  /* Why Choose C-Star */
  .why-cstar-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .why-cstar-img-wrapper {
    margin-top: 40px;
  }
}

/* ==========================================================================
   3. Small Mobile Breakpoints (Max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Services Overview Grid collapses to 1 Column */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    height: 320px;
  }
  
  .service-content {
    padding: 30px;
  }
  
  /* Commitments collapse */
  .commitments-row > div {
    margin-bottom: 24px;
  }
  
  .commitments-row > div:last-child {
    margin-bottom: 0;
  }
  
  /* CTA Adjustments */
  .cta-section {
    padding: 80px 0;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-desc {
    font-size: 1rem;
  }
  
  /* Footer */
  .footer-top {
    padding: 60px 0 30px;
  }
  
  .footer-top > div > div {
    margin-bottom: 40px;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
}
