body
{
    min-height: 100%;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    overflow: auto;
    background-color: #e1dede;
    transform: scale(0.8);
            transform-origin: top left;
           
            width: 125%; /* 1 / 0.8 = 125% */
            max-height: fit-content;
            
            

}
html{
    height: 100%;
    width: 100%;
}

.navbar
{
    display:flex;
 
    
    background-color: #ceddeb;
    justify-self: end;
   
 
  

}
#message {
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 5px;
    z-index: 1000;
}

.navbar span{
    text-decoration: none;
    color:#2f2f2f;
    padding: 3px 3px;
   margin-left: 50px;
   margin-right: 50px;
   font-weight: 300;
   
   padding: 2px;
  

    
    

}
#amb
{
    margin-left: 30px;
    size: 30px;
    box-shadow: 2px 5px 20px 3px rgb(150, 2, 2);
    border-radius: 50px;
    font-size: 40px;
    color: rgb(241, 31, 31);
    
    
}

#head
{
    padding: 10px;
}


.navbar2 {
    display: flex;               
    justify-content: space-evenly;
    align-items: center;           
     background-color: #012D5A;       
    padding: 10px; 
                  
}

.nav-link {
    flex: 1;                    
    text-align: center;            
              
    background-color:#3882cd;        
    border-radius: 5px;            
    margin: 0 10px;               
    transition: background-color 0.3s;              

}
.nav-link:hover
{
    background-color: #0355a8;
}

.nav-link a {
    display: block;               
    color: #fff;                   
    text-decoration: none;         
    padding: 10px; 
    font-weight: 500;                
}

.resha
{
    color: white;
}

.navbar3
{
    display: flex;               
    justify-content: space-evenly;
    align-items: center;           
     background-color: #e1dede;       
    padding: 10px;  
    height: 50px; 
    border: 0.2px solid black;
    font-size: medium;
    position: sticky;
   z-index: 1;
top: 0;

    
}

.navopt
{
    flex: 1;                    
    text-align: center;            
    height: 70px; 
    margin: 0 10px;               
    transition: background-color 0.3s; 
     

}

.navopt a{
    display: block;               
    color: #2f2f2f;                   
    text-decoration: none;         
    padding: 15px;  
    font-weight: 500; 
    margin-top: 4px;

}
.navopt :hover
{
    background-color: #EFEFEF;
    margin: 0;
    height: 40px;

    
}


.resha1
{
    color: black;
}

.navopt-active
{
    background-color: #EFEFEF;
  
    box-shadow: #3882cd;
    flex: 1;                    
    text-align: center;            
    height: 70px; 
    margin: 0 10px;               
    transition: background-color 0.3s;  
}

.navopt-active a{
    text-decoration: none;
    color: #2f2f2f;
    display: block;
    padding: 10px;  
    margin-top: 4px;
   
}

.link
{
    text-decoration: none;
    color: #2f2f2f;
}

.background-container {
    position: relative;
    width: 100%;
    height: 500px; 
    background-image: url('HomeImg.jpg');
    background-size: cover;
    background-position: center;
}

.about
{
    
    margin-top: 3px;
    background-color:  #e4dede;
}
p{
    margin-top: 0;
    padding: 15px;
    text-align: center;
   font-weight: bold;
   font-size: larger;
   color: #2f2f2f;
   font-size: 20px;
}
h2{
    text-align: center;
    color: #2f2f2f;
    font-family: 'Times New Roman', Times, serif;
    font-size: 45px;
    font-weight: 100;
    margin-top: 2px;
}
h4
{
    text-align:center;
    font-size: large;
    color: #2f2f2f;
    margin-bottom: 8px;
    padding-bottom: 4px;

}
.us
{
    color: #0355a8;
    text-decoration: none;
}



.boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 0;
    top: 0;
    background-color: #e4dede;
    opacity: 0;
    transform: translateX(-100%);

   
}
@media (prefers-reduce-motion) {
    .boxes
    {
        transition: none;
    }
    
}

.show
{
    opacity: 1;
    transition: all 1s;
    transform: translateX(0);
}

.card {
    height: 750px;
    width: 450px;
    border-radius: 3px;
    margin-top: 30px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  
}
.card:nth-child(2)
{
    transition-delay: 200ms;
}
.card:nth-child(3)
{
    transition-delay: 600ms;
}
.cardimg{
    width: 100%;
    border-radius: 2px;
   
    
}

.card ul li {
    margin-bottom: 8px;
    text-decoration: none;
    
    list-style-type: none;
}
#don
{
    text-decoration: none;
    color: white;
}
.sub
{
    padding: 10px;
    font-size: 20px;
    text-decoration-color: #012D5A;
}
.dark
{
    background-color: #012D5A;
    display: block;
    width: 80%;
    color: white;
    font-weight: bold;
    padding: 20px;
    border-radius: 4px;
    
   
    
}
.dark:hover
{
    background-color: white;
    border: 5px solid #012D5A;
    color: black;
}
.card a
{
    text-decoration: none;
}



.card ul li a {
    text-decoration: none;
    color: #007bff;
    text-align: center; 
    padding: 20px;
}

h5{
    margin-left: 40px;
    font-size: 20px;
}
.bestDr
{
    font-size: 20px;
    font-weight: 100;

}
#BESTdr:hover
{
   border: 10px solid #012D5A;
}

.cardHead
{
    font-size: 25px;
    font-weight: 400;
}

.quote
{
    background-color: #e4dede;
   

}
.quotepara
{
    font-size: 40px;
    font-weight: 100;
    padding-top: 180px;
}

.knowMore
{
    
    width: 230px;
    height: 50px;
    background-color: #01458a;
    border-radius: 7px;
    border: 2px solid #01458a;
    font-size: 20px;
    font-weight: 500;
    color: white;
    cursor: pointer;           /* Pointer cursor on hover */
    

}
.knowMore:hover {
    background-color: #012142; /* Darker blue background on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Larger shadow on hover */
    border: 10px solid #012142;
}


.transparent-background {
    position: relative; /* Ensure child elements are positioned relative to this container */
    background-image: url('19.1-Exterior-Lighting-Shines-Holiday-Lights.jpg');
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image */
    background-color: #e4dede; /* Background color */
    background-blend-mode: overlay; /* Blend the background color with the image */
    height: 400px; /* Adjust the height as needed */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(163, 218, 241, 0);
    opacity: 1; /* Semi-transparent overlay */
}

.donate
{
    
    margin-top: 90px;
   text-align: center;
   font-weight: 100;
   font-size: 30px;
}
.donate-text
{
    font-weight: 100;
    font-size: 20px;
}




.slider{
    width: 1500px;
    height: 550px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    left: 40px;
    
  
    
    
}

.animation
{
    background-color: #012142;
    position: relative;
    bottom: 30px;
  
}
.slides{
    width: 500%;
    height: 500px;
    display: flex;
    
    
}
.slides input{
    display: none;
}
.slide{
    width: 20%;
    transition: 2s;
}
.slide img{
    width: 1500px;
    height: 500px;
}

.navigation-manual{
    position: absolute;
    width: 1500px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}
.manual-btn{
    border: 2px solid #e4dede;
    padding: 5px;
    border-radius: 3px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 40px;
}
.manual-btn:hover{
    background:#e4dede;
}

#radio1:checked ~ .first{
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;
}
#radio4:checked ~ .first{
    margin-left: -60%;
}
#radio5:checked ~ .first{
    margin-left: -80%;
}

.navigation-auto{
    position: absolute;
    display: flex;
    width: 1500px;
    justify-content: center;
    margin-top: 460px;
}
.navigation-auto div{
    border: 2px solid #e4dede;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 40px;
}
#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #e4dede;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #e4dede;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: #e4dede;
}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: #e4dede;
}
#radio5:checked ~ .navigation-auto .auto-btn5{
    background: #e4dede;
}

.title
{
    background-color: #012142;
  
    display: flex;
    justify-content: center;
    
    font-size: 30px;
    font-weight: 600;
}
.COE{
    font-weight: 300;
    color: white;
}
/* Base styles remain unchanged */

@media (max-width: 1200px) {
    .navbar2 {
        padding: 8px;
    }

    .navbar3 {
        font-size: small;
    }

    .card {
        width: 400px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .navbar2 {
        padding: 6px;
    }

    .navbar3 {
        display: none; /* Hide navbar3 on smaller screens */
    }

    .card {
        width: 350px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar img {
        width: 200px;
        height: auto;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .navbar span {
        margin: 10px 0;
    }

    .navbar2 {
        flex-direction: column;
        align-items: center;
        padding: 6px;
    }

    .nav-link {
        margin: 5px 0;
    }

    .boxes {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        height: auto;
        margin: 15px 0;
    }

    .background-container {
        height: 300px;
    }

    .quote {
        padding: 20px;
    }

    .quotepara {
        font-size: 30px;
    }

    .knowMore {
        width: 200px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .navbar img {
        width: 150px;
    }

    .card {
        width: 100%;
        margin: 10px 0;
    }

    .background-container {
        height: 200px;
    }

    .quotepara {
        font-size: 24px;
    }

    .knowMore {
        width: 180px;
        height: 35px;
        font-size: 16px;
    }
}




#HA
{
    color: white;
}
#facebook
{
    color: #012D5A;
}
#instagram
{
    color: rgb(81, 0, 40);
}
#twitter
{
    color: black;
}
#linkedin
{
    color: #012142;
}

.footer {
    background: rgba(0, 0, 0, 0.8); /* Darker transparent background */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background: url("blurred-hospital-interior-abstract-medical-background_886350-467.avif") no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.footer .logo {
    max-width: 180px;
    margin: 0 auto;
    display: block;
    z-index: 1;
}

.footer .social-media {
    margin: 20px 0;
    z-index: 1;
}

.footer .social-media a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer .social-media a:hover {
    color: #00aced; /* Accent color for social media links */
    transform: scale(1.2);
}

.footer .contact-info {
    margin-top: 20px;
    z-index: 1;
}

.footer .contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

.footer .contact-info a {
    color: #00aced; /* Accent color for links */
    text-decoration: none;
    transition: color 0.3s;
}

.footer .contact-info a:hover {
    text-decoration: underline;
}

.footer #googleMap {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    z-index: 1;
}

.footer .links {
    margin-top: 20px;
    text-align: center;
    z-index: 1;
}

.footer .links .section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
    color: #fff;
}

.footer .links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer .links a:hover {
    color: #00aced;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer .social-media a {
        font-size: 24px;
    }
    .footer .contact-info p, .footer .links a {
        font-size: 14px;
    }
   
}

.footer1 {
    background: #e4dede; /* Dark background */
    color: black;
    padding: 10px;
    height: fit-content;
    text-align: center;
    position: relative;

}

.footer1 .team-logo {
   width: 100px;
    margin-bottom: 10px;
}

.footer1 .team-name {
    font-size: 20px;
   text-align: center;
    margin: 10px 0;
    padding: 0;
    color: #00aced; /* Accent color */
}

.footer1 .developers {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer1 .developers a {
    color: #00aced; /* Accent color */
    text-decoration: none;
    transition: color 0.3s;
}

.footer1 .developers a:hover {
    color: #012142;
    text-decoration: underline;
}

.footer1 .social-media {
    margin: 10px 0;
}

.footer1 .social-media a {
    color: black;
    margin: 0 10px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}



@media (max-width: 600px) {
    .footer1 .team-name {
        font-size: 20px;
    }

    .footer1 .developers {
        font-size: 14px;
    }

    .footer1 .social-media a {
        font-size: 18px;
    }
}

@media (max-width: 75rem) { /* 1200px */
    .navbar2 {
        padding: 0.5rem; /* 8px */
    }

    .navbar3 {
        font-size: 0.875rem; /* 14px */
    }

    .card {
        width: 25rem; /* 400px */
        height: auto;
    }
}

/* Adjustments for screens 992px wide and smaller */
@media (max-width: 62rem) { /* 992px */
    .navbar2 {
        padding: 0.375rem; /* 6px */
    }

    .navbar3 {
        display: none; /* Hide navbar3 on smaller screens */
    }

    .card {
        width: 21.875rem; /* 350px */
        height: auto;
    }
}

/* Adjustments for screens 768px wide and smaller */
@media (max-width: 48rem) { /* 768px */
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar img {
        width: 12.5rem; /* 200px */
        height: auto;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .navbar span {
        margin: 0.625rem 0; /* 10px */
    }

    .navbar2 {
        flex-direction: column;
        align-items: center;
        padding: 0.375rem; /* 6px */
    }

    .nav-link {
        margin: 0.3125rem 0; /* 5px */
    }

    .boxes {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        height: auto;
        margin: 0.9375rem 0; /* 15px */
    }

    .background-container {
        height: 18.75rem; /* 300px */
    }

    .quote {
        padding: 1.25rem; /* 20px */
    }

    .quotepara {
        font-size: 1.875rem; /* 30px */
    }

    .knowMore {
        width: 12.5rem; /* 200px */
        height: 2.5rem; /* 40px */
        font-size: 1.125rem; /* 18px */
    }
}

/* Adjustments for screens 576px wide and smaller */
@media (max-width: 36rem) { /* 576px */
    .navbar img {
        width: 9.375rem; /* 150px */
    }

    .card {
        width: 100%;
        margin: 0.625rem 0; /* 10px */
    }

    .background-container {
        height: 12.5rem; /* 200px */
    }

    .quotepara {
        font-size: 1.5rem; /* 24px */
    }

    .knowMore {
        width: 11.25rem; /* 180px */
        height: 2.1875rem; /* 35px */
        font-size: 1rem; /* 16px */
    }
}

/* Footer adjustments */
@media (max-width: 48rem) { /* 768px */
    .footer .social-media a {
        font-size: 1.5rem; /* 24px */
    }
    .footer .contact-info p, .footer .links a {
        font-size: 0.875rem; /* 14px */
    }
}

@media (max-width: 37.5rem) { /* 600px */
    .footer1 .team-name {
        font-size: 1.25rem; /* 20px */
    }

    .footer1 .developers {
        font-size: 0.875rem; /* 14px */
    }

    .footer1 .social-media a {
        font-size: 1.125rem; /* 18px */
    }
}
