/* --- CSS RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --primary-blue: #0052cc;
    --dark-blue: #071e48;
    --light-grey: #f0f2f5;
    --text-color: #333;
    --text-light: #00509D;
    --background-color: #ffffff;
    --grid-line-color: #eef1f6;
    --border-radius: 24px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    /* Subtle background grid */
    background-image:
        linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    line-height: 1.6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background-color);
    padding: 20px 0;
    border: 1px solid var(--grid-line-color);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #00509D
}

.logo img {
    height: 30px;
    color: #00509D;
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.primary-navigation a {

    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.primary-navigation a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #003d99;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-blue);
    font-weight: 500;
}

.btn-secondary:hover {
    color: var(--primary-blue);
}

main {
    margin-top: 80px;
}

/* --- HERO SECTION --- */
.hero {
    padding: 60px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content .description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-content .btn {
    padding: 15px 30px;
    border-radius: 12px;
}

/* --- HERO GALLERY --- */
.hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 625px;
}

.grid-row {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    height: 200px;
}

.card-blue {
    background-color: var(--primary-blue);
    color: white;
}

.card-blue h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-light {
    background-color: var(--light-grey);
    color: var(--primary-blue);

}

.card-light h3 {
    font-size: 1.3margin-bottommargin-bottomrem;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.card-image {
    padding: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 2;
    /* Ensure image is on top of the arcs */
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
    display: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content .description {
        margin-left: auto;
        margin-right: auto;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-gallery {
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(30vh, 10rem) 2em;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 20px;
    }

    .header-actions {
        display: none;
        /* Hide desktop buttons on mobile */
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        background-color: transparent;
        border: 0;
        width: 2rem;
        height: 2rem;
        top: 2rem;
        right: 2rem;
    }

    .hamburger-icon,
    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        width: 2rem;
        height: 3px;
        background: var(--dark-blue);
        border-radius: 5px;
        transition: transform 350ms ease-out;
    }

    .hamburger-icon::before {
        transform: translateY(-10px);
    }

    .hamburger-icon::after {
        transform: translateY(10px);
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
        transform: rotate(45deg);
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::before {
        transform: rotate(-90deg) translate(0px);
        opacity: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::after {
        transform: rotate(-90deg) translate(10px);
        width: 2rem;
        transform: rotate(-90deg);
    }
}

/* --- CHALLENGES SECTION --- */
.challenge-container {
    background: var(--background-color);
    width: 100%;
    padding: 40px 0;
}

.challenges-section {
    padding: 100px 0;
    overflow: hidden;
    /* Prevents arcs from overflowing on small screens */
}

.section-header {
    text-align: center;
}

.tag {
    display: inline-block;
    background-color: var(--light-grey);
    color: black;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 0.90rem;
    font-weight: bolder;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);

}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 400px;
    margin: 0 auto;
}

.challenges-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    margin-top: 50px;
}

.line {
    border-bottom: 2px solid var(--grid-line-color);
    margin-bottom: 50px;
}

.challenge-text,
.challenge-image {
    flex: 1;
}

.challenge-text h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.challenge-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 450px;
}

.challenge-image {
    background: linear-gradient(135deg, #648FFC 0%, #5875C1 100%);
    border-radius: var(--border-radius);
    position: relative;
    max-width: 400px;
    /* Needed for the pseudo-element arcs */
}

.challenge-image img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 2;
    /* Ensure image is on top of the arcs */
}

/* The decorative radiating arcs */



/* --- RESPONSIVE DESIGN for Challenges Section --- */
@media (max-width: 992px) {
    .challenges-grid {
        flex-direction: column-reverse;
        /* Puts image on top on mobile */
        gap: 40px;
    }

    .challenge-text {
        text-align: center;
    }

    .challenge-text p {
        margin: 0 auto;

    }

}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .challenge-text h3 {
        font-size: 2.5rem;
    }
}

/* --- MODIFIERS & ADDITIONS FOR CHALLENGES SECTION --- */

/* This reverses the order of columns (image on the left, text on the right) */
.challenges-grid.reverse-layout {
    flex-direction: row-reverse;
}



.divider {
    height: 1px;
    background-color: var(--grid-line-color);
    margin: 80px auto;
    /* Adds space between challenge blocks */
    max-width: 80%;
}

/* --- RESPONSIVE ADJUSTMENTS for Challenges Section --- */
@media (max-width: 992px) {
    .challenges-grid.reverse-layout {
        /* On mobile, we want all grids to stack the same way (image first) */
        /* so we set flex-direction back to the default column-reverse */
        flex-direction: column-reverse;
    }


    .divider {
        margin: 60px auto;
    }
}

/* --- METRICS SECTION --- */
.metrics-section {
    background-color: var(--primary-blue);
    position: relative;
    padding: 20px 0;
    color: white;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("asset/bg.png");
    background-size: cover;
    background-position: center;

    opacity: 0.1;
    /* Makes the pattern subtle */
    z-index: 0;
    /* Places it behind the content */
}

/* Overrides for the header to work on a dark background */
.metrics-section .section-header {
    margin-bottom: 60px;
}

.metrics-section .section-header h2 {
    color: white;
}

.metrics-section .section-header .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.des-box {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14.8807px 15.3457px;
    gap: 4.65px;
    width: 83.14px;
    height: 83.93px;
    background: linear-gradient(154.22deg, #FFFFFF 10.98%, #79A7E8 90.9%);
    border-radius: 51.4666px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-top: -40px;
    margin-bottom: 30px;

}

.tag.tag-light {
    background-color: var(--background-color);
    color: black;
    z-index: 100;
    position: relative;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

}

.metric-card {
    /* color: var(--background-color); */
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--background-color);
    margin-bottom: 15px;
}

.stat-description {
    color: var(--background-color);
    font-size: 1.2rem;
    font-weight: bold;
    max-width: 220px;
}


/* --- RESPONSIVE for Metrics Section --- */
@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metric-card {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 4rem;
    }
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 100px 0;
    /* This section uses the default body background (white with grid) */
}

.features-grid {
    display: grid;
    /* Creates a two-column grid on desktop */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #f0f2f5;
    /* Using the var(--light-grey) color */
    border-radius: 24px;
    /* Using the var(--border-radius) */
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature-card-image {
    margin-bottom: 30px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    /* Image sticks to the top of the card */
    justify-content: center;
    background-color: #f0f2f5;
    /* Match card color for seamless top */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: relative;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    /* Make image fill the top of the card */
    display: block;
    /* Add blur at the bottom for blending */
    position: relative;
    z-index: 1;
}

.feature-card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(240, 242, 245, 0) 0%, rgba(240, 242, 245, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

.feature-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #071e48;
    /* Using the var(--dark-blue) color */
    margin-bottom: 15px;
    text-align: left;
}

.feature-card-content p {
    color: #555;
    /* Using the var(--text-light) color */
    line-height: 1.7;
    text-align: left;
}


/* --- RESPONSIVE for Features Section --- */
@media (max-width: 768px) {
    .features-grid {
        /* Stacks the cards into a single column on smaller screens */
        grid-template-columns: 1fr;
    }
}

/* --- HOW IT WORKS SECTION --- */
.how-it-works-section {
    padding: 60px;
    margin: 100px 0;
    border: 2px dotted #d3e5ff;
    border-radius: var(--border-radius);
}

.how-it-works-section .section-header {
    margin-bottom: 60px;
}

.how-it-works-section .subtitle strong {
    color: var(--primary-blue);
    font-weight: 800;
}

.steps-grid {
    margin: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
    row-gap: 40px;
    column-gap: 20px;
    /* position: relative; */
}

.step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.step-item img {
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
}

.arrow {
    display: inline-block;
    width: 140px;
    height: 4px;
    background-color: #004aad;
    /* Blue line */
    position: relative;
    margin-top: 70px;
    margin-left: 40px;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 4px solid #004aad;
    border-top: 4px solid #004aad;
}

.arrow.arrow-down {
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: 50px;
    transform: rotate(90deg);
    width: 90px;
    /* Deducted width a little bit from 150px */
}

.arrow.arrow-left {
    transform: rotate(180deg);
}

/* --- GRID PLACEMENT FOR DESKTOP --- */
.step-1 {
    grid-column: 1;
}

.arrow-1-2 {
    grid-column: 2;
}

.step-2 {
    grid-column: 3;
}

.arrow-2-3 {
    grid-column: 4;
}

.step-3 {
    grid-column: 5;
}

.arrow-3-4 {
    grid-column: 5;
    grid-row: 2;
}

.step-6 {
    grid-column: 1;
    grid-row: 3;
}

.arrow-5-6 {
    grid-column: 2;
    grid-row: 3;
}

.step-5 {
    grid-column: 3;
    grid-row: 3;
}

.arrow-4-5 {
    grid-column: 4;
    grid-row: 3;
}

.step-4 {
    grid-column: 5;
    grid-row: 3;
}

.arrow-6-8 {
    grid-column: 1;
    grid-row: 4;
}

.step-8 {
    grid-column: 3;
    grid-row: 5;
}

.arrow-7-8 {
    grid-column: 2;
    grid-row: 5;
}

.step-7 {
    grid-column: 1;
    grid-row: 5;
}



/* --- RESPONSIVE for How It Works --- */
@media (max-width: 992px) {
    .how-it-works-section {
        padding: 40px 20px;
        border: none;
        /* Remove border on mobile for simplicity */
    }

    .steps-grid {
        /* Switch to a single column layout */
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Hide horizontal arrows on mobile */
    .arrow {
        display: none;
    }


    /* Use grid-row to re-order the items into a logical 1-8 sequence */
    .step-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .step-2 {
        grid-column: 1;
        grid-row: 3;
    }

    .step-3 {
        grid-column: 1;
        grid-row: 5;
    }

    .step-4 {
        grid-column: 1;
        grid-row: 7;
    }

    .step-5 {
        grid-column: 1;
        grid-row: 9;
    }

    .step-6 {
        grid-column: 1;
        grid-row: 11;
    }

    .step-7 {
        grid-column: 1;
        grid-row: 13;
    }

    .step-8 {
        grid-column: 1;
        grid-row: 15;
    }

    /* Place arrows between the steps */
    .steps-grid>.arrow {
        grid-column: 1;
        margin-top: 0;
    }

    .steps-grid>.arrow:nth-of-type(1) {
        grid-row: 2;
    }

    .steps-grid>.arrow:nth-of-type(2) {
        grid-row: 4;
    }

    .arrow.arrow-3-4 {
        grid-row: 6;
    }

    .steps-grid>.arrow:nth-of-type(4) {
        grid-row: 10;
    }

    .steps-grid>.arrow:nth-of-type(5) {
        grid-row: 8;
    }

    .arrow.arrow-6-8 {
        grid-row: 12;
    }

    /* This is a placeholder for the arrow between 7 and 8, which doesn't exist in the HTML */
    /* A better solution would be to use JS to add it, or add it to the HTML */
    /* For now, we'll just have 7 then 8. */
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 60px;
    margin: 100px 0;
    /* border: 2px dotted #d3e5ff; */
    border-radius: var(--border-radius);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    color: white;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.team-card-overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card-overlay span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to top, #91DEFF, var(--background-color));
    backdrop-filter: blur(20px);
}

.cta-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Decorative arcs for CTA card */
.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 8px solid #e1e9f5;
    border-radius: 50%;
    z-index: 1;
}

.cta-card::before {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cta-card::after {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

.cta-card h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .btn {
    padding: 12px 25px;
}

.cta-card small {
    display: block;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* --- FOOTER --- */
.site-footer {
    padding-top: 50px;
    background-color: var(--background-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--grid-line-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

.legal-nav {
    display: flex;
    gap: 20px;
}

.legal-nav a {
    text-decoration: none;
    color: var(--text-light);
}

.legal-nav a:hover {
    color: var(--primary-blue);
}

/* --- FINAL RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 40px 20px;
        border: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
}

/* --- 1. Global Styles & Variables --- */
:root {
    --primary-blue: #0052cc;
    --dark-blue: #071e48;
    --light-grey: #f0f2f5;
    --text-color: #333;
    --text-light: #555;
    --background-color: #ffffff;
    --grid-line-color: #eef1f6;
    --border-radius: 24px;
}

html,
body {
    /* This is the key change to prevent horizontal scrolling */
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    /* Subtle background grid */
    background-image:
        linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    line-height: 1.6;
}

/* ... the rest of your CSS file remains the same ... */

#goup {
    display: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 100;
    background-color: var(--primary-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#goup:hover {
    background-color: #003d99;
    transform: scale(1.1);
}


/* for blog */
.blogs-hero {
    text-align: center;
    padding: 80px 20px;
    background-image: linear-gradient(rgba(211, 211, 211, 0.8), rgba(201, 201, 201, 0.8)), url("asset/data_protection_graphics.png");
    /* The first rgba() is the start color, the second is the end color.
    0.5 means 50% opacity. Adjust this value to control the tint's intensity. */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.blogs-hero h1 {
    font-size: 3em;
    color: #212121;
    margin-bottom: 10px;
}

.blogs-hero p {
    font-size: 1.2em;
    color: #252525;
    max-width: 700px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /* width: 35%; */
    text-decoration: none;
    /* Remove underline for the anchor */
    color: inherit;
    /* Inherit text color */

}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    /* Placeholder background */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #ccc;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

/* blog author name and published date */
.blog-meta {
    font-size: 0.85rem;
    color: rgba(13, 65, 208, 0.95);
    margin: 0.5rem 0;
}

/* Basic responsive adjustments */
@media (max-width: 768px) {
    .blogs-hero h1 {
        font-size: 2.5em;
    }

    .blogs-hero p {
        font-size: 1em;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* for irish market */

.article-container {
    /* margin-top: ; */
    max-width: 900px;
    margin: auto auto 15px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    /* Rounded corners for the main container */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Enhanced shadow */

}

.article-container h1,
.article-container h2,
.article-container h3,
.article-container h4,
.article-container h5,
.article-container h6 {
    color: #0056b3;
    /* A shade of blue for headings */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.author-info {
    display: flex;
    flex-direction: row;
    gap: 8vw;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    margin-top: 20px;
}

.author-entry {
    display: flex;
    align-items: center;
    /* Vertically align image and the whole text block */
    gap: 1em;
    /* Space between image and the author-text div */
}

.author-pic {
    border-radius: 50%;
    object-fit: cover;
    width: 8vh;
    height: 8vh;
    border: 2px solid #555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    margin: 0;
    /* Remove default paragraph margin */
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    /* Make the name stand out */
}

.author-title-position {
    margin: 0;
    /* Remove default paragraph margin */
    font-size: 0.9em;
    /* Smaller font size for title/position */
    color: #666;
    /* Lighter color for title/position */
}

.article-container h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.5em;
}

.author-info {
    text-align: center;
    margin-bottom: 35px;
    font-style: italic;
    color: #333;
}

.executive-summary {
    background: #f0f8ff;
    /* Light blue background for summary */
    border-left: 6px solid #0056b3;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: justify;
    /* Rounded corners for summary box */
}

table {
    width: 100%;
    border-collapse: separate;
    /* Use separate for border-radius on cells */
    border-spacing: 0;
    margin-bottom: 25px;
    border-radius: 8px;
    /* Rounded corners for the table */
    overflow: hidden;
    /* Ensures content respects border-radius */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    /* Subtle shadow for tables */
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    /* Lighter border for rows */
}

th {
    background-color: #e6f2ff;
    /* Light blue background for table headers */
    font-weight: bold;
    color: #0056b3;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
    /* Zebra striping for rows */
}

tr:hover {
    background-color: #f0f0f0;
    /* Hover effect for rows */
}

table tbody tr:last-child td {
    border-bottom: none;
    /* No bottom border for the last row */
}

.citation {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
    display: block;
    /* Ensures it takes full width */
}


.article-container a {
    color: #0056b3;
    /* Link color */
    text-decoration: none;
    /* No underline by default */
}

.article-container a:hover {
    text-decoration: underline;
    /* Underline on hover */
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

/* // ai pods */
.ai-pods {
    color: var(--text-light);
    background-color: var(--background-color);
}

.pod-head {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-blue);
}

.pod-desc {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
}


.ai-box {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.box {
    flex: 1;
    padding: 20px;
    text-align: center;
    position: relative;
}

.box img {
    max-width: 60px;
    height: auto;
    margin-bottom: 1rem;
}

.box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 2px;
    background-color: #e0e0e0;
}

.tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tag {
    background-color: #f0f0f0;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 14px;
}


@media(max-width:768px) {
    .pod-head {
        font-size: 2rem;
    }

    .pod-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .ai-box {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 90%;
    }

    .box:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .pod-head {
        font-size: 1.5rem;
    }

    .box img {
        max-width: 40px;
    }

    .tag {
        font-size: 12px;
        padding: 0.2rem 0.5rem;
    }
}

/* breadcrumb nav */
.breadcrumb {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #555;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    margin: 0 0.5rem;
    color: #777;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #0056b3;
    font-weight: 700;
}

/* gdpr article */
.gdpr-article .article-container {
    max-width: 900px;
    margin: auto auto 15px;
    /* margin-bottom: 30px; */
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gdpr-article h1,
.gdpr-article h2,
.gdpr-article h3,
.gdpr-article h4,
.gdpr-article h5,
.gdpr-article h6 {
    color: #0056b3;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.gdpr-article .author-info {
    display: flex;
    flex-direction: row;
    gap: 8vw;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 35px;
    font-style: italic;
    color: #333;
}

.gdpr-article .author-entry {
    display: flex;
    align-items: center;
    gap: 1em;
}

.gdpr-article .author-pic {
    border-radius: 50%;
    object-fit: cover;
    width: 8vh;
    height: 8vh;
    border: 2px solid #555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gdpr-article .author-text {
    display: flex;
    flex-direction: column;
}

.gdpr-article .author-name {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

.gdpr-article .author-title-position {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.gdpr-article h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.5em;
}

.gdpr-article .executive-summary {
    background: #f0f8ff;
    border-left: 6px solid #0056b3;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.gdpr-article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gdpr-article th,
.gdpr-article td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.gdpr-article th {
    background-color: #e6f2ff;
    font-weight: bold;
    color: #0056b3;
}

.gdpr-article tr:nth-child(even) {
    background-color: #f9f9f9;
}

.gdpr-article tr:hover {
    background-color: #f0f0f0;
}

.gdpr-article table tbody tr:last-child td {
    border-bottom: none;
}

.gdpr-article .citation {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
    display: block;
}

.gdpr-article ul,
.gdpr-article ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.gdpr-article ul li,
.gdpr-article ol li {
    margin-bottom: 8px;
}

.gdpr-article a {
    color: #0056b3;
    text-decoration: none;
}

.gdpr-article a:hover {
    text-decoration: underline;
}

.gdpr-article hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

.gdpr-article .gdpr-container {
    max-width: 900px;
    margin: 0 auto;
    /* float: left; */
}

.gdpr-article .gdpr-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}

.gdpr-article .gdpr-label {
    flex: 0 0 160px;
    color: white;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    margin-right: 15px;
    box-sizing: border-box;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gdpr-article .gdpr-text {
    flex: 1;
    background: white;
    padding: 15px 20px;
    border: 2px solid #1a73e8;
    border-radius: 5px;
    font-size: 14px;
}

.gdpr-article .red {
    background: #a64d4d;
}

.gdpr-article .green {
    background: #6b9a52;
}

.gdpr-article .purple {
    background: #6a5d9e;
}

.gdpr-article .blue {
    background: #3478b3;
}

.gdpr-article .orange {
    background: #d97b2d;
}

.gdpr-article .dark-green {
    background: #548638;
}

.gdpr-article .dark-blue {
    background: #1d3557;
}

.gdpr-article .dark-purple {
    background: #4b3a72;
}

.gdpr-article .box-container {
    width: 70%;
    height: 35px;
    border-radius: 2px;
    position: relative;
    margin: 20px;
}

.gdpr-article .box-container>.box {
    position: absolute;
    top: -20px;
    left: 30px;
    padding: 3px 10px;
    width: 70%;
    color: white;
    border-radius: 5px;
}

.gdpr-article .box1 {
    background-color: purple;
}

.gdpr-article .box2 {
    background-color: rgb(0, 90, 139);
}

.gdpr-article .box3 {
    background-color: rgb(8, 124, 91);
}

.gdpr-article .box4 {
    background-color: rgb(1, 136, 52);
}

.gdpr-article .bc-1 {
    border: 3px solid purple;
}

.gdpr-article .bc-2 {
    border: 3px solid rgb(0, 90, 139);
}

.gdpr-article .bc-3 {
    border: 3px solid rgb(8, 124, 91);
}

.gdpr-article .bc-4 {
    border: 3px solid rgb(1, 136, 52);
}

.gdpr-article .arrow-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.gdpr-article .triangle-arrow {
    position: relative;
    width: 150px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}

.gdpr-article .triangle-arrow span {
    line-height: 1.2;
}

.gdpr-article .triangle-arrow.red {
    background-color: rgba(241, 15, 15, 0.8);
}

.gdpr-article .triangle-arrow.red::after {
    border-left: 30px solid rgba(241, 15, 15, 0.8);
}

.gdpr-article .triangle-arrow.blue {
    background-color: rgba(15, 180, 80, 0.8);
}

.gdpr-article .triangle-arrow.blue::after {
    border-left: 30px solid rgba(15, 180, 80, 0.8);
}

.gdpr-article .triangle-arrow.green {
    background-color: rgba(15, 122, 180, 0.8);
}

.gdpr-article .triangle-arrow.green::after {
    border-left: 30px solid rgba(15, 122, 180, 0.8);
}

.gdpr-article .triangle-arrow.orange {
    background-color: rgba(166, 0, 255, 0.659);
}

.gdpr-article .triangle-arrow.orange::after {
    border-left: 30px solid rgba(166, 0, 255, 0.659);
}

.gdpr-article .triangle-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-bottom: 39px solid transparent;
    right: -30px;
}

.gdpr-article .triangle-arrow::before {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-bottom: 39px solid transparent;
    border-left: 20px solid white;
    left: 0px;
}

