/* CSS Variables (BRANDED AND TYPOGRAPHY SETTINGS) */
:root {
    /* BRAND COLORS BASED ON LOGO: Dark Blue and Red */
    --brand-dark-blue: #003087; /* NEW: From SVG .blue fill */
    --brand-accent-red: #FF0000; /* NEW: From SVG .red fill */
    
    --google-text: #202124;
    --google-light-gray: #f1f3f4;
    --google-white: #ffffff;
    
    /* TYPOGRAPHY: Set Condensed for headings and regular Roboto for body text */
    --font-family-primary: 'Roboto', sans-serif; /* For body text (should be used for P tags) */
    --font-family-condensed: 'Roboto Condensed', 'Roboto', sans-serif; /* For headings, logo, and links */
    
    --shadow-elevation-2: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
}

body {
    margin: 0;
    font-family: var(--font-family-primary); 
    background: var(--google-light-gray);
    color: var(--google-text);
    scroll-behavior: smooth;
    line-height: 1.65;
    font-size: 16px;
}

/* NAVBAR - BRANDED, BEAUTIFIED, AND GOLDEN RATIO */
nav {
    background-color: transparent;
    border-bottom: 1px solid #dadce0;
    position: sticky;
    align-items: center;
    top: 0;
    left: 0;
    --header-height: 80px;
    top: var(--vspace-0_5);
    width: 100%;
    height: var(--header-height);
    padding: 25px 0; /* Golden Ratio padding for 80px logo height */
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
    top: var(--vspace-0_5);
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--gutter);
}

.navbar-logo {
    text-decoration: none;
    letter-spacing: normal;
    padding: 0;
    border: none;
    display: flex;
    height: 100%;
}

img{
    width: 40px;
}

.logo-svg-wrapper {
    /* Height remains 80px for Golden Ratio calculation */
    height: 80px; 
    width: auto;
    display: block;
}

.logo-svg-wrapper svg {
    height: 100%; /* Make SVG fill the wrapper height */
    width: auto;
    display: block;
}

/* .logo-image {
    height: 80px; 
    width: auto;
    display: block;
} */

.navbar-menu a {
    color: var(--google-text);
    font-family: var(--font-family-condensed); 
    margin-left: 28px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400; 
    letter-spacing: 0.5px;
    padding: 10px 0; /* Adjusted vertical padding for link alignment */
    position: relative;
    transition: color 0.2s ease;
}

/* Navbar link hover effect: Red underline/highlight */
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--brand-accent-red); 
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--brand-accent-red); 
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* HERO HEADER - BRANDED AND LIGHTENED */
header {
    /* Lightened gradient: from Brand Dark Blue to a slightly brighter blue */
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, #98bfeb 100%); 
    padding: 160px 20px 100px;
    text-align: center;
    color: var(--google-white);
    box-shadow: inset 0 -10px 15px rgba(0, 0, 0, 0.2); 
}

header h1 {
    font-family: var(--font-family-condensed);
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

header p {
    font-family: var(--font-family-primary); 
    margin-top: 20px;
    font-size: 22px;
    /* font-weight: 300; */
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

/* SECTION HEADER (h2) - BRANDED */
h2 {
    font-family: var(--font-family-condensed); 
    color: var(--google-text); 
    margin-bottom: 30px;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px; 
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-accent-red); 
    border-radius: 2px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-accent-red); 
    border-radius: 2px;
}

h2::before {
    bottom: 6px;
    width: 120px;
    height: 1px;
    opacity: 0.5;
    display: none;
}

h2::after {
    bottom: 0;
    width: 120px;
    height: 4px;
}

/* General Content Styling (P tag inside sections) */
p {
    font-family: var(--font-family-primary); 
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--google-text);
    font-weight: 400; 
}

/* EXECUTIVE SECTION */
#executive p {
    font-family: var(--font-family-primary);
    font-size: 1.25em;
    line-height: 1.75;
    font-weight: 300;
    padding: 0 40px;
    margin-bottom: 0;
}

/* CORE STRATEGY GRID - BRANDED */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.value-box {
    background: var(--google-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-elevation-2);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-box:hover {
    box-shadow: 0 4px 12px 0 rgba(60,64,67,.3), 0 8px 20px 4px rgba(60,64,67,.15);
    border: 1px solid var(--brand-accent-red); 
}

.value-box h3 {
    font-family: var(--font-family-condensed);
    margin-top: 15px;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-accent-red); 
}

.value-box i.material-icons {
    font-size: 50px;
    color: var(--brand-accent-red); 
}

/* SERVICES GRID (IMPROVED RESPONSIVENESS) */
.services-grid-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 30px;
    justify-items: center; 
    margin-top: 40px;
}

/* Tablet Landscape/Small Desktop: Forces 2 columns to prevent 3-1 split */
@media (max-width: 1024px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
    .service-card {
        max-width: none; 
    }
}

/* Mobile View: Stack all cards and resize elements */
@media (max-width: 768px) {
    header h1 { font-size: 40px; }
    header p { font-size: 18px; }
    h2 { font-size: 32px; }
    section { padding: 40px 15px; }
    
    /* Navbar adjustments for mobile */
    nav { padding: 10px 0; }
    .logo-image { height: 45px; } 
    .navbar-menu a { margin-left: 15px; font-size: 16px; }

    #executive p { font-size: 1.1em; padding: 0; }
    
    .services-grid-container {
        grid-template-columns: 1fr;
    }
    .service-card {
        max-width: 100%;
    }
}

.service-card {
    background: var(--google-white);
    border-radius: 12px;
    box-shadow: var(--shadow-elevation-2);
    padding: 0;
    overflow: hidden;
    max-width: 300px;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px 0 rgba(60,64,67,.3), 0 8px 18px 4px rgba(60,64,67,.15);
}

/* Container for the image, forcing a size and background - BRANDED */
.service-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--google-light-gray); 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--brand-accent-red); 
}

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

.service-card-content {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
}

.service-card-content h3 {
    font-family: var(--font-family-condensed);
    font-size: 18px;
    font-weight: 700;
    color: var(--google-text);
    margin: 0 0 10px 0;
}

.service-card-content p {
    font-family: var(--font-family-primary);
    font-size: 0.95em;
    text-align: left;
    margin: 0;
    color: var(--google-text);
}

/* FOOTER - BRANDED */
footer {
    background: var(--brand-dark-blue); 
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: 60px;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.2px;
    font-family: var(--font-family-primary); 
}