
.header-container {
    max-width: 1390px;
    margin: auto;
    padding: 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header {
    /* background: transparent; */
    position: absolute;
    width: 100%;
    top: 0px;
    z-index: 2;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header-logo {
    width: 240px;
    float: left;
    margin-right: 10px;
    transition: width 0.1s ease;
}

.header-logo .desktop_logo {
    width:100%;
}
.header-nav-dv {
    float: left;
    width: calc(100% - 240px);
}
.offcanvas-end {
    width: 250px;
}
.donation-btn {
    background: #1E1E1E;
    color: #fff;
}
.nav-link {
    padding:8px 0px 1px 0px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3 ease;
}
.nav-link:hover {
    color: #00b0c8;
    border-bottom: 1px solid;
}
.hdr_call_btn {
    text-decoration: none;
    font-size: 15px;
    color: #231F20;
    display: flex;
    text-align: left;
    padding: 10px 24px;
    border: 1px solid #231F20;
    border-radius: 50px;
    width: fit-content;
    height: 51px;
    justify-content: space-between;
    align-items: center;
    line-height: 19px;
    gap: 7px;
}
.hdr_call_btn small {
    color: #7E7E7E;
    font-size: 12px;
    font-weight: 600;
}
.hdr_call_btn img {
    width: 20px;
}
.hdr_donation_btn {
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    background-color:#231F20;
    display: flex;
    text-align: left;
    padding: 12px 24px;
    border: 1px solid #231F20;
    border-radius: 50px;
    width: fit-content; 
    height: 51px;
    gap: 7px;
    align-items: center;
    justify-content: space-between;
}
.hdr_donation_btn img {
    width: 20px;
}
.offcanvas-backdrop {
    height: 100%;
}
.hdr_nav_inner {
    gap: 30px;
    justify-content: end;
}
.hdr_nav {
    gap:25px;
}
.mob_logo{
    display: none;
}


.latest-update {
  background: #D0021B;
  color: #fff;
  /*padding: 6px 14px;*/
  /*border-radius: 3px;*/
  font-weight:600;
  letter-spacing: 0.4px;
  border: 0 !important;
  animation: softPulse 1.5s ease-in-out infinite;
}

.latest-update:hover {
  color: #fff !important;
}

@keyframes softPulse {
  0%, 100% {
    background-color: #f10f2a;
  }
  50% {
    background-color: #b1130f;
  }
}

@media only screen and (min-device-width: 1080px) and (max-device-width: 1280px) {

    .hdr_nav {
        gap:10px;
    }
}
@media only screen and (min-device-width: 1080px) and (max-device-width: 1366px) {
    .header-container {
        padding: 0px 20px 0 10px;
    }

}
@media only screen and (min-device-width: 1080px) and (max-device-width: 1280px) {
    .header-logo {
        margin-right: 0px;
    }
    .nav-link {
        padding: 8px 7px;
    }
}
@media only screen and (min-device-width: 200px) and (max-device-width: 680px) {

    .desktop_logo{
        width: 175px !important;
        height: 63px;
        object-fit: cover;
    }   
    .latest-update {
        width: fit-content;
        padding: 5px 16px !important;
        border-radius: 50px !important;
    }
}
@media only screen and (min-device-width: 681px) and (max-device-width: 992px) {

    .desktop_logo{
        width: 175px !important;
        height: 63px;
        object-fit: cover;
    }    
}
@media only screen and (min-device-width:993px) and (max-device-width: 1024px) {

    .desktop_logo{
        width: 185px !important;
    }    
}
@media only screen and (min-device-width: 200px) and (max-device-width: 1024px) {
    .offcanvas-header {
        padding: 26px 15px 10px;
    }
    .mob_logo{
        display: none;
    }
    .desktop_logo{
        display: block;
    }
    .hdr_call_btn{
        display: none;
    }
    div#mobileMenu {
        width: 85%;
    }
    .header-container {
        padding: 10px 15px 10px 5px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1;
        background: #fff;
        box-shadow: -3px 3px 26px -14px #00000070;
    }
    .header-logo {
        width: 50px;
    }
    .header-nav-dv {
        width: calc(100% - 50px);
    }
    .mm_main_dv {
        width: 100%;
        justify-content: end;
    }
    .hdr_donation_btn {
        width: fit-content;
        height: 45px;
        padding: 0 17px;
        display:none;
    }
    .mob_menu_icon {
        background-color: #16B5C5;
        border-radius: 50%;
        height:45px;
        width:45px;
    }
    .mob_menu_icon img{
        width: 100%;
        margin-top: -5px;
    }
    .mob_menu_icon:active {
        background-color: #16B5C5 !important;
        border:0px;
    }

    .mob_hdr_call_btn {
        text-decoration: none;
        font-size: 15px;
        color: #231F20;
        display: flex;
        text-align: left;
        padding: 10px 24px;
        border: 1px solid #231F20;
        border-radius: 50px;
        width: 100%;
        height: 56px;
        justify-content: space-between;
        align-items: center;
        line-height: 19px;
        margin-bottom: 13px;
        margin-top: 15px;
    }
    .mob_hdr_call_btn small {
        color: #7E7E7E;
        font-size: 11px;
        font-weight: 600;
    }
    .mob_hdr_donate_btn {
        text-decoration: none;
        font-size: 15px;
        color: #fff;
        background-color:#231F20;
        display: flex;
        text-align: left;
        padding: 12px 24px;
        border: 1px solid #231F20;
        border-radius: 50px;
        width: 100%; 
        height: 56px;
        align-items: center;
        justify-content: space-between;
    }
    .nav-link {
        font-size: 15px;
        padding: 14px 0;
    }
    .mob_hdr_call_btn img , .mob_hdr_donate_btn img  {
        width: 20px;
    }
}


@media only screen and (min-device-width: 992px) and (max-device-width: 1024px) {

    .header-nav-dv nav {
        display: none !important;
    }
    .header-logo {
        width: 240px;
    }
    .mob_menu_icon {
        display: block !important;
    }
    .mob_logo {
        display: none;
    }
    .header-logo .desktop_logo {
        display: block;
    }
}


/* Amazon Q code: Sticky header on scroll */
header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}

header.sticky .header-container {
    padding-top: 6px;
    padding-bottom: 6px;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

header.sticky .header-logo {
    width: 200px;
    height: 70px;
    transition: width 0.1s ease;
    display: flex;
    align-items: center;
}

header.sticky .hdr_call_btn,
header.sticky .hdr_donation_btn {
    height: 42px;
    transition: height 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
/* Amazon Q code end */

/* Amazon Q code: Modernised Projects mega dropdown styles */
.proj-dropdown-wrap {
    position: relative;
}

.proj-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.proj-chevron {
    transition: transform 0.3s ease;
    margin-top: 1px;
}

.proj-dropdown-wrap:hover .proj-chevron {
    transform: rotate(180deg);
}

.proj-mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    transform: translateY(8px);
    background: #fff;
    border-radius: 16px;
    /* Amazon Q code: standard light gray shadow, width fits content */
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    padding: 8px;
    width: max-content;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 999;
    border: 1px solid #e8e8e8;
}

/* Arrow pointer on top of the dropdown */
/* .proj-mega-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid rgba(22,181,197,0.12);
    border-top: 1px solid rgba(22,181,197,0.12);
    rotate: 45deg;
} */

.proj-dropdown-wrap:hover .proj-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.proj-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    margin: 8px 0;
    border-radius: 12px;
    text-decoration: none;
    color: #231F20;
    transition: background 0.2s ease, color 0.2s ease;
}

.proj-card:hover {
    background: #f0fbfc;
    color: #16B5C5;
}

.proj-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.proj-card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #231F20;
    transition: color 0.2s ease;
}

.proj-card:hover .proj-card-title {
    color: #16B5C5;
}

.proj-card-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #7E7E7E;
    line-height: 1.4;
}


.proj-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 2px 6px;
}
/* Amazon Q code end */

/* Amazon Q code: Mobile modernised dropdown menu */
.mob-drop-wrap {
    border-bottom: 1px solid #f0f0f0;
}

.mob-drop-toggle {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #231F20;
    cursor: pointer;
}

.mob-drop-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: #7E7E7E;
}

.mob-drop-wrap.open .mob-drop-chevron {
    transform: rotate(180deg);
}

.mob-drop-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    background: #f9fefe;
    border-radius: 12px;
    margin-bottom: 0;
}

.mob-drop-wrap.open .mob-drop-menu {
    max-height: 400px;
    padding: 6px 0;
    margin-bottom: 10px;
}

.mob-drop-item {
    display: block;
    padding: 11px 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #231F20;
    text-decoration: none;
    border-radius: 8px;
    margin: 2px 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mob-drop-item:hover {
    background: #e6f8fb;
    color: #16B5C5;
}
/* Amazon Q code end */
