/* ============================================
   Tyler Hart Realty — Custom Styles
   Palette: Midnight Blue (#0f1c3f / #1a2d5a) + Mint (#4ecdc4 / #7edcd0)
   Fonts: Playfair Display (headings) + Nunito (body)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a2d5a;
    background-color: #f8faf9;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2ab5a8;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0f1c3f;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a5f7a;
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #4ecdc4;
    color: #0f1c3f;
    border-color: #4ecdc4;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.35);
}

.btn-primary:hover {
    background: #3dbfb6;
    border-color: #3dbfb6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.45);
}

.btn-secondary {
    background: transparent;
    color: #0f1c3f;
    border-color: #0f1c3f;
}

.btn-secondary:hover {
    background: #0f1c3f;
    color: #f8faf9;
    transform: translateY(-2px);
}

.btn-light {
    background: #f8faf9;
    color: #0f1c3f;
    border-color: #f8faf9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: #f8faf9;
    border-color: rgba(248, 250, 249, 0.6);
}

.btn-outline-light:hover {
    background: rgba(248, 250, 249, 0.15);
    border-color: #f8faf9;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 28, 63, 0.06);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(15, 28, 63, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f1c3f;
}

.logo-highlight {
    color: #4ecdc4;
}

.nav-logo-icon {
    color: #4ecdc4;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2d5a;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: #2ab5a8;
    background: rgba(78, 205, 196, 0.08);
}

.nav-cta {
    background: #4ecdc4;
    color: #0f1c3f !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: #3dbfb6;
    color: #0f1c3f !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f1c3f;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #0f1c3f;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f1c3f 0%, #1a3a6b 30%, #1e4d6e 55%, #2a7a7a 80%, #4ecdc4 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 25% 25%, #ffffff 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, #ffffff 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8faf9;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.hero-badge svg {
    color: #ffd166;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.18;
    color: #f8faf9;
    margin-bottom: 24px;
}

.hero-accent {
    color: #7edcd0;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(248, 250, 249, 0.82);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-buttons .btn-secondary {
    border-color: rgba(248, 250, 249, 0.5);
    color: #f8faf9;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(248, 250, 249, 0.15);
    border-color: #f8faf9;
    color: #f8faf9;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8faf9;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(248, 250, 249, 0.65);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(248, 250, 249, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(248, 250, 249, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: #f8faf9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(15, 28, 63, 0.06);
    box-shadow: 0 4px 20px rgba(15, 28, 63, 0.04);
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(15, 28, 63, 0.1);
    border-color: rgba(78, 205, 196, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ab5a8;
    margin-bottom: 24px;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f1c3f;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.98rem;
    color: #4a5f7a;
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a2d5a;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ecdc4;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 28, 63, 0.12);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 28, 63, 0.15);
    border: 4px solid #ffffff;
}

.about-image-accent img {
    width: 100%;
    display: block;
}

.about-floating-card {
    position: absolute;
    top: -20px;
    right: -16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(15, 28, 63, 0.12);
    z-index: 2;
}

.about-floating-card .detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ecdc4, #2ab5a8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.floating-card-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4a5f7a;
}

.floating-card-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f1c3f;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-text {
    font-size: 1.02rem;
    color: #4a5f7a;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ab5a8;
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2d5a;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: #f0f7f6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    border: 1px solid rgba(15, 28, 63, 0.05);
    box-shadow: 0 4px 20px rgba(15, 28, 63, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 28, 63, 0.09);
}

.testimonial-quote-icon {
    color: #4ecdc4;
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1rem;
    color: #4a5f7a;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ab5a8;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f1c3f;
}

.author-detail {
    display: block;
    font-size: 0.82rem;
    color: #4a5f7a;
    font-weight: 600;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a7a7a 60%, #4ecdc4 100%);
}

.cta-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #f8faf9;
    margin-bottom: 20px;
    line-height: 1.25;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(248, 250, 249, 0.82);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    margin-top: 8px;
}

.contact-intro {
    font-size: 1.02rem;
    color: #4a5f7a;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ab5a8;
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4a5f7a;
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f1c3f;
    line-height: 1.6;
}

.detail-link {
    color: #2ab5a8;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: #1a9e93;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 28, 63, 0.06);
}

/* Form */
.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: #f8faf9;
    border-radius: 28px;
    padding: 44px 36px;
    border: 1px solid rgba(15, 28, 63, 0.06);
    box-shadow: 0 8px 30px rgba(15, 28, 63, 0.06);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1c3f;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #4a5f7a;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #1a2d5a;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(15, 28, 63, 0.1);
    border-radius: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.98rem;
    color: #1a2d5a;
    background: #ffffff;
    transition: all 0.25s ease;
    outline: none;
}

.form-input::placeholder {
    color: #a0b0c0;
}

.form-input:focus {
    border-color: #4ecdc4;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.12);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2d5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success.visible {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #2ab5a8;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f1c3f;
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.98rem;
    color: #4a5f7a;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: #0f1c3f;
    color: rgba(248, 250, 249, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8faf9;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 260px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ecdc4;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.92rem;
    color: rgba(248, 250, 249, 0.65);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #4ecdc4;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #4ecdc4;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 250, 249, 0.08);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(248, 250, 249, 0.45);
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: rgba(248, 250, 249, 0.3);
    max-width: 500px;
    text-align: right;
}

/* ---------- Scroll Reveal ---------- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gated for reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap {
        max-width: 480px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #f8faf9;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: -8px 0 30px rgba(15, 28, 63, 0.1);
        transition: right 0.35s ease;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1.05rem;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        width: 100%;
    }
    
    .hero {
        padding: 140px 24px 100px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .about-image-accent {
        right: 0;
        bottom: -20px;
    }
    
    .about-floating-card {
        right: 12px;
        top: -12px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-card {
        padding: 28px 20px;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 63, 0.4);
    z-index: 999;
}

.nav-overlay.visible {
    display: block;
}
