:root {
    --primary-red: #ba1728;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
}

/* Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.text-red { color: var(--primary-red); }
.section-title { text-align: center; margin: 50px 0; font-size: 2rem; }

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-red { background: var(--primary-red); color: white; }
.btn-outline { background: transparent; border: 1px solid #ccc; color: var(--text-dark); }
.btn:hover { opacity: 0.8; }

/* Header */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.nav-links a.active { border-bottom: 2px solid var(--primary-red); color: var(--text-dark); }

/* Hero */
.hero { padding: 60px 0; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero p { color: var(--text-light); margin-bottom: 30px; font-size: 1.1rem; }
.hero-image img { width: 100%; }

/* Trust Bar */
.trust-bar {
    background: var(--bg-gray);
    padding: 20px 0;
    font-size: 0.8rem;
    font-weight: 600;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.flex-around { display: flex; justify-content: space-around; }

/* Cards */
.card {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.icon-box.red {
    background: var(--primary-red);
    color: white;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.hero-full-width,
.why-us-full-width {
    display: grid;
    /* This creates the 4/10 and 6/10 split */
    grid-template-columns: 4.4fr 5.6fr; 
    width: 100%;
    min-height: 370px; /* Adjust height as needed */
    align-items: center;
    background-color: #fff;
}
.why-us-full-width{
    grid-template-columns: 5fr 5fr;
    margin-top: 5rem;
}
.why-contents{
    padding: 0 3em;
}
.why-content-wrapper{
    width: 100%;
}

.why-content-wrapper ul{
    margin-left: 0em;
}

.why-content-wrapper ul li {
    margin: .8em;
    background-image: url("../img/icons/check_point.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px;
    padding-left: 30px;
    list-style: none;
    font-weight: bold;
}

.why-content-wrapper ul li span.why-highlight{
    color:var(--primary-red);
}
.hero-content {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Pushes text to top, bar to bottom */
    padding: 60px 0 0 0; /* Remove bottom padding so bar touches the edge */
    height: 100%; /* Ensure it fills the grid cell height */
}

.imigongo-bar {
    width: 100%;
    height: 23px; /* Adjust thickness */
    
    background-size: contain;
    background-repeat: repeat-x;
    background-position: bottom;
}

.imigongo-bar-red-black-triangle
{
    background-image: url('../img/imigongo_flc3a8ches_up_vert_s.png'); /* Your pattern asset */
}

.imigongo-bar-black-white-circles
{
    background-image: url('../img/imigongo_spirales.webp');
    height: 35px; /* Adjust thickness */
}

.hero-text-wrapper {
    /* Adjust this width or use padding to align with your navbar logo */
    max-width: 480px; 
    padding: 0 5% 40px 10%;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;

}
.why-contents h1
{
    font-size: 2.1rem;
}

.hero-image,
.why-image {
    height: 100%;
    width: 100%;
}

.hero-image img,
.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the 6/10 space without distortion */
    display: block;
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .hero-full-width {
        grid-template-columns: 1fr; /* Stacks them on mobile */
    }
    .hero-text-wrapper {
        max-width: 100%;
        text-align: center;
    }
}

header.top-menu {
    padding: 20px 0;
    border-bottom: #8d8d8d49  1px solid;
}

img.trust-icon {
    filter: grayscale(100%) brightness(150%);
    margin-right: 8px;
    vertical-align: middle;
}

footer.footer 
{
    background-color: #1a1a1a;
    height: 200px;
    width: 100%;
    margin-top: 2em;
}

footer.footer h1
{
    color : var(--bg-gray);
    text-align: center;
}

footer.footer button {
    text-align: center;
    position: relative;
    left:45%;
}