body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
}

.payment-icon {
    padding: 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px; /* spacing left and right */
    color: white; /* white text color */
    font-weight: bold;
    font-family: Arial, sans-serif;
}
html { scroll-behavior: smooth; }

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
}
.hero-section .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(1, 1, 10, 0.5); /* dark green overlay */
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-carousel img {
    max-height: 100px;
    margin: 0 10px;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.7));
}

/* WhatsApp chat button */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* CRM login section */
.crm-login {
    background-color: #e9f7ef; /* very light green */
    padding: 40px 0;
    color: white;
}

/* Navbar customization for blue theme */
.navbar {
    background-color: #B7DBF5 !important; /* Bootstrap blue */
}
.navbar .navbar-brand img {
    filter: none; /* make logo white-ish if needed */
}
.navbar .nav-link {
    color: black !important;
    font-weight: 600;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
    color: #ffffff !important; /* lighter green on hover */
}
.navbar-toggler {
    border-color: #ffffff;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(2, 2, 2, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Services cards - override original background colors to green palette */
.card.bg-primary { background-color: #87CEEB !important; }
.card.bg-success { background-color: #000080 !important; }
.card.bg-warning { background-color: #ADD8E6 !important; color: #1E90FF !important; }
.card.bg-danger { background-color: #dc3545 !important; } /* keep red for alert */

/* Since original uses inline styles for cards, update them here */
/* To make sure cards use consistent green shades */
.card.cipc { background-color: #87CEEB !important; }
.card.sars { background-color: #000080 !important; }
.card.scd { background-color: #ADD8E6 !important; color: #1E90FF !important; }
.card.status-check { background-color: #dc3545 !important; } /* status check - leave red for alert */

/* Status Check Section */
#multiStepForm {
    background-color: #d4edda; /* light green */
    border-radius: 8px;
}
#multiStepForm h2 {
    color: #0000CD; /* dark blue */
}
#statuscheck .btn-primary {
    background-color: #87CEEB;
    border-color: #87CEEB;
}
#statuscheck .btn-primary:hover {
    background-color: #000080;
    border-color: #000080;
}

/* Buttons */
.btn-primary {
    background-color: #87CEEB;
    border-color: #87CEEB;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #000080;
    border-color: #000080;
}
.btn-outline-light {
    color: white;
    border-color: white;
}
.btn-outline-light:hover, .btn-outline-light:focus {
    background-color: white;
    color: #87CEEB;
    border-color: white;
}
.btn-success {
    background-color: #87CEEB;
    border-color: #87CEEB;
    color: white;
}
.btn-success:hover, .btn-success:focus {
    background-color: #000080;
    border-color: #000080;
    color: white;
}

/* Footer */
footer {
text-align: center;  
color: #ffffff;

}
footer a {
    color: #000080;
}
footer a:hover, footer a:focus {
    color: white;
    text-decoration: underline;
}

/* Accordion Buttons */
.accordion-button {
    background-color: #d4edda;
    color: #0000CD;
}
.accordion-button:not(.collapsed) {
    background-color: #87CEEB;
    color: white;
}

/* Testimonials blockquote */
#testimonials blockquote {
    font-style: italic;
    color: #000080;
    border-left: 5px solid #87CEEB;
    padding-left: 1rem;
}

/* Status Check */
.page { display: none; }
.page.active { display: block; }
input[readonly] { background-color: #e9ecef; }
.notification-popup { border: 1px solid #ccc; padding: 20px; border-radius: 8px; background: #f8f9fa; text-align:center;}


.btn-container {
margin-top: 20px;
text-align: center;
}

.clauses-box {
    background-color: #f9f9f9;
    border-bottom: 1px solid #e5e5e5;
    padding: 25px 15px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .clauses-box h6 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .clauses-box a {
    color: #0071e3;
    text-decoration: none;
  }
  .clauses-box a:hover {
    text-decoration: underline;
  }
  .form-container {
    background: white;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }
  .form-label {
    font-weight: 500;
    margin-bottom: 6px;
  }
  .form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    padding: 10px 14px;
    font-size: 1rem;
  }
  .payment-btn {
    background-color: #0071e3;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 24px;
    transition: background 0.2s ease;
  }
  .payment-btn:hover {
    background-color: #005bb5;
  }
   .nav-link {
    font-weight: 500;
    transition: opacity 0.2s ease;
  }
  .nav-link:hover {
    opacity: 0.85;
  }

@media (max-width: 767px) {
    .hero-section {
        min-height: 300px;
        height: auto;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .col-md-6.d-flex {
        height: auto !important;
    }

    footer .col-md-4 {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .col-md-6.d-flex.align-items-center.justify-content-center {
        height: 30vh !important;
    }

    #testimonialCarousel .carousel-item .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
