*,
*::before,
*::after {
    box-sizing: border-box;
}

body{
    font-family: 'Quicksand', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header.navbar-container{
    width: 100%;
    max-width: 1200px;
    padding: 1rem 2rem;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    position: relative;
}

header.navbar-container .nav-logo img{
    width: 150px;
    height: auto;
}

header.navbar-container .nav-list ul {
    padding-left: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

header.navbar-container .nav-list li {
    list-style-type: none;
}

header.navbar-container .nav-list a {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: black;
    transition: all 0.2s ease-in-out;
    display: block;
}

header.navbar-container .nav-list li a.active,
header.navbar-container .nav-list li:hover a{
    background-color: #c21010;
    color: white;
}

header.navbar-container > a button {
    padding: 0.5rem 1.2rem;
    border: 3px solid transparent;
    border-radius: 999px;
    background-color: #c21010;
    font-family: 'Quicksand', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease-in;
}

header.navbar-container > a button:hover {
    border: 3px solid #c21010;
    background-color: transparent;
    color: #c21010;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #c21010;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== MAIN CONTENT ===== */
main{
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
}

main .content{
    flex: 1;
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

main .content .content-description {
    flex: 1 1;
}

main .content .content-description .content-title{
    margin-block: 1rem;

    font-size: 3rem;
}

main .content .content-description p{
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 450;
}

main .content .content-description button {
    padding: 0.8rem 2.5rem;
    border: 3px solid transparent;
    border-radius: 999px;
    margin-block-start: 1rem;

    background-color: #c21010;

    font-family: 'Quicksand', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: white;

    cursor: pointer;
    transition: all 0.15s ease-in;
}

main .content .content-description button:hover {
    border: 3px solid #c21010;
    background-color: transparent;

    color: #c21010;
}

main .content .content-image{
    flex: 1;

    display: flex;
}

main .content .content-image img{
    width: 500px;
    max-width: 350px;
    margin: auto;
}

/* ===== SOCIAL MEDIA SIDEBAR ===== */
main aside{
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
}

main aside .social-media{
    height: 100%;
    display: flex;
}

main aside .social-media ul{
    padding: 1.5rem 1rem;
    margin: auto 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: #c21010;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

main aside .social-media li{
    list-style-type: none;
}

main aside .social-media li a{
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    transition: all 0.2s ease-in-out;
}

main aside .social-media li a:hover{
    color: #2b2a2a;
    transform: scale(1.2);
}

/* ===== PROFILE PAGE STYLES ===== */
.profile-container,
.about-container,
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header,
.about-header,
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1,
.about-header h1,
.contact-header h1 {
    font-size: 2.5rem;
    color: #2b2a2a;
    margin-bottom: 1rem;
}

.profile-header p,
.about-header p {
    font-size: 1.2rem;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.profile-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card h3 {
    color: #c21010;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.profile-card p,
.profile-card ul {
    color: #4a4a4a;
    line-height: 1.8;
}

.profile-card ul {
    padding-left: 1.5rem;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-section {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: #c21010;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item i {
    font-size: 3rem;
    color: #c21010;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #2b2a2a;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #4a4a4a;
    font-size: 0.95rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: #c21010;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #c21010;
    margin-top: 0.3rem;
}

.contact-item-content h3 {
    color: #2b2a2a;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    color: #4a4a4a;
    line-height: 1.6;
}

.contact-item-content a {
    color: #c21010;
    text-decoration: none;
}

.contact-item-content a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: #c21010;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2b2a2a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c21010;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 0.8rem 2.5rem;
    border: 3px solid transparent;
    border-radius: 999px;
    background-color: #c21010;
    font-family: 'Quicksand', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease-in;
    width: 100%;
}

.submit-btn:hover {
    border: 3px solid #c21010;
    background-color: transparent;
    color: #c21010;
}

/* ===== FOOTER ===== */
footer {
    background-color: #414040;
    color: white;
    text-align: center;
    padding: 1.2rem;
    margin-top: auto;
}

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

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1920px+) */
@media screen and (min-width: 1920px) {
    header.navbar-container,
    main,
    .profile-container,
    .about-container,
    .contact-container {
        max-width: 1200px;
    }
    
    main .content .content-description .content-title {
        font-size: 3.5rem;
    }
}

/* Desktop (1366px - 1919px) - Default styles apply */

/* Laptop (1024px - 1365px) */
@media screen and (max-width: 1365px) {
    main .content .content-description .content-title {
        font-size: 2.5rem;
    }
    
    main .content .content-description p {
        font-size: 1.1rem;
    }
    
    header.navbar-container .nav-list a {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }
}

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
    header.navbar-container {
        padding: 1rem;
    }
    
    main {
        padding: 2rem;
    }
    
    main .content {
        flex-direction: column;
        gap: 2rem;
    }
    
    main .content .content-image {
        order: -1;
    }
    
    main .content .content-description .content-title {
        font-size: 2.2rem;
    }
    
    main .content .content-description p {
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    main aside .social-media ul {
        padding: 1rem 0.7rem;
        gap: 1rem;
    }
    
    main aside .social-media li a {
        font-size: 1.3rem;
    }
}

/* Mobile (768px and below) */
@media screen and (max-width: 768px) {
    header.navbar-container{
    flex-wrap: wrap;
    justify-content:space-around;
    row-gap: 0.5rem;
    gap: 0.5rem;
   }

   header.navbar-container .nav-list{
    order: 3;
   }

   header.navbar-container .nav-list ul{
    flex-wrap: wrap;
    column-gap: 0.5rem;
   }
    
    main {
        padding: 1.5rem 1rem;
    }
    
    main .content .content-description .content-title {
        font-size: 2rem;
    }
    
    main .content .content-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    main .content .content-image img {
        max-width: 300px;
    }
    
    .profile-container,
    .about-container,
    .contact-container {
        padding: 1.5rem 1rem;
    }
    
    .profile-header h1,
    .about-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    main aside {
        display: none;
    }
}

/* Small Mobile (375px and below) */
@media screen and (max-width: 375px) {
    header.navbar-container .nav-logo img {
        width: 100px;
    }
    header.navbar-container a button {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    main .content .content-description .content-title {
        font-size: 1.8rem;
    }
    
    main .content .content-description p {
        font-size: 0.9rem;
    }
    
    main .content .content-description button {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
    }
    
    .profile-card,
    .about-section,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}