/* DS Contracting Services - Premium Modern Redesign */

/* Google Fonts Import - Elegant Font Pairing */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

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

:root {
    /* Color Palette - Matching Logo (Navy Blue & Gold) */
    --primary-color: #1a2a5e;
    --primary-light: #2a3a6e;
    --primary-dark: #0f1a3a;
    --secondary-color: #d4c896;
    --secondary-light: #e5dbb0;
    --secondary-dark: #b8a870;
    
    /* Neutral Colors */
    --text-dark: #1a2a3a;
    --text-medium: #4a5a6a;
    --text-light: #6a7a8a;
    --text-muted: #9aa5b0;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-subtle: #f5f5f5;
    --bg-muted: #ebebeb;
    --bg-cream: #fcfcfc;
    
    /* Accent Colors */
    --accent-blue: #3b5998;
    --accent-green: #52b788;
    --accent-gold: #d4c896;
    
    /* Borders & Shadows - Softer, More Refined */
    --border-color: #e5e2de;
    --border-light: #f0ede9;
    --shadow-sm: 0 1px 3px 0 rgb(26 43 50 / 0.04), 0 1px 2px -1px rgb(26 43 50 / 0.04);
    --shadow-md: 0 4px 8px -2px rgb(26 43 50 / 0.08), 0 2px 4px -2px rgb(26 43 50 / 0.04);
    --shadow-lg: 0 12px 24px -4px rgb(26 43 50 / 0.1), 0 4px 8px -2px rgb(26 43 50 / 0.04);
    --shadow-xl: 0 24px 48px -8px rgb(26 43 50 / 0.12), 0 8px 16px -4px rgb(26 43 50 / 0.06);
    --shadow-2xl: 0 32px 64px -12px rgb(26 43 50 / 0.2);
    --shadow-glow: 0 0 40px -10px rgb(201 130 58 / 0.3);
    
    /* Spacing */
    --section-padding: 7rem;
    --container-padding: 2rem;
    
    /* Border Radius - More Rounded, Modern Feel */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
    --radius-3xl: 2.5rem;
    --radius-full: 9999px;
    
    /* Transitions - Smooth & Premium */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.75;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    font-size: 1rem;
    overflow-x: hidden;
    font-weight: 400;
}

/* Typography - Premium Font Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: clamp(2.5rem, 5.5vw, 4rem); 
    font-weight: 800;
    letter-spacing: -0.03em;
}
h2 { 
    font-size: clamp(2rem, 4.5vw, 3rem); 
    font-weight: 700;
}
h3 { 
    font-size: clamp(1.375rem, 2.5vw, 1.625rem); 
    font-weight: 600;
}
h4 { 
    font-size: 1.25rem; 
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--secondary-color);
}

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

/* Selection */
::selection {
    background-color: var(--secondary-color);
    color: white;
}

/* Header and Navigation - Clean & Premium */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-slow);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo a {
    color: inherit;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a {
    gap: 0.6rem;
}

.logo a::after {
    content: "Contracting\A Services";
    white-space: pre;
    color: #000;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.logo span {
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.125rem;
    border-radius: var(--radius-full);
    position: relative;
    transition: all var(--transition-base);
}

nav a:hover {
    color: var(--primary-color);
    background-color: var(--bg-subtle);
}

nav a.active {
    color: var(--primary-color);
    background-color: var(--bg-subtle);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    font-size: 0.75em;
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    display: block !important;
    flex-direction: column !important;
}

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

.dropdown-menu li {
    border: none !important;
    display: block !important;
    width: 100%;
}

.dropdown-menu li a {
    display: block !important;
    padding: 0.75rem 1.25rem;
    color: var(--text-medium);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    margin: 0.125rem 0.5rem;
    width: calc(100% - 1rem);
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    background-color: var(--bg-subtle);
    transform: translateX(4px);
}

/* Map Styles */
.map-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.map-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #e5e7eb;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    padding: 2rem;
}

.map-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.map-info p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.map-info ul {
    list-style: none;
    padding: 0;
}

.map-info li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.map-info li:last-child {
    border-bottom: none;
}

.map-info li strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .map-wrapper {
        height: 300px;
    }
    
    .map-info {
        padding: 1.5rem;
    }
}

/* Navigation CTA Button */
nav .nav-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--primary-dark) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.75rem;
    box-shadow: 0 4px 12px -2px rgba(212, 200, 150, 0.4);
}

nav .nav-cta:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -2px rgba(212, 200, 150, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.625rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-subtle);
    color: var(--secondary-color);
}

/* Hero Section - Premium & Impactful */
.hero {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 9rem 2rem 11rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212, 200, 150, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 200, 150, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: var(--bg-cream);
    clip-path: ellipse(75% 100% at 50% 100%);
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px -4px rgba(212, 200, 150, 0.5);
    text-transform: uppercase;
}

.hero-badge .badge-icon {
    font-size: 1.125rem;
    color: var(--primary-dark);
}

.hero h1 {
    color: var(--bg-white);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    margin-bottom: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

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

/* Buttons - Premium & Refined */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px -2px rgba(212, 200, 150, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -4px rgba(212, 200, 150, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--bg-white);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.75rem;
    font-size: 1.0625rem;
}

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

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1480px;
}

section {
    padding: var(--section-padding) 0;
}

section.compact {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Cards - Elegant & Modern */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px -2px rgba(212, 200, 150, 0.4);
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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

.card h3 {
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Feature Cards (Why Choose Us) */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2.75rem 2.25rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card .card-icon {
    margin-left: auto;
    margin-right: auto;
}

/* Services Section - Premium Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-2xl);
    text-align: left;
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-card .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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

.service-card-content {
    padding: 1.75rem 2rem 2rem;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: 1.75rem;
    align-self: flex-start;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.contact-item-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    margin: 0 auto 1.25rem;
    color: var(--bg-white);
}

.contact-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-base);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Forms */
.form-container {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background-color: var(--bg-white);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

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

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* Service Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.area-card {
    background-color: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.area-card h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.area-card a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all var(--transition-base);
}

.area-card a:hover {
    color: var(--secondary-dark);
    gap: 0.5rem;
}

/* Footer - Premium & Clean */
footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 0.625rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    position: relative;
}

/* Content Pages */
.content-page {
    padding: 4rem 0;
}

.content-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 5rem 0 6rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.content-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.content-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom right, transparent 49%, var(--bg-white) 50%);
}

.content-header .container {
    position: relative;
    z-index: 1;
}

.content-header h1 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
}

.content-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 0;
}

.content-body {
    max-width: 900px;
    margin: 0 auto;
}

.content-body h2 {
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    border-radius: var(--radius-full);
}

.content-body p {
    color: var(--text-medium);
    line-height: 1.8;
}

.content-body ul {
    margin-left: 0;
    margin-bottom: 1.5rem;
    list-style: none;
}

.content-body li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.7;
}

.content-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.content-body li strong {
    color: var(--text-dark);
}

/* CTA Section - Premium Call to Action */
.cta-section {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 7rem 2rem;
    text-align: center;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(212, 200, 150, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(212, 200, 150, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    font-size: 1.0625rem;
    padding: 1.125rem 2.75rem;
}

.cta-section a[href^="tel"] {
    color: var(--bg-white);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    transition: all var(--transition-base);
}

.cta-section a[href^="tel"]:hover {
    color: var(--secondary-color);
}

/* Responsive Design - Premium Mobile Experience */
@media (max-width: 768px) {
    :root {
        --section-padding: 5rem;
    }

    .header-container {
        flex-wrap: wrap;
        padding: 1rem 1.5rem;
    }

    nav {
        display: none;
        width: 100%;
        order: 3;
        background: var(--bg-white);
        border-top: 1px solid var(--border-light);
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    nav li {
        border-bottom: 1px solid var(--border-light);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 1.125rem 1rem;
        border-radius: 0;
    }

    nav a:hover,
    nav a.active {
        background-color: var(--bg-subtle);
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--bg-light);
        margin-top: 0;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-arrow {
        transform: rotate(-90deg);
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(0deg);
    }

    .dropdown-menu li a {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
        margin: 0;
        border-radius: 0;
        border-left: 3px solid transparent;
    }

    .dropdown-menu li a:hover {
        background-color: var(--bg-subtle);
        transform: none;
        border-left-color: var(--secondary-color);
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 6rem 1.5rem 8rem;
    }

    .hero::after {
        height: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .service-card {
        text-align: center;
    }

    .service-card .btn {
        align-self: center;
    }

    section {
        padding: var(--section-padding) 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .content-header {
        padding: 4rem 0 5rem;
    }

    .content-header::after {
        height: 80px;
    }

    .cta-section {
        padding: 5rem 1.5rem;
    }

    footer::before {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .header-container {
        padding: 0.875rem 1.25rem;
    }

    .logo {
        font-size: 1.375rem;
    }
    
    .logo img {
        height: 55px;
        max-width: 220px;
    }

    .logo a::after {
        font-size: 24px;
    }

    .hero {
        padding: 5rem 1.25rem 7rem;
    }

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

    .btn {
        padding: 1rem 1.75rem;
        font-size: 0.9375rem;
    }

    .card {
        padding: 1.75rem;
    }

    .service-card-image {
        height: 180px;
    }

    .contact-item {
        padding: 2rem 1.5rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .section-title h2 {
        font-size: 1.875rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.bg-light {
    background-color: var(--bg-light);
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

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

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Accessibility */
.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;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 1rem;
}

/* Print Styles */
@media print {
    header,
    footer,
    .cta-section,
    .mobile-menu-toggle {
        display: none;
    }

    .hero {
        background: none;
        color: var(--text-dark);
        padding: 2rem 0;
    }

    .hero h1,
    .hero p {
        color: var(--text-dark);
    }

    .content-header {
        background: none;
        padding: 1rem 0;
    }

    .content-header h1,
    .content-header p {
        color: var(--text-dark);
    }

    a {
        text-decoration: underline;
    }

    .btn {
        border: 1px solid var(--text-dark);
    }
}

/* Service Image Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.service-gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.service-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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

.service-gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-weight: 500;
    font-size: 0.9375rem;
}

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

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-trust-badges svg {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero-trust-badges {
        gap: 1rem;
    }
    .hero-trust-badges span {
        font-size: 0.8125rem;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Call Button */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(212, 200, 150, 0.5);
    transition: all var(--transition-base);
}

.mobile-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 200, 150, 0.6);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5.5rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading Animation */
img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.loaded {
    opacity: 1;
}

/* Ensure all images fit properly */
.service-card-image img,
.service-item-image img,
.card-image img,
.project-image img,
.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Logo should always be visible */
.logo img {
    opacity: 1;
}

/* Footer Contact Icons */
.footer-section li svg {
    vertical-align: middle;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.footer-section li {
    display: flex;
    align-items: center;
}

/* Nav CTA on Mobile */
@media (max-width: 768px) {
    nav .nav-cta {
        margin: 0.75rem 1rem;
        text-align: center;
        display: block;
    }
}
