/**
 * ============================================
 * Essential Home Service - Main Stylesheet
 * Based on business template with navy/green brand colors
 * ============================================
 */

/* ============================================
   1. CSS Variables & Reset
   ============================================ */
:root {
    --white: #E8ECF0;
    --off-white: #0d2240;
    --light-gray: #8899AA;
    --mid-gray: #6B7D8D;
    --charcoal: #0a1e3f;
    --black: #061229;
    --accent: #27ae60;
    --accent-light: #2ecc71;
    --light-stroke: rgba(255, 255, 255, 0.08);
    --surface: #13274d;
}

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

html {
    scroll-behavior: smooth;
}

/* ============================================
   2. Typography & Base Styles
   ============================================ */
body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--charcoal);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   3. Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--charcoal) 60%, transparent);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--charcoal);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0.75rem 5%;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-brand span {
    color: var(--accent);
    font-weight: 700;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.logo-text span {
    color: var(--accent);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ============================================
   4. Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 5% 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 30, 63, 0.92) 0%, rgba(19, 39, 77, 0.88) 100%), url('/imgs/HeroImg.webp') center/cover no-repeat;
}

.hero-bg-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: repeating-linear-gradient(
        90deg,
        rgba(39, 174, 96, 0.08) 0px,
        rgba(39, 174, 96, 0.08) 1px,
        transparent 1px,
        transparent 12px
    );
    border-radius: 50%;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-logo {
    width: 260px;
    height: 260px;
    margin: 0 auto 0.5rem;
    animation: fadeIn 1.2s ease;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.4), 0 0 40px rgba(39, 174, 96, 0.2);
    animation: btnGlow 2s ease-in-out infinite alternate;
}

@keyframes btnGlow {
    from { box-shadow: 0 0 20px rgba(39, 174, 96, 0.4), 0 0 40px rgba(39, 174, 96, 0.2); }
    to { box-shadow: 0 0 30px rgba(39, 174, 96, 0.6), 0 0 60px rgba(39, 174, 96, 0.3); }
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
    box-shadow: 0 0 35px rgba(39, 174, 96, 0.7), 0 0 70px rgba(39, 174, 96, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
    border-radius: 50px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ============================================
   5. Section Common Styles
   ============================================ */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.section-desc {
    color: var(--light-gray);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ============================================
   6. About Section
   ============================================ */
.about {
    background: var(--off-white);
    position: relative;
}

.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    font-size: 1.05rem;
    text-align: left;
}

.about-image {
    position: relative;
    margin-bottom: 3rem;
}

.about-image-main {
    width: 100%;
    max-height: 500px;
    background: var(--charcoal);
    overflow: hidden;
}

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

.about-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

.google-rating {
    text-decoration: none;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
    animation: googlePulse 2s ease-in-out infinite;
}

.google-rating:hover {
    transform: scale(1.1);
}

.google-rating svg {
    filter: drop-shadow(0 0 6px rgba(66, 133, 244, 0.6));
    transition: filter 0.3s ease;
}

.google-rating:hover svg {
    filter: drop-shadow(0 0 12px rgba(66, 133, 244, 0.9));
}

@keyframes googlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.reviews-highlight {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.reviews-highlight:hover {
    color: var(--white);
    text-decoration: underline;
}


/* ============================================
   7. Services Section
   ============================================ */
.services {
    background: var(--charcoal);
    color: var(--white);
}

.services .section-label {
    color: var(--accent-light);
}

.services .section-desc {
    color: rgba(255,255,255,0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
    border-color: rgba(39, 174, 96, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.service-icon svg {
    stroke: var(--accent);
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   8. Licensed Banner
   ============================================ */
.license-banner {
    background: var(--off-white);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 5%;
}

.license-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.license-shield {
    color: var(--accent);
    flex-shrink: 0;
}

.license-text {
    display: flex;
    flex-direction: column;
}

.license-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.04em;
}

.license-number {
    font-size: 0.85rem;
    color: var(--light-gray);
    letter-spacing: 0.1em;
    margin-top: 0.15rem;
}

/* ============================================
   9. Gallery / Before & Afters Section
   ============================================ */
.gallery {
    background: var(--surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flip-card {
    perspective: 1000px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.flip-card:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(10, 30, 63, 0.85);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.flip-label-after {
    background: rgba(39, 174, 96, 0.9);
    border-color: rgba(39, 174, 96, 0.5);
}

/* ============================================
   9. Testimonials Section
   ============================================ */
.testimonials {
    background: var(--off-white);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 550px;
    justify-self: center;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(39, 174, 96, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    position: relative;
}

.testimonial-author {
    color: var(--mid-gray);
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ============================================
   10. Service Area Section
   ============================================ */
.service-area {
    background: var(--surface);
    padding: 100px 5%;
}

.service-area-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-area-map {
    border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    max-width: 800px;
}

.service-area-map iframe {
    display: block;
}

.service-area-cities {
    text-align: center;
}

.service-area-cities h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 4rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--white);
}

.city-bullet {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-area-note {
    color: var(--mid-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

/* ============================================
   11. Contact Section
   ============================================ */
.contact {
    background: var(--charcoal);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.contact-item span {
    color: rgba(255,255,255,0.8);
}

.contact-form {
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

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

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--charcoal);
}

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


/* ============================================
   11b. FAQ Section
   ============================================ */
.faq {
    background: var(--charcoal);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item summary {
    padding: 1.5rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item p {
    padding: 0 0 1.5rem;
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   12. Footer
   ============================================ */
footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-text span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.social-links a:hover svg {
    fill: var(--white);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ============================================
   13. Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   14. Form Animations
   ============================================ */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-submitting {
    position: relative;
}

.form-submitting::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 10;
    animation: fadeIn 0.2s ease;
}

.form-submitting form {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-overlay.active {
    opacity: 1;
    transform: scale(1);
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    animation: fadeInUp 0.5s ease 0.3s both;
}

.success-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease 0.5s both;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke: var(--accent-light);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: var(--accent-light);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes checkmarkCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes checkmarkCheck {
    to { stroke-dashoffset: 0; }
}

.form-message {
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.active {
    opacity: 1;
    transform: translateY(0);
}

.form-message-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-message-error {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* ============================================
   15. Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--charcoal);
        flex-direction: column;
        padding: 2rem 5%;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .flip-card {
        aspect-ratio: 4/3;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .service-area-content {
        gap: 2rem;
    }

    .service-area-map iframe {
        height: 300px;
    }

    .contact-form {
        padding: 2rem;
    }

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