/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    Clean & Mobile Optimized Child Theme
 * Version:        1.0.1
 */
 
/* Import Plus Jakarta Sans Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Global Reset & Horizontal Scroll Fix */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #122824;
    background-color: #ffffff;
}

:root {
    --brand-primary: #0b6cba;      /* Deep Teal */
    --brand-secondary: #e0f1ff;    /* Soft Light Green background */
    --brand-accent: #0b6cbad6;       /* Secondary Teal */
    --brand-accent-light: #d1e7e2; /* Light badge color */
    --brand-gold: #fcc245;         /* Arrow button accent */
    --text-dark: #122824;
    --text-muted: #5e7370;
}

/* Ensure Row Overflows Don't Trigger Mobile Scrollbar */
.row {
    --bs-gutter-x: 1.5rem;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Header & Logo Responsive Styling */
.custom-page-navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
}

/* Navbar Scroll Effect */
.custom-page-navbar.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
    background-color: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
}

.site-logo-img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}
.location-tag{
    text-transform: capitalize;
}

.top-header-bar {
    background-color: #0d2824;
    color: #ced9f6;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header-text {
    color: #ced9f6 !important;
    font-size: 0.8rem;
}

.top-header-bar a {
    color: #ced9f6;
    text-decoration: none;
}

/* Buttons */
.btn-brand {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-accent);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 75, 67, 0.2);
}
.contact-card-all{
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    height: 100%;
}
.nav-link:hover {
    color: #0b6cba !important;
}
.dropdown-menu a:hover {
    background-color: #0b6cba38 !important;
}
ul.dropdown-menu {
    border-top: 3px solid #0b6cba;
    border-radius: 0px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
/* Show dropdown menu on hover for desktop screens */
  @media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0; /* Ensures no gap between link and dropdown */
      animation: fadeIn 0.2s ease-in-out;
    }
  }

  /* Optional smooth fade-in effect */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* Mobile Offcanvas Sidebar: Max 75% Width & Body Opacity Effect */
@media (max-width: 575.98px) {
    .offcanvas-end {
        width: 75% !important;
    }
}


@media (max-width: 991px) {
  .top-header-bar {
    display: none;
}
}

/* Body Backdrop / Dark Opacity when Offcanvas Opens */
.offcanvas-backdrop.show {
    opacity: 0.6 !important;
    background-color: #000000;
}

.offcanvas-header {
    border-bottom: 1px solid var(--brand-secondary);
}

.offcanvas-body .nav-link {
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f4;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
}

.hero-badge {
    display: inline-block;
    background-color: var(--brand-secondary);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 55px;
    }
}

.hero-img-box {
    position: relative;
    border-radius: 20px;
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--brand-secondary);
    animation: pulseCard 3s infinite ease-in-out;
}

@keyframes pulseCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.about-section img {
    height: 330px;
    object-fit: cover;
}

/* Features Grid */
.feature-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--brand-accent-light);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-secondary);
    color: var(--brand-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.arrow-btn-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f1edfe;
    text-decoration: none;
}

.arrow-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--brand-secondary);
    color: var(--brand-primary);
}

/* Dark Stats Banner */
.stats-banner {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    margin: 40px 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    color: var(--brand-accent-light);
    font-size: 0.85rem;
}

/* Process & Cards */
.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 12px;
}

.service-card {
    border: 1px solid #eef2f1;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(27, 75, 67, 0.08);
}

.testimonial-card {
    background: #f9fbfb;
    border: 1px solid #eef2f1;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    min-height: 206px;
}

/* Contact Form */
.contact-form-card {
    background: #f9fbfb;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #eef2f1;
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 40px;
    }
}

.form-control, .form-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #dde5e3;
}

/* Footer Layout & Styling */
.custom-footer {
    background-color: #0b1f1c;
    color: #a3b8b4;
    padding: 50px 0 25px 0;
    width: 100%;
}

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

.custom-footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.custom-footer .col-brand { flex: 1 1 280px; }
.custom-footer .col-links { flex: 1 1 140px; }
.custom-footer .col-contact { flex: 1 1 240px; }

.custom-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.custom-footer h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.custom-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer ul li {
    margin-bottom: 8px;
}

.custom-footer ul li a {
    color: #a3b8b4;
    text-decoration: none;
    font-size: 0.88rem;
}

.custom-footer ul li a:hover {
    color: #ffffff;
}

.custom-footer .contact-item {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.custom-footer .footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.custom-footer .copyright-text {
    text-align: center;
    font-size: 0.82rem;
}
.Brands img {
    width: 60%;
}
/* Ensure the parent container allows absolute positioned arrows */
.position-relative {
  position: relative !important;
}

/* Adjust arrow Z-index so they sit above cards */
.testimonial-prev-btn, 
.testimonial-next-btn {
  z-index: 10 !important;
  color: #046bd2;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  top: 64%;
}

.testimonial-prev-btn {
      left: 0%;
}

.testimonial-next-btn {
      right: 0%;
}

.testimonial-prev-btn::after, 
.testimonial-next-btn::after {
  font-size: 16px;
  font-weight: bold;
}
.testimonils-sec img {
    border-radius: 100%;
    width: 10%;
}
.Services-btn {
    color: #0b6cba;
    font-size: 14px;
    font-weight: 500;
}
.service-card i {
    color: #046bd2;
}
.contact-form-card i {
    color: #046bd2;
}
.footer-brand img{
    margin-left:-22px;
    width: 75%;
}
.dropdown-menu.show {
    display: block;
    width: 100%;
    overflow: scroll;
}
.Services-btn a{
    color: #0b6cba;
}

@media (max-width:768px){
    .Brands img {
    width: 70% !important;
  
}
.hero-title {
    font-size: 36px !important;
}
.about-section img {
    height: 220px !important;
}
.care-complete {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}