/* ===== RESPONSIVE STYLES FOR ALL PAGES ===== */

/* Container Padding Adjustments */
@media (max-width: 991px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Typography Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 18px !important;
  }

  h5 {
    font-size: 16px !important;
  }

  p {
    font-size: 15px !important;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 18px !important;
  }

  p {
    font-size: 14px !important;
  }
}

/* Button Responsive */
@media (max-width: 768px) {
  .btn,
  .hero-btn,
  .apply-btn,
  .apply-btn-green,
  .footer-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  .btn-lg {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

/* Image Responsive */
@media (max-width: 991px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .hero-img {
    max-width: 350px;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .hero-img {
    max-width: 280px;
  }
}

@media (max-width: 576px) {
  .hero-img {
    max-width: 250px;
  }
}

/* Section Spacing */
@media (max-width: 991px) {
  section {
    padding: 60px 0 !important;
  }

  .content-section:first-of-type {
    padding-top: 120px !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0 !important;
  }

  .content-section:first-of-type {
    padding-top: 110px !important;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0 !important;
  }

  .content-section:first-of-type {
    padding-top: 100px !important;
  }
}

/* Grid & Flexbox Responsive */
@media (max-width: 991px) {
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .row > * {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .box-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }

  .icon {
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
}

/* List Responsive */
@media (max-width: 768px) {
  .tick-list,
  .eligibility-list {
    text-align: left;
    padding-left: 0;
  }

  .tick-list li,
  .eligibility-list li {
    font-size: 15px;
  }
}

/* Table Responsive */
@media (max-width: 768px) {
  table {
    font-size: 14px;
  }

  table th,
  table td {
    padding: 8px !important;
  }
}

/* Form Responsive */
@media (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  .form-control {
    padding: 10px !important;
  }
}

/* Card & Box Responsive */
@media (max-width: 768px) {
  .box-item {
    padding: 25px 20px !important;
  }

  .box-item i {
    font-size: 40px !important;
  }

  .box-item h3 {
    font-size: 18px !important;
  }

  .box-item p {
    font-size: 14px !important;
  }
}

/* Accordion/FAQ Responsive */
@media (max-width: 768px) {
  .accordion-header {
    font-size: 14px !important;
    padding: 12px 15px !important;
  }

  .accordion-content {
    font-size: 13px !important;
  }

  .faq-toc {
    position: static !important;
    margin-bottom: 30px;
  }

  .faq-toc a {
    font-size: 14px !important;
  }

  .faq-answer h3 {
    font-size: 18px !important;
  }

  .faq-answer p {
    font-size: 14px !important;
  }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 50px 0 20px !important;
    text-align: center;
  }

  .site-footer .row > div {
    text-align: center !important;
    margin-bottom: 30px;
  }

  .site-footer ul {
    padding-left: 0;
  }

  .footer-links {
    text-align: center;
  }
}

/* Floating Elements Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px !important;
    right: 15px !important;
    padding: 12px 14px !important;
    font-size: 20px !important;
  }

  .apply-sticky {
    display: none !important;
  }
}

/* Background Shapes Responsive */
@media (max-width: 768px) {
  .shape-left,
  .shape-right,
  .shape-yellow,
  .shape-green {
    width: 120px !important;
    height: 120px !important;
  }

  .hero-main::before,
  .hero-main::after {
    width: 200px !important;
    height: 200px !important;
  }
}

@media (max-width: 576px) {
  .shape-left,
  .shape-right,
  .shape-yellow,
  .shape-green {
    width: 80px !important;
    height: 80px !important;
  }

  .hero-main::before,
  .hero-main::after {
    width: 150px !important;
    height: 150px !important;
  }
}

/* Text Alignment Mobile */
@media (max-width: 768px) {
  .text-md-end {
    text-align: center !important;
  }

  .text-lg-start,
  .text-lg-end {
    text-align: center !important;
  }
}

/* Spacing Utilities Mobile */
@media (max-width: 768px) {
  .mt-5,
  .my-5 {
    margin-top: 2rem !important;
  }

  .mb-5,
  .my-5 {
    margin-bottom: 2rem !important;
  }

  .pt-5,
  .py-5 {
    padding-top: 2rem !important;
  }

  .pb-5,
  .py-5 {
    padding-bottom: 2rem !important;
  }
}

/* Column Order Mobile */
@media (max-width: 991px) {
  .order-lg-1 {
    order: 1;
  }

  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 768px) {
  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }
}

/* Overflow Hidden Mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Animation Adjustments Mobile */
@media (max-width: 768px) {
  .section {
    transform: translateY(30px) !important;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }
}

/* Disable Animations on Very Small Screens */
@media (max-width: 576px) and (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
