:root {
    /* Colors from original tailwind config */
    --primary: #cf5f3a;
    --primary-hover: #ff5900;
    --background-light: #F9F9F7;
    --background-dark: #18181B;
    --orange-dark: #cf5f3a;
    --orange-light: #f7bc9d;
    --olive-dark: #758362;
    --olive-light: #bccbae;
    --maroon-dark: #b78d91;
    --maroon-light: #e2b7ae;
    --map-dots: #8ffff4;

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-900: #111827;

    /* Layout */
    --max-width: 80rem;
    /* 7xl equivalent */
    --header-height: 85vh;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-light);
    color: var(--gray-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

image,
img,
svg {
    display: block;
    max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 700;
}

p {
    line-height: 1.625;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: white;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 1.5rem 1.5rem;
    /* Reduced top padding since it's pushed down */
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 45px;
    /* Offset for the announcement banner */
}

@media (min-width: 768px) {
    .navbar {
        top: 45px;
        padding: 2rem 1.5rem;
    }
}


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand img {
    width: 2.5rem;
    /* 10 tailwind */
    height: 2.5rem;
}

.nav-brand span {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links a:hover {
    color: var(--gray-100);
}

/* Navbar Button Sizing */
.nav-links .btn {
    padding: 0.6rem 1.75rem;
    font-size: 0.875rem;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Glass Button Variant */
.btn-glass {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-shadow: none;
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Header */
.hero {
    position: relative;
    width: 100%;
    height: var(--header-height);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    color: white;
}

.hero-title {
    font-size: 3rem;
    /* Small screens */
    margin-bottom: 2rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--gray-100);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
    padding-top: 5rem;
    padding-bottom: 0;
}

section {
    margin-bottom: 8rem;
}

/* About Section */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .about-grid {
        flex-direction: row;
        align-items: center;
    }

    .about-content {
        width: 50%;
    }

    .about-visual {
        width: 50%;
    }
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

.section-title {
    font-size: 1.875rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Map Card */
.map-card {
    background-color: #f8fafc;
    /* Slate 50 */
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.map-title {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    font-weight: 1000;
    color: var(--gray-100);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.map-svg-container {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1.0;
    pointer-events: none;
}

.map-svg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-svg-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    /* Adjust this opacity to change map darkness */
    pointer-events: none;
}

/* Pulsing Dots */
.pulse-marker-container {
    position: absolute;
}

.pulse-marker {
    position: relative;
    display: flex;
    width: 0.75rem;
    height: 0.75rem;
}

.pulse-ring {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: var(--map-dots);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.pulse-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.75rem;
    width: 0.75rem;
    background-color: var(--map-dots);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Map Labels */
.map-label {
    margin-top: 0.5rem;
    background-color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    white-space: nowrap;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    background-color: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image {
    height: 12rem;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-100);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s;
}

.card-image .contained-card-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.solution-card:hover .card-image .contained-card-img {
    transform: translate(-50%, -50%) scale(1.05);
}

.solution-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    flex-grow: 1;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--olive-dark), var(--olive-light));
    padding: 4rem 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

footer p {
    margin-bottom: 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(90deg, var(--primary), #e67e22);
    color: white;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 400;
    position: relative;
    z-index: 30;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.announcement-banner strong {
    font-weight: 600;
}


.announcement-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 0.5rem;
}

.announcement-banner a:hover {
    color: var(--gray-100);
}

/* Partner Section */
.partner-section {
    background-color: var(--gray-900);
    color: white;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 0;
}

.partner-content {
    max-width: 48rem;
    margin: 0 auto;
}

.partner-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.partner-text {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: rgba(207, 95, 58, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(207, 95, 58, 0.2);
    backdrop-filter: blur(4px);
}

.partner-badge.badge-glass {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.partner-badge.badge-glass .dot {
    background-color: white;
}

.partner-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-simple 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


@keyframes pulse-simple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .partner-title {
        font-size: 1.75rem;
    }

    .partner-text {
        font-size: 1.125rem;
    }
}