/* RESET & BASICS */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: 'Playfair Display', serif; color: #0a2540; } /* Navy Blue */
h1 { font-size: 2.5rem; margin-bottom: 10px; }
h2 { font-size: 2rem; margin-bottom: 30px; }
a { text-decoration: none; }

/* HERO SECTION */
.hero {
    background-color: #fff;
    padding: 60px 20px;
    border-bottom: 1px solid #eee;
}
.header-socials {
    margin-top: 25px; /* Adds space between text and icons */
}

.header-socials a {
    color: #0a2540;       /* Navy Blue */
    font-size: 1.6rem;    /* Good visible size */
    margin: 0 12px;       /* Space between icons */
    transition: all 0.2s ease;
    display: inline-block;
}

.header-socials a:hover {
    color: #555;          /* Turns grey on hover */
    transform: translateY(-3px); /* Floats up slightly */
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 20px;
    border: 3px solid #0a2540;
}
.tagline {
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}
.bio-snippet { color: #888; max-width: 600px; margin: 0 auto; }

/* CARDS SECTION (The Fork) */
.business-hub { padding: 60px 20px; }
.cards-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Stacks nicely on mobile */
}
.card {
    background: white;
    padding: 40px 30px; /* adjusted padding for better breathing room */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px; /* Prevents squishing on small screens */
    max-width: 450px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    color: #333;

/* NEW FLEX SETTINGS FOR ALIGNMENT */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything horizontally */
    justify-content: space-between; /* Pushes button to bottom, logo to top */
    text-align: center;
    height: 100%; /* Forces both cards to be equal height */
}
.card-logo {
    display: block;
    width: 100%;
    
    /* This controls the max size */
    max-width: 220px; 
    
    /* This ensures tall logos don't get squished */
    height: 120px; 
    
    /* This keeps the logo sharp inside the box */
    object-fit: contain; 
    
    margin-bottom: 25px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #0a2540;
}
.icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; }
.card p { margin-bottom: 25px; color: #666; }
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4f4f4;
    color: #0a2540;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}
.card:hover .btn { background-color: #0a2540; color: white; }

/* FORM SECTION */
.contact { background-color: #fff; padding: 60px 20px; border-top: 1px solid #eee; }
form { max-width: 500px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #0a2540;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}
.submit-btn:hover { background-color: #333; }

/* FOOTER */
footer {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #888;
    font-size: 0.9rem;
}
.footer-links a { color: #0a2540; font-weight: bold; margin: 0 5px; }
