* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
.header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

.logo {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #FFD700;
}

.contact-us-btn {
    background-color: #FFD700;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.contact-us-btn:hover {
    background-color: #FFC700;
}

/* Hero Section */
.hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: #FFD700;
    color: #1a1a1a;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #FFC700;
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: #666;
}

/* Benefits Section */
.benefits {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

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

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.benefit-card h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 18px;
}

.benefit-card p {
    color: #666;
}

/* Apartments Gallery Section */
.apartments {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
}

.apartments h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.apartment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.apartment-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.apartment-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e0e0e0;
}

.apartment-info {
    padding: 15px;
    text-align: center;
}

.apartment-info h3 {
    color: #1a1a1a;
    margin-bottom: 5px;
}

.apartment-info p {
    color: #666;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

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

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-body h2 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.modal-gallery {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.modal-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-image:hover {
    transform: scale(1.05);
}

.modal-video {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    margin: 15px 0;
}

#modalDescription {
    color: #666;
    margin-top: 15px;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step h3 {
    color: #1a1a1a;
    margin-bottom: 10px;
}

.step p {
    color: #666;
}

/* Footer Certificate Badges */
.footer-certs {
    display: flex !important;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
    min-height: 60px;
}

.cert-link {
    display: inline-flex !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.cert-link:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cert-badge-box {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Footer Main Content */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

/* Payment Icons */
.payment-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.payment-icon {
    width: 40px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
}

.testimonials h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #FFD700;
}

.testimonial p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial h4 {
    color: #1a1a1a;
}

/* Contact Section */
.contact-section {
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    position: relative;
}

.contact-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.contact-overlay h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.submit-button {
    background-color: #FFD700;
    color: #1a1a1a;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: #FFC700;
    transform: scale(1.02);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Direct Contact Section */
.direct-contact {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: #f9f9f9;
}

.direct-contact h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.direct-contact p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.contact-details {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    background-color: #FFD700;
    color: #1a1a1a;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.contact-link:hover {
    background-color: #FFC700;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


/* Social Icons */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.social-icon:hover {
    background-color: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon.facebook,
.social-icon.instagram,
.social-icon.linkedin,
.social-icon.website {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .apartments-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
    }
}

/* Professional Carousel Modal */
.modal-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-height: 600px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #FFD700;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.modal-details h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 28px;
}

.video-section {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.modal-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.modal-details .cta-button {
    align-self: flex-start;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
        max-height: none;
    }

    .carousel-container {
        height: 350px;
    }

    .modal-details {
        max-height: none;
    }
}

/* Testimonial Ratings */
.testimonial .rating {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}


/* Footer Text */
.footer-text {
    text-align: center;
    padding-top: 15px;
}

.footer-text p {
    margin: 5px 0;
    font-size: 13px;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-certs {
        gap: 15px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
    }

    .footer-column {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .payment-icons {
        justify-content: center;
    }

    .cert-badge-svg {
        height: 45px;
        width: 45px;
    }

    .payment-icon {
        width: 36px;
        height: 26px;
        font-size: 9px;
    }

    .footer-text p {
        font-size: 12px;
    }
}
