/* Responsive Design - EV Charging Network Template */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .service-card {
    padding: 3rem 2.5rem;
  }
  
  .price-card {
    padding: 3.5rem 2.5rem;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 2.5rem 2rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .lead {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .service-price {
    font-size: 1.8rem;
  }
  
  .price-card {
    padding: 2.5rem 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .contact-form {
    padding: 2.5rem 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .review-slide {
    padding: 2rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .hero-shapes {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-price {
    font-size: 1.6rem;
  }
  
  .about-feature {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .coreinfo-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .review-slide {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-content {
    padding: 1.2rem;
  }
  
  .accordion-button {
    padding: 1.2rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
    overflow-x: hidden;
    padding: 1.2rem;
    font-size: 0.9rem;
  }
}

/* Extra Small Devices (up to 575.98px) */
@media (max-width: 575.98px) {
  body {
    overflow-x: hidden;
    font-size: 0.9rem;
  }
  
  .hero {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .hero .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-shapes {
    display: none;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  
  .section-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .service-price {
    font-size: 1.4rem;
  }
  
  .about-feature {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .about-feature h4 {
    font-size: 1.1rem;
  }
  
  .feature-item {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .feature-item h4 {
    font-size: 1.1rem;
  }
  
  .price-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .price-card h4 {
    font-size: 1.1rem;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  .price-features li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-member {
    margin-bottom: 1rem;
  }
  
  .team-member h4 {
    font-size: 1.1rem;
  }
  
  .team-role {
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .coreinfo-item {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .coreinfo-item h4 {
    font-size: 1.1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .gallery-image {
    height: 180px;
  }
  
  .review-slide {
    padding: 1.2rem;
    margin: 0.3rem;
  }
  
  .review-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .review-author {
    font-size: 0.9rem;
  }
  
  .blog-card {
    margin-bottom: 1rem;
  }
  
  .blog-image {
    height: 160px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .blog-excerpt {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .blog-link {
    font-size: 0.85rem;
  }
  
  .accordion-item {
    margin-bottom: 0.8rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  .accordion-body {
    overflow-x: hidden;
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
  
  .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .footer-section a {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .footer-bottom {
    padding-top: 0.8rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-nav {
    padding: 0.8rem 0;
    margin-top: 60px;
  }
  
  .breadcrumb-image {
    width: 25px;
    height: 25px;
  }
}

/* Landscape orientation on mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 50vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Print styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  header,
  footer,
  .navbar,
  .hero-shapes,
  .swiper-pagination,
  .btn {
    display: none !important;
  }
  
  body {
    overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .section-title {
    font-size: 18pt;
  }
  
  .section-subtitle {
    font-size: 14pt;
  }
  
  .service-card,
  .price-card,
  .about-feature {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #006400;
    --primary-purple: #4B0082;
    --primary-coral: #DC143C;
    --primary-cream: #F5F5DC;
    --primary-sage: #9CAF88;
    --gray: #333333;
    --light-gray: #F0F0F0;
  }
  
  .service-card,
  .price-card,
  .about-feature,
  .feature-item,
  .coreinfo-item {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-gray);
  }
}

/* Force disable all animations - applied to all cases */
*,
*::before,
*::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  animation: none !important;
  transition: none !important;
}

.hero-shape {
  animation: none !important;
}

.swiper {
  scroll-behavior: auto;
}

/* Additional animation overrides */
.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

.service-card,
.price-card,
.about-feature,
.feature-item,
.blog-card,
.gallery-item {
  transform: none !important;
  transition: none !important;
}

/* Custom container breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
} 