/*=======================
 * PLATFORM PAGE STYLES
 * 1. Platform Hero Section
 * 2. Platform Features Section
 * 3. Maps Section
 * 4. External Link Section
 * 5. User Profile Styles
 * 6. Responsive Design
 =======================*/

/*======================
 * 1. Platform Hero Section
 =======================*/
.platform__area {
    height: 430px;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.platform__area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.platform__title--2 {
    margin-bottom: 20px;
}

.title__line {
    font-size: 50px;
    color: white;
    margin-bottom: 20px;
    margin-top: 80px;
    z-index: 2;
    position: relative;
    text-align: center;
}

.platform__area p {
    font-size: 25px;
    color: white;
    line-height: 1.5;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
    text-align: center;
}

.platform-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

/*======================
 * 2. Platform Features Section
 =======================*/
.a-platform__area {
    height: auto;
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
    margin: 0;
}

.a-platform__area h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 50px;
    text-align: center;
}

.flex-container {
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.a-platform__area section {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.a-platform__area img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.a-platform__area h2 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    max-width: 360px;
    margin: 10px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.a-platform__area h3 {
    color: #535252;
    font-size: 20px;
    font-weight: normal;
    max-width: 380px;
    margin: 10px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/*======================
 * 3. Maps Section
 =======================*/
.maps__area {
    height: auto;
    background-color: #f4b65d;
    padding: 50px 0;
    text-align: center;
    margin: 0;
}

.maps__area img {
    width: 1200px;
    object-fit: cover;
}

/*======================
 * 4. External Link Section
 =======================*/
/*======================
 * 4. External Link Section
 =======================*/
.link__area {
    height: auto;
    background-color: #fdca83;
    padding: 50px 0;
    text-align: center;
    margin: 0;
}

.link__area h2 {
    color: #333;
    font-size: 24px;
    text-align: center;
}

.language-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button-link {
    display: inline-block;
    padding: 15px 25px;
    font-size: 16px;
    color: white;
    background-color: #ff7f2a;
    text-decoration: none;
    border: none;
    border-radius: 150px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    margin-left: 35%;
}

.button-link:hover {
    background-color: #eca52b;
}

/*======================
 * 5. User Profile Styles
 =======================*/
.user-profile {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    display: none;
}

.user-profile.visible {
    display: inline-block;
}

.profile-btn {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    height: 80px;
    line-height: 60px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    padding: 0 15px;
}

.profile-btn:hover {
    color: #4285f4;
}

.profile-btn::after {
    content: "▼";
    font-size: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.user-profile .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 0px;
    right: 0;
    top: 80px;
    padding: 0;
}

.user-profile:hover .dropdown-content {
    display: block;
}

.user-profile .dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px !important;
    color: #333333 !important;
    margin-top: 1px;
    text-decoration: none !important;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.user-profile .dropdown-content a:last-child {
    border-bottom: none;
}

.user-profile .dropdown-content a:hover {
    background-color: #f0f0f0 !important;
    color: #4285f4 !important;
}

.auth-buttons.hidden {
    display: none !important;
}

/*======================
 * 6. Responsive Design
 =======================*/
@media screen and (max-width: 1200px) {
    .maps__area img {
        width: 100%;
        max-width: 1000px;
    }
    
    .a-platform__area section {
        width: 28%;
    }
    
    .a-platform__area img {
        width: 250px;
        height: 180px;
    }
}

@media screen and (max-width: 992px) {
    .platform__area {
        height: 380px;
    }
    
    .title__line {
        font-size: 42px;
        margin-top: 70px;
    }
    
    .platform__area p {
        font-size: 22px;
    }
    
    .a-platform__area h1 {
        font-size: 42px;
    }
    
    .flex-container {
        margin-top: 60px;
    }
    
    .a-platform__area section {
        width: 45%;
        margin-bottom: 30px;
    }
    
    .maps__area img {
        max-width: 800px;
    }
}

@media screen and (max-width: 768px) {
    .platform__area {
        height: 320px;
        padding: 15px 0;
    }
    
    .title__line {
        font-size: 36px;
        margin-top: 60px;
    }
    
    .platform__area p {
        font-size: 20px;
    }
    
    .a-platform__area {
        padding: 40px 0;
    }
    
    .a-platform__area h1 {
        font-size: 36px;
    }
    
    .flex-container {
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
    }
    
    .a-platform__area section {
        width: 80%;
        margin: 15px 0;
    }
    
    .a-platform__area img {
        width: 280px;
        height: 160px;
    }
    
    .a-platform__area h2 {
        font-size: 22px;
        max-width: 100%;
    }
    
    .a-platform__area h3 {
        font-size: 18px;
        max-width: 100%;
    }
    
    .maps__area {
        padding: 40px 0;
    }
    
    .link__area {
        padding: 40px 0;
    }
    
    .link__area h2 {
        font-size: 22px;
    }
}

@media screen and (max-width: 576px) {
    .platform__area {
        height: 280px;
        padding: 10px 0;
    }
    
    .title__line {
        font-size: 28px;
        margin-top: 50px;
    }
    
    .platform__area p {
        font-size: 18px;
    }
    
    .a-platform__area {
        padding: 30px 0;
    }
    
    .a-platform__area h1 {
        font-size: 28px;
    }
    
    .a-platform__area section {
        width: 90%;
        padding: 15px;
    }
    
    .a-platform__area img {
        width: 240px;
        height: 140px;
    }
    
    .a-platform__area h2 {
        font-size: 20px;
    }
    
    .a-platform__area h3 {
        font-size: 16px;
    }
    
    .maps__area {
        padding: 30px 0;
    }
    
    .maps__area img {
        max-width: 100%;
    }
    
    .link__area {
        padding: 30px 0;
    }
    
    .link__area h2 {
        font-size: 20px;
    }
    
    .button-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}