
/* Footer CSS Layout for all pages */
/* Menue starts at number 360 */

/* General Footer */
.footer-section {
    background: linear-gradient(to bottom, #FDF6E6, #F4FEFC);
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    color: #666;
}

/* footer top row no.1 */
.footer-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-row1 p span {
    display: block; /* Forces each span onto a new line */
}
.email-signup {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.email-input {
    width: 300px;
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.subscribe-btn {
    padding: 0.5rem 1.5rem;
    background-color: #02087D;
    text-align: center;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* footer top row no.2 */
.footer-row2 {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 100px;
    transition: transform 0.6s ease-in-out;
}

.footer-logo:hover {
    transform: scale(1.5);
}
.footer-logo:hover + .nav-links {
    margin-top: 50px; /* Moves content down */
}
.nav-links {
    transition: margin-top 0.4s ease-in-out; /* Smooth movement */
}
.nav-links {
    display: flex;
    gap: 20px;
    padding-right: 50px;
    margin-left: auto;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
    transform: scale(1.1);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* Footer bottom row no.1 */
.footer-b-row1 {
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 0px;
    padding-top: 20px;
}

.contact-left {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 40px;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.contact-item i {
    font-size: 18px; /* Adjust icon size */
    color: #333; /* Default color */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.contact-item:hover i {
    transform: scale(1.5); /* Slight pop effect */
    color: black; /* Change icon color on hover */
}

.footer-b-row1>.contact-item {
    margin-left: auto;
    max-width: 40%;
}

/* Footer bottom row no.2 */
.footer-b-row2 {
    display: flex;
    align-items: center;
    padding: 10px;
    padding-bottom: 20px;
}

.copyright {
    flex: 1;
}

.social-links {
    padding-top: 20px;
    display: flex;
    gap: 10px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    color: #666; 
    width: 40px; /* Set fixed size for circular effect */
    height: 40px;
    border-radius: 10%; /* Makes icons circular */
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2); /* Slight pop effect */
}

/* Assign unique hover colors */
.social-links a[aria-label="Facebook"]:hover {
    color: white; /* Facebook Blue */
    background: #1877F2; /* Facebook Blue */
}

.social-links a[aria-label="Instagram"]:hover {
    color: white; /* Instagram Pink */
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-links a[aria-label="LinkedIn"]:hover {
    color: white; /* LinkedIn Blue */
    background: rgb(53, 53, 228);
}

.social-links a[aria-label="Twitter"]:hover {
    color: white; /* Twitter Blue */
    background: black;
}

.social-links a[aria-label="YouTube"]:hover {
    color: #FF0000; /* YouTube Red */
    background: white;
}

#donate-btn-footer:hover {
    background-color: #02087D;
    transform: translateY(2px);
    color: white;
}

/* Responsive Design for Footer on mobile */
@media (max-width: 768px) {
    .footer-section {
        padding-left: 20px; /* Ensure consistent left padding */
        padding-right: 20px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .footer-row1,
    .footer-row2,
    .footer-b-row1,
    .footer-b-row2 {
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-start; /* Left align everything */
        text-align: left;
    }

    .email-signup {
        margin-left: 0; /* Remove auto margin to align left */
        width: 100%;
        flex-direction: column;
    }

    .email-input {
        width: 220px; /* Full width for better mobile experience */
    }

    .subscribe-btn {
        width: 100px; /* Full width button */
    }

    .footer-logo {
        margin-bottom: 10px; /* Add spacing below the logo */
    }

    .nav-links {
        margin-top: 20px;
        margin-left: 0; /* Align nav links to the left */
        padding-right: 0; /* Remove extra padding */
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links a {
        display: block; /* Ensure full width clickable */
    }
    hr {
        display: none;
    }
    .footer-hr {
        display: block;
    }
    #single-item {
        width: 100%; /* Ensure full width */
        max-width: none; /* Adress on a single line */
        text-align: left; /* Align text inside div */
        justify-content: flex-start; /* Align icon and text to the left */
        padding: 10px;
        display: flex;
        margin-right: 0; /* Ensure no extra spacing */
        margin-left: 0; /* Align to the left */
    }
    .contact-left {
        padding: 10px;
        width: 100%; /* Ensure full width */
        flex-direction: column; /* Stack contact items */
        align-items: flex-start;
        gap: 10px;
    }
    .social-links {
        order: -1; /* Move social links to the top */
        padding-bottom: 20px;
    }
    .footer-b-row1{
        padding-top: 0px;
    }
    .footer-row1{
        padding-top: 30px;
    }
}
/* End Footer ///////////////////////////////////////////////////////////////////*/








/* Header styles */
:target {
    scroll-margin-top: 100px; /* Adjust this based on your fixed header height */
  }
  
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-right {
    margin-left: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
    margin: 0 auto;
    padding: 0 50px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    position: absolute; 
    right: 20px;       
    top: 50%;          
    transform: translateY(-50%); 
    z-index: 102;      
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    transform: scale(1.7); 
    transform-origin: center;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #02087D;
}

.donate-btn {
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    color: #02087D;
    border: 1px solid #02087D;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
/* Target the sibling button inside when .donate-btn is hovered */
.donate-btn:hover + .contact-btn {
    background-color: white;
    transform: translateY(-2px);
    color: #333;
    border: 1px solid #333;
}
.donate-btn:hover {
    background-color: #02087D;
    transform: translateY(2px);
    border-color: #02087D;
    color: white
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.contact-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline {
    border: 1px solid #02087D;
    color: #02087D;
}

.contact-btn {
    background-color: #02087D;
    color: #fff;
    border: 1px solid #02087D;
}

.contact-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
/* Hide Contact Us button by default */
.nav-menu .no-desktop {
    display: none;
}

/* Arrow animation */
.arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 18px;
    animation: arrowMove 0.6s infinite alternate ease-in-out;
}

@keyframes arrowMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(6px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100vh;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 100%);
        
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: clip-path 0.5s ease;
        clip-path: inset(0 50% 0 50%);
        z-index: 100;
    }
    
    .nav-menu.active {
        clip-path: inset(0 0 0 0);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }
    
    .cta-buttons {
        display: none;
    }

    /* Hamburger menu animation */
    .mobile-menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hide Contact Us button by default */
    .nav-menu .no-desktop {
        /* background-color: #333; */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .nav-menu .no-desktop a {
        justify-content: center;
        display: inline-block;
        margin-bottom: 10px;
        padding: 12px 24px;
        border-radius: 10px;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        position: relative;
        width: 150px;
    }

    .nav-menu .no-desktop a:hover {
        background-color: #02087D;
        transform: translateY(-2px);
        color: white;
    }
    .header-img-logo {
        margin-left: 20px; /* Adjust as needed */
    }
    
    
}