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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-weight: 300;
}

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

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

.logo-container {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #000;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo-container:hover {
    background: #000;
    color: #fff;
}

.logo i {
    margin-right: 12px;
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #666;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #fff;
    color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-quote-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    max-width: 1000px;
}

.btn {
    padding: 15px 30px;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.quote-form-hero {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 50px;
    color: #000;
    width: 100%;
    max-width: 500px;
}

.quote-form-hero h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-form-hero .form-group {
    margin-bottom: 25px;
}

.quote-form-hero label {
    display: block;
    margin-bottom: 8px;
    font-weight: 300;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-form-hero input,
.quote-form-hero select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1rem;
    background: #fff;
    color: #000;
    transition: border-color 0.3s ease;
    font-weight: 300;
    min-height: 50px;
}

.quote-form-hero input:focus,
.quote-form-hero select:focus {
    outline: none;
    border-color: #000;
}

.quote-form-hero input::placeholder {
    color: #999;
}

.quote-form-hero select option {
    background: #fff;
    color: #000;
}

/* Custom Select Buttons */
.select-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

/* Specific grid for fence type buttons - 3 across */
.select-buttons.type-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Specific grid for fence height buttons - 4 across */
.select-buttons.height-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Specific grid for gates buttons - 3 across */
.select-buttons.gates-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Specific grid for terrain buttons - 3 across */
.select-buttons.terrain-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.select-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    text-align: center;
    min-height: 90px;
}

.select-btn:hover {
    border-color: #000;
    background: #f8f8f8;
}

.select-btn[data-selected="true"] {
    border-color: #000;
    background: #000;
    color: #fff;
}

.select-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.select-btn span {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 2px;
}

.select-btn small {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 300;
}

.select-btn[data-selected="true"] small {
    opacity: 0.9;
}

/* Slider Styles */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e5e5e5;
    outline: none;
    margin: 10px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #000;
    cursor: pointer;
    border-radius: 0;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #000;
    cursor: pointer;
    border-radius: 0;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #666;
    margin-top: 5px;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    color: #000;
    margin-bottom: 10px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    margin-right: 10px;
    position: relative;
    background: #fff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gates-input-group {
    margin-top: 10px;
    padding-left: 28px;
}

/* Live Estimate Styles */
.live-estimate {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.estimate-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimate-label {
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.estimate-price {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
}

/* Fence Preview Styles */
.fence-preview {
    margin: 30px 0;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
}

.preview-container {
    text-align: center;
}

.fence-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 15px;
    position: relative;
}

.fence-panel {
    width: 20px;
    background: #8B4513;
    margin: 0 2px;
    transition: all 0.3s ease;
    position: relative;
}

.fence-panel::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: inherit;
}

.fence-panel::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: inherit;
}

/* Fence type variations */
.fence-panel.timber {
    background: linear-gradient(to bottom, #8B4513, #A0522D);
}

.fence-panel.colorbond {
    background: linear-gradient(to bottom, #2F4F4F, #696969);
}

.fence-panel.pool {
    background: linear-gradient(to bottom, #4682B4, #5F9EA0);
}

/* Roof Panel Styles */
.roof-panel {
    width: 30px;
    height: 40px;
    background-color: #2c3e50;
    border: 1px solid #1a252f;
    transition: all 0.3s ease;
    transform: skew(-10deg);
    margin: 0 1px;
    position: relative;
}

.roof-panel::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a252f;
    margin-top: 8px;
}

.roof-panel::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a252f;
    margin-top: 8px;
}

/* Plumbing Panel Styles */
.plumbing-panel {
    width: 50px;
    height: 30px;
    background: linear-gradient(45deg, #e5e5e5, #d0d0d0);
    border: 1px solid #ccc;
    margin: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.plumbing-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
}

.plumbing-panel.leak::before {
    background: #ff6b6b;
    box-shadow: 0 0 5px #ff6b6b;
}

.plumbing-panel.blocked::before {
    background: #8b4513;
}

.plumbing-panel.hotwater::before {
    background: #ff8c00;
    box-shadow: 0 0 5px #ff8c00;
}

.plumbing-panel.toilet::before {
    background: #4a90e2;
}

.plumbing-panel.emergency {
    background: linear-gradient(45deg, #ff6b6b, #ff8c00);
    animation: pulse 1s infinite;
}

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

/* Electrical Panel Styles */
.electrical-panel {
    width: 50px;
    height: 30px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border: 1px solid #ccc;
    margin: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.electrical-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 3px #ffd700;
}

.electrical-panel.powerpoints::before {
    background: #32cd32;
    box-shadow: 0 0 5px #32cd32;
}

.electrical-panel.lighting::before {
    background: #ffd700;
    box-shadow: 0 0 5px #ffd700;
}

.electrical-panel.switchboard::before {
    background: #ff4500;
    box-shadow: 0 0 5px #ff4500;
}

.electrical-panel.appliances::before {
    background: #9370db;
    box-shadow: 0 0 5px #9370db;
}

.electrical-panel.emergency {
    animation: electricalPulse 1.5s infinite;
}

@keyframes electricalPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Landscaping Panel Styles */
.landscaping-panel {
    width: 50px;
    height: 30px;
    background: linear-gradient(45deg, #90ee90, #7cfc00);
    border: 1px solid #228b22;
    margin: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.landscaping-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #228b22;
    border-radius: 50%;
}

.landscaping-panel.lawn::before {
    background: #228b22;
    box-shadow: 0 0 5px #228b22;
}

.landscaping-panel.garden::before {
    background: #ff6347;
    box-shadow: 0 0 5px #ff6347;
}

.landscaping-panel.paving::before {
    background: #696969;
    box-shadow: 0 0 5px #696969;
}

.landscaping-panel.retaining::before {
    background: #8b4513;
    box-shadow: 0 0 5px #8b4513;
}

.landscaping-panel.complexity-complex {
    background: linear-gradient(45deg, #ff6347, #ff4500);
}

.landscaping-panel.complexity-moderate {
    background: linear-gradient(45deg, #ffd700, #ffa500);
}

.preview-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fence-preview-hero {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #000;
}

.quote-result-hero .quote-details {
    width: 100%;
}

.quote-result-hero .quote-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.quote-result-hero .quote-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

.quote-result-hero .quote-item:last-child {
    border-bottom: none;
    font-weight: 400;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}

.quote-result-hero .quote-total {
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.quote-result-hero .lead-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.quote-result-hero .lead-form h4 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.quote-result-hero .lead-form .form-group {
    margin-bottom: 15px;
}

.quote-result-hero .lead-form input {
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #000;
}

.quote-result-hero .lead-form input::placeholder {
    color: #999;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: #000;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card li:before {
    content: "—";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Quote Display Styles for Hero Section */
.quote-details {
    width: 100%;
}

.quote-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

.quote-item:last-child {
    border-bottom: none;
    font-weight: 400;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}

.quote-total {
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.lead-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.lead-form h4 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lead-form .form-group {
    margin-bottom: 15px;
}

.lead-form input {
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #000;
}

.lead-form input::placeholder {
    color: #999;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item h4 {
    font-weight: 300;
    margin-bottom: 5px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.contact-item p {
    color: #666;
    font-size: 0.9rem;
}

.contact-form {
    background: #fff;
    padding: 50px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #000;
}

.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1rem;
    background: #fff;
    color: #000;
    transition: all 0.3s ease;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    font-weight: 300;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 10px;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section p,
.footer-section li {
    color: #999;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active a {
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }
    
    .nav-links.active a:last-child {
        border-bottom: none;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-quote-calculator {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .quote-form-hero {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .select-buttons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .select-buttons.type-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .select-buttons.height-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    
    .select-buttons.gates-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .select-buttons.terrain-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .select-btn {
        padding: 12px 8px;
        min-height: 70px;
    }
    
    .select-btn i {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .select-btn span {
        font-size: 0.8rem;
    }
    
    .select-btn small {
        font-size: 0.6rem;
    }
    
    .quote-form-hero input,
    .quote-form-hero select {
        padding: 12px 15px;
        min-height: 45px;
        font-size: 0.9rem;
    }
    
    .quote-form-hero .form-group {
        margin-bottom: 20px;
    }
    
    .fence-preview-hero {
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services,
    .contact {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-form {
    animation: fadeInUp 0.4s ease-out;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #e5e5e5;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.close {
    color: #666;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 300;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1rem;
    background: #fff;
    color: #000;
    transition: border-color 0.3s ease;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
}

.modal-body input:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #000;
}

.modal-body textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 100%;
        max-width: none;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body input,
    .modal-body textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        max-height: 96vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body p {
        font-size: 0.8rem;
    }
    
    .modal-body label {
        font-size: 0.7rem;
    }
    
    .modal-body input,
    .modal-body textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Local Content Styles */
.local-content {
    padding: 80px 0;
    background: #f8f8f8;
}

.local-content h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-text h4 {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 30px 0 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.content-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.content-text li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.content-text li:before {
    content: "—";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #000;
}

.image-placeholder p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Local Areas Styles */
.local-areas {
    padding: 80px 0;
    background: #fff;
}

.local-areas h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.local-areas > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

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

.area-item {
    background: #f8f8f8;
    padding: 30px;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: border-color 0.3s ease;
}

.area-item:hover {
    border-color: #000;
}

.area-item h4 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.area-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile responsive for local content */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .local-content,
    .local-areas {
        padding: 60px 0;
    }
    
    .content-text h3 {
        font-size: 1.3rem;
    }
    
    .content-text h4 {
        font-size: 1.1rem;
    }
    
    .image-placeholder {
        height: 200px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
