/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: white;
    padding: 15px 20px;   /*verticle horizontal*/
    justify-content: space-between;
    align-items: center;
    max-height: 150px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    transition: top 0.3s ease-in-out;
}

.row-first {
    display: flex;
    align-items: center;        /* Vertical center */
    justify-content: space-between; /* Space between logo and support button */
    padding: 10px 20px;
    color: rgb(34, 14, 86);
}

/* Logo and society name */
.logo-societyname {
    display: flex;
    align-items: center; /* Vertical center */
    gap: 10px;
}

.logo-societyname img {
    height: 50px; /* adjust as needed */
}

.logo-societyname span {
    font-size: 2.5rem;
    font-weight: 600;
}

.row-second {
    height: 30px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: rgb(148, 148, 143);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #a10766;
}

/* Support Button */
.support-btn {
    background-color: rgb(5, 191, 228);
    color: rgb(250, 250, 250);
    font-size: 18px;
    padding: 7px 20px;
    border-radius: 20px;
    font-weight: 540;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.support-btn .arrow {
    background-color: white;
    color: rgb(5, 191, 228);
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.menu-nav {
    width: 100%;
}

.menu-nav ul {
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

/* Visibility helpers */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Hamburger */
.hamburger {
    font-size: 32px;
    cursor: pointer;
    color: #220e56;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100px;
    right: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 25px;
    z-index: 1000;
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: #220e56;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.mobile-support {
    color: rgb(148, 148, 143);
    border-radius: 25px;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Tablets & Mobiles */
@media (max-width: 1023px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .logo-societyname span {
        font-size: 2.1rem;
    }

    .logo-societyname img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .logo-societyname span {
        font-size: 1.1rem;
        text-align: center;
    }

    .logo-societyname img {
        height: 40px;
    }
}
