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


/* NAVBAR CSS */

.clinic-heading {
    font-family: 'Roboto', sans-serif; 
    font-weight: bold;
    color: #0d1b3d; 
    letter-spacing: 2px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
    margin-bottom: 5px;
  }
  
  @media (max-width: 1200px) {
  .clinic-heading {
    font-size: 2rem;
  }
  }
  
  @media (max-width: 992px) {
  .clinic-heading {
    font-size: 1.8rem;
  }
  }
  
  @media (max-width: 768px) {
  .clinic-heading {
    font-size: 1.6rem;
  }
  }
  
  @media (max-width: 576px) {
  .clinic-heading {
    font-size: 1.4rem;
  }
  }
  
  
  
  /* MEDIA QUERIES OF DROPDOWN HOME */
  
  @media (max-width: 768px) {
  .dropdown-menu {
    width: 100%;
    padding: 20px;
  }
      
  .dropdown-item {
    padding: 15px;
    font-size: 1.1rem;
  }
  }
      
  @media (max-width: 576px) {
  .dropdown-menu {
    width: 100%;
    padding: 15px;
    border-radius: 0;
  }
      
  .dropdown-item {
    padding: 12px;
    font-size: 1rem;
  }
  }
  @media (max-width: 480px) {
  .dropdown-menu {
    padding: 10px;
  }
      
  .dropdown-item {
    padding: 10px;
    font-size: 0.9rem;
  }
  }
  .navbar-nav .nav-link:hover {
    color: blue;
    border-radius: 5px;
  }
    
  .navbar-nav .nav-link {
    font-size: 16px;
    color: green;
    font-weight: bold;
    padding-left: 20px;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
    
  .navbar-nav .nav-link:hover {
    color: #0056b3;
    border-bottom: 3px solid #007BFF;
  }
  
  
    /* DROPDOWN CSS */
  
  .stylish-dropdown {
    border-radius: 8px; 
    padding: 10px; 
    }
    
  .stylish-dropdown .dropdown-item {
    color:green ;
    font-weight: 500;
  }
  
  .stylish-dropdown .dropdown-item:hover{
    color: blue;
  }


main {
    max-width: 1200px; /* Wider main container */
    margin: auto;
    padding: 20px; /* Add some top and bottom padding only */
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #007bff; /* Blue color */
}

p {
    text-align: center;
    margin-bottom: 20px;
}

.course-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Space out cards evenly */
}

.course-card {
    border: 1px solid #007bff; /* Blue border */
    border-radius: 5px;
    padding: 15px;
    margin: 10px; /* Margin around each card */
    background: #f9f9f9;
    flex: 1 1 calc(30% - 20px); /* 3 cards in a row with space */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    max-width: 280px; /* Limit the width of each card */
}

.course-image {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Round image corners */
}

.course-card h2 {
    margin-top: 10px; /* Reduced margin */
    color: #007bff; /* Blue color */
}

.apply-button {
    background: #007bff; /* Blue background */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin: 10px auto 0;
    text-decoration: none; /* Remove underline from links */
}

.apply-button:hover {
    background: #0056b3; /* Darker blue on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .course-card {
        flex: 1 1 calc(45% - 20px); /* 2 cards in a row on medium screens */
    }
}

@media (max-width: 480px) {
    main {
        padding: 10px; /* Reduce padding on small screens */
    }

    .course-card {
        flex: 1 1 100%; /* 1 card per row on small screens */
    }

    h1 {
        font-size: 1.5em;
    }

    .apply-button {
        font-size: 1em;
    }
}


/* FOOTER CSS */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.footer {
    background-color: #0d1b3d;
    color: #fff;
    padding: 40px 0;
    font-size: 15px;
}
.footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
}
.footer p {
    color: #b5b9bf;
}
.footer a {
    color: #b5b9bf;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
    text-decoration: none;
}
.footer .icon {
    margin-right: 10px;
}
.footer .social-icons a {
    margin-right: 10px;
    display: inline-block;
    font-size: 20px;
    color: #b5b9bf;
}
.footer .social-icons a:hover {
    color: #fff;
}
.footer .opening-hours i {
    margin-right: 10px;
}
.footer .copyright {
    margin-top: 30px;
    text-align: center;
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1f73f0;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Media queries */
@media (max-width: 767px) {
.footer {
    text-align: center;
}
.footer .col-md-3 {
    margin-bottom: 20px;
}
}

.ankor{
    margin-left: 10px;
}

.links{
    margin-left: 20px;
}

.others{
    margin-left: 20px;
}

#clock{
    font-size: 30px;
}

#phone{
    font-size: 20px;
    color: white;
}
#location{

    font-size: 20px;
    color: white;
}
#envelope{

    font-size: 20px;
    color: white;
}


#facebook{

    font-size: 30px;
    color: white;

}
#insta{

    font-size: 30px;
    color: white;

}
#twitter{
    font-size: 30px;
    color: white;
}

#now{
    margin-top: 60px;
}
#common{
    margin-top: 50px;
}