@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');

/* Reset and base styling */
body, h1, h2, p, ul, li, blockquote {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Titillium Web', sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER with modern background */
.city-header {
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('../images/header_background_modern.png') center center no-repeat;
    background-size: cover;
    background-color: #111;
    padding: 2rem 0;
    position: relative;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

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

.logo {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #ccc;
}

/* HERO section */
.hero {
    background: #fff url('../images/dot-pattern-5x5.png') repeat;
    padding: 3rem 0;  /* Reduced padding for a tighter hero section */
    margin-bottom: 1rem;  /* Reduce the bottom margin to lessen the space */
  }

.hero-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
}

.hero h1 {
    font-size: 1.65rem;
    font-weight: 600;
    color: #021f3f;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-text ul {
    margin-top: 0px;  /* Further reduced space above the list */
    padding-left: 40px; /* Left padding for the list */
    margin-bottom: 20px;  /* Space below the list remains the same */
}

.hero-text ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #FF8C00;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 0.5rem;
    font-size: 15px; /* Slightly smaller font size */
    font-weight: 600; /* Bold weight for black text */
    transition: background 0.2s ease;
}

.btn:hover {
    background-color: #E07B00; /* Darker yellow on hover */
    color: #333; /* Slightly lighter black text on hover for contrast */
}


/* Insights Section */
.insights {
    background-color: #e9ecef;
    padding: 2rem 0;
}

.insights h2 {
    color: #021f3f;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

blockquote {
    background-color: #fff;
    border-left: 5px solid #021f3f;
    margin: 1rem 0;
    padding: 1rem;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote p {
    display: inline;
    font-style: italic;
}

blockquote cite {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    font-weight: bold;
}

.solutions-matrix {
    background: #fff url('../images/dot-pattern-5x5.png') repeat;
    padding: 2.5rem 0;  /* Reduced padding here as well */
    margin-top: -8rem;  /* More aggressive reduction of the space above the matrix */
  }
  
  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns layout */
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .solution-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .solution-img {
    width: 100%;
    max-width: 400px; /* Larger image size */
    height: auto;
    margin-bottom: 1rem;
  }
  
  .solution-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .solution-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }
  
/* Insights Section Style */
.insights {
    background-color: #e9ecef;
    padding: 3rem 0;
}

.insight-item {
    background: #fff;
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.insight-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.insight-item cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.insight-item cite a {
    color: #1E4B91;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #021f3f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.875rem;
}