body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #b8d8bf;
    color: #333;
}

header {
    background: #0048b9;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none; /* removes underline */
}

.sub-header {
    background: #1083ee;
    color: #ffffff;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    border-bottom: .1px dotted #939597; /* white line under sub-header */
}

.sub-header a:hover {
    color: #00ff22; /* lighter shade when hovered */
    text-decoration: underline; /* optional hover effect */
}

.sub-header a:link,
.sub-header a:visited,
.sub-header a:hover,
.sub-header a:active {
    color: white !important;   /* force white color */
    text-decoration: none;     /* remove underline */
}

.sub-header-development {
    background: #9aac86; /* warning orange */
    color: #214aff;
    text-align: center;
    font-size: 14px;
    padding: 1px 0;
    font-weight: bold;
    line-height: 1.2;      /* tighter line height */
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3px 4px;
    background-color: #0048b9;
}

.logo {
    height: 108px;
    max-width: 100%;
}

/* Nav container */
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Nav links with fancy underline animation */
nav a {
    color: white;
    text-decoration: none;
    font-weight: regular;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 25px; /* 🔥 Bumped up for better visibility */
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

#main_article{
	width: 550px;
	height: 400px;
	background-color: rgb(0, 174, 255);
	margin-right: 200px;	
	position:absolute;
	top:220px;     
	left:150px;
}


#main_article3{
	width: 550px;
	height: 400px;
	background-color: rgb(65, 54, 165);
	margin-right: 200px;	
	position:absolute;
	top:220px;     
	left:350px;
}



#block-donate{
	width: 550px;
	height: 450px;
	background-color: rgb(196, 27, 153);
	margin-right: 200px;	
	position:absolute;
 /*  top:150px; */     
	left:200px;	
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



#block-home{
	width: 400px;
	height: 400px;
/*	background-color: rgb(74, 148, 65); */
    background: radial-gradient(circle at 30% 30%, #39488b, #25801c);
	margin-right: 200px;	
	position:absolute;
 /*  top:150px; */     
	left:200px;	
    border-radius: 7%; /* ✅ Makes it a perfect circle */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Optional: adds depth */
    animation: spin 100s linear infinite; /* ✅ Spins every 10 seconds */ 

 
}


#welcome-text {
    font-size: 100px;
    color: rgb(50, 25, 189);
    font-weight: bold;
    position: absolute;
}




/* Responsive layout for small screens */
@media (max-width: 600px) {
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-direction: column;
        width: 100%;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    main {
        padding: 20px;
        min-height: 70vh;
    }
    

    
}


main {
    text-align: center;
    padding: 40px 20px;
    background: #8cc5c0;
}

main h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #222;
}

main h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #444;
}

.services {
    margin-top: 40px;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #0066cc;
}

.service-category {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.service-category h3 {
    color: #12d33c;
    margin-bottom: 15px;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    margin: 8px 0;
    font-size: 1.1em;
}


#mtl-clock {
  color: white;
  font-weight: 600;
  font-size: 14px;
  margin: 0 15px;
  font-family: 'Arial', sans-serif;
}

/* Clock hover effect */

#mtl-clock:hover {
  color: #cdd0dd; /* lighter shade when hovered */
  text-decoration: none; /* optional hover effect */
}

/* footer styles */

/* Footer overall style */
footer {
    background-color: #2c4da0; /* darker than header for better contrast */
    color: white;
    padding: 25px 0;
    font-size: 14px;
}

/* Container for all footer sections */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Individual sections */
.footer-section {
    margin: 10px;
}

.footer-section h4 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
}

/* Links style */
.footer-section p a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

.footer-section p a:hover {
    text-decoration: underline;
}

/* Social icons styling */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Footer bottom copyright line */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    font-size: 13px;
}

/* Responsive for mobile screens */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons a {
        margin-bottom: 5px;
    }
}


