/* ========================================
   MAINTENANCE DIRECT SOLUTIONS LTD
   Main Stylesheet - Industrial Theme
   ======================================== */

/* ========================================
   CSS VARIABLES - BRAND COLORS
   ======================================== */
:root {
    /* Brand Colors */
    --cat-yellow: #F2C94C;
    --concrete-black: #1A1A1A;
    --steel-grey: #2F2F31;
    --light-concrete: #E5E5E5;
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --primary: var(--cat-yellow);
    --dark: var(--concrete-black);
    --grey: var(--steel-grey);
    --light: var(--light-concrete);
    --text-primary: var(--concrete-black);
    --text-light: #666666;
    --text-white: var(--white);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--dark);
}

strong {
    font-weight: 600;
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    border-bottom: 2px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--dark);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Secondary button on dark backgrounds */
.bg-dark .btn-secondary,
.hero .btn-secondary,
.page-hero .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.bg-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--steel-grey) 100%);
    background-image: url('../../public/images/hero/construction-site.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(47, 47, 49, 0.75) 100%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(242, 201, 76, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(242, 201, 76, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    color: var(--light);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2rem;
}

.stat-text {
    text-align: left;
}

.stat-label {
    color: var(--light);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ========================================
   PAGE HERO (INTERNAL PAGES)
   ======================================== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.page-hero-small {
    min-height: 40vh;
}

.hero-background-services {
    background-image: url('../images/hero/scaffolding.webp');
}

.hero-background-about {
    background-image: url('../images/hero/steel-beams.webp');
}

.hero-background-contact {
    background-image: url('../images/hero/construction-framework.webp');
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
}

.page-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--light);
    font-size: 1.25rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(242, 201, 76, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
}

.bg-dark .section-title,
.bg-dark h1, .bg-dark h2, .bg-dark h3 {
    color: var(--white);
}

.bg-dark .section-subtitle,
.bg-dark p {
    color: var(--light);
}

/* ========================================
   YELLOW DIVIDER
   ======================================== */
.yellow-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 1.5rem 0;
}

.section-header .yellow-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   TEXTURE OVERLAYS
   ======================================== */
.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/textures/concrete.webp');
    background-size: 400px;
    opacity: 0.03;
    pointer-events: none;
}

.texture-steel {
    background-image: url('../images/textures/steel.webp');
}

.texture-concrete {
    background-image: url('../images/textures/concrete.webp');
}

.texture-hazard {
    background-image: url('../images/textures/hazard-tape.webp');
    opacity: 0.05;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 1rem;
}

/* ========================================
   SERVICE DETAIL PAGES
   ======================================== */
.service-detail {
    position: relative;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.service-detail-title {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.service-detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-subtitle {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.8;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, var(--steel-grey) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-image::before {
    content: '🏗️';
    position: absolute;
    font-size: 4rem;
    opacity: 0.2;
    pointer-events: none;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-description {
    color: var(--light);
    line-height: 1.8;
}

/* ========================================
   PROCESS TIMELINE
   ======================================== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.step-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-company-info {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-company-info p {
    margin-bottom: 0.25rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--light);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-legal .separator {
    color: var(--light);
}

.footer-copyright {
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.stat-card {
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.approach-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.approach-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.approach-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.approach-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.approach-description {
    color: var(--light);
    line-height: 1.8;
}

.commitments-list {
    max-width: 900px;
    margin: 0 auto;
}

.commitment-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.commitment-marker {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-top: 0.5rem;
    box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.2);
}

.commitment-content {
    flex: 1;
}

.commitment-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.commitment-description {
    color: var(--text-light);
    line-height: 1.8;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: var(--radius-md);
}

.detail-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.detail-value {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--white);
}

.detail-value a {
    color: var(--primary);
}

.verification-note {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.verification-note p {
    margin: 0;
    color: var(--light);
}

.verification-note a {
    color: var(--primary);
    text-decoration: underline;
}

.why-new-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .why-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .why-new-grid {
        grid-template-columns: 1fr;
    }
}

.why-new-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.why-new-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-new-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-new-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-new-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: underline;
    word-break: break-all;
}

.info-content a:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 300px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    color: var(--white);
}

.map-overlay p {
    margin: 0;
    font-weight: 600;
}

.emergency-contact {
    position: relative;
}

.emergency-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.emergency-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.emergency-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-subtitle {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 2rem;
}

.emergency-note {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.faq-question {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
    background-color: var(--white);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
}

.legal-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.legal-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 100%;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }
.fade-up.delay-5 { animation-delay: 0.5s; }
.fade-up.delay-6 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .service-detail-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-stats {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services-grid,
    .features-grid,
    .approach-grid,
    .details-grid,
    .why-new-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services-overview {
        padding: 3rem 0;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .nav-toggle,
    .hero-cta,
    .cta-section,
    .btn,
    .scroll-indicator {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero,
    .page-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-title,
    .page-title {
        color: #000;
    }
}

