/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Salesforce Sans', Arial, sans-serif;
    background-color: #f4f6f9;
    color: #1a1a1a;
}

/* Center Container */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Top-Right Section */
.top-right {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    gap: 10px;
    min-width: 60px;
}

/* Header Menu */
.menu-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

/* Menu Options */
.menu-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.menu-option i {
    font-size: 18px;
    color: #0070d2;
}

.menu-option:hover {
    background-color: #f0f0f0;
}

/* Branding Banner */
.branding-banner {
    text-align: center;
    background-color: #032d60;
    color: white;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.branding-banner .branding-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.branding-banner i {
    font-size: 40px;
}

.branding-banner h1 {
    font-size: 32px;
    margin: 0;
    text-align: center;
}

.branding-banner p {
    font-size: 18px;
    margin-top: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.hamburger i {
    color: #032d60;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hamburger Dropdown */
.menu-header.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-header {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .menu-option {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
    }

    .branding-banner .branding-content {
        flex-direction: column;
    }
    
    .logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .organization-name {
        margin-top: 5px;
        font-size: 0.9rem;
        max-width: 150px;
    }
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #032d60;
    font-family: 'Salesforce Sans', Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    margin-right: 10px;
}

.organization-name {
    font-size: 1rem;
    color: #0070d2;
    font-weight: 500;
    background-color: #e8f4fb;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo i {
    font-size: 2.2rem;
    color: #00a1e0;
    background-color: #e8f4fb;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo a:hover {
    color: #0070d2;
}

.logo i:hover {
    transform: scale(1.1);
}

/* Profile Button */
.profile-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.profile-button {
    width: 45px;
    height: 45px;
    background-color: #0070d2;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-button i {
    font-size: 20px;
    pointer-events: none; /* Ensures clicks pass through to the button */
}

.profile-button:hover {
    background-color: #005fb2;
}

/* Sign-In Button */
.sign-in-button {
    background-color: #0070d2;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in-button i {
    font-size: 16px;
}

.sign-in-button:hover {
    background-color: #005fb2;
    transform: translateY(-2px);
}

.sign-in-button:active {
    transform: translateY(0);
}

/* Profile Dropdown */
.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 55px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 180px;
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f1f1f1;
}

.profile-dropdown a:last-child {
    border-bottom: none;
}

.profile-dropdown a:hover {
    background-color: #f4f6f9;
    color: #0070d2;
}

.profile-dropdown i {
    font-size: 16px;
}

.profile-dropdown.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .profile-dropdown {
        width: 160px;
    }

    .profile-dropdown a {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .navbar {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .logo a {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px;
    }
    
    .logo {
        max-width: 70%;
    }
    
    .logo a {
        font-size: 1rem;
    }
    
    .organization-name {
        max-width: 120px;
        font-size: 0.8rem;
    }
}

/* SurveyAI Icon Custom Styling */
.menu-option i.fa-clipboard-list {
    color: #0070d2; /* Salesforce Blue */
    font-size: 18px;
}
.menu-option:hover i.fa-clipboard-list {
    color: #005fb2;
}
