/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Navbar Styles */
header{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    padding: 26px 17%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
    text-decoration: none;
}
.logo{
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.logo .logo-part-red {
    color: #bb1f1f; /* Red color for 'Peruvian' and 'Assosiation' */
}

.logo .logo-part-white {
    color: #fff; /* White color for 'Student' and 'S' */
}

/* Small Logo Styling */
.logo .small-logo {
    display: none; /* Hide PSA by default */
}

span{
    color: #bb1f1f;
    text-decoration: none;
}
.navbar{
    display: flex;
    padding-top: 10px;
    text-decoration: none;
    list-style-type: none;
}
.navbar a{
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 15px 22px;
    transition: all .50s ease;
}
.navbar img{
    width: 24px;
    margin-top: 3.5px; 
    text-decoration: none;
}
.navbar a:hover{
    color: #bb1f1f;
    text-decoration: none;
}
.h-right{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.h-right a:first-child{
    color: #fff;
    font-size: 1.2rem;
    margin-right: 20px;
    text-decoration: none;
}

.h-right a{
    vertical-align: middle;
    font-size: 20px;
    color: #fff;
    margin-right:18px;
    margin-left: 5px;
    transition: all .50s ease;
    text-decoration: none;
}
.h-right a:hover{
    color: #bb1f1f;
    transform: translateY(-3px);
    text-decoration: none;
}
#menu-icon{
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

.language-switcher {
    display: flex;
    justify-content: space-around; 
}

header.sticky {
    padding: 8px 17%;
    background: transparent; 
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav h1 {
    font-size: 24px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to left, rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(img/Peru_NationalGeographic_1516911_3x2.jpg)no-repeat center center/cover;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(img/Peru_NationalGeographic_1516911_3x2.jpg)no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn {
    display: inline-block;
    padding: 13px 40px;
    background-color: #bb1f1f;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-7px);
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.btnnn {
    display: inline-block;
    padding: 13px 40px;
    background-color: #bb1f1f;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.btnnn:hover {
    transform: translateY(3px);
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.btnn {
    display: inline-block;
    padding: 13px 40px;
    background-color: #bb1f1f;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}

.btnn:hover {
    transform: translateY(3px);
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    text-decoration: none;
}

section{
    padding: 70px 17% 60px;
}

/* Standalone History banner (first section) */
.h-section {
    background-color: hsl(0, 0%, 7%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 0;
}

.h-section h2 {
    color: #ffffff; /* white letters */
    text-transform: uppercase;
    font-size: 2rem;
    margin: 0;
    text-align: center; /* always centered */
}

@media (max-width: 800px) {
    .h-section {
    padding-top: 6rem;
    padding-bottom: 0;
}
}

/* About Us Section */
.about-section{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap:5rem;
    background-color: hsl(0, 0%, 7%);
}

.about-img img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.about-text h2{
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
}
.about-text p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 35px;
}

/* Events Section */
.events-section{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap:5rem;
    background-color: hsl(0, 0%, 10%);
}
.event-img img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.event-text h2{
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
}
.event-text p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 35px;
}

/* Join Us Section */
.member-img img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.join-section {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap:5rem;
    background-color: hsl(0, 0%, 7%);
}

.member-text h2 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}

.member-text p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 6px;
}

.join-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    align-items: center;
}

.join-section form input,
.join-section form button {
    padding: 10px;
    font-size: 16px;
}

.join-section form button {
    background: #bb1f1f;
    color: #1a1a1a;
    border: none;
    font-size: 19px;
    font-style: bold;
    cursor: pointer;
}

/* Contact Us Section */
.contact-section {
    padding: 60px 20px;
    text-align: center;
    background-color: hsl(0, 0%, 10%);
}

.contact-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-section h2 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}

.contact-section p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 15px;
}

.board-member {
    text-align: center;
}

.board-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.board-member h3 {
    margin: 10px 0;
    font-weight: 650;
    line-height: 1.1;
    color: #ffffff;
}

.board-member h4 {
    margin: 10px 0;
    font-weight: 500;
    line-height: 1.1;
    color: #ffffff;
}

.board-member a {
    text-decoration: none;
    color: #ffffff;
}

/* Footer */
footer {
    background: #0f0f0f;
    color: #fff;
    padding: 20px;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

/* Event Card Styles */
.event-card {
    background-color: transparent;
    color: #ffffff;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.event-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.event-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

@media (max-width: 1700px){
    header{
        padding: 18px 8%;
    }
    header.sticky{
        padding: 7px 8%;
    }
}
@media (max-width:1380px){
    .logo.full-logo{
        font-size: 15px;
    }
}
@media (max-width:1440px){
    .logo{
        font-size: 28px;
    }
}
@media (max-width: 1370px) {
    header {
        padding: 14px 5%;
    }
    header.sticky {
        padding: 7px 5%;
    }
}
@media (max-width: 1310px) {
    .logo .full-logo {
        display: none; 
    }

    .logo .small-logo {
        padding-top: 5px;
        display: inline; 
        font-size: 30px; 
    }
}
@media (max-width: 800px){
    .about-section{
        grid-template-columns: 1fr;
    }
    .events-section{
        grid-template-columns: 1fr;
        gap:3rem;
    }
    .join-section{
        grid-template-columns: 1fr;
        gap:3rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center; 
    }
}
@media (max-width: 455px){
    header{
        padding: 12px 3%;
    }
    header.sticky{
        padding: 7px 3%;
    }
}
@media (max-width: 1175px){
    .feature-content{
        gap: 1.5rem;
    }
    .holiday{
        gap: 3rem;
    }
    .culture{
        gap: 3rem;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 40px 60px;
        top: 0;
        bottom: 0;
        left: 100%;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(---bg-color);
        transition: all .50s ease;
    }
    .language-switcher {
        display: flex;
        justify-content: space-around; 
        width: 30%;
    }
    .language-switcher .imagen {
        flex: 1;
    }
    .navbar a{
        display: block;
        color: #d9d9d9;
        padding: 0;
        margin: 0px 0px 40px 0px;
        font-size: 2.2rem;
        font-weight: 400;
    }
    .navbar.open{
        left: 0;
        background-color: hsl(0, 0%, 7%);
    }
    .box2 h4{
        bottom: 40px;
    }
    .box h4{
        bottom: 40px;
    }
}
@media (max-width: 800px) {
    .contact-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}