@import url('https://fonts.google.com/specimen/Poppins?family=P');

:root {
    --primary-color: #20B2AA;
    --primary-color-dark: #13bbb3;
    --secondary-color: #faf5ff;
    --text-dank: #020202;
    --text-light: #6b7280;
    --extra-light:#ADD8E6;
    --max-width: 1200px;
}
* {
    padding: 0; 
    margin: 0; 
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; */
    background-color: #111827; /* Optional: Match Tailwind's bg-gray-900 */
}

/* Navbar */
nav {
    width: 100%;
    position: fixed;
    top: 0; 
    left: 0;
    background-color: #AFEEEE;
    z-index: 99;
}
    
.nav__content {
    max-width: var(--max-width);
    margin: auto;
    padding: 1.5rem 1rem;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

nav .logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: 0.3s;
}
    
nav .logo a:hover {
    color: var(--primary-color-dark);
}

nav .checkbox {
    display: none;
}

nav input{
    display: none;
}

nav .checkbox i {
    font-size: 2rem; 
    color: var(--primary-color);
    cursor: pointer;
}

ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: left 0.3s; 
    list-style: none;
}

ul li a {
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    text-decoration: none; 
    font-weight: 600;
    color: var(--text-dark);
    transition: 0.3s;
}
    
ul li a:hover {
    border-top-color: var(--secondary-color); 
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Project Cards */
.project-card {
    background-color: #4a515c;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures spacing between content and buttons */
    height: 100%; /* Ensures uniform height for all cards */
}

.project-card p {
    flex-grow: 1; /* Allows text to take up remaining space, pushing buttons down */
}

.project-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.divider {
    border-top: 1px dashed #20B2AA;
    margin: 10px 0;
}

.project-button {
    display: inline-block;
    background-color: #20B2AA;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 10px;
    transition: 0.4s ease-in-out;
    text-align: center;
}

.project-button:hover {
    background-color: #ffffff;
    color: #20B2AA;
}

/* Footer Styling */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 0;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 2.5s ease-out;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

footer .social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: var(--secondary-color);
}
    
@media (width < 750px) {
    nav .checkbox{
        display: block;
    }
    ul{
        position: absolute;
        width: 100%;
        height: calc(100vh - 85px);
        left: -100%; 
        top: 85px;
        background-color: var(--extra-light);
        flex-direction: column; 
        justify-content: center;
        gap: 3rem;
    }
    nav #check:checked ~ ul {
        left: 0;
    }
    ul li a {
        font-size: 1.25rem;
    }
    .section__container{
        padding: 10rem 1rem 5rem 1rem; 
        text-align: center;
        grid-template-columns: repeat (1, 1fr);
    }
    .image{
        grid-area: 1/1/2/2;
    }
    .action__btns {
        margin: auto;
    }    
}
