/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    outline: none;
    box-shadow: none;
}

html, body {
    height: auto;
    overflow-x: hidden;
    background-color: #000;
}

/* Navigation Styles */
nav {
    height: 80px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 2rem;
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 0 1.5rem;
    position: relative;
    transition: color 0.45s ease, transform 0.45s ease;
}

nav a:not(.logo)::after {
    content: '';
    display: block;
    height: 2px;
    background: #5ab074;
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.45s ease;
}

nav a:hover {
    color: #5ab074;
}

nav a:hover:not(.logo) {
    transform: translateY(-3px);
}

nav a:hover:not(.logo)::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 1rem;
    z-index: 4;
    padding: 10px;
}

.hamburger span {
    height: 3px;
    width: 30px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.45s ease;
}

.menu-toggle {
    display: none;
}

.menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
}

.nav-items {
    display: flex;
}

@media screen and (max-width: 768px) {
    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #000;
        z-index: 2;
    }
    
    .nav-items a {
        padding: 1rem;
        border-top: 1px solid #5ab074;
        transition: color 0.45s ease;
    }
    
    .hamburger {
        display: flex;
    }
    
    .menu-toggle:checked + .hamburger + .nav-items {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: url('images/background.jpg') no-repeat center center;
    background-size: cover;
    height: 95vh;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    padding: 3rem calc((100vw - 1300px) / 2);
    position: relative;
    z-index: 2;
}

.column-left, .column-right {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 0 2rem;
}

.column-left {
    flex-direction: column;
    align-items: flex-start;
}

.column-left h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.column-left p {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 1.5;
}

.start-button {
    padding: 1rem 3rem;
    font-size: 1rem;
    border: none;
    color: #000;
    background: #fff;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0px 0px 4px 5px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.45s ease;
}

.start-button:hover {
    background: #5ab074;
    color: #fff;
    box-shadow: 0 0 16px 10px rgba(90, 176, 116, 0.4);
}

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px 5px rgba(255, 255, 255, 1);
    margin-top: -30px;
    transform: scale(2);
    transition: transform 0.3s ease;
}

.badge-container:hover {
    transform: scale(2.1);
}

@media (max-width: 768px) {
    .badge-container {
        transform: scale(1.5);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px 5px rgba(110, 178, 214, 0.4);
    }
    100% {
        box-shadow: 0 0 15px 15px rgba(90, 176, 116, 0.8);
    }
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3rem calc((100vw - 1300px) / 2);
    margin: 2rem auto; 
    max-width: 1200px;
    background-color: #000;
    border: 2px solid #5ab074;
    animation: glow 4.5s infinite alternate;
}

.info {
    grid-column: 1 / -1;
}

.text {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem; 
}

.text h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    color: #5ab074;
}

.text p {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #fff;
    width: 100%;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    position: relative; 
}

.text p::before {
    content: '>';
    color: #5ab074;
    margin-right: 0.5rem;
}

.text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    height: 2px;
    background-color: #5ab074;
    z-index: -1;
    width: 100%;
    max-width: calc(100% - 4rem);
    margin: 0 auto;
}

/* Projects Section */
.projects {
    background-color: #000;
    padding: 3rem calc((100vw - 1300px) / 2);
    margin: 2rem auto;
    max-width: 1200px;
    color: #fff;
    text-align: center;
}

.projects h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 2rem 0;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    text-align: center; 
}

@keyframes projectCardGlow {
    0% {
        box-shadow: 0 0 5px 6px rgba(110, 181, 214, 0.6);
    }
    100% {
        box-shadow: 0 0 8px 7px rgba(95, 192, 121, 0.8);
    }
}

.project-card {
    flex: 1 1 calc(33.33% - 30px);
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #5ab074;
    border-radius: 5px;
    padding: 15px;
    margin: 15px;
    transition: transform 0.2s ease;
    animation: projectCardGlow 4.5s infinite alternate;
    text-align: center;
    cursor: pointer;
}

.project-card a {
    display: block;
    color: #5ab074;
    text-decoration: none;
    height: 100%;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

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

@media (max-width: 768px) {
    .project-card {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 480px) {
    .project-card {
        flex: 1 1 100%;
    }
}

/* Contact Section */
#contact {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border: 2px solid #5ab074;
    border-radius: 8px;
    max-width: 600px;
    margin: 10rem auto;
    animation: glow 4.5s infinite alternate;
}

#contact h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}


form {
    display: flex;
    flex-direction: column;
}

p {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #5ab074;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    background-color: #000;
}

textarea {
    resize: vertical;
}

button {
    padding: 1rem 3rem;
    font-size: 1rem;
    border: none;
    color: #000;
    background: #fff;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0px 0px 4px 5px rgba(255, 255, 255, 0.2);
    transition: all 0.45s ease;
}

button:hover {
    background: #5ab074;
    color: #fff;
    box-shadow: 0 0 16px 10px rgba(90, 176, 116, 0.4);
}

/* Utility Classes */
.d-none {
    display: none;
}

/* Footer Section */
footer {
    background: #5ab074;
    color: #000;
    padding: 1rem 1rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    z-index: -1;
    animation: glow 4.5s infinite alternate;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 1rem;
}

.footer-content p {
    margin: 0; 
    flex: 1;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-icons a img {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}
