@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

::selection {
  background-color: #888888;
  color: #ffffff;
}
::-moz-selection {
  background-color: #888888;
  color: #ffffff;
}

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

body {
    font-family: 'Noto Serif', serif;
    background-color: #fff;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
}

header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

hr {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    width: 100px;
    margin: auto;
}



.logo img {
    height: 40px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .active a {
    background-color: rgba(16, 40, 80, 0.7);
}

.social-link a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.social-link i {
    margin-right: 8px;
}

/* humberger */
.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
}


.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/fablab.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.hero-content {
    max-width: 800px;
}
.hero-content blockquote {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-content cite {
    display: block;
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ccc;
    font-style: normal;
}

/* ======== */
/* = main = */
/* ======== */
main {
    background-color: #ffffff;
}

.container {
    padding: 3rem 1rem;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4rem;
}

.bg-gray {
    background-color: #f8f8f8;
}
.bg-white {
    background-color: #ffffff;
}

/* home */
.home-content {
    padding: 5rem 0;
    background-color: #fff;
}

/* content wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}
.content-wrapper h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 3rem;
    text-align: center;
}
.content-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #444;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.content-wrapper p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* list */
.focus-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
}
.focus-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
}
.focus-list li::before {
    content: '-';
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    flex-basis: 350px;
    flex-grow: 0;
    background-color: #fff;
    border-radius: 12px;
    padding: 0 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);

    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #2c3e50;
}
.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* contact */
.contact-block {
    margin-top: 2.5rem;
}
.contact-block a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.contact-block a:hover {
    text-decoration: underline;
}


/* ============== */
/* === footer === */
footer {
    background-color: #121212;
    color: #e0e0e0;
    padding: 4rem 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.tagline p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
}

.search-form {
    display: flex;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}

.search-form input {
    background-color: white;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #333;
    min-width: 250px;
}
.search-form input:focus {
    outline: none;
}

.search-form button {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 0 1.2rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #444;
}

.footer-logo {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 2rem 0;
}

.footer-logo img {
    max-width: 300px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-nav a,
.footer-social a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-social i {
    margin-right: 8px;
}


/* == media queries == */
@media (max-width: 1024px) {

    h2,h3,h4,p {
        text-align: center;
    }
    .navbar, .social-link {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .navbar.active {
        display: block;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
    }

    .navbar.active ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-content blockquote {
        font-size: 2rem;
    }

    .hero-content cite {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    /* .services-grid {
        grid-template-columns: repeat(2, 1fr);
    } */
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-top {
        gap: 2.5rem;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .content-wrapper h2 {
        font-size: 2.2rem;
    }
    .content-wrapper h4 {
        font-size: 1.1rem;
    }
    .content-wrapper h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
        width: 350px;
        flex-basis: 350px;
    }
}