﻿@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600&display=swap');

/* Color Variables - Simplified */
:root {
    /* Primary Colors */
    --color-primary: #1e3a8a;
    --color-primary-800: #1e40af;
    --color-primary-900: #1e3a8a;
    --color-primary-950: #172554;
    /* Secondary/Accent */
    --color-accent: #f59e0b;
    --color-accent-600: #d97706;
    /* Background & Text */
    --color-background: #fefefe;
    --color-text-primary: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-inverse: #ffffff;
    /* Status */
    --color-success: #059669;
    --color-success-500: #10b981;
    --color-success-600: #059669;
    /* Shadows */
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

body {
    background-color: var(--color-background);
    font-family: 'Source Sans 3', sans-serif;
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    margin: 0;
}

h1 {
    font-size: 3rem;
    line-height: 1.25;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.875rem;
    line-height: 1.375;
}

p {
    font-size: 1rem;
    line-height: 1.625;
    margin: 0;
}

/* Layout Utilities */
.section-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .section-container {
        padding: 6rem 2rem;
    }

    h1 {
        font-size: 3.75rem;
    }

    h2 {
        font-size: 3rem;
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

/* Hero Section */
.hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s;
}

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Cards */
.card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: box-shadow 0.3s, transform 0.3s;
}

    .card:hover {
        box-shadow: var(--shadow-lg);
    }

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-0.5rem);
        box-shadow: var(--shadow-lg);
    }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: var(--shadow-base);
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: var(--color-primary-800);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: var(--shadow-base);
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

    .btn-accent:hover {
        background-color: var(--color-accent-600);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 2px solid var(--color-primary);
    background-color: white;
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

    .btn-secondary:hover {
        background-color: rgba(239, 246, 255, 1);
    }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background-color: rgba(209, 250, 229, 1);
    color: rgba(4, 120, 87, 1);
}

.badge-primary {
    background-color: rgba(219, 234, 254, 1);
    color: rgba(30, 64, 175, 1);
}

.badge-warning {
    background-color: rgba(254, 243, 199, 1);
    color: rgba(180, 83, 9, 1);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    }

textarea {
    resize: vertical;
    min-height: 120px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    50% {
        opacity: .5;
    }
}

/* Footer */
footer {
    background-color: var(--color-primary-950);
    color: var(--color-text-inverse);
}

    footer a {
        text-decoration: none;
    }

/* Utility Classes */
.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    inset: 0px;
}

.bottom-0 {
    bottom: 0px;
}

.bottom-6 {
    bottom: 1.5rem;
}

.bottom-8 {
    bottom: 2rem;
}

.left-0 {
    left: 0px;
}

.left-1\/2 {
    left: 50%;
}

.right-0 {
    right: 0px;
}

.right-6 {
    right: 1.5rem;
}

.top-0 {
    top: 0px;
}

.top-4 {
    top: 1rem;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.h-2 {
    height: 0.5rem;
}

.h-3 {
    height: 0.75rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-14 {
    height: 3.5rem;
}

.h-24 {
    height: 6rem;
}

.h-64 {
    height: 16rem;
}

.h-\[600px\] {
    height: 600px;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.w-2 {
    width: 0.5rem;
}

.w-3 {
    width: 0.75rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-14 {
    width: 3.5rem;
}

.w-80 {
    width: 20rem;
}

.w-full {
    width: 100%;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.flex-none {
    flex: none;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-1 {
    flex: 1 1 0%;
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.object-cover {
    object-fit: cover;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-accent {
    border-color: var(--color-accent);
}

.border-white {
    border-color: white;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-primary-950 {
    background-color: var(--color-primary-950);
}

.bg-primary\/10 {
    background-color: rgba(30, 58, 138, 0.1);
}

.bg-primary\/30 {
    background-color: rgba(30, 58, 138, 0.3);
}

.bg-accent {
    background-color: var(--color-accent);
}

.bg-accent\/20 {
    background-color: rgba(245, 158, 11, 0.2);
}

.bg-white {
    background-color: white;
}

.bg-background {
    background-color: var(--color-background);
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-success-500 {
    background-color: var(--color-success-500);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/50 {
    background-color: rgba(255, 255, 255, 0.5);
}

.bg-white\/95 {
    background-color: rgba(255, 255, 255, 0.95);
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary-900\/90 {
    --tw-gradient-from: rgba(30, 58, 138, 0.9);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 58, 138, 0));
}

.via-primary-800\/70 {
    --tw-gradient-via: rgba(30, 64, 175, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, rgba(30, 64, 175, 0));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-24 {
    padding-top: 6rem;
}

.text-center {
    text-align: center;
}

.font-body {
    font-family: 'Source Sans 3', sans-serif;
}

.font-headline {
    font-family: 'Crimson Text', serif;
}

.font-cta {
    font-family: 'Outfit', sans-serif;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-primary {
    color: var(--color-primary);
}

.text-primary-700 {
    color: #1d4ed8;
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: white;
}

.text-text-primary {
    color: var(--color-text-primary);
}

.text-text-secondary {
    color: var(--color-text-secondary);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.opacity-0 {
    opacity: 0;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* Responsive */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:h-\[700px\] {
        height: 700px;
    }

    .lg\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .lg\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

/* Hover States */
.hover\:text-primary:hover {
    color: var(--color-primary);
}

.hover\:text-primary-700:hover {
    color: #1d4ed8;
}

.hover\:text-accent:hover {
    color: var(--color-accent);
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-green-600:hover {
    background-color: #16a34a;
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

/* Focus States */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

.focus\:ring-primary:focus {
    --tw-ring-color: var(--color-primary);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Custom scrollbar hiding */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }

/* Snap scrolling for carousel */
.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-start {
    scroll-snap-align: start;
}

/* Group Hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}
html {
    scroll-behavior: smooth;
}

/* Add offset for the fixed header so the title isn't hidden */
#contact-form {
    scroll-margin-top: 100px;
}


