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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    opacity: 80%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 140px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    order: 3;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ccc;
}

.call-button {
    background: #ff0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.call-button.desktop-call {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
}

.call-button:hover {
    background: #c00000;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: rgb(255, 0, 0);
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section with Image and Text */
.image-text-section {
    display: flex;
    align-items: center;
    min-height: 500px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 60px;
}

.image-text-section.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1f2937;
    line-height: 1.2;
}

.text-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
}

.checklist {
    list-style: none;
    margin-bottom: 20px;
}

.checklist li {
    padding: 8px 0;
    font-size: 16px;
    color: #4b5563;
    position: relative;
    padding-left: 30px;
}

.checklist li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
    transition: all 0.5s ease;
}

.checklist li.active {
    color: #1f2937;
    font-weight: 600;
}

.checklist li.active:before {
    color: #ff0000;
    transform: scale(1.3);
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
}

/* Comparison Table Section */
.comparison-section {
    display: flex;
    align-items: center;
    min-height: 500px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 60px;
    max-width: 1200px;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0; 
    align-items: center;
    gap: 60px;
    width: 100%;
}

.comparison-text {
    flex: 1;
}

.comparison-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1f2937;
    line-height: 1.2;
}

.comparison-text p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: #1f2937;
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 14px;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:hover {
    background: #f9fafb;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th:nth-child(5),
.comparison-table td:nth-child(5) {
    background: #f3f4f6;
}

.comparison-table tr:hover td:nth-child(5) {
    background: #e5e7eb;
}

.checkmark {
    color: #10b981;
    font-size: 16px;
    font-weight: bold;
}

.logo-cell {
    text-align: center;
}

.logo-cell img {
    width: 80px;
    height: auto;
}

.comparison-image {
    flex: 1;
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Final CTA Section */
.final-cta {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/aerial-homes.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.final-cta-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.final-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #e5e7eb;
    padding: 60px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
}

.footer-logo {
    display: block;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 25px;
    align-self: center;
}

.social-links img {
    width: 50px;
    height: auto;
}

.social-links a {
    display: block;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-sections {
    display: flex;
    align-items: center;
    gap: 100px;
    flex: 1;
    justify-content: flex-end;
}

.footer-section {
    min-width: 200px;
    align-items: center;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
    font-size: 16px;
}

.footer-section p,
.footer-section a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    margin-bottom: 5px;
}

.footer-section a:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .call-button.desktop-call {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        font-size: 16px;
        padding: 10px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .image-text-section {
        flex-direction: column;
        margin: 40px auto;
        gap: 30px;
    }

    .image-text-section.reverse {
        flex-direction: column;
    }

    .text-content h2 {
        font-size: 28px;
    }

    .comparison-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .comparison-text h2 {
        font-size: 28px;
    }

    .comparison-text {
        width: 100%;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .comparison-table {
        font-size: 11px;
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
        white-space: nowrap;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        white-space: normal;
        min-width: 120px;
    }

    .logo-cell img {
        width: 80px;
        margin-left: 10px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .final-cta p {
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .footer-sections {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        width: 100%;
    }
    
    .footer-logo img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .text-content h2 {
        font-size: 24px;
    }

    .comparison-text h2 {
        font-size: 24px;
    }

    .final-cta h2 {
        font-size: 24px;
    }

    .placeholder-image {
        height: 250px;
        font-size: 14px;
    }
}