/* public/main.css */

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button styles to remove underline */
.btn-primary, .service-select-btn {
    text-decoration: none !important;
}

/* Header/Navigation specific styles */
header nav ul li a {
    position: relative;
    padding-bottom: 5px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3B82F6; /* Tailwind blue-500 */
    transition: width 0.3s ease-out;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Service grid item equal height */
.service-grid > div {
    display: flex;
    flex-direction: column;
}

.service-grid > div .p-6 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-grid > div .p-6 .flex-grow {
    flex-grow: 1;
}

/* Pricing cards equal height */
.pricing-cards-container > .pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Accordion header styling */
.accordion-header {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.accordion-body.active {
    max-height: 500px; /* Arbitrary large value */
    opacity: 1;
}

/* Footer accordion styles */
.accordion-footer-header {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.accordion-footer-header i {
    transition: transform 0.3s ease;
}

.accordion-footer-header.active i {
    transform: rotate(180deg);
}

.accordion-footer-body {
    padding-top: 0;
}

.accordion-footer-body.active {
    opacity: 1;
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .footer-accordion-item .accordion-footer-header i {
        display: none;
    }
    .footer-accordion-item .accordion-footer-body {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
        padding-top: 0;
    }
    .footer-accordion-item .accordion-footer-header {
        cursor: default;
    }
}

/* FAQ bubble hover effect */
.faq-bubble:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Modal specific styles */
#faq-modal .bg-white, #cookie-consent-modal .bg-white {
    animation: fadeInScale 0.3s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Parent container styles for spacing */
.securePolicyGrid {
    margin-top: 60px; /* Top margin for the entire grid container */
    padding-left: 20px; /* Left padding for content inside the grid */
    padding-right: 20px; /* Right padding for content inside the grid */
    max-width: 960px; /* Maximum width for better readability on large screens */
    margin-left: auto; /* Center the grid container horizontally */
    margin-right: auto; /* Center the grid container horizontally */
}

/* Heading styles - keeping font sizes moderate */
.securePolicyGrid h1 {
    font-size: 2rem; /* Moderate size for main heading (e.g., 32px if base is 16px) */
    line-height: 1.2; /* Good readability for headings */
    margin-bottom: 0.8em; /* Space below the heading */
}

.securePolicyGrid h2 {
    font-size: 1.75rem; /* Slightly smaller heading (e.g., 28px) */
    line-height: 1.3;
    margin-bottom: 0.7em;
}

.securePolicyGrid h3 {
    font-size: 1.5rem; /* Third level heading (e.g., 24px) */
    line-height: 1.4;
    margin-bottom: 0.6em;
}

.securePolicyGrid h4 {
    font-size: 1.25rem; /* Fourth level heading (e.g., 20px) */
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.securePolicyGrid h5 {
    font-size: 1.125rem; /* Fifth level heading, slightly larger than paragraph (e.g., 18px) */
    line-height: 1.6;
    margin-bottom: 0.4em;
}

/* Paragraph styles */
.securePolicyGrid p {
    font-size: 1rem; /* Standard paragraph font size (e.g., 16px) */
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.securePolicyGrid ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 2em; /* Indent for bullet points */
}

/* List item styles */
.securePolicyGrid li {
    font-size: 1rem; /* Consistent font size with paragraph */
    line-height: 1.7; /* Consistent line height with paragraph */
    margin-bottom: 0.5em; /* Space between list items */
}

.securePolicyGrid a{
    color: #3B82F6;
    transition: 0.4s linear;

    &:hover{
        opacity: 0.7;
    }
}

.text-2xl.font-bold.text-blue-700{
    font-size: clamp(15px, 4vw, 26px) !important;
}

#hero{
    padding-top: 150px !important;
    padding-bottom: 50px;
}

.text-4xl.font-bold.text-center.mb-12.text-blue-700{
    font-size: clamp(26px, 4vw, 38px) !important;
}

.text-3xl.font-bold.text-center.mb-10.mt-20.text-blue-700{
    font-size: clamp(24px, 4vw, 34px) !important;
}

@media (max-width: 575px){
    .flex.items-center{
        flex-direction: column !important;
        text-align: center;
    }

    nav.flex.items-center a,
    nav.flex.items-center{
        flex-direction: row !important;
    }
}

section{
    overflow-y: hidden;
}

@media (max-width: 767px){
    footer{
        text-align: center;

        a,
        h4{
            justify-content: center !important;
        }
    }
}

#contact{
     .flex.items-center{
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;
     }
}