/* Enhanced Landing Page Styles */

/* Hero Section Background Fix */
.section-header .image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #2c3e50 !important; /* Fallback color */
    min-height: 100vh !important;
}

/* Hero background with gradient fallback */
.hero-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%), 
                url('assets/img/header-1.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Ensure background is visible */
.section-header .parallax {
    background-color: #2c3e50;
}

/* Hero content visibility */
.section-header .content {
    z-index: 10;
    position: relative;
}

/* Hero Section Enhancements */
.hero-title {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: "✓";
    color: #fc8e45;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section */
.about-content {
    padding: 20px 0;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    margin-bottom: 25px;
    padding: 15px 0;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: #333;
}

.feature-item i {
    margin-right: 10px;
    font-size: 1.2em;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonial Cards */
.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p:before {
    content: """;
    font-size: 3em;
    color: #fc8e45;
    position: absolute;
    left: -10px;
    top: -10px;
    font-family: serif;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-info h5 {
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.author-info p {
    color: #777;
    font-size: 0.9em;
    margin: 0;
}

/* Contact Section */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px 0;
}

.contact-item i {
    font-size: 1.5em;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item h5 {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Smooth Scrolling */
.scroll-to-section {
    transition: all 0.3s ease;
}

.scroll-to-section:hover {
    color: #fc8e45 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

.section-gray {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .button-get-started a {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fc8e45;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Enhancements */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #fc8e45;
    box-shadow: 0 0 0 0.2rem rgba(252, 142, 69, 0.25);
}

/* Icon Enhancements */
.info-icon .icon {
    transition: all 0.3s ease;
}

.service-card:hover .info-icon .icon {
    transform: scale(1.1);
}

/* Footer Enhancements */
.footer {
    background: #2c3e50 !important;
}

.footer .title {
    color: #ecf0f1 !important;
}

.footer nav > ul a {
    color: #bdc3c7 !important;
    transition: color 0.3s ease;
}

.footer nav > ul a:hover {
    color: #fc8e45 !important;
}
