@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Inter font from Google Fonts */


:root {
    --primary-color: #26a957; /* Already this green */
    --secondary-color: #36454F; /* Dark Gray for text */
    --accent-color: #FFD700; /* Gold for highlights */
    --background-light: #f4f7f6;
    --text-color: #333;
    --light-gray: #eee;
    --border-color: #ddd;
    --font-family-primary: 'Inter', sans-serif; /* Changed to Inter */
    --max-width: 1200px;
    --header-height: 80px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    margin-bottom: 0.8em;
    font-weight: 700; /* Keep bold for headings */
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 1.5em;
}

h3 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1.2em;
}

p {
    margin-bottom: 1em;
}

.btn-primary {
    font-family: var(--font-family-primary);
    display: inline-flex; /* Changed to inline-flex to align text and arrow */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative; /* Needed for absolute positioning of the arrow and other pseudo-elements */
    padding-right: 45px; /* Make space for the arrow */
    overflow: hidden; /* ADDED for the new ::before accent line */
}

.btn-primary:hover {
    color: white;
    background-color: #218c49; /* Slightly darker green for hover */
    transform: translateY(-2px);
}

/* Arrow styling for primary buttons */
.btn-primary::after {
    content: '\2192'; /* Unicode for right arrow */
    position: absolute;
    right: 20px; /* Position of the arrow */
    font-size: 1.2em; /* Size of the arrow */
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(5px); /* Move arrow slightly on hover */
}

/* Styles for Outline Button */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color); /* Outline color */
    color: var(--primary-color); /* Text color */
    /* .btn-outline inherits position: relative and overflow: hidden from .btn-primary */
}

.btn-outline:hover {
    background-color: var(--primary-color); /* Fill on hover */
    color: white; /* Text turns white on hover */
    transform: translateY(-2px); /* Keep the same hover effect */
}

/* Arrow styling for outline buttons (color adjustment) */
.btn-outline::after {
    color: var(--primary-color); /* Arrow color matches outline initially */
}

.btn-outline:hover::after {
    color: white; /* Arrow turns white on hover */
}

/* General ::before animation for all primary and outline buttons */
.btn-primary::before,
.btn-outline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* Hidden by default */
    height: 3px;
    transition: width 0.3s ease;
}

.btn-primary:hover::before,
.btn-outline:hover::before {
    width: calc(100% - 20px); /* Expands on hover */
}

/* Specific accent colors for the ::before line */
.btn-primary::before {
    background-color: white; /* White accent for the green primary buttons */
}

.btn-outline::before {
    background-color: var(--primary-color); /* Green accent for the outline buttons */
}


/* Specific highlight for text */
.highlight-green {
    color: var(--primary-color); /* Now uses the variable for consistency */
}


/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header .header-content { /* New class for the inner container that holds logo and nav */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes the two main sub-divs (logo-area, nav-area) to the edges */
    width: 100%; /* Ensure it spans the container */
}

.logo-area { /* Styles for the new logo wrapper div */
    display: flex;
    align-items: center;
}

.nav-area { /* Styles for the new nav wrapper div */
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px; /* Adjust as needed for your logo */
    width: auto;
}

.logo h1 {
    font-size: 1.8em;
    margin-bottom: 0;
    color: var(--secondary-color);
    display: flex; /* Allow inline elements within h1 to align */
    align-items: baseline; /* Align text baselines */
    gap: 5px; /* Small space between main title and subtle text */
}

/* Subtle text for "A Palomino Company" */
.subtle-company {
    font-size: 0.6em; /* Smaller font size relative to h1 */
    color: #aaa; /* Lighter gray for more subtlety */
    font-weight: 400; /* Thinner font weight */
}


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

.nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}


/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
}

/* Footer Info Section (Left) */
.footer-info {
    flex: 1;
    max-width: 400px;
}

.footer-logo-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo-image {
    height: 40px;
    width: auto;
}

.footer-info h4 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 0;
    display: flex; /* Allow inline elements within h4 to align */
    align-items: baseline; /* Align text baselines */
    gap: 5px; /* Small space between main title and subtle text */
}

/* Subtle text for "A Palomino Company" in footer */
.footer-info .subtle-company {
    font-size: 0.7em; /* Slightly adjusted for better relative sizing */
    color: #ccc; /* Lighter white/gray for subtlety on dark background */
    font-weight: 400; /* Thinner font weight */
}


/* Footer Sitemap Section (Right) */
.footer-sitemap {
    min-width: 180px;
}

.sitemap-heading {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px; /* Add gap between stacked logo/nav areas */
    }

    .logo-area { /* Ensure they take full width when stacked and center their content */
        width: 100%;
        justify-content: center;
    }

    /* HIDE .nav-area on mobile */
    .nav-area {
        display: none;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
        align-items: center;
    }

    /* Button Group Responsive Styling (for hero and contact sections) */
    .button-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Browser CTA Grid Responsive Styling */
    .browser-cta-grid {
        grid-template-columns: 1fr; /* Stack cards on small screens */
    }

    h2 {
        font-size: 2.2em;
    }

    h3 {
        font-size: 1.8em;
    }

    .section-subheader {
        font-size: 1.1em;
        margin: -20px auto 40px auto;
    }

    /* Footer Responsive */
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-info,
    .footer-sitemap {
        max-width: 100%;
    }

    .footer-logo-name {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        /*
        font-size: 1.5em;
        flex-direction: column; /* Stack logo and subtle text on very small screens
        align-items: center;
        gap: 0;
        */
        /* Keep logo and name side-by-side even on smaller screens */
        flex-direction: row;
        align-items: baseline;
        font-size: 1.5em; /* You can adjust this if needed, but it was already 1.5em here */
        gap: 5px; /* Maintain a small gap */
    }
    .logo .subtle-company {
        font-size: 0.8em; /* Adjust for better readability when stacked */
        margin-top: 0; /* Remove margin-top as they are side-by-side now */
    }

    .footer-info h4 {
        font-size: 1.2em; /* Adjust for better readability when stacked */
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .footer-info .subtle-company {
        font-size: 0.7em;
        margin-top: 5px;
    }

    .nav ul li a {
        font-size: 0.9em;
    }

    /* Adjust main buttons */
    .btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        padding-right: 40px; /* Adjust padding for smaller button */
    }

    .accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    /* Adjust browser card buttons */
    .browser-cta-card .card-action {
        padding: 12px 25px;
        font-size: 1em;
        padding-right: 40px;
    }
}

.cookies-infobar {
  background: #606060;
  color: #fff;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  text-align: left;
  display: flex;
  font-size: .8em;
  z-index: 9;
  opacity: 95%;
}

.cookies-infobar.cookies-infobar_accepted {
  display: none;
}

.cookies-infobar_wrapper {
  margin: 10px;
}

.cookies-infobar a {
  color: inherit;
}

.cookies-infobar_btn {
  display: inline-block;
  padding: 15px 18px;
  background: #26a957;
  text-decoration: none;
  border-radius: 3px;
  color: #f2f2f2;
  font-size: 1.2em;
  margin-left: 20%;
  line-height: 0;
}

/* Results graphs */
.results-graphs { margin-top: 28px; margin-bottom: 44px; }
.graphs-title { text-align: center; margin-bottom: 18px; color: var(--secondary-color); }

.graphs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.graph-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.graph-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.graph-caption {
  font-size: 0.95em;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 10px;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px){
  .graphs-grid { grid-template-columns: 1fr; }
}
