/* AI Newsletter Content Generator - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile as per requirements */
  .sal-animate {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navbar brand - conservative size */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  #hero {
    min-height: 80vh;
    padding-top: 80px;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Section padding */
  .section {
    padding: 40px 0;
  }
  
  /* Cards spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards - no scaling on mobile */
  .price-card.featured {
    transform: none;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Process steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer */
  #footer {
    padding: 40px 0 20px;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on mobile as per requirements */
  .sal-animate {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Hero adjustments */
  #hero {
    padding-top: 90px;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Price card featured - minimal scaling */
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    padding-top: 100px;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Services and features in 2 columns */
  .service-card,
  .feature-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Hero shapes visible */
  .hero-shape-1,
  .hero-shape-2 {
    display: block;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Container max width */
  .container {
    max-width: var(--container-max-width);
  }
}

/* Specific responsive adjustments */

/* Navbar responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero section responsive */
@media (max-width: 767.98px) {
  #hero .row {
    flex-direction: column-reverse;
  }
  
  .hero-image {
    margin-bottom: 2rem;
  }
}

/* Services responsive grid */
@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid .col-lg-4:nth-child(3n+1) {
    clear: left;
  }
}

/* Team section responsive */
@media (max-width: 767.98px) {
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Price plans responsive */
@media (max-width: 991.98px) {
  .price-card.featured {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

/* FAQ responsive */
@media (max-width: 767.98px) {
  .faq-card {
    padding: 1rem;
  }
}

/* Contact form responsive */
@media (max-width: 575.98px) {
  .form-control {
    padding: 0.75rem;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer-content .col-md-3 {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Process section responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Utility classes for responsive behavior */
.mobile-center {
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-center {
    text-align: left;
  }
}

/* Hide/show elements based on screen size */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 992px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Responsive spacing utilities */
@media (max-width: 575.98px) {
  .mb-mobile-3 {
    margin-bottom: 1rem !important;
  }
  
  .mt-mobile-3 {
    margin-top: 1rem !important;
  }
  
  .px-mobile-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* Ensure images are always responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive tables (if needed) */
@media (max-width: 767.98px) {
  .table-responsive-mobile {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Responsive text alignment */
@media (max-width: 767.98px) {
  .text-center-mobile {
    text-align: center !important;
  }
}

/* Button responsive behavior */
@media (max-width: 575.98px) {
  .btn-responsive {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Card hover effects - disabled on touch devices */
@media (hover: none) {
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 375px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .contact-form {
    padding: 1rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 60vh;
  }
  
  .section {
    padding: 30px 0;
  }
} 

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 225px;
}