/* Reset & Base Styles */
:root {
    --primary-color: #005f73;
    /* Deep Teal */
    --primary-hover: #0a9396;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --font-sans: 'Inter', sans-serif;
    --transition-base: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.main-header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.utility-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content & Grid */
.main-content {
    padding: 2rem 0 4rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Property Card */
.property-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #e5e7eb;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Demo Placeholder */
.demo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
}

.demo-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.property-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.action-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.action-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 6px -1px rgba(0, 95, 115, 0.3);
}

.action-btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: translateX(4px);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Policy Content */
.policy-content {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content & Grid */
.main-content {
    padding: 2rem 0 4rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Property Card */
.property-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #e5e7eb;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Demo Placeholder */
.demo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
}

.demo-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.property-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.action-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.action-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 6px -1px rgba(0, 95, 115, 0.3);
}

.action-btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: translateX(4px);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Policy Content */
.policy-content {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content b,
.policy-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Support Page Styles */
.support-content {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

.support-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.support-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.support-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.support-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.support-section ul,
.support-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.support-section li {
    margin-bottom: 0.5rem;
}

/* Support Image Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.support-img-wrapper {
    background-color: #f9fafb;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: var(--transition-base);
}

.support-img-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.support-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-md) - 4px);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    text-align: left;
}

.custom-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.custom-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-color);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Alerts */
.info-alert {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.info-alert strong {
    color: var(--primary-color);
}