/* Modern Coastal Design - Monterey Code Company */

/* Import coastal-inspired font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Custom Properties for Coastal Theme */
:root {
    --ocean-blue: #00a8e8;
    --deep-ocean: #0079b3;
    --navy: #0d1b2a;
    --sand: #f8f6f0;
    --driftwood: #8b7355;
    --seafoam: #e8f4f8;
    --coral: #ff6b6b;
    --shell-white: #fefefe;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-heavy: rgba(0, 0, 0, 0.24);
    --gradient-ocean: linear-gradient(135deg, #00a8e8 0%, #0079b3 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
}

/* Base Styles with Coastal Feel */
html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Body with coastal background texture */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--shell-white);
    /* Subtle coastal texture */
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 168, 232, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 121, 179, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(248, 246, 240, 0.8) 0%, transparent 50%);
    color: var(--navy);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Container with breathing room */
.container {
    max-width: 1400px;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
}

main, body > section {
    flex-grow: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Enhanced Focus States with Ocean Theme */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 232, 0.25);
    outline: none;
    transform: translateY(-1px);
}

/* Hero Section - Coastal Drama */
#hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Coastal wave overlay effect */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(0, 27, 66, 0.7) 0%,
            rgba(0, 168, 232, 0.4) 50%,
            rgba(0, 121, 179, 0.6) 100%
    );
    z-index: 1;
}

/* Animated wave pattern */
#hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C300,100 600,20 900,60 C1050,80 1150,40 1200,60 L1200,120 L0,120 Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    animation: wave 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-200px);
    }
}

#hero .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography - Coastal Elegance */
.responsive-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--shell-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.text-white {
    color: var(--shell-white);
}

.text-accent {
    color: var(--deep-ocean);
    background: linear-gradient(135deg, #0079b3 0%, #005c87 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Coastal Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    min-width: 180px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-ocean);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn.primary {
    background: var(--gradient-ocean);
    color: var(--shell-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.btn.primary:hover,
.btn.primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
    color: var(--shell-white);
}

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--shell-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn.secondary::before {
    background: var(--shell-white);
}

.btn.secondary:hover,
.btn.secondary:focus {
    border-color: var(--shell-white);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn.secondary:hover::before,
.btn.secondary:focus::before {
    opacity: 1;
}

/* Sections with Coastal Flow */
.section {
    padding: 6rem 0;
    background-color: var(--shell-white);
    position: relative;
}

.section:nth-child(even) {
    background: var(--seafoam);
    background-image: radial-gradient(circle at 30% 70%, rgba(0, 168, 232, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(248, 246, 240, 0.8) 0%, transparent 50%);
}

/* Section Dividers - Wave Effect */
.section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0,40 C300,10 600,50 900,30 C1050,20 1150,45 1200,35 L1200,0 L0,0 Z' fill='white'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 60px;
}

.section:first-of-type::before {
    display: none;
}

/* Typography - Refined */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--navy);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-ocean);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--driftwood);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
}

.section-text {
    font-size: 1.25rem;
    color: var(--navy);
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Card Grids - Coastal Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Service Cards - Beach Glass Effect */
.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-ocean);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--driftwood);
    position: relative;
    z-index: 1;
}

/* Portfolio Cards - Driftwood Inspired */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.portfolio-card {
    background: var(--shell-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    border: 1px solid rgba(0, 168, 232, 0.1);
    position: relative;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--ocean-blue);
}

.portfolio-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
}

.portfolio-card h3 a {
    color: var(--ocean-blue);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-card h3 a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-ocean);
    transition: width 0.3s ease;
}

.portfolio-card h3 a:hover::after,
.portfolio-card h3 a:focus::after {
    width: 100%;
}

.portfolio-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--driftwood);
    flex-grow: 1;
}

/* Testimonials - Sea Glass Effect */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    font-style: italic;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 168, 232, 0.1);
    position: relative;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    font-style: normal;
    color: var(--ocean-blue);
    text-align: right;
    font-size: 1rem;
}

/* Call to Action - Ocean Sunset */
.cta-section {
    background: var(--gradient-ocean);
    color: var(--shell-white);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100'%3E%3Cpath d='M0,60 C300,20 600,80 900,50 C1050,35 1150,65 1200,55 L1200,0 L0,0 Z' fill='%23fefefe'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 100px;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Navigation - Coastal Modern */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(13, 27, 42, 0.95) !important;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--shell-white) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--ocean-blue) !important;
}

.navbar-nav .nav-link {
    color: rgba(254, 254, 254, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-ocean);
    opacity: 0;
    border-radius: 25px;
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--shell-white) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link span {
    position: relative;
    z-index: 1;
}

/* Footer - Deep Ocean */
footer.footer {
    background: var(--navy);
    color: rgba(254, 254, 254, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 168, 232, 0.2);
    position: relative;
}

footer.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0,20 C300,50 600,0 900,30 C1050,45 1150,15 1200,25 L1200,0 L0,0 Z' fill='%23fefefe'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 60px;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main, body > section {
        padding: 2rem 1rem;
    }

    #hero {
        height: 70vh;
        min-height: 500px;
    }

    #hero .content {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-card,
    .portfolio-card,
    .testimonial-card {
        padding: 2rem;
        border-radius: 16px;
    }
}

/* Utility Classes */
.text-driftwood {
    color: var(--driftwood);
}

.bg-seafoam {
    background-color: var(--seafoam);
}

.shadow-coastal {
    box-shadow: 0 8px 30px var(--shadow-light);
}

.gradient-text {
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom asterisk styling */
.custom-asterisk {
    font-size: 1rem;
    color: var(--driftwood);
    opacity: 0.8;
}

/* ========================================= */
/* CONTACT FORM COASTAL STYLING */
/* ========================================= */

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 168, 232, 0.1);
    border: 1px solid rgba(0, 168, 232, 0.1);
}

.coastal-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.coastal-input,
.coastal-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.coastal-input:focus,
.coastal-textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
    background: var(--shell-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.15);
}

.coastal-input::placeholder,
.coastal-textarea::placeholder {
    color: var(--driftwood);
    opacity: 0.8;
}

.input-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-ocean);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.coastal-input:focus + .input-wave,
.coastal-textarea:focus + .input-wave {
    transform: scaleX(1);
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(248, 246, 240, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 168, 232, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-wave {
    left: 100%;
}

.coastal-alert {
    border: none;
    border-radius: 12px;
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--coral);
    margin-bottom: 2rem;
}

.alert-content {
    padding: 0.5rem 0;
    color: #d32f2f;
}

/* ========================================= */
/* ERROR PAGE COASTAL STYLING */
/* ========================================= */

.error-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 168, 232, 0.1);
    border: 1px solid rgba(0, 168, 232, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: wave-icon 2s ease-in-out infinite;
}

.error-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.error-message {
    font-size: 1.2rem;
    color: var(--driftwood);
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.error-submessage {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ========================================= */
/* 404 PAGE COASTAL STYLING */
/* ========================================= */

.not-found-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 168, 232, 0.1);
    border: 1px solid rgba(0, 168, 232, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: var(--gradient-ocean);
    opacity: 0.1;
    border-radius: 1000px 1000px 0 0;
}

.wave-1 {
    animation: wave1 8s ease-in-out infinite;
}

.wave-2 {
    animation: wave2 10s ease-in-out infinite reverse;
    opacity: 0.05;
}

.wave-3 {
    animation: wave3 12s ease-in-out infinite;
    opacity: 0.03;
}

.not-found-content {
    position: relative;
    z-index: 2;
}

.not-found-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
}

.not-found-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.not-found-message {
    font-size: 1.2rem;
    color: var(--driftwood);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.not-found-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes wave-icon {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes wave1 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25%) translateY(-10px);
    }
}

@keyframes wave2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-15%) translateY(-5px);
    }
}

@keyframes wave3 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-10%) translateY(-15px);
    }
}

/* ========================================= */
/* ADDITIONAL RESPONSIVE DESIGN */
/* ========================================= */

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
        margin: 1rem;
        border-radius: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }
}

/* Error Page Responsive */
@media (max-width: 768px) {
    .error-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* 404 Page Responsive */
@media (max-width: 768px) {
    .not-found-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .not-found-title {
        font-size: 4rem;
    }

    .not-found-subtitle {
        font-size: 1.5rem;
    }

    .not-found-actions {
        flex-direction: column;
        align-items: center;
    }

    .not-found-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer.footer {
        padding: 2rem 1rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}