/* Roofing Page Styles */

/* Hero Section */
.hero-section-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .hero-section-bg {
        background-attachment: scroll;
        min-height: 400px !important;
    }
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Material Cards */
.material-card {
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Process Steps */
.process-step .step-number {
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1);
}

/* Form Styles */
.estimate-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2A8347;
    margin-bottom: 1rem;
}

.estimate-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2A8347, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    font-size: 1.2rem;
}

.trust-label {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 0.9rem;
}

.contact-form-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2A8347;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.form-group-modern {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2A8347;
    z-index: 2;
}

.form-control-modern {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.form-control-modern:focus {
    outline: none;
    border-color: #2A8347;
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(42, 131, 71, 0.25);
}

.btn-estimate {
    background: linear-gradient(135deg, #2A8347, #4CAF50);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-estimate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 131, 71, 0.4);
    color: white;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}



/* Responsive Design */
@media (max-width: 768px) {
    .estimate-main-title {
        font-size: 2rem;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
    }

    .contact-form-modern {
        padding: 1.5rem;
    }



    .material-image {
        height: 200px !important;
    }

    .material-content {
        padding: 1rem !important;
    }

    .service-image {
        height: 180px !important;
    }

    .service-content {
        padding: 1rem !important;
    }
}

/* Utility Classes */
.text-success {
    color: #2A8347 !important;
}

.bg-success {
    background-color: #2A8347 !important;
}

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

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Image Hover Effects */
.img-fluid {
    transition: transform 0.3s ease;
}

.estimate-image img:hover {
    transform: scale(1.02);
}

/* Content Box Styles */
.content-box {
    transition: box-shadow 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.highlight-box {
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 131, 71, 0.2);
}

/* CTA Box */
.cta-box {
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}