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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Header Contact Info */
.header-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.header-contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 0.95rem;
}

.header-contact-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.1rem;
}

/* Navigation */
.main-nav {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.menu-toggle:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.hero-btn.primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.stat {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2a5298;
    margin: 1rem 0;
}

.service-card p {
    color: #666;
    margin-top: 0.5rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: #2a5298;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.service-link:hover {
    background: #1e3c72;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #f5576c;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Refurbished Section */
.refurbished {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.refurbished .section-title {
    color: white;
}

.price-range {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.refurbished p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Health Check Section */
.health-check {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    padding: 4rem 0;
    text-align: center;
    border-top: 3px solid #2a5298;
    border-bottom: 3px solid #2a5298;
}

.health-check h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.health-check p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #333;
}

/* Location Section */
.location {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #e8e8e8;
}

.location a:hover {
    background: rgba(255,255,255,0.2) !important;
}

.location h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.location p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #666;
}

/* Home Visits Section */
.home-visits {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    border-top: 1px solid #e8e8e8;
}

.home-visits .container {
    text-align: center;
}

.home-visits h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.home-visits h3 {
    font-size: 1.5rem;
    color: #2a5298;
    margin: 2rem 0 1rem 0;
}

.home-visits p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.contact-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.contact-info a {
    color: #2a5298;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Features Section */
.features {
    background: #e8f4f8;
    padding: 4rem 0;
}

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

.feature {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature h3 {
    color: #1e3c72;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #666;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Service Detail Pages */
.service-detail {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-detail h1 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
}

.service-detail > h2:first-of-type {
    text-align: center;
    color: #2a5298;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-detail h2 {
    color: #1e3c72;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e8f4f8;
}

.service-detail h3 {
    color: #2a5298;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-detail h3::before {
    content: "✓";
    color: #2a5298;
    font-size: 1.2rem;
    font-weight: bold;
}

.service-list {
    margin: 1.5rem 0;
    padding-left: 0;
    line-height: 2;
    list-style: none;
}

.service-list li {
    margin: 0.75rem 0;
    color: #555;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2a5298;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-list ol,
.service-detail ol.service-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.service-list ol li,
.service-detail ol.service-list li {
    counter-increment: item;
    padding-left: 3rem;
    position: relative;
}

.service-list ol li::before,
.service-detail ol.service-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    background: #2a5298;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    top: 0.2rem;
}

.service-detail .price {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a5298;
    margin: 1rem 0 2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-radius: 10px;
    border: 2px solid #2a5298;
}

.service-detail > p:first-of-type {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.3);
}

.cta-section p {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: white;
}

.cta-section .cta-button {
    background: white;
    color: #1e3c72;
    margin-top: 1.5rem;
}

.cta-section .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.service-hero .price-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

/* Feature Cards */
.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid #2a5298;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-card h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        gap: 0.5rem;
    }
    
    .main-nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: block;
        margin: 1rem auto 0;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    }
    
    .main-nav.active {
        display: flex;
        max-height: 1000px;
        padding: 1rem 0;
        opacity: 1;
    }
    
    .main-nav a {
        width: 90%;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        margin: 0 auto;
    }
    
    .header-contact {
        gap: 1rem;
        margin-top: 0.75rem;
    }
    
    .header-contact-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .main-nav a {
        font-size: 0.85rem;
        padding: 0.65rem 0.9rem;
    }
    
    .menu-toggle {
        font-size: 1.3rem;
        padding: 0.4rem 0.9rem;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-contact-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price-range {
        font-size: 2rem;
    }
    
    .service-detail {
        padding: 1.5rem;
    }
    
    .service-detail h1 {
        font-size: 2rem;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-detail .price {
        font-size: 2rem;
    }
}

