/* Home */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px 0 150px;
}

.home-contents h1 {
    font-size: 2.8rem;
    line-height: 60px;
    margin-bottom: 12px;
    color:black;
}

.home-contents p {
    width: 500px;
    line-height: 25px;
    text-align: justify;
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 35px;
    color:#181E1B;
}

.btn {
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 25px;
    border-radius: 10px;
    border: none;
    background-color: black;
    color: white;
    align-items: center;
    transition: 0.5s;
    text-decoration: none;
}

.btn:hover{
    background-color: #333;
}

.home-img img {
    width: 490px;
}

/* Roadmaps */
.roadmaps {
    padding: 20px 150px 0 150px;
}

.title-content {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    color:black;
}

.roadmaps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.roadmaps-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 3px 3px 10px #00000050;
    border-radius: 10px;
    padding: 20px;
    transition: 0.8s;
}

.roadmaps-card a {
    text-decoration: none;
    color: black;
}

.roadmaps-card img {
    width: 62px;
    margin-bottom: 10px;
}

.roadmaps-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

.roadmaps-card:hover {
    transform: scale(1.05);
}

/* Explore Your Path */
.overview {
    padding: 90px 150px 0 150px;
}

.overview h1 {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 50px;
    color:#010000;
}

.overview ul {
    list-style-type: none;
}

.overview ul li {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 1px solid #729db4;
    box-shadow: 3px 3px 10px #00000050;
    margin-bottom: 13px;
    line-height: 1.5em;
    transition: 0.5s;
}

.overview b {
    color: #365566;
}

.overview ul li:hover {
    transform: scale(1.01);
}


/* Why Roadmap */
.why-roadmap {
    padding: 80px 150px 0 150px;
}

.why-roadmap h1 {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 50px;
    color:#010000;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.why-card {
    text-align: center;
}

.why-card h4 {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #729db4;
    font-size: 1.1rem;
    font-weight: 500;
    height: 100%;
}

/* Contact */
.contact {
    padding: 85px 150px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-media p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.icon a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: black;
    transition: 0.5s;
}

.icon a:hover {
    color: #365566;
}

form {
    width: 500px;
    display: flex;
    align-items: center;
}

.inputBox input {
    width: 100%;
    padding: 18px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 3px 3px 10px #00000050;
    border-left: 1px solid #729db4;
    border-radius: 10px;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
}

.contact-btn a {
    text-decoration: none;
}

/* Search Bar */
.search-container {
    margin-bottom: 20px;
}

#search-input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .header {
        padding: 20px 50px;
    }

    .home, .roadmaps, .overview, .why-roadmap, .contact {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 992px) {
    .home {
        flex-direction: column;
        text-align: center;
    }

    .home-contents p {
        width: 100%;
    }

    .home-img {
        display: none;
    }

    .contact-container {
        flex-direction: column;
    }

    form {
        width: 100%;
        margin-top: 30px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        margin: 1rem 0;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .home-contents h1, .overview h1, .why-roadmap h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    form {
        flex-direction: column;
    }

    .inputBox input {
        margin-right: 0;
        margin-bottom: 10px;
    }
}