@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Vollkorn';
    src: url('fonts/Vollkorn-Regular-Latin.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
}

@font-face {
    font-family: 'Vollkorn';
    src: url('fonts/Vollkorn-Italic-Latin.woff2') format('woff2');
    font-weight: 400 900;
    font-style: italic;
}

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

/* Background: bright brown and red gradient */
body {
    font-family: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #e8c39e 0%, #df9898 100%);
    min-height: 100vh;
    padding: 80px 0;
    color: white;
}

/* Prevent horizontal scroll and add side padding */
html, body {
    width: 100%;
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.links-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

.header {
    margin-bottom: 40px;
}
.header img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: 20px;
}

.title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Vollkorn', serif;
    color: #473e35d3;
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Vollkorn', serif;
    color: #473e35d3;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    /* width: 100vw; */
    margin: 0;
    max-width: 100vw;
}

/* Softer, bottom-to-top gradient for card, with subtle side light */
.link-card {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    background: linear-gradient(180deg, #f9f9f9 70%, #f7e3d0 100%), linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(232, 195, 158, 0.12) 100%);
    background-blend-mode: lighten;
    border-radius: 20px;
    padding: 40px 15px 15px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 100%; */ /* Already set above */
    position: relative;
    margin-top: 35px;
    box-shadow: 0 6px 24px 0 rgba(80, 40, 20, 0.10), 0 1.5px 6px 0 rgba(80, 40, 20, 0.08);
    justify-content: space-between; /* Added to distribute space */
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, #fff 85%, #ffe3c2 100%), linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(232,195,158,0.18) 100%);
    background-blend-mode: lighten;
}

.link-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: white; */
    position: absolute;
    top: -28px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    /* border: 3px solid rgba(255, 255, 255, 0.8); */
}

.link-icon.ig {
    background-color: white;
    border-radius: 45%;
}

.link-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.link-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.link-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.link-button {
    background: #4285f4;
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Vollkorn', serif; /* Added font */
    margin-top: auto; /* Added to push button to bottom */
}

.link-button:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

/* Responsive - always 2 columns, never 1 */
@media (max-width: 900px) {
    .links-grid {
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .container {
        padding: 0;
    }
}
@media (max-width: 600px) {
    .links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 2px;
    }
    .container {
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .title, .subtitle {
        font-size: 1.5rem;
    }
    
    .links-grid {
        gap: 12px;
    }
    
    .link-card {
        padding: 30px 10px 15px 10px;
        min-height: 120px;
        margin-top: 25px;
    }
    
    .link-icon {
        border-radius: 50%;
        background-color: white;
        width: 50px;
        height: 50px;
        top: -25px;
    }
    
    .link-icon img {
        width: 35px;
        height: 35px;
    }
    
    .link-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .link-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

.web-logo {
    filter: hue-rotate(-160deg);
}

.app-stores-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between logos */
    margin-top: 40px; /* Space above this section */
    margin-bottom: 40px; /* Space below this section */
}

.app-store-link img {
    height: 50px; /* Adjust height as needed */
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-link:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Responsive adjustments for app store links */
@media (max-width: 480px) {
    .app-stores-container {
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .app-store-link img {
        height: 40px; /* Smaller logos on small screens */
    }
}

.footer-logos {
    text-align: center;
    padding: 20px 0;
}

.footer-logos img {
    height: 50px;
    margin: 0 10px;
}

.company-logo-in-card {
    width: 65px; /* Adjust size as needed */
    height: 35px; /* Adjust size as needed */
    object-fit: contain;
    margin-bottom: 8px; /* Space between logo and text below */
}

.chamber-link-red {
    color: #6b4f27;
}

.footer-text {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #7a6a5a; /* Lighter and softer brown */
    line-height: 1.6;
}

.footer-text p {
    margin-bottom: 8px;
}

.footer-text p:last-child {
    margin-bottom: 0;
}
