/* ========================================
   PETPUJA CLOUD - COMPREHENSIVE RESPONSIVE CSS
   100% Mobile-First Responsive Design
======================================== */

/* ===================
   CSS RESET & BASE
=================== */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================
   PREMIUM INCLUSIONS ANIMATIONS
=================== */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Premium Inclusion Card Hover Effects */
.premium-inclusion-card {
  min-height: 180px !important;
  max-height: 180px !important;
  height: 180px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.premium-inclusion-card .p-4 {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
}

.premium-inclusion-card .icon-wrapper {
  width: 70px !important;
  height: 70px !important;
  flex-shrink: 0 !important;
}

.premium-inclusion-card h6 {
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
  min-height: 2.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.premium-inclusion-card p {
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  min-height: 1.2rem !important;
}

/* Mobile Responsive Sizing */
@media (max-width: 575.98px) {
  .premium-inclusion-card {
    min-height: 160px !important;
    max-height: 160px !important;
    height: 160px !important;
  }

  .premium-inclusion-card .icon-wrapper {
    width: 60px !important;
    height: 60px !important;
  }

  .premium-inclusion-card h6 {
    font-size: 0.85rem !important;
    min-height: 2.4rem !important;
  }

  .premium-inclusion-card p {
    font-size: 0.75rem !important;
  }
}

/* Tablet Responsive Sizing */
@media (min-width: 576px) and (max-width: 991.98px) {
  .premium-inclusion-card {
    min-height: 170px !important;
    max-height: 170px !important;
    height: 170px !important;
  }

  .premium-inclusion-card .icon-wrapper {
    width: 65px !important;
    height: 65px !important;
  }

  .premium-inclusion-card h6 {
    font-size: 0.9rem !important;
    min-height: 2.5rem !important;
  }
}

/* Desktop Responsive Sizing */
@media (min-width: 992px) {
  .premium-inclusion-card {
    min-height: 190px !important;
    max-height: 190px !important;
    height: 190px !important;
  }

  .premium-inclusion-card .icon-wrapper {
    width: 75px !important;
    height: 75px !important;
  }

  .premium-inclusion-card h6 {
    font-size: 1rem !important;
    min-height: 2.8rem !important;
  }

  .premium-inclusion-card p {
    font-size: 0.85rem !important;
  }
}

.premium-inclusion-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.premium-inclusion-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg) !important;
}

.premium-inclusion-card:hover .icon-wrapper i {
  transform: scale(1.2) !important;
}

.premium-inclusion-card:hover .position-absolute.bottom-0 {
  transform: scaleX(1) !important;
}

.premium-inclusion-card:hover h6 {
  color: #212529 !important;
}

/* ===================
   RESPONSIVE CONTAINERS
=================== */
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ===================
   NAVIGATION FIXES
=================== */
.navbar {
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem !important;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 35px;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    text-align: center;
  }

  .navbar-collapse {
    text-align: center;
    padding-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 0.25rem 0;
  }

  .navbar-brand img {
    height: 30px;
  }
}

/* ===================
   HERO SECTION RESPONSIVE
=================== */
.hero-section {
  min-height: 100vh;
  padding: 2rem 0;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-buttons .btn {
  min-width: 150px;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    text-align: center;
    padding: 1rem 0;
  }

  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

/* ===================
   CARD COMPONENTS
=================== */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .card-img-top {
    height: 160px;
  }

  .card-body {
    padding: 1rem;
  }
}

/* ===================
   MENU GALLERY RESPONSIVE
=================== */
.menu-page-card {
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 2rem;
}

.menu-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.menu-page-image {
  height: 400px;
  object-fit: contain;
  width: 100%;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.menu-page-card:hover .menu-page-image {
  transform: scale(1.02);
}

@media (max-width: 1200px) {
  .menu-page-image {
    height: 350px;
  }
}

@media (max-width: 992px) {
  .menu-page-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .menu-page-image {
    height: 250px;
  }

  .menu-page-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .menu-page-image {
    height: 200px;
  }

  .menu-page-card {
    margin-bottom: 1rem;
  }
}

/* ===================
   BUTTON RESPONSIVE FIXES
=================== */
.btn {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-lg {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

/* ===================
   PRICING SECTION RESPONSIVE
=================== */
.pricing-card {
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .pricing-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

/* ===================
   FORM RESPONSIVE
=================== */
.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

@media (max-width: 575.98px) {
  .form-control,
  .form-select {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }
}

/* ===================
   MODAL RESPONSIVE
=================== */
.modal-dialog {
  margin: 1rem;
}

.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-body img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-body img {
    max-height: 60vh;
  }
}

@media (max-width: 575.98px) {
  .modal-body img {
    max-height: 50vh;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 0.5rem;
  }

  .modal-footer {
    padding: 1rem;
  }
}

/* ===================
   GALLERY RESPONSIVE
=================== */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .image-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .image-card img {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .image-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  .image-card img {
    height: 200px;
  }
}

/* ===================
   FOOTER RESPONSIVE
=================== */
.footer {
  padding: 3rem 0 1rem;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer p,
.footer li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer .col-lg-3,
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer h5 {
    font-size: 1.1rem;
  }

  .footer p,
  .footer li {
    font-size: 0.9rem;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
}

/* ===================
   UTILITY CLASSES
=================== */
.text-responsive {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.heading-responsive {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.padding-responsive {
  padding: clamp(1rem, 3vw, 3rem) 0;
}

.margin-responsive {
  margin: clamp(0.5rem, 2vw, 2rem) 0;
}

/* ===================
   ANIMATION FIXES
=================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===================
   RESPONSIVE SPACING FIXES
=================== */
.section {
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.mb-responsive {
  margin-bottom: clamp(1rem, 3vw, 3rem);
}

.mt-responsive {
  margin-top: clamp(1rem, 3vw, 3rem);
}

/* ===================
   OVERFLOW FIXES
=================== */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-sm,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-xl,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12 {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 575.98px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .col,
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12,
  .col-sm,
  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ===================
   PERFORMANCE OPTIMIZATIONS
=================== */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* ===================
   ACCESSIBILITY IMPROVEMENTS
=================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
button:focus,
.btn:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* ===================
   RESPONSIVE TABLES
=================== */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
  .table-responsive table {
    font-size: 0.875rem;
  }
}

/* ===================
   DISPLAY UTILITIES
=================== */
@media (max-width: 575.98px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-block {
    display: block !important;
  }
}

@media (max-width: 767.98px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-block {
    display: block !important;
  }
}

/* ===================
   SPECIFIC PAGE FIXES
=================== */

/* Hero Gallery Fix */
.hero-gallery .row {
  align-items: center;
}

.hero-gallery img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.feature-card {
  padding: 2rem;
  text-align: center;
  border-radius: 15px;
  height: 100%;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* Contact Form Responsive */
.contact-form {
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }
}

/* Menu Cards Responsive */
.menu-showcase-card {
  transition: all 0.3s ease;
}

.menu-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Badge Responsive */
.badge {
  font-size: 0.75em;
  padding: 0.5em 0.75em;
  border-radius: 50px;
}

@media (max-width: 575.98px) {
  .badge {
    font-size: 0.7em;
    padding: 0.4em 0.6em;
  }
}

/* Video/Iframe Responsive */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===================
   CRITICAL MOBILE FIXES
=================== */

/* Fix hero section mobile issues */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 1rem 0;
    min-height: 80vh;
  }

  .hero-content {
    text-align: center;
    padding: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
  }
}

/* Fix navigation mobile collisions */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #f0f0f0;
    color: #333 !important;
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Fix menu page cards mobile */
@media (max-width: 575.98px) {
  .menu-page-card {
    margin-bottom: 2rem;
  }

  .menu-page-image {
    height: 250px !important;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Fix pricing cards mobile */
@media (max-width: 768px) {
  .pricing-card,
  .pricing-card-modern {
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
  }

  .pricing-header {
    padding: 1.5rem !important;
  }
}

/* Fix form spacing mobile */
@media (max-width: 575.98px) {
  .form-group,
  .mb-3 {
    margin-bottom: 1.5rem !important;
  }

  .form-control,
  .form-select {
    font-size: 16px !important; /* Prevent zoom on iOS */
    padding: 0.75rem !important;
  }

  .btn-lg {
    padding: 1rem !important;
    font-size: 1rem !important;
  }
}

/* Fix modal mobile issues */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
    width: calc(100% - 1rem);
  }

  .modal-content {
    border-radius: 10px;
  }

  .modal-header {
    padding: 1rem 1rem 0.5rem;
  }

  .modal-body {
    padding: 0.5rem 1rem;
  }

  .modal-footer {
    padding: 0.5rem 1rem 1rem;
  }
}

/* Fix section spacing mobile */
@media (max-width: 768px) {
  .section,
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .display-1,
  .display-2,
  .display-3,
  .display-4,
  .display-5 {
    font-size: calc(1.375rem + 1.5vw) !important;
    line-height: 1.2 !important;
  }

  .lead {
    font-size: 1.1rem !important;
  }
}

/* Fix card grid mobile */
@media (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 2rem;
  }

  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .card-body {
    padding: 1.25rem 1rem;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
}

/* Fix footer mobile */
@media (max-width: 767.98px) {
  .footer .row > div {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer .social-icons {
    justify-content: center;
  }

  .footer h5 {
    margin-bottom: 1rem;
  }
}

/* Fix button groups mobile */
@media (max-width: 575.98px) {
  .btn-group,
  .btn-group-vertical {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn,
  .btn-group-vertical .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 25px !important;
  }
}

/* Fix table mobile */
@media (max-width: 767.98px) {
  .table-responsive {
    font-size: 0.875rem;
  }

  .table th,
  .table td {
    padding: 0.5rem;
    vertical-align: middle;
  }
}

/* Fix image gallery mobile */
@media (max-width: 575.98px) {
  .image-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .image-card {
    margin-bottom: 1rem;
  }

  .image-card img {
    height: 200px;
    border-radius: 10px;
  }
}

/* ===================
   FINAL RESPONSIVE FIXES
=================== */
/* Ensure no horizontal scroll */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fix for very small screens */
@media (max-width: 320px) {
  .container-fluid {
    padding-left: 5px;
    padding-right: 5px;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

/* ===================
   INFO CARDS RESPONSIVE FIXES
=================== */
.info-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Consistent sizing across all views */
  min-height: 90px;
  max-height: 90px;
  height: 90px;
  width: 100%;
  aspect-ratio: 1;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.info-card i {
  /* Consistent icon sizing */
  font-size: 1.5rem !important;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-card small {
  font-size: 0.8rem;
  text-align: center;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  line-height: 1.2;
  margin: 0;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Mobile-specific consistent sizing */
@media (max-width: 575.98px) {
  .info-card {
    min-height: 80px;
    max-height: 80px;
    height: 80px;
    padding: 0.75rem 0.5rem !important;
  }

  .info-card i {
    font-size: 1.25rem !important;
    margin-bottom: 0.2rem;
  }

  .info-card small {
    font-size: 0.7rem !important;
    line-height: 1.1;
    padding: 0 0.2rem;
  }

  /* Ensure proper spacing between cards */
  .row.g-2 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
}

/* Extra small screens - maintain consistency */
@media (max-width: 350px) {
  .info-card {
    min-height: 75px;
    max-height: 75px;
    height: 75px;
    padding: 0.5rem 0.25rem !important;
  }

  .info-card i {
    font-size: 1.1rem !important;
  }

  .info-card small {
    font-size: 0.65rem !important;
    line-height: 1;
  }
}

/* Tablet - consistent sizing */
@media (min-width: 576px) and (max-width: 767.98px) {
  .info-card {
    min-height: 95px;
    max-height: 95px;
    height: 95px;
    padding: 1rem 0.75rem;
  }

  .info-card i {
    font-size: 1.6rem !important;
    margin-bottom: 0.3rem;
  }

  .info-card small {
    font-size: 0.85rem;
    line-height: 1.2;
  }
}

/* Desktop - consistent sizing */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .info-card {
    min-height: 100px;
    max-height: 100px;
    height: 100px;
    padding: 1.25rem 1rem;
  }

  .info-card i {
    font-size: 1.75rem !important;
    margin-bottom: 0.4rem;
  }

  .info-card small {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* Large screens - consistent sizing */
@media (min-width: 1200px) {
  .info-card {
    min-height: 110px;
    max-height: 110px;
    height: 110px;
    padding: 1.5rem 1.25rem;
  }

  .info-card i {
    font-size: 2rem !important;
    margin-bottom: 0.5rem;
  }

  .info-card small {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
  }
}

/* ===================
   ADDITIONAL INFO CARD UTILITIES
=================== */

/* Ensure equal height rows */
.info-card-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.info-card-row .col-6 {
  display: flex;
}

/* Force consistent dimensions */
.info-card-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.info-card-container .info-card {
  width: 100%;
  height: 100%;
}

/* Text content centering */
.info-card .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
}

.info-card .text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.info-card .text-container small {
  font-family: "Libertinus Keyboard", serif;
}

/* Prevent text overflow and maintain consistency */
.info-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  max-width: 100%;
}

/* ===================
   SIMPLE PG INCLUSIONS RESPONSIVE STYLES
=================== */

/* Mobile responsive for PG inclusions */
@media (max-width: 991.98px) {
  .info-card .row [class*="col-"] {
    margin-bottom: 1rem;
  }

  .info-card .row [class*="col-"] > div {
    min-height: 80px;
  }

  .info-card .fs-2 {
    font-size: 1.5rem !important;
  }

  .info-card small {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .info-card .row [class*="col-"] > div {
    min-height: 70px;
    padding: 1rem 0.5rem !important;
  }

  .info-card .fs-2 {
    font-size: 1.25rem !important;
  }

  .info-card small {
    font-size: 0.8rem;
    line-height: 1.2;
  }
}

/* Fix for large screens */
@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1320px;
    margin: 0 auto;
  }
}
