/* ===================================
   RESPONSIVE STYLES
   Mobile-First Design Approach
   =================================== */

/* ===================================
   MOBILE (DEFAULT - 320px+)
   =================================== */

/* Typography adjustments for mobile */
h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

.navbar-brand {
  font-size: 1.25rem !important;
}

/* Section spacing for mobile */
.section {
  padding: 2rem 0;
}

.hero-section {
  min-height: 70vh;
  text-align: center;
}

/* Cards on mobile */
.card {
  margin-bottom: 1.5rem;
}

/* Form adjustments */
.form-control {
  font-size: 16px; /* Prevents zoom on iOS */
}

/* Gallery spacing */
.gallery-item {
  margin-bottom: 1rem;
}

/* Team cards */
.team-card img {
  height: 200px;
}

/* Ensure elements with data-sal are visible */
[data-sal] {
  opacity: 1 !important;
  transform: none !important;
}

/* No animations on mobile */
@media (max-width: 767.98px) {
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* ===================================
   SMALL MOBILE (576px+)
   =================================== */
@media (min-width: 576px) {
  .hero-section {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
}

/* ===================================
   TABLET (768px+)
   =================================== */
@media (min-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 90vh;
    text-align: left;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  /* Re-enable hover effects on tablet and up */
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* Team cards */
  .team-card img {
    height: 250px;
  }
}

/* ===================================
   LAPTOP (992px+)
   =================================== */
@media (min-width: 992px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Larger spacing for desktop */
  .container {
    max-width: 1140px;
  }
}

/* ===================================
   DESKTOP (1200px+)
   =================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  /* Enhanced decorative elements on large screens */
  .decorative-shape {
    display: block;
  }
}

/* ===================================
   LARGE DESKTOP (1400px+)
   =================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ===================================
   NAVIGATION RESPONSIVE
   =================================== */

/* Mobile navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--bg-primary);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* ===================================
   FORM RESPONSIVE
   =================================== */
@media (max-width: 767.98px) {
  .row.g-3 > .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* ===================================
   GRID ADJUSTMENTS
   =================================== */

/* Services grid */
@media (max-width: 767.98px) {
  .services-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Features grid */
@media (max-width: 991.98px) {
  .features-grid .col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* Price plan grid */
@media (max-width: 991.98px) {
  .priceplan-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Team grid */
@media (max-width: 767.98px) {
  .team-card {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .team-card img {
    height: 200px;
  }
  
  .team-card .card-body {
    padding: 1rem;
  }
  
  .team-social-links {
    margin-top: 15px;
    padding: 10px 0;
  }
  
  .social-icons-grid {
    gap: 10px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .team-card img {
    height: 220px;
  }
}

/* Reviews grid */
@media (max-width: 991.98px) {
  .reviews-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Gallery grid */
@media (max-width: 767.98px) {
  .gallery-grid .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* ===================================
   UTILITIES RESPONSIVE
   =================================== */

/* Hide decorative shapes on mobile */
@media (max-width: 767.98px) {
  .decorative-shape {
    display: none;
  }
}

/* Text alignment responsive */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-left-tablet {
    text-align: left;
  }
}

/* Spacing responsive */
.mb-mobile-2 {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mb-mobile-2 {
    margin-bottom: 0;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .navbar,
  .footer,
  .btn,
  .decorative-shape {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #d7c7c8;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
} 

.hero-section h1 {
    padding-top: 125px;
}