/* VARIABLES ********************************************************************************/

:root {
    /* colors */
    --color-dark-blue: #19244A;
    --color-background: #FFFFFF;
    --color-card-background: #F7F7F7;
    --color-text-primary: #1F2937; /* A dark gray for body */
    --color-text-secondary: #6B7280;
    --color-text-heading: #19244A; /* Dark blue for headings */
    --color-accent-button: #7481D5;
    --color-border-light: #E5E7EB;
    --color-background-light: rgb(242, 245, 246);
    --color-slate-blue: rgb(80, 95, 130);
    --color-vibrant-blue: rgb(77, 105, 212);
    --color-navy-blue: rgb(49, 66, 136);
    --color-accent-red: rgb(212, 77, 86);
    --color-medium-grey: rgb(130, 135, 145);

    /* fonts */
    --font-family-serif: 'Cormorant Garamond', serif;
    --font-family-sans: 'Inter', sans-serif;

    /* spacing */
    --container-width: 1200px;
    --container-padding: 2rem;
}

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* BACKGROUND ********************************************************************************/

/* Grainy Gradient Background Effect */
.noisy-gradient-bg {
    position: relative;
    overflow: hidden; /* Keep pseudo-elements contained */
}
.noisy-gradient-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.noisy-gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiGAAAARVBMVEUAAACMiYqOh4qQh4qRhouUjY2VjY6WkY+ZmZqbnJ2foaSjpKanp6qsq62tsLCxtrO2t7i+v8DCw8TFxsjHyMvMzc/Pz9HT09XW19jZ2tt3i9NMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAc0lEQVR4nO3WyQ7DIAwEUE9sYyCj9v5v7YIu5k1i/80Gkpwk8bA2EABgCgEA+F4M2c2U5TELQ8o69+i51ZtYmrNbW7UUe3NRpB/G9rdufI/s22jOF3NnBvO+s/lZ8985s/k0AABuDAbA/gAnf8jCgPvwxgAAAABJRU5ErkJggg==');
    opacity: 0.15;
}



/* CONTAINER ********************************************************************************/

/* Container and Section Styling */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

section {
    padding: 6rem 0;
}

.section-title {
    color: var(--color-text-heading);
    font-family: var(--font-family-serif);
    font-size: 3rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    max-width: 900px;
    margin-bottom: 2rem;
}



/* HEADER ********************************************************************************/

/* Header & Hero Section */
.main-header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-background);
    background-image: url('../image/logo-light-min.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 142px;
    height: 46px;
    text-indent: -9999px;
    overflow: hidden; /* Safety measure to hide the indented text */
    display: block; 
}

.contact-btn {
    background: rgb(255, 255, 255);
    color: var(--color-navy-blue);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.contact-btn:hover {
    background: var(--color-navy-blue);
    color: rgb(255, 255, 255);
}



/* HERO ********************************************************************************/

.hero {
    padding: 12rem 0 20rem 0;
    text-align: center;
    background-color: var(--color-accent-button);
    background-image: url('../image/background-min.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;   
}
.hero h1 {
    font-family: var(--font-family-serif);
    font-size: 4rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-background);
    line-height: 1.2;
    max-width: 820px;
    margin: 2rem auto 2rem auto;
}
.hero span {
    font-family: var(--font-family-sans);
    font-size: 3.1rem;
    font-style: normal;
}
.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.faded-shadow {
    /* offset-x | offset-y | blur-radius | color */
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}



/* INTRO ********************************************************************************/

.consultancy-intro .section-subtitle {
    line-height: 1.4;
}



/* GRID WHY ********************************************************************************/

/* "Why Elevn" Grid Section */
.why-elevn-section {
    background-color: var(--color-background-light);
}
.why-elevn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.why-elevn-card {
    background-color: var(--color-card-background);
    background-color: white;
    padding: 2.5rem;
    border-radius: 3px 48px 48px 48px
}
.why-elevn-card h3 {
    font-size: 1.6rem;
    font-style: italic;
    font-family: var(--font-family-serif);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.why-elevn-card p {
    color: var(--color-text-secondary);
}
.why-elevn-section .icon {
    width: 100px;
}
.why-elevn-section .icon {
    stroke: rgb(214 85 200)
}
.why-elevn-section .icon.flash {
  stroke: var(--color-accent-red);
}
.why-elevn-section .icon.briefcase {
  stroke: var(--color-slate-blue);
}
.why-elevn-section .icon.cog {
  stroke: var(--color-vibrant-blue);
}
x.why-elevn-section .icon.chart {
  stroke: var(--color-medium-grey);
}



/* GRID WHAT ********************************************************************************/

/* "What we do" Pill Section */
.what-we-do-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}
.what-we-do-pill {
    background-color: var(--color-background-light);
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.what-we-do-pill h4 {
    font-size: 1.6rem;
    font-style: italic;
    font-family: var(--font-family-serif);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}



/* CTA ********************************************************************************/

.contact {
    background-color: var(--color-background-light);
}
.contact .contact-btn {
    font-size: 1.2em;
    background: var(--color-vibrant-blue);
    color: white;;
    border: 0;
    padding: 1rem 2rem;
}
.contact .contact-btn:hover {
    background: var(--color-slate-blue);
}



/* FOOTER ********************************************************************************/

/* Footer */
footer {
    padding: 3rem var(--container-padding);
    padding-top: 0;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}
.footer-logo {
    font-weight: 600;
    color: var(--color-text-primary);
}
footer p {
    color: var(--color-text-secondary);
}



/* BREAKPOINTS ********************************************************************************/

/* tablet */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .contact-section { grid-template-columns: 1fr; }
}

/* mobile */
@media (max-width: 768px) {
    .what-we-do-grid { grid-template-columns: 1fr; }
    .hero { padding: 8rem 0; }
    .hero h1 {
       font-size: 2.5em;
        margin: 2rem auto 2.5rem auto;
    }
    .hero span {
        font-size: 2rem; 
    }
    section { padding: 4rem 0; }
    .footer-content { flex-direction: column; gap: 1rem; }
    .why-elevn-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .why-elevn-section .icon {
        width: 60px;
        margin: -10px -10px 0px 10px;
        float: right;
    }
    :root {
        --container-padding: 1.4em;
    }
    .logo {
        width: 114px;
        height: 37px;
    }
    .contact-btn {
        padding: 0.3rem 1.2rem;
    }
    .section-subtitle {
        font-size: 1.2rem;
    }
    .what-we-do-pill h4 {
        font-size: 1.5rem;
    }
}
