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

/* CSS Variables for consistent theming */
:root {
    --primary: #0056b3;
    --primary-dark: #003366;
    --primary-light: #e6f0fa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --green-400: #4ade80;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom gradient backgrounds */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.85) 0%, rgba(0, 51, 102, 0.9) 100%);
}

/* Top marquee */
.top-marquee {
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 60;
}

.top-marquee .marquee-inner {
    align-items: center;
}

.marquee-track {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    height: 40px;
}

.track-content {
    display: inline-flex;
    gap: 56px;
    white-space: nowrap;
    align-items: center;
    position: absolute;
    left: 0;
}

.marquee-item {
    display: inline-block;
    font-weight: 600;
    color: #003366;
    /* primaryDark */
    letter-spacing: 1px;
    font-size: 16px;
}

/* animation */
@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-track .track-content {
    animation: marquee-rtl 20s linear infinite;
}

.marquee-track:hover .track-content,
.marquee-track:focus-within .track-content {
    animation-play-state: paused;
}

/* duplicate columns should align seamlessly */
.marquee-track .track-content+.track-content {
    left: 100%;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .marquee-track .track-content {
        animation: none;
    }
}

/* Hero decorative ornaments */
.hero-ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-ornament {
    position: absolute;
    border-radius: 9999px;
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.orb {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.orb-1 {
    width: 260px;
    height: 260px;
    left: -40px;
    top: 20%;
    animation: floatSlow 8s ease-in-out infinite;
}

.orb-2 {
    width: 140px;
    height: 140px;
    right: -30px;
    top: 10%;
    animation: floatSlow 10s ease-in-out infinite reverse;
    opacity: 0.4
}

.ring {
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 340px;
    height: 340px;
    left: 50%;
    margin-left: -170px;
    top: -40px;
    opacity: 0.04;
    transform: rotate(15deg);
}

.glow {
    width: 520px;
    height: 520px;
    left: 60%;
    top: 20%;
    background: radial-gradient(circle at center, rgba(0, 86, 179, 0.18), rgba(0, 86, 179, 0) 45%);
    filter: blur(28px);
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-18px) translateX(6px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Slow zoom effect for active hero slide */
.carousel-slide img {
    transition: transform 14s cubic-bezier(.2, .8, .2, 1);
}

.carousel-slide.active img {
    transform: scale(1.06) translateZ(0);
}

/* Subtle caption entrance */
.carousel-caption {
    transform: translateY(10px) translateZ(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(.2, .9, .2, 1), opacity 0.6s ease;
}

.carousel-slide.active .carousel-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Parallax effect: slight image movement on mouse move */
.hero-carousel {
    perspective: 1000px;
}

.carousel-viewport {
    will-change: transform;
}

/* Responsive hero tweaks */
.hero-carousel {
    max-height: 460px;
}

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

@media (max-width: 768px) {
    .hero-carousel {
        max-height: 320px;
    }

    .hero-badge {
        font-size: 12px;
    }

    .hero-left h1 {
        font-size: 1.75rem;
    }
}

/* Hero text entrance/shift when slides change */
.hero-left {
    transition: transform 0.8s cubic-bezier(.2, .9, .2, 1), opacity 0.8s ease;
}

.hero-left.shift-left {
    transform: translateX(-8px);
    opacity: 0.95;
}

.hero-left.shift-right {
    transform: translateX(8px);
    opacity: 0.95;
}

/* Caption visibility for very small screens */
@media (max-width: 480px) {
    .carousel-caption {
        font-size: 13px;
    }
}

/* Glass morphism effect for stat cards */
.stat-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Service pills hover effects */
.service-pill {
    transition: var(--transition);
}

.service-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Parallax background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header styles */
header {
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
}

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

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-icon svg {
    height: 2rem;
    width: 2rem;
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Navigation styles */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.nav-link-primary {
    color: var(--primary-dark);
}

.nav-link-secondary {
    color: var(--gray-600);
}

.nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
}

/* Mobile menu styles */
.mobile-menu-button {
    display: block;
    color: var(--primary-dark);
}

.mobile-menu-button:focus {
    outline: none;
}

.mobile-menu {
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
}

.mobile-menu-content {
    padding: 0.5rem 1rem 0.75rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 0.375rem;
    text-align: center;
}

.mobile-cta:hover {
    background-color: var(--primary-dark);
}

/* Hero section */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    width: 100%;
    color: var(--white);
    margin-bottom: 3rem;
}

.hero-text .max-w-lg {
    max-width: 32rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: var(--transition);
}

.hero-button-primary {
    background-color: var(--white);
    color: var(--primary-dark);
}

.hero-button-primary:hover {
    background-color: var(--gray-100);
}

.hero-button-secondary {
    border: 1px solid var(--white);
    color: var(--white);
}

.hero-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Quote form */
.quote-form {
    width: 100%;
}

.quote-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.quote-header {
    background-color: var(--primary-dark);
    padding: 1rem;
    color: var(--white);
}

.quote-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.quote-header p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.quote-form-content {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
    border-color: transparent;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
    border-color: transparent;
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    resize: vertical;
    transition: var(--transition);
}

.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
    border-color: transparent;
}

/* Floating widget (track / quick quote) */
.floating-widget {
    position: fixed;
    right: 1rem;
    bottom: 1.25rem;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.widget-button {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.2);
    cursor: pointer;
}

.widget-modal {
    width: 340px;
    max-width: calc(100vw - 48px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.25);
    overflow: hidden;
}

.widget-modal-card {
    padding: 0.5rem;
}

.widget-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.widget-title {
    font-weight: 700;
    color: var(--gray-800);
}

.widget-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.widget-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
}

.widget-tab {
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    font-weight: 600;
}

.widget-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.widget-body {
    padding: 0.75rem;
}

.widget-panel {
    display: block;
}

.widget-panel.hidden {
    display: none;
}

.track-result {
    font-size: 0.95rem;
    color: var(--gray-700);
}

.widget-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 55;
}

/* Mobile phone CTA */
.mobile-phone-cta {
    position: fixed;
    right: 1rem;
    bottom: env(safe-area-inset-bottom, 1.25rem);
    z-index: 70;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.65rem 0.9rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
    display: none;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    transition: transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 180ms ease, opacity 180ms ease;
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .mobile-phone-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        right: 1rem;
        left: auto;
        opacity: 0.98;
    }
}

/* Larger tappable area on very small screens: full-width bar */
@media (max-width: 420px) {
    .mobile-phone-cta {
        left: 1rem;
        right: 1rem;
        border-radius: 12px;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
}

/* hover/focus states */
.mobile-phone-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.24);
}

.mobile-phone-cta:focus {
    outline: 3px solid rgba(255, 255, 255, 0.12);
    outline-offset: 3px;
}

/* subtle pulse to draw attention */
@keyframes cta-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

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

.mobile-phone-cta {
    animation: cta-pulse 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-phone-cta {
        animation: none;
        transition: none;
    }
}

/* Small responsive tweak: reduce modal size on very small screens */
@media (max-width: 420px) {
    .widget-modal {
        width: 92vw;
    }
}

/* ----------------------------- */
/* Hero carousel styles */
/* ----------------------------- */
.hero-carousel {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.06));
}

.carousel-viewport {
    display: flex;
    transition: transform 0.7s cubic-bezier(.22, .98, .38, .99);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: contrast(0.95) saturate(1.05);
}

/* Mini carousel variant for the about section */
.mini-carousel .carousel-slide img {
    height: 260px;
    border-radius: 0.75rem;
}

.mini-carousel .carousel-caption {
    left: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    max-width: 85%;
}

.mini-carousel .carousel-btn {
    width: 38px;
    height: 38px;
}

.carousel-caption {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.35));
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    max-width: calc(100% - 3rem);
}

.carousel-caption h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.carousel-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
    left: 0.75rem;
}

.carousel-next {
    right: 0.75rem;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    z-index: 30;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.carousel-dots button[aria-selected="true"] {
    background: var(--white);
    transform: scale(1.2);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .carousel-slide img {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .carousel-slide img {
        height: 260px;
    }

    .carousel-caption {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .hero-carousel {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }
}

/* Accessibility focus states */
.carousel-btn:focus,
.carousel-dots button:focus {
    outline: 3px solid rgba(0, 86, 179, 0.25);
}


.form-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    transition: var(--transition);
    cursor: pointer;
}

.form-submit:hover {
    background-color: var(--primary-dark);
}

/* Stats section */
.stats-section {
    position: relative;
    padding: 3rem 0;
    background-color: var(--white);
    margin-top: -3rem;
    z-index: 10;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    width: 100%;
    max-width: 280px;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.stat-icon {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
}

/* Section common styles */
.section {
    padding: 5rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-description {
    max-width: 48rem;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

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

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

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Utility classes */
.text-center {
    text-align: center;
}

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

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

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-800 {
    color: var(--gray-800);
}

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

.bg-gray-50 {
    background-color: var(--gray-50);
}

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

.bg-primary-dark {
    background-color: var(--primary-dark);
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.hidden {
    display: none;
}

.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;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-item {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .mobile-menu-button {
        display: none;
    }

    .hero-section {
        padding-top: 10rem;
        padding-bottom: 8rem;
    }

    .hero-content {
        flex-direction: row;
    }

    .hero-text {
        width: 50%;
        margin-bottom: 0;
    }

    .quote-form {
        width: 50%;
        padding-left: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .stat-item {
        width: 25%;
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animation classes */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}