* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #2FA84F;
    --light-green: #6BCF8E;
    --yellow: #FFC61A;
    --blue: #5A7FBF;
    --brown: #8B4A22;
    --black: #000000;
    --white: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation - Same as other pages */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-img {
    height: 80px;
    width: auto;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--green);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--green);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--green);
}

.hamburger:hover span {
    background: var(--green);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(47, 168, 79, 0.1) 100%);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.menu-overlay.active {
    right: 0;
}

.menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.menu-close:hover {
    background: var(--green);
    transform: rotate(90deg);
}

.menu-links {
    list-style: none;
    width: 100%;
}

.menu-links li {
    margin: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.menu-overlay.active .menu-links li {
    opacity: 1;
    transform: translateX(0);
}

.menu-links li:nth-child(1) { transition-delay: 0.1s; }
.menu-links li:nth-child(2) { transition-delay: 0.15s; }
.menu-links li:nth-child(3) { transition-delay: 0.2s; }
.menu-links li:nth-child(4) { transition-delay: 0.25s; }
.menu-links li:nth-child(5) { transition-delay: 0.3s; }
.menu-links li:nth-child(6) { transition-delay: 0.35s; }

.menu-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 1rem 1.5rem;
    border-left: 4px solid transparent;
}

.menu-links a:hover {
    color: var(--green);
    border-left-color: var(--green);
    padding-left: 2rem;
    background: rgba(47, 168, 79, 0.1);
}

/* Hero Section */
.residential-hero {
    position: relative;
    height: 90vh;
    margin-top: 82px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 168, 79, 0.8), rgba(90, 127, 191, 0.6));
    display: flex;
    align-items: center;
}

.hero-text {
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--yellow);
    color: var(--black);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 198, 26, 0.4);
}

.hero-cta:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 198, 26, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scrollDot {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--green);
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Overview Section */
.overview-section {
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content {
    padding-right: 2rem;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.overview-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.overview-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 0.95rem;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(47, 168, 79, 0.4);
}

/* Features Section */
.features-section {
    background: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(47, 168, 79, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Housing Types */
.housing-types {
    background: var(--white);
}

.types-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.type-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--gray);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.type-image {
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.6);
    transition: transform 0.5s ease;
}

.type-card:hover .type-image img {
    transform: scale(0.6);
}

.type-content {
    padding: 3rem 3rem 3rem 0;
}

.type-content h3 {
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.type-content > p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.type-features {
    list-style: none;
    margin-bottom: 2rem;
}

.type-features li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.type-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.type-cta:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}

/* Technology Section */
.technology-section {
    background: var(--gray);
}

.tech-showcase {
    margin-top: 3rem;
}

.tech-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.tech-item.reverse {
    direction: rtl;
}

.tech-item.reverse > * {
    direction: ltr;
}

.tech-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.tech-details {
    position: relative;
}

.tech-number {
    font-size: 5rem;
    font-weight: bold;
    color: rgba(47, 168, 79, 0.1);
    position: absolute;
    top: -30px;
    left: -20px;
}

.tech-details h3 {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.tech-details p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.tech-benefits {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: var(--green);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Projects Gallery */
.projects-gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--yellow);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, var(--green), var(--light-green));
    color: var(--white);
}

.pricing-section .section-title {
    color: var(--white);
}

.pricing-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.price-card {
    background: var(--white);
    color: var(--black);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--yellow);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--black);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--green);
}

.price-amount {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--green);
}

.price-desc {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    padding: 0.8rem 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.price-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-btn:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--gray);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-info h2 {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.form-info p {
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
}

.detail-item .icon {
    font-size: 2rem;
}

.detail-item h4 {
    color: var(--green);
    margin-bottom: 0.3rem;
}

.detail-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.submit-btn {
    padding: 1.2rem 3rem;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(47, 168, 79, 0.3);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: 180px;
}

.footer-tagline {
    color: var(--light-green);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--green);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--green);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--green);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .overview-grid,
    .tech-item {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .type-card {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .residential-hero {
        height: 70vh;
    }
    
    .features-grid,
    .pricing-cards,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-overlay {
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}