/* ASC Clean - Modern Corporate Design */
/* Color Palette: Navy #003258, Blue #165289, Button #16437E */

:root {
    --navy: #003258;
    --blue: #165289;
    --blue-button: #16437E;
    --blue-light: #1a5c99;
    --cream: #F8F6F3;
    --rose-light: #FDF6F6;
    --gray-100: #f7f7f7;
    --gray-200: #ebebeb;
    --gray-300: #d4d4d4;
    --gray-600: #666;
    --gray-800: #333;
    --white: #ffffff;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-width: 1200px;
    --section-padding: 100px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

.section-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-tag-light {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--navy);
    margin-bottom: 24px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo svg {
    height: 145px;
    width: auto;
    transition: var(--transition);
}

.logo svg .st1 {
    transition: fill var(--transition);
}

.header.scrolled .logo svg {
    height: 116px;
}

/* SVG logo color change on scroll - white parts become navy */
.header.scrolled .logo svg .st1 {
    fill: var(--navy);
}

/* Red parts stay red on scroll */
.header.scrolled .logo svg .st2 {
    fill: #C82031;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

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

.header.scrolled .nav a {
    color: var(--gray-800);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .phone-link {
    color: var(--navy);
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--navy);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 50, 88, 0.85) 0%,
        rgba(0, 50, 88, 0.7) 50%,
        rgba(0, 50, 88, 0.85) 100%
    );
    z-index: 1;
}

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

.hero-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Stats Bar */
.stats-bar {
    background: var(--navy);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Intro */
.intro {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

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

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Services */
.services {
    padding: var(--section-padding) 0;
    background: var(--rose-light);
    position: relative;
    overflow: hidden;
}

.services .section-header {
    position: relative;
    z-index: 1;
}

/* Light section variants */
.section-tag-dark {
    color: var(--blue);
}

.section-title-dark {
    color: var(--navy);
}

/* Keep light variants for dark backgrounds */
.section-tag-light {
    color: rgba(255, 255, 255, 0.6);
}

.section-title-light {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    display: none;
}

.service-content {
    padding: 20px 24px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.service-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--rose-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card:hover .service-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 20px;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.service-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Specialty Services */
.specialty-services {
    padding: var(--section-padding) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.specialty-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(22, 82, 137, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(22, 67, 126, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.specialty-services .section-header {
    position: relative;
    z-index: 1;
}

.specialty-grid {
    position: relative;
    z-index: 1;
}

.specialty-services .services-grid {
    position: relative;
    z-index: 1;
}

/* Philosophy Section */
.philosophy {
    padding: var(--section-padding) 0;
    background: var(--white);
}

/* Mirrored layout: content left, image right */
.philosophy-grid {
    direction: rtl;
}

.philosophy-grid > * {
    direction: ltr;
}

/* Flip the accent to the right side for philosophy section */
.philosophy .about-image-accent {
    left: 40px;
    right: -20px;
}

/* Flip animations for philosophy section */
.philosophy .about-content {
    transform: translateX(30px);
}

.philosophy .about-content.visible {
    transform: translateX(0);
}

.philosophy .about-image {
    transform: translateX(-30px);
}

.philosophy .about-image.visible {
    transform: translateX(0);
}

/* Image Strip */
.image-strip {
    padding: 40px 0;
    background: var(--white);
    overflow: hidden;
}

.strip-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.strip-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 5)); }
}

/* About */
.about {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

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

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 40px;
    bottom: 40px;
    border: 3px solid var(--blue);
    border-radius: 8px;
    z-index: -1;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-highlight {
    margin-top: 40px;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

.highlight-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 4px;
}

.highlight-text {
    color: var(--gray-600);
    font-size: 15px;
}

/* Memberships */
.memberships {
    padding: 60px 0;
    background: var(--white);
}

.memberships-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.memberships-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.membership-item {
    padding: 12px 24px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 14px;
    color: var(--gray-600);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.membership-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.membership-item:hover {
    background: var(--gray-200);
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.quote-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 50, 88, 0.95), rgba(22, 82, 137, 0.9));
    z-index: 1;
}

.quote-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quote-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

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

.contact-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-text {
    color: var(--gray-600);
    margin-bottom: 40px;
    font-size: 17px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.contact-value {
    font-size: 24px;
    font-family: var(--font-display);
    color: var(--navy);
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--blue);
}

.address-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.address-card h3 {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 20px;
}

.address-card address {
    font-style: normal;
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.service-area {
    font-size: 14px;
    color: var(--gray-600);
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 110px;
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    padding-left: 35px;
}

.footer-legal {
    margin-top: 16px;
    font-style: italic;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

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

    .about-grid {
        gap: 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav a {
        font-size: 24px;
        color: var(--white);
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

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

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

    .philosophy-grid {
        direction: ltr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-accent {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

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

    .hero-scroll {
        display: none;
    }

    .strip-item {
        width: 250px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .memberships-grid {
        flex-direction: column;
        align-items: center;
    }

    .membership-item {
        text-align: center;
    }

    .contact-value {
        font-size: 20px;
    }
}

/* Animations for elements appearing on scroll */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.stat:nth-child(1) { transition-delay: 0.1s; }
.stat:nth-child(2) { transition-delay: 0.2s; }
.stat:nth-child(3) { transition-delay: 0.3s; }
.stat:nth-child(4) { transition-delay: 0.4s; }

.membership-item:nth-child(1) { transition-delay: 0.05s; }
.membership-item:nth-child(2) { transition-delay: 0.1s; }
.membership-item:nth-child(3) { transition-delay: 0.15s; }
.membership-item:nth-child(4) { transition-delay: 0.2s; }
.membership-item:nth-child(5) { transition-delay: 0.25s; }

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 88, 0.85);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--navy);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--gray-600);
    font-size: 15px;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.form-group .required {
    color: #C82031;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 82, 137, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

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

.form-group input[type="file"] {
    padding: 10px;
    background: var(--gray-100);
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    border: none;
    border-radius: 6px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: var(--blue);
}

.form-submit {
    margin-top: 8px;
    width: 100%;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-status.error {
    display: block;
    background: #ffebee;
    color: #c62828;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 24px;
    }

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

    .modal-header h2 {
        font-size: 24px;
    }
}
