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

.has-text-white-ter {
    color: #f0f0f0 !important;
}

.has-background-dark {
    background-color: #212529 !important;
}

.has-background-grey-darker {
    background-color: #343a40 !important;
}

.section {
    padding: 6rem 1.5rem;
}

.title {
    font-weight: 700;
}

.section-title-gradient {
    font-size: 3rem;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero.has-background-image {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-title-gradient {
    font-size: 4rem;
    background: linear-gradient(90deg, #8bc34a, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-top: 2rem;
}

.hero-form .input, .hero-form .textarea {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-form .input::placeholder, .hero-form .textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero-form .input:focus, .hero-form .textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.125em rgba(76, 175, 80, 0.25);
}

.hero-form .button {
    border-color: #4CAF50;
    color: #4CAF50;
}

.hero-form .button:hover {
    background-color: #4CAF50;
    color: white;
}

/* Navbar */
.navbar {
    background-color: rgba(33, 37, 41, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    max-height: 2.5rem;
}

.navbar-item {
    color: #f0f0f0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: #4CAF50;
    background-color: transparent;
}

.navbar-burger {
    color: #f0f0f0;
}

.navbar-burger span {
    background-color: #f0f0f0;
}

.navbar-menu.is-active {
    background-color: rgba(33, 37, 41, 0.95);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
    }
    .navbar-item {
        padding-left: 1.5rem;
    }
}

/* About Us - Faces & Voices (Conceptual, not explicitly used as a block, but general team member styling) */
/* This block description was partially integrated into 'Our Team - Carousel' for efficiency and to avoid redundancy */

/* Services - Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #343a40;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #495057;
}

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

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 1.5rem;
}

.accordion-content.is-active {
    max-height: 500px; /* Sufficiently large to accommodate content */
    padding: 1.5rem;
}

.accordion-content ul {
    list-style: none;
    margin-left: 0;
    margin-top: 1rem;
}

.accordion-content ul li {
    margin-bottom: 0.5rem;
}

.accordion-content ul li .icon {
    vertical-align: middle;
}

/* Our Team - Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    flex: 0 0 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.is-active {
    display: block;
    opacity: 1;
}

.carousel-item .image {
    margin: 0 auto 1.5rem auto;
}

.carousel-item .is-rounded {
    border: 4px solid #4CAF50;
}

.team-name-gradient {
    background: linear-gradient(90deg, #2196F3, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.carousel-navigation .button {
    background-color: #e0e0e0;
    border: none;
    color: #333;
}

.carousel-navigation .button:hover {
    background-color: #bdbdbd;
}

.carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots .dot.is-active {
    background-color: #4CAF50;
}

/* Portfolio - Responsive Gallery */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-card .card-image img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content .title {
    color: white;
}

.overlay-content .subtitle {
    color: #f0f0f0;
}

/* Testimonials - Before & After */
.testimonial-card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
}

.testimonial-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-card .media-left img {
    border: 3px solid #2196F3;
}

.testimonial-card .before-section {
    border-left: 4px solid #ffc107;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card .after-section {
    border-left: 4px solid #4CAF50;
    padding-left: 1rem;
}

/* FAQ - Collapsible Grid */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faq-header {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background-color: #495057;
}

.faq-header .card-header-title {
    padding-right: 1.5rem;
}

.faq-header .card-header-icon .icon {
    transition: transform 0.3s ease;
}

.faq-header.is-active .card-header-icon .icon {
    transform: rotate(45deg); /* Plus to X */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 1.25rem;
}

.faq-content.is-active {
    max-height: 300px; /* Adjust as needed */
    padding: 1.25rem;
}

/* Footer */
.footer {
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-height: 2.5rem;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.footer .title.is-6 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer ul li a {
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #4CAF50 !important;
}

.newsletter-form .input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.125em rgba(76, 175, 80, 0.25);
}

.newsletter-form .button {
    border-color: #4CAF50;
    color: #4CAF50;
}

.newsletter-form .button:hover {
    background-color: #4CAF50;
    color: white;
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #4CAF50 !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .hero-title-gradient {
        font-size: 2.5rem;
    }
    .hero-body .columns {
        flex-direction: column;
    }
    .hero-body .column.is-half-desktop {
        width: 100%;
    }
    .hero-body .column.is-half-desktop:last-child {
        margin-top: 2rem;
    }
    .section {
        padding: 4rem 1rem;
    }
    .section-title-gradient {
        font-size: 2rem;
    }
    .carousel-item .columns {
        flex-direction: column;
    }
    .carousel-item .column.is-one-third-desktop {
        width: 100%;
    }
    .carousel-item .column.is-two-thirds-desktop {
        width: 100%;
        text-align: center;
    }
    .footer .column {
        margin-bottom: 1.5rem;
    }
    .footer .column:last-child {
        margin-bottom: 0;
    }
}
/* New styles for typography within .complianceVaultNode */

.complianceVaultNode {
    padding: 3rem 2rem; /* Top/bottom and left/right padding for the container */
    max-width: 1200px; /* Optional: Constrain content width for readability */
    margin-left: auto;
    margin-right: auto;
}

.complianceVaultNode h1 {
    font-size: 2.2rem; /* Moderately sized heading 1 */
    margin-top: 2.5rem; /* Top spacing for readability */
    margin-bottom: 1rem; /* Bottom spacing */
    line-height: 1.2;
    font-weight: 700;
    color: #333; /* Default text color */
}

.complianceVaultNode h2 {
    font-size: 1.8rem; /* Moderately sized heading 2 */
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
}

.complianceVaultNode h3 {
    font-size: 1.5rem; /* Moderately sized heading 3 */
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
}

.complianceVaultNode h4 {
    font-size: 1.25rem; /* Moderately sized heading 4 */
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-weight: 500;
    color: #333;
}

.complianceVaultNode h5 {
    font-size: 1.1rem; /* Moderately sized heading 5 */
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-weight: 500;
    color: #333;
}

.complianceVaultNode p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    color: #555; /* Slightly lighter color for body text */
}

.complianceVaultNode ul {
    list-style: disc; /* Standard disc bullet points */
    margin-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing after the list */
    padding: 0;
}

.complianceVaultNode li {
    font-size: 1rem; /* Font size for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .complianceVaultNode {
        padding: 2rem 1rem; /* Reduced padding on smaller screens */
    }

    .complianceVaultNode h1 {
        font-size: 1.8rem;
    }

    .complianceVaultNode h2 {
        font-size: 1.5rem;
    }

    .complianceVaultNode h3 {
        font-size: 1.3rem;
    }

    .complianceVaultNode h4 {
        font-size: 1.15rem;
    }

    .complianceVaultNode h5 {
        font-size: 1rem;
    }

    .complianceVaultNode p,
    .complianceVaultNode li {
        font-size: 0.95rem; /* Slightly smaller text for better fit */
    }

    .grid-testi {
        grid-template-columns: repeat(1,1fr) !important;
    }

    .media{
        flex-wrap: wrap !important;
    }

    .portfolio-card .card-image img{
        height: 100%;
    }

    
}

@media (max-width: 1024px) {
 .columns:not(.is-desktop) {
        flex-direction: column !important;
    }
}

@media (max-width: 992px) {
.hero-row{
        flex-direction: column !important;
    }

       
}


.title:not(.is-spaced)+.subtitle{
    margin-top: auto !important;
}

.grid-testi {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}




.carousel-item{
    display: block !important;
}

.card{
    background-color: inherit;
}

.hero .navbar{
    background: inherit;
}

.hero-row{
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.hero-blocks{
    flex: 1 !important;
}

.hero-body{
    padding: 5rem 1.5rem !important;
}

.text-white{
    color: #fff !important;
}
                  
.contacts{
    padding-top: 10px;
}