/* media/global.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: #1F2937; /* Standard text color */
}

/* Custom scrollbar for horizontal sections */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Header specific styles for fixed behavior */
header.fixed {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
}

/* Hero section background overlay for text readability */
.hero-content {
    position: relative;
    background-color: #2563EB; /* Fallback blue */
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.6); /* Blue overlay for text contrast */
    z-index: 0;
}

.hero-content > div {
    position: relative;
    z-index: 1;
}

/* General heading styles */
h2 {
    font-size: 2.5rem; /* Default for h2 */
    line-height: 1.2;
    color: #1E3A8A; /* Darker blue for headings */
}

h2 span.relative {
    display: inline-block;
}

h2 span.absolute {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* Adjust as needed */
    width: 80px; /* Underline width */
    height: 4px; /* Underline thickness */
    background-color: #FACC15; /* Yellow underline */
    border-radius: 2px;
}

/* Button specific styles to remove underline */
button {
    text-decoration: none !important;
}

/* FAQ accordion icon rotation */
.faq-question svg {
    transition: transform 0.3s ease-in-out;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Tab button active state */
.tab-button.active-tab {
    color: #2563EB; /* Active tab text color */
    border-color: #2563EB; /* Active tab underline color */
    font-weight: 600;
}

/* Pricing slider styling */
#pricing-slider:checked + div {
    background-color: #FACC15; /* Yellow for premium slider track */
}

#pricing-slider:checked + div > div {
    transform: translateX(2rem); /* Move slider thumb to the right */
    background-color: #2563EB; /* Blue for premium slider thumb */
}

/* Form validation styles */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #EF4444; /* Red border for invalid input */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #10B981; /* Green border for valid input */
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Styling for the sticky contact button */
#sticky-contact-button {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Styling for service cards to ensure equal height */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 300px; /* Adjust as needed to ensure consistent height */
}

.service-card h3 {
    flex-grow: 0;
}

.service-card p {
    flex-grow: 1;
}

/* Styling for portfolio items to ensure equal height */
.portfolio-item img {
    height: 256px; /* Fixed height for portfolio images */
}

/* Styling for team members to ensure equal height */
.team-member {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 280px; /* Adjust as needed */
}

.team-member img {
    flex-shrink: 0;
}

.team-member h4, .team-member p {
    flex-shrink: 0;
}

/* Styling for industry items to ensure equal height */
.industry-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 192px; /* Fixed height for industry items */
}

/* Styling for testimonial cards to ensure equal height */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px; /* Adjust as needed */
}

.testimonial-card blockquote {
    flex-grow: 1;
}

/* Styling for gallery items to ensure equal height */
.gallery-item img {
    height: 256px; /* Fixed height for gallery images */
}
/* New styles for the .securePolicyGrid container and its nested elements */

.securePolicyGrid {
    padding-top: 4rem;    /* Top padding for the section */
    padding-bottom: 4rem; /* Bottom padding for the section */
    padding-left: 1.5rem; /* Left padding for smaller screens */
    padding-right: 1.5rem;/* Right padding for smaller screens */
    max-width: 1200px;    /* Maximum width for content centering */
    margin-left: auto;    /* Center the grid horizontally */
    margin-right: auto;   /* Center the grid horizontally */
    color: #1F2937;       /* Default text color for the grid content */
}

@media (min-width: 768px) { /* Adjust padding for medium screens and up */
    .securePolicyGrid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.securePolicyGrid h1 {
    font-size: 2.5rem;      /* Font size for main headings */
    line-height: 1.2;       /* Line height for readability */
    margin-bottom: 1.5rem;  /* Space below the heading */
    color: #1E3A8A;         /* Dark blue color for headings */
    font-weight: 700;       /* Bold font weight */
}

.securePolicyGrid h2 {
    font-size: 2rem;        /* Font size for sub-headings */
    line-height: 1.3;
    margin-bottom: 1.25rem; /* Space below the heading */
    color: #1E3A8A;
    font-weight: 600;
}

.securePolicyGrid h3 {
    font-size: 1.75rem;     /* Font size for smaller sub-headings */
    line-height: 1.4;
    margin-bottom: 1rem;    /* Space below the heading */
    color: #1E3A8A;
    font-weight: 600;
}

.securePolicyGrid h4 {
    font-size: 1.5rem;      /* Font size for minor headings */
    line-height: 1.5;
    margin-bottom: 0.75rem; /* Space below the heading */
    color: #1E3A8A;
    font-weight: 600;
}

.securePolicyGrid h5 {
    font-size: 1.25rem;     /* Font size for very minor headings */
    line-height: 1.6;
    margin-bottom: 0.5rem;  /* Space below the heading */
    color: #1E3A8A;
    font-weight: 600;
}

.securePolicyGrid p {
    font-size: 1rem;        /* Standard paragraph font size */
    line-height: 1.75;      /* Generous line height for readability */
    margin-bottom: 1rem;    /* Space between paragraphs */
    color: #1F2937;         /* Standard text color */
}

.securePolicyGrid ul {
    list-style-type: disc;  /* Standard disc bullets for unordered lists */
    padding-left: 1.5rem;   /* Indentation for list items */
    margin-bottom: 1rem;    /* Space below the list */
    color: #1F2937;         /* Standard text color */
}

.securePolicyGrid ol {
    list-style-type: decimal; /* Standard decimal numbers for ordered lists */
    padding-left: 1.5rem;   /* Indentation for list items */
    margin-bottom: 1rem;    /* Space below the list */
    color: #1F2937;         /* Standard text color */
}

.securePolicyGrid li {
    font-size: 1rem;        /* Font size for list items */
    line-height: 1.6;       /* Line height for list items */
    margin-bottom: 0.5rem;  /* Space between list items */
    color: #1F2937;         /* Standard text color */
}


#contact {
    position: relative;

    h2 {
        filter: drop-shadow(2px 4px 6px rgb(255, 255, 255))
    }


}

#message {
    resize: none;
    max-height: 60px;
}

#mobile-menu:not(.hidden) {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
}