/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
}

.logo i {
    color: #3b82f6;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-text {
    font-size: 0.9rem;
    color: #666;
    display: none;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #3b82f6;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.btn-whatsapp:hover {
    background: #1ea652;
    transform: translateY(-2px);
}

/* Hero Slider Styles */
.hero-slider {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.slide-text {
    color: white;
}

.slide-text h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.slide-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.slide-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dot.active {
    background: white;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    background: #fff;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.welcome-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Support Section */
.support-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.support-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.support-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

.benefits-list i {
    color: #3b82f6;
    margin-top: 0.2rem;
}

.support-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Description */
.services-description {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.services-description h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    padding: 4rem 0;
    background: #f8fafc;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.services-header > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.services-subtitle h3 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
    margin: 1rem 0;
}

.services-subtitle p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.more-services {
    text-align: center;
}

.more-services h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

/* AC Service Carousel */
.ac-service-carousel {
    padding: 4rem 0;
    background: #fff;
}

.ac-service-carousel h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.carousel-card {
    flex: none;
    width: 350px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.carousel-card ul {
    list-style: none;
}

.carousel-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.carousel-card i {
    color: #3b82f6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: #2563eb;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #3b82f6;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.newsletter-card {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.newsletter-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.newsletter-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-card input[type="email"] {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-card input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Footer */
/* ---------- Footer (new) ---------- */
.site-footer {
  background: #0a1f44; /* dark teal gradient */
  color: #0a1f44;
  padding: 48px 0 18px;
  font-size: 0.98rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
  padding: 0 20px;
}

/* Left column */
.footer-left {
  max-width: 820px;
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  border-radius: 4px;
  background: transparent;
}

/* description */
.footer-desc {
  color: rgba(230,241,245,0.92);
  font-size: 1.05rem;
  max-width: 820px;
}

/* Right column - contact block */
.footer-right {
  background: transparent;
  padding-left: 10px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 700;
}

/* contact list */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* icons: use emoji fallback; override with font-awesome if you prefer */
.icon {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444; /* red circle */
  color: #fff;         /* white icon */
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.icon i {
  color: #fff;         /* ensures FA icon is white */
  font-size: 14px;
}

/* prefer using small SVG or FontAwesome icons if available */
.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(230,241,245,0.95);
}

.contact-text strong {
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
}

.contact-text span {
  color: rgba(230,241,245,0.9);
  font-size: 0.95rem;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease, transform 0.12s ease;
}
.contact-link:hover,
.contact-link:focus {
  color: #ffd6d6;
  text-decoration: underline;
  transform: translateY(-1px);
}

/* footer bottom bar */
.footer-bottom {
  margin-top: 26px;
  padding: 10px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer .copyright {
  color: rgba(230,241,245,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-right {
    padding-left: 0;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-desc {
    font-size: 0.98rem;
  }
  .icon { min-width: 30px; height: 30px; font-size: 13px; }
  .footer-logo { height: 44px; margin-bottom: 12px; }
}

/* WhatsApp Float Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-float-btn i {
    color: #fff;
}



/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .support-text {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .slide-image {
        order: -1;
    }

    .slide-text h1 {
        font-size: 2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .welcome-content,
    .support-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .welcome-text h2,
    .support-text h2 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .carousel {
        padding-left: 20px;
    }

    .carousel-card {
        width: 280px;
    }

    .contact-section h2 {
        font-size: 1.75rem;
    }

    .services-description h2 {
        font-size: 1.75rem;
    }

    .ac-service-carousel h2 {
        font-size: 2rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .whatsapp-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 60vh;
    }

    .slide-text h1 {
        font-size: 1.75rem;
    }

    .slide-text p {
        font-size: 0.9rem;
    }

    .welcome-text h2,
    .support-text h2 {
        font-size: 1.5rem;
    }

    .services-description h2 {
        font-size: 1.5rem;
    }

    .ac-service-carousel h2 {
        font-size: 1.75rem;
    }

    .contact-section h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .carousel-card {
        width: 260px;
    }
}

/* Print Styles */
@media print {
    .floating-whatsapp,
    .whatsapp-widget,
    .carousel-controls {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .service-card:hover {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Topbar minimal styles added */
.topbar {
  background: #093244;
  color: #fff;
  font-size: 0.9rem;
}
.topbar .topbar-content {
  display: flex;
  justify-content: space-between;
  padding: 6px 15px;
  align-items: center;
}
.topbar i {
  margin-right: 8px;
}



/* Support Hero Section */
.support-hero {
  background: #0f1720; /* dark navy similar to screenshot */
  color: #e6eef3;
  padding: 40px 0;
}
.support-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.support-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  display: block;
}
.support-hero-text h3 {
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.support-hero-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}
.support-sub {
  color: #9ca3af;
  margin-bottom: 18px;
}
.support-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.support-hero-list li i {
  color: #facc15; /* yellow check */
  font-size: 1.25rem;
  min-width: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .support-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-hero-list li {
    justify-content: center;
  }
  .support-hero-image img {
    max-height: 320px;
    object-fit: cover;
  }
}



/* Services Description Layout */
.services-description-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}
.services-description-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.services-description-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.services-description-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #374151;
}

@media (max-width: 768px) {
  .services-description-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .services-description-image {
    margin-bottom: 1.5rem;
  }
}



/* AC Service Single Section */
.ac-service-single-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
.ac-service-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.ac-service-text ul {
  list-style: none;
  padding: 0;
}
.ac-service-text li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.ac-service-text li i {
  color: #2563eb;
  margin-right: 10px;
}
.ac-service-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .ac-service-single-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ac-service-image {
    margin-top: 1.5rem;
  }
}



/* AC single card layout */
.ac-service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 40px 0;
}
.ac-service-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: block;
}
.ac-service-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.ac-service-text .card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31,41,55,0.06);
}
.ac-service-text .card h4 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.ac-service-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ac-service-text li {
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 0;
  font-weight:600;
  color:#374151;
}
.ac-service-text li i { color: #2563eb; }

@media (max-width: 900px) {
  .ac-service-content { grid-template-columns: 1fr; text-align: center; }
  .ac-service-image { order: -1; }
}

/* -------------------------
   Mobile-safe header + topbar + floating button fixes
   Append to bottom of styles.css
   ------------------------- */

/* Use safe-area insets (iOS notch) for padding on root/body and header/topbar */
:root {
  --safe-pad-left: env(safe-area-inset-left, 16px);
  --safe-pad-right: env(safe-area-inset-right, 16px);
  --safe-pad-top: env(safe-area-inset-top, 0px);
  --safe-pad-bottom: env(safe-area-inset-bottom, 10px);
}

/* Ensure body doesn't let content under status notch */
body {
  padding-left: max(0px, var(--safe-pad-left));
  padding-right: max(0px, var(--safe-pad-right));
  padding-top: var(--safe-pad-top);
  padding-bottom: var(--safe-pad-bottom);
}

/* Topbar: allow wrapping and use inset padding */
.topbar .topbar-content {
  padding-left: calc(12px + var(--safe-pad-left));
  padding-right: calc(12px + var(--safe-pad-right));
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Header content: allow wrap so logo + buttons don't overflow */
.header-content {
  padding-left: calc(12px + var(--safe-pad-left));
  padding-right: calc(12px + var(--safe-pad-right));
  gap: 0.75rem;
  flex-wrap: wrap;            /* important: allow elements to drop to next line */
  align-items: center;
}

/* Logo sizing: never overflow on small widths */
.logo-link, .footer-logo-link {
  display: inline-block;
  max-width: 100%;
}
.logo img, .footer-logo {
  max-width: 160px;           /* desktop max */
  width: auto;
  height: 48px;
  object-fit: contain;
}

/* Make logo smaller on small screens */
@media (max-width: 480px) {
  .logo img, .footer-logo {
    max-width: 140px;
    height: 42px;
  }
}

/* Header info: let support text hide earlier and buttons shrink */
.header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Hide support text on very small screens to save space */
@media (max-width: 520px) {
  .support-text { display: none !important; }
}

/* Make call/contact buttons more compact on mobile */
.btn {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.95rem;
  }
  .btn-whatsapp {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

/* Mobile menu button visible and placed to avoid clipping */
.mobile-menu-btn {
  display: block;
  margin-left: auto;
  z-index: 1100;
  padding: 6px;
}

/* Ensure nav when opened respects safe inset */
.site-nav, #siteNav {
  padding-left: calc(12px + var(--safe-pad-left));
  padding-right: calc(12px + var(--safe-pad-right));
}

/* Floating WhatsApp: use safe-area insets and shrink on mobile */
.floating-whatsapp {
  right: calc(16px + var(--safe-pad-right));
  bottom: calc(20px + var(--safe-pad-bottom));
  pointer-events: auto;
  z-index: 1200;
}

/* Reduce floating button size on small screens so it never gets cut */
.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
@media (max-width: 520px) {
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}

/* WhatsApp widget: ensure it never touches screen edges on mobile */
.whatsapp-widget {
  right: calc(16px + var(--safe-pad-right));
  left: auto;
  bottom: calc(80px + var(--safe-pad-bottom));
  width: 320px;
}
@media (max-width: 480px) {
  .whatsapp-widget {
    width: calc(100vw - (24px + var(--safe-pad-left) + var(--safe-pad-right)));
    right: calc(12px + var(--safe-pad-right));
    left: calc(12px + var(--safe-pad-left));
    bottom: calc(70px + var(--safe-pad-bottom));
  }
}

/* Prevent hero/large images from forcing horizontal overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Small fix: container padding reduces on narrow screens */
@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }
}

/* Add breathing space between logo and Call Us button */
.header-info {
  margin-left: auto; /* pushes Call Us button to the right side */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  aspect-ratio: 2 / 1; /* 1000x500 etc. */
}
.slide-image img { aspect-ratio: 3 / 2; }

/* ---- Support list: stable icon alignment using grid ---- */
.support-hero-list li,
.benefits-list li,
.benefits-list li,
.contact-list li {
  display: grid;
  grid-template-columns: 38px 1fr; /* icon column, text column */
  gap: 12px;
  align-items: start;              /* aligns icon to top of first text line */
  padding: 6px 0;
}

/* icon cell: center icon inside the fixed column */
.support-hero-list li .icon,
.benefits-list li .icon,
.contact-list li .icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;            /* remove any top margin that could move it */
  align-self: start;    /* ensure it stays top aligned */
}

/* text cell: normal paragraph flow */
.support-hero-list li .text,
.benefits-list li .text,
.contact-list li .contact-text {
  margin: 0;
  line-height: 1.45;    /* comfortable line-height; adjust if needed */
  color: inherit;
}

/* responsive tweak: reduce icon column on very small screens */
@media (max-width: 420px) {
  .support-hero-list li,
  .benefits-list li,
  .contact-list li {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }
  .support-hero-list li .icon,
  .benefits-list li .icon,
  .contact-list li .icon { width: 34px; height: 34px; }
}

/* Make header and footer logos bigger */
.logo img {
  height: 80px;       /* was 60px */
  max-width: 200px;   /* allow a bit wider */
}

.footer-logo {
  height: 60px;       /* slightly bigger in footer */
  max-width: 180px;
}

/* On mobile, scale down so it doesn’t crowd the Call Us button */
@media (max-width: 520px) {
  .logo img {
    height: 80px;
    max-width: 160px;
  }
}

:root {
  --color-navy: #0a1f44; /* nice navy blue */
}

/* Top bar */
.topbar {
  background-color: var(--color-navy) !important;
  color: #ffffff;
}

/* Support containers */
.support-section,
.support-hero {
  background-color: var(--color-navy) !important;
  color: #ffffff;
}
.support-section h2,
.support-hero h2,
.support-section .section-label,
.support-hero .section-label,
.support-section li,
.support-hero li {
  color: #ffffff;
}

}

/* --- Prevent carousel dots overlapping CTA --- */

/* Ensure CTA buttons appear above carousel dots */
.hero-slider .btn,
.hero-slider .btn-primary,
.hero-slider .btn-secondary,
.hero-slider .btn-whatsapp {
  position: relative;
  z-index: 30; /* higher than dots */
}

/* Default dots styling - slightly behind CTA */
.slide-dots {
  z-index: 10;
  bottom: 2rem; /* keep default distance from bottom on desktop */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  /* Add extra bottom padding so hero area leaves room for CTA + safe area */
  .hero-slider {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 12px));
  }

  /* Move dots up so they sit above the added padding (and above images, but below CTA due to z-index) */
  .slide-dots {
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 12px)); /* lift dots above CTA area */
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    gap: 0.5rem;
  }

  /* Make dots slightly smaller on mobile so they obstruct less */
  .dot {
    width: 10px;
    height: 10px;
  }

  /* Extra safety: ensure CTA has higher stacking on very narrow screens */
  .hero-slider .btn {
    z-index: 40;
  }
}

/* Option A: hide carousel dots on small screens */
@media (max-width: 768px) {
  .slide-dots {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* keep CTA above everything */
  .hero-slider .btn { z-index: 1000; position: relative; }
}

/* ===== Ensure hero CTA scrolls away with the hero (not fixed/sticky) ===== */
.hero-slider .btn,
.hero-slider .btn-secondary,
.slide-text .btn,
.slide-text .btn-secondary,
.slide-text .contact-cta /* optional class if you renamed it */ {
  position: static !important;    /* revert to normal flow */
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  will-change: auto !important;
  z-index: auto !important;
  pointer-events: auto !important;
}

