/* Main Stylesheet for MakeItEase Property Solutions Website */

:root {
    --primary: #2c6e49;
    --primary-light: #4c956c;
    --secondary: #ffc145;
    --dark: #1a1a1a;
    --light: #ffffff;
    --light-gray: #f9f9f9;
    --mid-gray: #e0e0e0;
    --text: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 110, 73, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(255, 193, 69, 0.3);
}

.btn-secondary:hover {
    background: #ffb521;
    box-shadow: 0 6px 15px rgba(255, 193, 69, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
    color: var(--primary);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1400/650') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light);
    margin-top: 76px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-badge {
    position: absolute;
    background: var(--secondary);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    margin-right: 10px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--light);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-features {
    margin-bottom: 20px;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.service-feature i {
    color: var(--primary);
    margin-right: 10px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    display: block;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--secondary);
    border-radius: 15px;
    z-index: -1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background: var(--primary);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
}

.feature-icon i {
    font-size: 20px;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
    font-weight: 600;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Process Section */
.process {
    background-color: var(--light-gray);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    background: var(--primary);
    color: var(--light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
    position: relative;
    z-index: 2;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.step p {
    color: var(--text-light);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(rgba(44, 110, 73, 0.9), rgba(44, 110, 73, 0.9)), url('/api/placeholder/1400/500') center/cover fixed no-repeat;
    color: var(--light);
}

.testimonials .section-title h2 {
    color: var(--light);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-rating {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.client-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.client-name {
    font-weight: 700;
    color: var(--light);
    font-size: 1.2rem;
}

.client-position {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Blog Section */
.blog {
    background-color: var(--light-gray);
}

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

.blog-card {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.cta-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.cta-form button {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 15px 30px;
    border-radius: 0 50px 50px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-form button:hover {
    background-color: #ffb521;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-details {
    margin-top: 30px;
}

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

.contact-icon {
    background: var(--primary);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
}

.contact-icon i {
    font-size: 20px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    background: var(--primary);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: var(--primary-light);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--mid-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 80px 0 20px;
    color: var(--light);
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    font-size: 28px;
    margin-right: 10px;
    color: var(--secondary);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links ul li a i {
    margin-right: 10px;
    font-size: 12px;
    color: var(--secondary);
}

.footer-links ul li a:hover {
    color: var(--light);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2, .about-text h2, .cta h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
        margin-bottom: 30px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }
    
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: auto;
        right: auto;
        bottom: -25px;
        left: 50%;
        width: 3px;
        height: 50px;
        transform: translateX(-50%);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .header-content {
        padding: 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--light);
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        height: 300px;
        padding: 20px;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-form input, 
    .cta-form button {
        width: 100%;
        border-radius: 50px;
    }
    
    .cta-form input {
        margin-bottom: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2, 
    .about-text h2, 
    .cta h2, 
    .contact-info h3, 
    .contact-form h3 {
        font-size: 1.8rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .service-img {
        height: 180px;
    }
}