/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* ========================================
   LARGE TABLETS (1024px and below)
   ======================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.8rem;
  }

  .service-desc {
    font-size: 1.1rem;
  }

  .containersss {
    max-width: 900px;
    padding: 0 20px;
  }

  .image-sectionsss img {
    width: 400px;
  }

  .text-sectionsss h1 {
    font-size: 28px;
  }

  .footer-container {
    gap: 30px;
  }
}

/* ========================================
   TABLETS (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    min-height: 70vh;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .services-section {
    padding: 50px 20px;
  }

  .service-row {
    margin-bottom: 60px;
    gap: 30px;
  }

  .service-image {
    flex: 1 1 40%;
  }

  .service-content {
    flex: 1 1 55%;
  }

  .service-title {
    font-size: 1.6rem;
  }

  .service-desc {
    font-size: 1rem;
    width: 100% !important;
  }

  .containersss {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .image-sectionsss img {
    width: 350px;
    margin-right: 0;
  }

  .text-sectionsss {
    padding-left: 0 !important;
  }

  .text-sectionsss h1 {
    font-size: 26px;
  }

  .text-sectionsss p {
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .navigationsss {
    left: 50%;
    transform: translateX(-50%);
  }

  .more-info-section .row {
    margin: 0 -10px;
  }

  .info-card {
    margin-bottom: 20px;
    padding: 1.2rem 1rem;
  }

  .testimonials-section .section-title {
    width: 100% !important;
    left: 0 !important;
    font-size: 2.5rem;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-left {
    flex: 1 1 250px;
  }

  .footer-column {
    flex: 1 1 140px;
  }
}

/* ========================================
   LARGE MOBILES (481px - 767px)
   ======================================== */
@media (min-width: 481px) and (max-width: 767px) {
  *{
    overflow-x: hidden;
  }
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 24px !important;
  }

  .hero-section {
    min-height: 60vh;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 0.5rem;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.2rem;
    margin-bottom: 2rem;
  }

  .hero-content .btn {
    min-width: 120px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .services-section {
    padding: 40px 15px;
  }

  .services-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .services-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .service-row {
    flex-direction: column;
    margin-bottom: 50px;
    gap: 25px;
  }

  .service-row.reverse {
    flex-direction: column;
  }

  .service-image {
    flex: 1 1 100%;
  }

  .service-content {
    flex: 1 1 100%;
    padding-left: 0;
    text-align: center;
  }

  .service-title {
    font-size: 1.4rem !important;
    margin-bottom: 8px;
  }

  .service-desc {
    font-size: 14px !important;
    width: 100% !important;
  }

  .why-section {
    padding: 40px 15px;
  }

  .why-section .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  #holeprt-cont {
    height: auto;
    padding: 40px 0;
    margin-top: 2rem;
  }

  .containersss {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    margin: 10px;
  }

  .image-sectionsss img {
    width: 280px;
    margin-right: 0;
  }

  .text-sectionsss {
    padding-left: 0 !important;
  }

  .text-sectionsss h1 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .text-sectionsss p {
    font-size: 13px;
    max-width: 100%;
  }

  .navigationsss {
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    margin-top: 20px;
  }

  .more-info-section {
    padding: 40px 15px;
  }

  .more-info-section .section-title {
    padding-bottom: 2rem !important;
    font-size: 1.8rem;
  }

  .info-card {
    padding: 1rem 0.8rem;
    margin-bottom: 15px;
  }

  .info-title {
    font-size: 1rem;
  }

  .info-desc {
    font-size: 0.9rem;
  }

  .testimonials-section {
    padding: 40px 15px;
  }

  .testimonials-section .section-title {
    width: 100% !important;
    left: 0 !important;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .testimonials-section .mb-4 {
    font-size: 13px !important;
    padding-bottom: 2rem !important;
  }

  .testimonial-card {
    padding: 1rem 0.8rem;
    margin-bottom: 15px;
  }

  .testimonial-stars {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 0.9rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .faq-section {
    padding: 40px 15px;
  }

  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .faq-section .mb-4 {
    font-size: 16px !important;
    padding-bottom: 2rem !important;
  }

  .accordion-button {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }

  .accordion-body {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .footer {
    padding: 40px 15px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 25px;
  }

  .footer-left {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-left h2 {
    font-size: 20px;
  }

  .footer-left p {
    font-size: 13px;
  }

  .newsletter-form {
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-column {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .footer-bottom {
    font-size: 12px;
    padding: 15px;
    margin-top: 25px;
  }
}

/* ========================================
   SMALL MOBILES (320px - 480px)
   ======================================== */
@media (max-width: 480px) {
  *{
    overflow-x: hidden;
  }
  .navbar {
    padding: 0.4rem 0;
  }

  .navbar-brand {
    font-size: 20px !important;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }

  .navbar-nav .nav-link {
    font-size: 16px !important;
    margin-right: 0;
    padding: 0.5rem 0;
  }

  .hero-section {
    min-height: 50vh;
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  .hero-content .btn {
    min-width: 100px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .services-section {
    padding: 30px 10px;
  }

  .services-badge {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .services-description {
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.4;
  }

  .service-row {
    margin-bottom: 40px;
    gap: 20px;
  }

  .service-title {
    font-size: 15px;
    margin-left: 2px;

    margin-bottom: 6px;

  }

  .service-desc {
    font-size: 13px !important;
    line-height: 1.4;
  }

  .why-section {
    padding: 30px 10px;
  }

  .why-section .lead {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  .why-section .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  #holeprt-cont {
    height: auto;
    padding: 30px 0;
    margin-top: 1rem;
  }

  .containersss {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin: 10px;
  }

  .image-sectionsss img {
    width: 200px;
    margin-right: 0;
  }

  .text-sectionsss h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .text-sectionsss p {
    font-size: 12px;
    line-height: 1.5;
  }

  .navigationsss {
    left: 78%;
    transform: translateX(-50%);
    font-size: 11px;
    margin-top: 15px;
    letter-spacing: 1px;
  }

  .more-info-section {
    padding: 30px 10px;
  }

  .more-info-section .section-title {
    padding-bottom: 1.5rem !important;
    font-size: 1.5rem;
  }

  .info-card {
    padding: 0.8rem 0.6rem;
    margin-bottom: 12px;
    min-height: 100px;
  }

  .info-title {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .info-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .testimonials-section {
    padding: 30px 10px;
  }

  .testimonials-section .section-title {
    width: 100% !important;
    left: 0 !important;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .testimonials-section .mb-4 {
    font-size: 12px !important;
    padding-bottom: 1.5rem !important;
  }

  .testimonial-card {
    padding: 0.8rem 0.6rem;
    margin-bottom: 12px;
    min-height: 100px;
  }

  .testimonial-stars {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .testimonial-author {
    font-size: 0.85rem;
  }

  .testimonial-role {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .testimonial-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .faq-section {
    padding: 30px 10px;
  }

  .faq-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .faq-section .mb-4 {
    font-size: 14px !important;
    padding-bottom: 1.5rem !important;
  }

  .accordion-item {
    margin-bottom: 0.8rem;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .accordion-body {
    font-size: 0.85rem;
    padding: 0.8rem;
    line-height: 1.4;
  }

  .footer {
    padding: 30px 10px 10px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-left h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-left p {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .newsletter-label {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }

  .newsletter-form input[type="email"] {
    padding: 8px;
    font-size: 0.9rem;
  }

  .newsletter-form button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .footer-column h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-column ul li {
    margin-bottom: 6px;
  }

  .footer-column ul li a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 11px;
    padding: 12px;
    margin-top: 20px;
  }
}

/* ========================================
   EXTRA SMALL MOBILES (below 320px)
   ======================================== */
@media (max-width: 319px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.3rem;
  }
  .service-image {
    width: 60px;
    height: 50px;
  }
  .service-title {
    font-size: 1.1rem !important;
  }

  .service-desc {
    font-size: 12px !important;
  }

  .containersss {
    margin: 5px;
  }

  .image-sectionsss img {
    width: 260px;
  }

  .text-sectionsss h1 {
    font-size: 18px;
  }

  .text-sectionsss p {
    font-size: 11px;
  }

  .info-card,
  .testimonial-card {
    padding: 0.6rem 0.5rem;
  }

  .info-title,
  .testimonial-author {
    font-size: 0.9rem;
  }

  .info-desc,
  .testimonial-text {
    font-size: 0.8rem;
  }

  .accordion-button {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
  }

  .accordion-body {
    font-size: 0.8rem;
    padding: 0.6rem;
  }

  .footer-left h2 {
    font-size: 16px;
  }

  .footer-left p {
    font-size: 11px;
  }

  .newsletter-form {
    max-width: 250px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column ul li a {
    font-size: 0.8rem;
  }
}

/* ========================================
   LANDSCAPE ORIENTATION (Mobile)
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 20px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-content .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  #holeprt-cont {
    height: auto;
    padding: 20px 0;
    margin-top: 1rem;
  }

  .containersss {
    flex-direction: row;
    gap: 20px;
  }

  .service-image {
    width: 50px;
    height: 50px;
  }

  .image-sectionsss img {
    width: 20px;
  }

  .text-sectionsss h1 {
    font-size: 18px;
  }

  .text-sectionsss p {
    font-size: 12px;
  }
}

/* ========================================
   HIGH DPI DISPLAYS (Retina)
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image img,
  .image-sectionsss img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .hero-section video,
  .btn,
  .newsletter-form,
  .footer {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 20px 0;
  }

  .hero-title {
    color: #000 !important;
    font-size: 2rem;
  }

  .hero-desc {
    color: #333 !important;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }

  .service-card,
  .info-card,
  .testimonial-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-content {
    animation: none !important;
  }

  .fadeInUp {
    animation: none !important;
  }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-dark: #000000;
    --bg-card: #1a1a1a;
    --border: #333;
  }
}

/* ========================================
   FOCUS STATES FOR ACCESSIBILITY
   ======================================== */
@media (any-hover: hover) {
  .btn:focus,
  .nav-link:focus,
  .accordion-button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .nav-link:hover,
  .service-card:hover,
  .info-card:hover,
  .testimonial-card:hover {
    transform: none;
  }

  .service-row:hover,
  .info-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
}
