:root {
    --primary-red: #d41f26;
    --navy-blue: #1a3a6d;
    --light-blue: #5c88c7;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.hero-section {
    background-image: url('images/hvacdevice.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    padding-top: 4rem; /* Add top padding to create space from header */
}

/* Alternative approach - adjust the container padding */
.hero-section .container {
    padding-top: 6rem; /* Increase from py-16 (4rem) to 6rem */
    padding-bottom: 4rem;
}

/* For mobile devices, reduce padding slightly */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
    }
    
    .hero-section .container {
        padding-top: 3rem;
    }
}

.service-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.cta-button {
    background-color: var(--primary-red);
    transition: background-color 0.2s ease;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #b81a1f;
}

.cta-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.form-input:focus {
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 2px rgba(26, 58, 109, 0.2);
    outline: none;
}

.service-grid-item {
    transition: color 0.2s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.service-grid-item:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* Touch target optimization for mobile */
@media (max-width: 768px) {
    .cta-button {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    button, a {
        min-height: 44px;
    }
}

/* Remove all unused Tailwind overrides */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 50;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.py-16 { padding: 2rem 0; }
.px-4 { padding: 0 1rem; }

.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }

.text-white { color: #fff; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

/* Grid responsive classes */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-3\/5 { width: 60%; }
    .md\:w-2\/5 { width: 40%; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}