@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* =======================
   Global
   ======================= */

:root {
    --primary: #3a6cf4;
    --primary-dark: #0a49f6;
    --accent: #4e9eff;
    --bg-light: #f0f0f0;
    --bg-dark: #060635;
    --text-main: #111;
    --text-muted: #555;
    --white: #ffffff;
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    background-color: #ffffff;
    color: var(--text-main);
    max-width: 100%;
    overflow-x: hidden; /* safety: no horizontal scroll */
}

/* Visually hidden (for SEO / accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =======================
   Header / Navigation
   ======================= */

header {
    background-color: rgba(240, 240, 240, 0.96);
    backdrop-filter: blur(6px);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px; /* smaller so it fits on laptop */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
    letter-spacing: 1px;
}

.navigation a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 500;
    padding-left: 24px;
    position: relative;
    transition: color 0.3s ease;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navigation a:hover {
    color: #601cfc;
}

.navigation a:hover::after {
    width: 60%;
}

/* =======================
   Sections
   ======================= */

section {
    padding: 100px 20px;
}

/* =======================
   HERO / MAIN
   ======================= */

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;

    background:
        linear-gradient(120deg, rgba(6, 6, 53, 0.92), rgba(10, 73, 246, 0.45)),
        url("images/background.png") top center no-repeat;
    background-size: cover;

    padding-top: 120px;   /* clear fixed header */
    padding-bottom: 80px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-content {
    flex: 1 1 320px;
    max-width: 580px;
    z-index: 1;
}

.hero-photo {
    flex: 0 1 320px;
    display: flex;
    justify-content: center;
}

.hero-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 18px;
    display: block;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.main h2 {
    color: var(--white);
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: block;
    margin-top: 10px;
    color: var(--accent);
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.15;
}

.main h3 {
    color: var(--white);
    font-size: 1.6em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 15px;
    margin-bottom: 30px;
    max-width: 550px;
}

.main-btn {
    color: var(--white);
    background-color: var(--primary);
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9em 2.3em;
    border-radius: 999px;
    margin-bottom: 35px;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(10, 73, 246, 0.35);
}

.main-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(10, 73, 246, 0.45);
}

.social-icons a {
    color: var(--white);
    font-size: 1.7em;
    padding-right: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* =======================
   Generic Cards / About
   ======================= */

.title {
    display: flex;
    justify-content: center;
    color: var(--primary);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    width: 21.25em;
    max-width: 100%;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 0.08);
    border-radius: 12px;
    padding: 25px 22px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.icon {
    color: var(--primary);
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 10px;
}

.info {
    text-align: center;
}

.info h3 {
    color: var(--primary);
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px 0;
}

.info p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
    text-align: left;
}

/* =======================
   Businesses Section
   ======================= */

.Businesses {
    background-color: var(--bg-dark);
}

.Businesses .title {
    color: var(--white);
}

.Businesses .content {
    margin-top: 30px;
}

.Business-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    min-height: 14em;
    width: 23em;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.Business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.Business-card:hover .Business-image {
    opacity: 0.95;
}

/* Business Image */
.Business-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #ddd;
}

.Business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Business-info {
    padding: 1em 1.1em 1.3em;
}

.Business-category {
    font-size: 0.9em;
    color: #000;
    line-height: 1.6;
}

.Business-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 12px;
    font-size: 0.9em;
}

.Business-title span {
    color: #000;
}

.More-Details {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.More-Details:hover {
    color: #601cfc;
}

/* =======================
   Contact Section
   ======================= */

.cards.contact {
    background-color: #ffffff;
}

.contact .icon {
    font-size: 3.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.1em;
    color: var(--text-muted);
}

/* =======================
   Footer
   ======================= */

.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 1.8em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-title {
    font-size: 1.1em;
    font-weight: 600;
}

.footer-title span {
    color: var(--primary);
}

.footer .social-icons a {
    color: var(--white);
    font-size: 1.4em;
    padding-right: 15px;
}

.footer .social-icons a:hover {
    color: var(--accent);
}

/* =======================
   Responsive Styles
   ======================= */

@media (max-width: 1023px) {
    header {
        padding: 10px 16px;
    }

    .navigation a {
        padding-left: 16px;
        font-size: 0.95em;
    }

    section {
        padding: 90px 16px;
    }

    .main {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
    }

    .main h2 {
        font-size: 1.1em;
    }

    .main h2 span {
        font-size: 2.2em;
    }

    .main h3 {
        font-size: 1.4em;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 641px) {
    body {
        font-size: 12px;
    }

    .main {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-photo {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-photo img {
        max-width: 240px;
    }

    .main h2 {
        font-size: 0.95em;
    }

    .main h2 span {
        font-size: 1.9em;
    }

    .main h3 {
        font-size: 1.2em;
    }

    .Business-card {
        width: 100%;
        max-width: 360px;
    }

    .card {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 300px) {
    body {
        font-size: 10px;
    }
}
