.buton-rosu {
    width: 60px;
    height: 50px;
    transition: transform 0.3s ease;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.custom-navbar {
    background-color: transparent;
}

.logo {
    width: 100px;
    transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
    color: #1d2951 !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFD700 !important;
}

.dropdown-menu {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: #1d2951;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #1d2951;
    color: #ffffff;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-button-container {
    display: none;
}

.header-button {
    display: inline-block;
    text-decoration: none;
}

.button-img {
    width: 60px;
    height: 50px;
    transition: transform 0.3s ease;
}

.header-button:hover .button-img {
    transform: scale(1.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(29, 41, 81, 0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 28px;
    height: 28px;
}

.footer {
    background-color: #1A2B50;
    color: white;
    padding: 40px 0;
    width: 100%;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

.footer-links {
    text-align: right;
}

.footer-links h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .header {
        padding: 1.5rem 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 0.75rem 1.25rem;
    }

    .footer-content {
        padding: 0 30px;
    }
}

/* Medium screens (tablets and small laptops) */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .header-button-container {
        display: block;
        margin-top: 10px;
        text-align: center;
    }

    .navbar-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        width: 90px;
    }

    .dropdown-menu {
        text-align: center;
        width: 100%;
    }
}

/* Small screens (large phones and small tablets) */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .header-button-container {
        display: block;
        margin-top: 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-logo-container {
        align-items: center;
    }

    .footer-links {
        margin-top: 20px;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
    .logo {
        width: 80px;
    }

    .button-img {
        width: 50px;
        height: 40px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .header-button-container {
        margin-top: 8px;
    }

    .footer-logo {
        width: 100px;
    }

    .footer-links h4 {
        font-size: 1.2rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-social-icons a {
        font-size: 1.3rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Ultra small screens (very small phones) */
@media (max-width: 400px) {
    .logo {
        width: 70px;
    }

    .button-img {
        width: 45px;
        height: 35px;
    }

    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }

    .footer-logo {
        width: 90px;
    }

    .footer-links h4 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social-icons a {
        font-size: 1.2rem;
    }
}