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

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    font-size: 14px;
    background-color: #0096c7;
    padding: 20px;
}

a { color: #fdf0d5; text-decoration: none; }

header {
    background-color: #03045e;
    color: #ade8f4;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: auto;
}

header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    height: 40px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: 0.3s ease;
    display: block;
    object-fit: contain;
}

.logo img:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.9em;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #023e8a;
}

.nav-links {
    background-color: #023e8a;
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 1;
}

.nav-toggle {
    display: none;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    z-index: 3;
}

.nav-toggle-label span {
    display: block;
    height: 4px;
    width: 100%;
    background: #edd5fd;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger {
    width: 25px;
    height: 3px;
    color: #333;
    display: block;
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    color: #333;
    position: absolute;
    left: 0;
    transition: 0.3s;
}
.hamburger::before {
    top: -8px;
}
.hamburger::after {
    top: 8px;
}

.social-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
}
.social-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
    justify-content: center;
}
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px #00000033;
}
.social-link i { font-size: 20px; }
.instagram { background-color: #E4405F; }
.line { background-color: #12e01c; }
.linkedin { background-color: #0077b5; }
.github { background-color: #333; }

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #023e8a;
        width: 200px;
        display: none;
        box-shadow: 0 2px 8px #0000001a;
        border-radius: 8px;
        padding: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle-label {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .nav-toggle:checked + .nav-toggle-label + .nav-links {
        display: flex;
    }
    .social-links {
        flex-direction: column;
    }
    .social-link {
        margin-bottom: 10px;
    }
}

main {
    background-color: #023e8a;
    color: #fdf0d5;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
    justify-content: center;
}

main h2, h3 {
    text-align: center;
}

.tab-container {
    margin-top: 30px;
    margin-bottom: 50px;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.tab-button {
    background-color: #0077b6;
    color: #fdf0d5;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.tab-button:hover {
    background-color: #023e8a;
    transform: translateY(-3px);
}

.tab-button.active {
    background-color: #023e8a;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-button h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.tab-button p {
    font-size: 0.9rem;
    margin: 0;
}

.tab-contents {
    position: relative;
    min-height: 200px;
}

.tab-content {
    display: none;
    background-color: #023e8a;
    border-radius: 8px;
    padding: 20px;
    color: #fdf0d5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content:target {
    transition: transform 0.3s ease;
    display: block;
}

@media (max-width: 768px) {
    .tab-buttons {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .tab-button {
        border-radius: 8px;
        margin-bottom: 10px;
    }
}

.map {
    display: flex;
    justify-content: center;
    text-align: left;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0000001a;
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 50px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 4px #0000001a;
}

.contact-form h2 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.text-muted{
    color: #000000;
}

.submit-btn {
    background-color: #4caf50;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

#formMessage {
    margin-top: 1rem;
    color: green;
}

@media (max-width: 600px) {
    .contact-form { padding: 1rem; }
}

.about-dev {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px;
}

.photo {
    flex: 1;
    text-align: center;
}

.photo img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.desc {
    flex: 2;
    padding: 20px;
}

.desc h3 {
    text-align: left;
    margin-bottom: 15px;
    color: #fdf0d5;
}

.desc p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about-dev {
        flex-direction: column;
    }
    .photo, .desc {
        flex: none;
        width: 100%;
    }
}