/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1A1A2E; /* Dark primary background */
    color: #F0F0F0; /* Light text color */
    line-height: 1.6;
    overflow: hidden; /* Prevent horizontal scroll due to animations */
}

/* Global Bulma Overrides */
.title, .subtitle {
    font-family: 'Poppins', sans-serif;
    color: #F0F0F0; /* Default title color */
}

.title.is-2 {
    font-size: 2.8rem;
}

.title.is-3 {
    font-size: 2.2rem;
}

.title.is-4 {
    font-size: 1.8rem;
}

.title.is-5 {
    font-size: 1.4rem;
}

.button.is-info {
    background-color: #00BCD4; /* Vibrant teal */
    border-color: #00BCD4;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.button.is-info:hover {
    background-color: #00E5FF; /* Lighter teal on hover */
    border-color: #00E5FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 229, 255, 0.3);
}

.button.is-info.is-outlined {
    background-color: transparent;
    border-color: #00BCD4;
    color: #00BCD4;
}

.button.is-info.is-outlined:hover {
    background-color: #00BCD4;
    color: #FFFFFF;
}

.button.is-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

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

.has-background-grey-darker {
    background-color: #2A2A3E !important;
}

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

.has-text-light {
    color: #CCCCCC !important;
}

.has-text-info {
    color: #00BCD4 !important;
}

/* Glassmorphism Effect */
.glassmorphism-box,
.glassmorphism-card,
.glassmorphism-input {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blur effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* Soft shadow */
    transition: all 0.3s ease;
}

.glassmorphism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}

.glassmorphism-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F0F0F0;
}

.glassmorphism-input::placeholder {
    color: #AAAAAA;
}

.glassmorphism-input:focus {
    border-color: #00BCD4;
    box-shadow: 0 0 0 0.125em rgba(0, 188, 212, 0.25);
}

/* Hero Section Specific Styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
}

.hero .glassmorphism-box {
    max-width: 700px;
    padding: 3rem;
}

.hero .cta-button {
    font-weight: 600;
}

/* Section Padding */
.section {
    padding: 4rem 1.5rem;
}

@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .title.is-2 {
        font-size: 2rem;
    }
    .title.is-3 {
        font-size: 1.8rem;
    }
}

/* Team Section */
.team-card {
    height: 100%; /* Ensure all team cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #00BCD4; /* Border for avatar */
}

/* Services Section (How We Teach) */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

/* Pricing Section */
.pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 1.5rem;
}

.pricing-card.is-popular {
    border: 2px solid #00BCD4;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    transform: scale(1.03);
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-card .pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .pricing-features li .fa-check-circle {
    min-width: 20px; /* Ensure icon doesn't shift text */
}

/* Stats Section */
.stats-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-card .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-item .faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-item.is-active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-bottom: 1rem;
}

.faq-item .toggle-icon {
    transition: transform 0.3s ease;
}

.faq-item.is-active .toggle-icon {
    transform: rotate(180deg);
}

/* Contact Section */
#contact-form .input,
#contact-form .textarea {
    width: 100%;
}

/* Footer Section */
.footer {
    padding: 3rem 1.5rem;
    background-color: #0F0F1A !important; /* Even darker footer */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: block;
    text-decoration: none;
}

.footer-logo .image {
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
}

.footer-logo .title {
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00BCD4 !important;
}

/* Cookie Banner */
.cookie-banner {
    background-color: rgba(26, 26, 46, 0.95); /* Dark background, slightly transparent */
    color: #F0F0F0;
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    transform: translateY(0); /* Initially visible */
}

.cookie-banner.is-hidden {
    transform: translateY(-100%); /* Slide up to hide */
}

.cookie-banner .container {
    max-width: 960px;
}

.cookie-banner .buttons .button {
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Cookie Modal */
.modal-content .box {
    background: rgba(26, 26, 46, 0.95); /* Darker background for modal */
    color: #F0F0F0;
    border-radius: 15px;
    padding: 2rem;
}

.modal-close {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Bulma Switch styles (for cookie modal) */
.switch[type="checkbox"] {
    opacity: 0;
    position: absolute;
}
.switch[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 3.5rem; /* Space for the switch */
    line-height: 1.5rem;
    color: #F0F0F0;
}
.switch[type="checkbox"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 2.5rem;
    height: 1rem;
    background-color: #ccc;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
.switch[type="checkbox"] + label::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.35rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.switch[type="checkbox"]:checked + label::before {
    background-color: #00BCD4;
}
.switch[type="checkbox"]:checked + label::after {
    transform: translateX(1.5rem);
}
.switch[type="checkbox"]:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}
.switch[type="checkbox"]:disabled + label::before,
.switch[type="checkbox"]:disabled + label::after {
    background-color: #888;
}

.switch.is-info[type="checkbox"]:checked + label::before {
    background-color: #00BCD4;
}
.switch.is-info[type="checkbox"]:checked + label::after {
    background-color: #fff;
}/* Styles for the main content wrapper */
.lawMatrixNode {
    padding: 2rem 1.5rem; /* Padding on top, bottom, and sides */
    margin-top: 3rem; /* Margin from the section above */
    /* Optional: If this block needs a distinct background or border */
    /* background-color: #2A2A3E; */ 
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

/* Heading styles within .lawMatrixNode */
.lawMatrixNode h1 {
    font-size: 1.8em; /* Slightly larger than body text, not overly big */
    font-weight: 600; /* Semi-bold */
    margin-top: 1.5em; /* Space above heading */
    margin-bottom: 0.75em; /* Space below heading */
    color: #F0F0F0; /* Light text color for headings */
}

.lawMatrixNode h2 {
    font-size: 1.5em; /* Smaller than h1 */
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #F0F0F0;
}

.lawMatrixNode h3 {
    font-size: 1.3em; /* Smaller than h2 */
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    color: #F0F0F0;
}

.lawMatrixNode h4 {
    font-size: 1.15em; /* Smaller than h3 */
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #F0F0F0;
}

.lawMatrixNode h5 {
    font-size: 1em; /* Same as body text, but bold */
    font-weight: 600;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    color: #F0F0F0;
}

/* Paragraph styles within .lawMatrixNode */
.lawMatrixNode p {
    font-size: 1em; /* Standard paragraph font size */
    line-height: 1.6; /* Good readability */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #F0F0F0; /* Light text color */
}

/* Unordered list styles within .lawMatrixNode */
.lawMatrixNode ul {
    list-style: disc; /* Default disc bullet */
    margin-left: 1.5em; /* Indent for list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 0; /* No extra padding if margin-left is used */
    color: #F0F0F0;
}

/* List item styles within .lawMatrixNode */
.lawMatrixNode li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Good readability for list items */
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .lawMatrixNode {
        padding: 1.5rem 1rem; /* Adjust padding for mobile */
        margin-top: 2rem; /* Adjust margin for mobile */
    }

    .lawMatrixNode h1 {
        font-size: 1.6em;
    }
    .lawMatrixNode h2 {
        font-size: 1.3em;
    }
    .lawMatrixNode h3 {
        font-size: 1.15em;
    }
    .lawMatrixNode h4 {
        font-size: 1em;
    }
    .lawMatrixNode h5 {
        font-size: 0.9em;
    }
}
.subtitle.is-5 {
    margin-top: 30px !important;
}
@media screen and (767px < width < 992px) {
.columns.is-vcentered.is-desktop.mb-6 {
    display: flex;
}
}