/* ============================================
   TJ's Kustom Welding — Styles
   Color Palette:
     Deep Navy:  #0a1628
     Dark Blue:  #0f1f38
     Med Blue:   #1a3a5c
     Gold:       #d4a024
     Dark Gold:  #b8891c
     Light Gold: #e8c060
     Text:       #e8eaf0
     Muted:      #8a94a6
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #0f1f38;
    --blue: #1a3a5c;
    --blue-light: #244d75;
    --gold: #d4a024;
    --gold-dark: #b8891c;
    --gold-light: #e8c060;
    --text: #e8eaf0;
    --text-muted: #8a94a6;
    --white: #ffffff;
    --border: rgba(255,255,255,0.08);
    --card-bg: rgba(15, 31, 56, 0.7);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
    font-weight: 700;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 36, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Section common */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--white);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

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

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

.nav-cta {
    padding: 10px 24px;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: 4px;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-light);
    color: var(--navy) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.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;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.75) 40%,
        rgba(10, 22, 40, 0.65) 100%
    );
}

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

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-certs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cert-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll a {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

.hero-scroll a:hover {
    color: var(--gold);
}

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

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--navy);
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 36, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card--featured {
    border-color: rgba(212, 160, 36, 0.25);
    background: linear-gradient(135deg, rgba(15, 31, 56, 0.9), rgba(26, 58, 92, 0.4));
}

.service-card--featured:hover {
    border-color: rgba(212, 160, 36, 0.5);
}

.service-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.service-card-body {
    padding: 28px;
}

.service-badge {
    display: inline-block;
    background: rgba(212, 160, 36, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   About / Why Choose Us
   ============================================ */
.about {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.88) 100%
    );
}

.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-credentials {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.about-credentials h3 {
    font-size: 1.3rem;
    margin-bottom: 28px;
    color: var(--white);
}

.credentials-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.credentials-list svg {
    flex-shrink: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--navy-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item--wide {
    grid-column: span 2;
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 22, 40, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ============================================
   Hours & Service Area
   ============================================ */
.hours {
    padding: 120px 0;
    background: var(--navy);
}

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

.hours-table {
    margin-top: 32px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
}

.hours-row--alt .hours-time {
    color: var(--gold);
    font-weight: 600;
}

.hours-day {
    font-weight: 600;
    color: var(--white);
}

.hours-time {
    color: var(--text-muted);
    font-weight: 500;
}

.hours-note {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

.area-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.area-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

.area-icon {
    margin-bottom: 16px;
}

.area-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--white);
}

.area-radius {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 12px;
}

.area-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.96) 0%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.contact-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    color: rgba(255,255,255,0.75);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--gold-light);
}

.contact-link svg {
    stroke: var(--gold);
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 160, 36, 0.1);
    border: 1px solid rgba(212, 160, 36, 0.25);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--white);
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, background 0.3s;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #060e1a;
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-certs {
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered children in grids */
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card.reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card.reveal:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card.reveal:nth-child(7) { transition-delay: 0.35s; }
.services-grid .service-card.reveal:nth-child(8) { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .gallery-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
    }

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

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

    .gallery-item--wide {
        grid-column: span 2;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .hero-certs {
        flex-direction: column;
        gap: 8px;
    }

    .cert-divider {
        display: none;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
    }

    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

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

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.88rem;
    }
}

/* ============================================
   Services Dropdown
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 260px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    margin-top: 8px;
    z-index: 1001;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7) !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--white) !important;
    background: rgba(212, 160, 36, 0.08);
    padding-left: 24px;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

/* ============================================
   Clickable Service Cards
   ============================================ */
a.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-hero {
    position: relative;
    background: var(--navy);
    padding: 140px 0 80px;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero-content {
    text-align: left;
}

.service-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin: 16px 0;
    letter-spacing: -0.02em;
}

.service-hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
}

.service-hero-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.service-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.service-detail {
    padding: 80px 0;
    background: var(--navy);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.service-detail-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-img {
    width: 100%;
    border-radius: 8px;
    margin: 32px 0;
    border: 1px solid var(--border);
}

.service-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

.service-sidebar-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 24px;
}

.service-cta {
    padding: 80px 0;
    background: var(--navy-light);
    text-align: center;
}

.service-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.service-cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Service page responsive overrides */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-sidebar-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.03);
        border: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        min-width: 0;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown-toggle svg {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu a {
        padding: 8px 0 8px 16px !important;
        font-size: 0.85rem;
    }

    .nav-dropdown-menu a:hover {
        padding-left: 20px !important;
        background: transparent;
    }

    .service-hero {
        padding: 120px 0 60px;
    }

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