/* Mobile First Responsive Design */

/* DISABLE ALL ANIMATIONS GLOBALLY - RESPONSIVE */
@media (max-width: 9999px) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .hero-shapes {
    animation: none !important;
  }
  
  .services-card:hover {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .team-member:hover {
    transform: none !important;
  }
  
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --navbar-brand-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 1.83rem;
  }
  
  .hero-shapes {
    width: 100px;
    height: 100px;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .testimonial-card {
    margin: 0.5rem 0;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    margin: 1rem 0;
  }
  
  .navbar-collapse {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .testimonial-card {
    margin: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-content {
    padding-top: 50px !important;
    text-align: left;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .testimonial-card {
    margin: 0.75rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .testimonial-card {
    margin: 1rem;
  }
  
  .gallery-item {
    margin-bottom: 1.56rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1200px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-shapes {
    width: 250px;
    height: 250px;
  }
  
  .hero-shapes:nth-child(3) {
    width: 180px;
    height: 180px;
  }
  
  .services-card img {
    height: 220px;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  .testimonial-card {
    margin: 1rem;
    padding: 2.5rem;
  }
  
  .team-member {
    padding: 2.5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-shapes {
    width: 300px;
    height: 300px;
  }
  
  .hero-shapes:nth-child(3) {
    width: 200px;
    height: 200px;
  }
  
  .services-card img {
    height: 250px;
  }
  
  .gallery-item img {
    height: 300px;
  }
}

/* Responsive Typography */
@media (max-width: 767.98px) {
  .section-title h2 {
    font-size: 1.59rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.99rem;
  }
  
  .services-price {
    font-size: 1.28rem;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.2rem 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(81, 141, 243, 0.10);
  }
}

/* Card Responsive */
@media (max-width: 575.98px) {
  /* FAQ Simple Cards Responsive */
  .faq-simple-card {
    margin-bottom: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .faq-question i {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  
  .faq-question h5 {
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  /* Old FAQ Cards - DISABLED */
  /*
  .faq-card .btn-link {
    padding: 0.75rem 1rem;
    font-size: 1.00rem;
  }
  
  .faq-card .card-body {
    padding: 1rem;
    font-size: 1.01rem;
  }
  */
  
  .testimonial-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Form Responsive */
@media (max-width: 767.98px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.96rem;
  }
  
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 0.63rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 200px;
  }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
  .hero-section::before {
    opacity: 0.2;
  }
  
  .hero-content {
    padding-top: 50px !important;
    padding: 2rem 0;
  }
  
  .hero-content .col-md-6:first-child {
    margin-bottom: 2rem;
  }
}

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

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

/* Team Grid Responsive */
@media (max-width: 767.98px) {
  .team-grid .col-lg-2 {
    margin-bottom: 1.59rem;
  }
}

/* Spacing Adjustments for Mobile */
@media (max-width: 575.98px) {
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.69rem !important;
  }
  
  .py-5 {
    padding-top: 2.62rem !important;
    padding-bottom: 2.71rem !important;
  }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
  .breadcrumb-nav {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-nav img {
    width: 20px;
    height: 20px;
  }
}

/* Animation Performance for Mobile */
@media (max-width: 767.98px) {
  .hero-shapes {
    animation: none;
  }
  
  .services-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .team-member:hover {
    transform: none;
  }
} 