/* Add Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ===========================
   ESP Productions - CSS Stylesheet
   Modern, Professional Design
   =========================== */

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

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

:root {
    --primary-color: #1a1a1a;
    --primary-dark: #000000;
    --secondary-color: #2a2a2a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --accent-color: #1a1a1a;
    --success-color: #d4af37;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Navigation Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--accent-gold);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: var(--font-serif);
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-color) !important;
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--accent-gold-light);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-family: var(--font-serif);
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    padding: 10px 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    /* Previous hero image: https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&q=80&w=1600 */
    background-image:
        linear-gradient(rgba(26, 26, 26, 0.85), rgba(0, 0, 0, 0.9)),
        url('https://res.cloudinary.com/djvwdepph/image/upload/v1772166874/20251019_102758_n1zfuk.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
    border-bottom: 3px solid var(--accent-gold);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #cccccc !important;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.service-card {
    background: var(--bg-white);
    padding: 45px 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-gold);
}

.service-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
}

.service-link {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.why-text h2 {
    margin-bottom: 1.5rem;
}

.why-list {
    list-style: none;
    margin: 2rem 0;
}

.why-list li {
    margin-bottom: 2rem;
    padding-left: 30px;
    position: relative;
}

.why-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.why-list strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-list span {
    color: var(--text-secondary);
}

.why-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

/* Recent Projects */
.recent-projects {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.projects-empty {
    text-align: center! important;
    padding: 80px 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 2px dashed #ddd;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.projects-empty h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.projects-empty p {
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-empty-icon {
    color: var(--accent-gold);
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-info {
    padding: 30px;
}

.projects-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 0;
    color: var(--text-secondary);
}

/* Lightbox (shared with gallery) */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px 20px;
    transition: transform 0.3s ease;
    z-index: 10001;
}

.gallery-lightbox-close:hover {
    transform: scale(1.1);
}

/* Shared loader (used on home + gallery) */
.loader {
    width: 56px;
    height: 56px;
    display: inline-block;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(26, 26, 26, 0.1) 0 45%, transparent 46%);
}

.loader::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.18), 0 0 0 14px rgba(212, 175, 55, 0.08);
    animation: pulse 1.6s ease-out infinite;
}

.loader::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 2px solid rgba(26, 26, 26, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    70% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-gold);
}

.project-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.projects-cta {
    text-align: center;
    margin-top: 60px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    border-bottom: 3px solid var(--accent-gold);
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.services-hero {
    background: var(--bg-white);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    padding: 120px 0 100px;
}

.services-hero h1,
.services-hero p,
.services-hero .hero-kicker,
.services-hero .services-hero-notes,
.services-hero .services-hero-notes span {
    color: var(--text-primary);
}

.services-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-kicker {
    display: inline-flex;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.05);
}

.services-hero .page-header h1 {
    margin-bottom: 1rem;
    letter-spacing: 0.6px;
    font-size: 3.2rem;
}

.services-hero .page-header p {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.services-hero .btn-secondary {
    border-color: rgba(17, 24, 39, 0.2);
    color: var(--text-primary);
    background: transparent;
}

.services-hero .btn-secondary:hover {
    background: var(--text-primary);
    color: white;
}

.services-hero-notes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(17, 24, 39, 0.6);
    font-size: 0.9rem;
}

.services-hero-notes span {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.1);
}

.services-hero-visual {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18);
    min-height: auto;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

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

/* Service Detail Page */
.service-detail {
    padding: 80px 0;
}
.services-curated {
    padding: 90px 0 110px;
    background: var(--bg-white);
}

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

.services-curated .section-header h2 {
    font-size: 2.6rem;
    letter-spacing: 0.6px;
    margin-bottom: 1rem;
}

.services-curated .section-header p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.service-row {
    display: grid;
    grid-template-columns: 70px 1.4fr 0.8fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
    background: transparent;
}

.service-row:hover {
    border-bottom-color: rgba(205, 174, 124, 0.6);
}

.service-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.55);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-top: 0.4rem;
}

.services-curated .service-badge {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(17, 24, 39, 0.18);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 4px 12px;
}

.service-row-content h3 {
    margin: 0.4rem 0 0.75rem;
    font-size: 1.7rem;
    letter-spacing: 0.4px;
}

.service-row-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.service-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-row-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.service-row-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    color: var(--text-secondary);
}

.service-row-meta strong {
    color: var(--text-primary);
}

.service-list {
    list-style: none;
    margin: 1.5rem 0 1.75rem;
    padding: 0;
    color: var(--text-secondary);
}

.service-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.85rem;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--accent-gold);
    font-size: 1.1rem;
    line-height: 1;
}

.service-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.services-feature {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-feature-text {
    width: 100%;
}

.services-feature-text .lead {
    margin-top: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    align-self: start;
}

.services-feature-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 2rem;
}

.approach-step {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 18px 16px;
}

.approach-step h4 {
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.approach-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-detail.alt {
    background: var(--bg-light);
}

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

.service-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-gold);
}

.service-detail h2 {
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 2.5rem 0;
}

.feature {
    margin-bottom: 2rem;
    padding-left: 25px;
    position: relative;
}

.feature::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

.service-detail h3 {
    margin: 2rem 0 1rem;
}

.equipment-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
}

.equipment-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
}

.equipment-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 100%;
    min-height: 500px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.additional-services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.additional-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.additional-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.additional-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
}

/* Portfolio Page */
.portfolio-filters {
    padding: 40px 0;
    background: var(--bg-light);
}

.portfolio-filters .container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-section {
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    height: 280px;
    overflow: hidden;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 30px;
}

.portfolio-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-gold);
}

.portfolio-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.portfolio-specs {
    list-style: none;
    margin-top: 1.5rem;
}

.portfolio-specs li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg-light);
}

.portfolio-specs li:last-child {
    border-bottom: none;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--secondary-color);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat h3 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* About Page */
.about-section {
    padding: 80px 0;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.values-section h2 {
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.value-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

/* Equipment Section */
.equipment-section {
    padding: 80px 0;
}

.equipment-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.equipment-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.equipment-category {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.equipment-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.equipment-category ul {
    list-style: none;
}

.equipment-category ul li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.equipment-category ul li:last-child {
    border-bottom: none;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Certifications */
.certifications-section {
    padding: 80px 0;
}

.certifications-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.cert-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-item p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container > p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-text p {
    margin: 0;
    color: var(--text-secondary);
}

.highlight-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.small-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-content,
    .about-content,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .equipment-categories {
        gap: 40px;
    }

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-hero {
        padding: 80px 0 60px;
    }

    .services-hero-content {
        text-align: center;
        padding: 0 20px;
    }

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

    .services-hero .page-header p {
        font-size: 1rem;
    }

    .services-hero-actions {
        justify-content: center;
    }

    .services-hero-notes {
        justify-content: center;
    }

    .services-hero-visual {
        min-height: 320px;
    }

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

    .service-row {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 28px 0;
    }

    .service-number {
        font-size: 1.2rem;
    }

    .service-row-meta {
        align-items: flex-start;
    }

    .services-curated .section-header {
        text-align: center;
        padding: 0 20px;
    }

    .services-curated .section-header h2 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

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

    .services-feature-content {
        padding: 0 20px;
    }

    .services-feature-text .lead {
        font-size: 1rem;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .portfolio-filters .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-filters .container[role="group"] {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-detail {
        padding: 60px 0;
    }

    .services-curated,
    .services-feature {
        padding: 60px 0;
    }

    .additional-services {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .about-section,
    .values-section,
    .equipment-section,
    .process-section,
    .certifications-section {
        padding: 60px 0;
    }

    .why-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .service-detail-image,
    .about-image,
    .why-image {
        order: -1;
    }

    .service-detail.alt .service-detail-image {
        order: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 28px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .navbar {
        padding: 1rem 0;
        height: 70px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .service-card,
    .portfolio-item,
    .value-card,
    .additional-card,
    .cert-item {
        padding: 25px 20px;
    }

    .feature h4 {
        font-size: 1.1rem;
    }

    .process-step {
        padding: 30px 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .equipment-list li,
    .portfolio-specs li {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .lead {
        font-size: 1rem;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 14px;
        padding: 12px 16px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .portfolio-item,
    .value-card {
        padding: 20px 15px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

/* ===========================
   Legal Pages (Privacy & Terms)
   =========================== */

.legal-content {
    padding: 60px 0 80px;
    background: var(--bg-white);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-text h2 {
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-gray);
    color: var(--primary-color);
}

.legal-text h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-text ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-text a {
    color: var(--accent-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--primary-color);
}

.contact-info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 4px;
}

.contact-info-box p {
    margin-bottom: 10px;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.legal-nav {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-gray);
    flex-wrap: wrap;
}

.legal-nav .btn-primary,
.legal-nav .btn-secondary {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-text {
        padding: 30px 20px;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.15rem;
    }
    
    .legal-nav {
        flex-direction: column;
    }
    
    .legal-nav .btn-primary,
    .legal-nav .btn-secondary {
        width: 100%;
    }
}

/* ========================================
   404 Page Styles
   ======================================== */
.error-content {
    padding: 100px 0;
    text-align: center;
}

.error-content h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* ========================================
   Enhanced Loading States
   ======================================== */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--success-color, #10b981);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--success-color, #10b981);
    animation: fill-success 0.4s ease-in-out 0.4s forwards, scale-success 0.3s ease-in-out 0.9s both;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--success-color, #10b981);
    fill: none;
    animation: stroke-success 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke-success 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke-success {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale-success {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill-success {
    100% {
        box-shadow: inset 0px 0px 0px 30px var(--success-color, #10b981);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .error-content {
        padding: 60px 0;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
}
