/* ============================================================
   ARNAV DATA WAREHOUSE — RESPONSIVE STYLES
   Add this at the bottom of assets/css/style.css
   OR link as: <link rel="stylesheet" href="assets/css/responsive.css">
   ============================================================ */

/* ─── BASE RESETS ─── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* ─────────────────────────────────────────
   TABLET  (max-width: 1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {

  /* NAVBAR */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: #fff;
    padding: 80px 32px 40px;
    gap: 24px;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  }
  .nav-links.show { display: flex; }
  .nav-links a { font-size: 18px; font-weight: 600; color: #0f2540; }
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    border: 2px solid #004AAD;
    padding: 5px 15px;
    border-radius: 5px;
  }
  .desktop-btn { display: none !important; }
  .mobile-btn { display: inline-block !important; }

  /* HERO */
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-text h1 { font-size: 36px !important; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* ABOUT SECTION */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .about-cards {
    grid-template-columns: 1fr 1fr !important;
  }
  .about-image { order: -1; text-align: center; }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* INDUSTRIES */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
  }

  /* WHY US */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .why-center { order: -1; text-align: center; }
  .why-center img { max-width: 320px; margin: 0 auto; }

  /* CONTACT GRID (homepage) */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  /* STORY SECTION */
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .story-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ABOUT HERO */
  .about-hero-grid {
    grid-template-columns: 1fr !important;
  }

  /* FEATURE ICONS */
  .feature-icons {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* LEADERSHIP */
  .leadership-hero-content { flex-direction: column !important; }
  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .leader-profile {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .values-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* CONTACT HERO */
  .contact-hero-grid {
    grid-template-columns: 1fr !important;
  }

  /* CONTACT CARD */
  .contact-card-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* SERVICES PAGE */
  .service-grid.four-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .service-grid.five-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .service-grid.three-grid {
    grid-template-columns: 1fr !important;
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* LEADERSHIP STATS */
  .leadership-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
  }
}

/* ─────────────────────────────────────────
   MOBILE  (max-width: 768px)
───────────────────────────────────────── */
@media (max-width: 768px) {

  /* CONTAINER */
  .container { padding: 0 10px !important; }

  /* SECTION SPACING */
  .section { padding: 30px 0 !important; }
.hero-text p {
    font-size: 16px;
}
  /* TYPOGRAPHY */
  .section-title { font-size: 24px !important; line-height: 1.35 !important;margin-bottom: 20px; }
  h1 { font-size: 28px !important; }
  h2 { font-size: 22px !important; }

  /* NAVBAR */
  .navbar { padding: 14px 0 !important; }
  .nav-wrapper { padding: 0 20px; }
  .logo img { height: 40px; }

  /* HERO */
  .hero { padding: 30px 0 30px !important; }
  .hero-text h1 { font-size: 26px !important;
        line-height: 1.2;}
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons a { width: 100%; text-align: center; }

  /* ABOUT CARDS */
  .about-cards {
    grid-template-columns: 1fr !important;
  }

  /* SERVICES (homepage) */
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  /*.service-card { text-align: center; }*/

  /* INDUSTRIES */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* WHY US ITEMS */
  .why-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* CONTACT (homepage) */
  .contact-form-grid {
    grid-template-columns: 1fr !important;
  }

  /* STORY STATS */
  .story-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
.contact-form {
    padding:10px;
}
  /* ABOUT HERO */
  .about-hero { padding: 60px 0 40px !important; }
  .about-left h1 { font-size: 28px !important; }
  .feature-icons {
    flex-direction: column;
    gap: 14px;
  }
  .feature-box { text-align: center; }

  /* QUOTE BOX */
  .quote-box { padding: 24px !important; }
  .quote-box p { font-size: 15px !important; }
  .quote-box img { display: none; }

  /* LEADERSHIP HERO */
  .leadership-hero { padding: 30px 0 30px !important; }
  .leadership-hero h1 { font-size: 26px !important; }
  .leadership-stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .leader-stat { min-width: unset; }

  /* LEADER HIGHLIGHTS */
  .leader-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .highlight-item { flex: 0 0 auto; }

  /* LEADER PHOTO */
  .leader-photo { text-align: center; }
  .leader-photo img {
    max-width: 220px;
    margin: 0 auto;
    border-radius: 12px;
  }

  /* VALUES GRID */
  .values-grid {
    grid-template-columns: 1fr !important;
  }

  /* CONTACT US PAGE */
  .contact-hero { padding: 30px 0 30px !important; }
  .contact-hero h1 { font-size: 28px !important; line-height: 1.2; }
  .reach-info { gap: 20px !important; }
  .reach-item { flex-direction: column; gap: 10px; }
  .submit-flex {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .contact-submit-btn { width: 100%; text-align: center; }

  /* SERVICES PAGE */
  .services-banner { padding: 30px 0 30px !important; }
  .banner-content { flex-direction: column !important; }
  .banner-left h1 { font-size: 26px !important; }
  .service-section { padding: 40px 15px !important; }
  .service-section:first-child{
      margin-top:0px;
  }
  .section-head {
    flex-direction: column !important;
    gap: 12px;
    align-items: flex-start !important;
  }
  .service-grid.four-grid,
  .service-grid.five-grid,
  .service-grid.three-grid {
    grid-template-columns: 1fr !important;
  }
  .security-grid {
    grid-template-columns: 1fr !important;
  }
  .security-banner { padding: 40px 0 !important; }
  .security-overlay { padding: 30px 20px !important; }

  /* BLOG */
  .blog-banner { padding: 50px 0 !important; }
  .blog-banner h1 { font-size: 28px !important; }
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .footer-about { text-align: center; }
  .footer-about img { margin: 0 auto 16px; }
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center;
    gap: 6px;
  }
  .leadership-left{
      grid-template-columns: 100%;
  }
  .intro-card{
    padding: 20px;
  }
  .intro-icon img {
    width: 50%;
    margin: auto;
  }
 .hero, .leadership-hero, .about-hero, .services-banner, .contact-hero{
       background-image: none;
  }
   .mob-banner{
      display:block;
  }
  .leadership-left .about-cards{
         max-width: 65%;
 }
}

/* ─────────────────────────────────────────
   SMALL MOBILE  (max-width: 480px)
───────────────────────────────────────── */
@media (max-width: 480px) {

  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  .section-title { font-size: 20px !important; }

  /* INDUSTRIES — single column on tiny screens */
  .industries-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  /* SERVICE CARD IMAGE HEIGHT */
  .service-card img {  object-fit: contain; }

  /* BLOG CARD */
  .blog-card img { height: 160px !important; }

  /* STAT BOXES */
  .story-stats {
   
    text-align: center;
  }
 

  /* LEADERSHIP STATS */
  .leadership-stats { flex-direction: column; }

  /* BUTTONS */
  .primary-btn, .secondary-btn {
    font-size: 14px !important;
    padding: 12px 20px !important;
  }

  /* CONTACT FORM */
  .contact-card-wrapper { padding: 24px 16px !important; }
  .message-box, .reach-box { padding: 24px 16px !important; }
 
 .security-left .service-title {
    grid-template-columns: 1fr;
    text-align: center;
}
.security-left .service-title img{
        margin: auto;
        width: 190px;
}
.service-grid.three-grid .service-box img {
    margin: auto;
}
.contact-card-section {
    margin-top: 0px;
}
.feature-icons{
    grid-template-columns:1fr;
}
}