body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFF5F0;
  color: #111;
}
 
.navbar {
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  padding: 5px 0;
}

.navbar h1 {
 font-size: 35px;
  font-weight: bold;
  margin-right: -10%;
  width: 50%;
  line-height: 2.5rem;
  color: white;;
}

.navbar h1 span {
  display: block;
  font-weight: 100;
  font-size: 15px;
  text-align: center;
  margin-right: 40%;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
.navbar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo img {
 padding: 2px 3px;
  height: 140px;
  width: 140px;
  margin-left: 10px;
  border-radius: 70px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 10px 10px;
  font-size: 23px;
  justify-content: space-between;
  text-decoration: none;
  color: white;
}

/* Dropdown menu hidden by defualt */

.dropdown-content {
  display: none;
  position: absolute;
  list-style: none;
  text-align: justify;
  top: 100%;
  left: 0;
  background-color: #ff99cc;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(0 0 0 0.2);
    z-index: 9999;  /*Fix dropdown hiding behind image*/
}

.dropdown-content li a {
  font-size: 15px;
  margin-left: -5%;
  text-align: justify;
  font-weight: bold;
}

/*Reveal dropdown on hover*/

.dropdown:hover .dropdown-content{
  display: block;
}

.don {
  padding: 15px;
  border-radius: 50px;
  color: white;
  margin-left: 5%;
  font-size: 30px;
  font-family: 'Playfair Display', serif;;
  text-decoration: none;
  background-color: #ca32cd;
  box-shadow: 5px 5px 5px lightblue;
}

.don:hover {
    background-color: white;
  color: black;
} 

.page-banner {
  background-image: url(images/new-banner.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 180px 20px;
  color: #111;
  text-align: center;
}

.page-banner h1{
    text-align: right;
    margin-right: 9%;
    margin-top: -4%;
    font-size: 80px;
    color: white;
    font-family: 'Abril Fatface', cursive;
}

.page-banner p {
  font-size: 18px;
  margin-top: -3%;
  margin-right: 4%;
  font-weight: bold;
  text-align: right;
  color: white;
}

.mhead {
margin-top: 5%;
margin-left: 5%;
font-size: 50px;
}

.media {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  margin-top: -2%;
  flex-wrap: wrap;
  background-repeat: no-repeat;
  background-size: 100%;
}

.card {
  background-color: white;
  width: 400px;
  margin: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: justify;
  transition: transform 0.3s ease;
}
 
.card img {
  width: 100%;
  height: 250px;
}
 
.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  font-size: 15px;
  font-weight: 600;
  color: gray;
  margin: 15px 10px 10px;
  text-align: justify;
}

.card h4 {
  font-size: 22px;
  margin: 15px 15px 10px;
}
 
.card h4 a{
    text-decoration: none;
}
.card p {
  padding: 0 15px 20px;
  font-size: 15px;
}

.news {
  margin-top: -3%;
  background: #ebe8eb;
  height: 200%;
}

.latest-news{
    margin-top: 10%;
    padding: 10px 5px;
    margin-left: 5%;
    font-size: 30px;
}
 
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px;
  padding: 15px;
}
 
.news-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card h4{
  font-size: 15px;
  font-weight: 600;
  color: gray;
  margin: 15px 10px 10px;
  text-align: center;
}

/* Testimonials */

.testimonial-section {
  max-width: 1000px;
  margin: auto;
  padding: 30px 20px;
}

.testimonial-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-section h2 {
  text-align: center;
  margin-top: 6%;
  font-size: 30px;
}
 
.testimonial {
  display: none;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  width: 70%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.arrow {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: black;
  padding: 10px;
}

.insight {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  margin-top: -2%;
  flex-wrap: wrap;
}

.insight-card {
  background-color: white;
  width: 400px;
  margin-top: 2%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: justify;
  transition: transform 0.3s ease;
}

.insight-card img {
  width: 100%;
  height: 280px;
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-card h2 {
  font-size: 15px;
  font-weight: 600;
  color: gray;
  margin: 15px 10px 10px;
  text-align: justify;
}

.insight-card h4 {
  font-size: 22px;
  margin: 15px 15px 10px;
}
 
.insight-card h4 a{
    text-decoration: none;
}
.insight-card p {
  padding: 0 15px 20px;
  font-size: 15px;
}

.ihead {
margin-top: 5%;
margin-left: 5%;
font-size: 40px;
}

/*Blogs Media page */

.media-container {
  padding: 80px 60px;
}

.media-1 {
  width: 60%;
  height: 100%;
  align-items: center;
  display: block;
}

.media-1 img{
  width: 70%;
  height: 50%;
  margin-left: 50%;
}

.mediapara {
  text-align: justify;
  font-size: 25px;
  width: 100%;
  margin-left: 35%;
}

/* Animation */
.mediapara {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease-out;
}
 
.mediapara.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ccc;
}

/* ======= Responsive CSS for All Devices ======= */

/* ==== Laptop Screen Size ==== */
@media screen and (max-width: 1024px) {
  .navbar .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .navbar h1 {
    width: 50%;
    margin-left: 2%;
    font-size: 20px;
    line-height: 2rem;
  }

  .navbar h1 span {
    font-size: 10px;
  }

  header nav .menu li a {
    font-size: 18px;
  }

  .dropdown-content li a {
  font-size: 13px;
  font-weight: 600;
  }

  .don {
    padding: 10px;
    font-size: 18px;
  }

  .logo img {
    margin-right: 10%;
  }
  
  .media-1 {
  width: 70%;
  }

  .media-1 img{
  width: 80%;
  height: 70%;
  margin-left: 35%;
}

.mediapara {
  text-align: justify;
  font-size: 20px;
  width: 100%;
  margin-left: 25%;
}
}

/* ==== Tablet Screen Size ==== */
@media screen and (max-width: 768px) {
  header nav {
    position: relative;
    border: 4px solid white;
    height: 30px;
    width: 30px;
    margin-top: 20px;
    border-radius: 5px;
  }

  header nav:after {
    top: 17px;
  }

  header nav:before {
    top: 7px;
  }

  header nav:after, header nav:before {
    content: "";
    height: 2px;
    width: 17px;
    background-color: white;
    display: block;
    position: absolute;
    left: 5px;
  }

  header nav .menu {
    position: absolute;
    display: none;
    right: -600px;
    top: 53px;
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
  }

  header nav:hover .menu {
    right: 0;
    display: block;
  }

  header nav .menu li {
    margin-top: 20%;
    display: block;
    
  }

  header nav .menu li a {
    width: 100px;
    font-weight: bold;
    color: white;
    
  }

  .don {
    padding: 8px;
  }

  .navbar h1 {
    font-size: 30px;
    width: 60%;
    margin-right: 1%;
  }

  .navbar h1 span {
    font-size: 15px;
    line-height: 2.5rem;
    width: 75%;
    margin-left: 3%;
    text-align: center;
  }

  .dropdown-content {
    min-width: 90px;
    text-align: justify;
  }

  .dropdown-content li a {
    text-align: justify;
    color: black;
    margin-left: -8%;
    padding: 3px;
    min-width: 80px;
  }
  
  .media-1 {
  width: 70%;
  }

  .media-1 img{
  width: 90%;
  height: 80%;
  margin-left: 30%;
}

.mediapara {
  text-align: justify;
  font-size: 15px;
  width: 100%;
  margin-left: 25%;
}
}

/* ==== Large Mobile Screen Size ==== */
@media screen and (max-width: 540px) {
  .logo img {
    width: 70px;
    height: 70px;
  }

  .navbar h1 {
    font-size: 15px;
  }

  .navbar h1 span {
    font-size: 8px;
    line-height: 1rem;
  }

  header nav .menu li a {
    font-size: 10px;
    padding: 1px 5px;
  }

  .page-banner {
    background-size: 120% 60%;
  }

  .page-banner h1 {
    font-size: 40px;
    margin-top: -30%;
  }

  .page-banner p {
    font-size: 10px;
  }

  .mhead {
    font-size: 50px;
    margin-top: -20%;
  }

  .testimonial-section h2 {
    font-size: 25px;
  }

  .latest-news {
    font-size: 20px;
  }

  .news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 40px;
  }

  .ihead {
    margin-top: 15%;
  }

  .insight-card {
    width: 300px;
  }
  
  .media-1 {
  width: 100%;
  }

  .media-1 img{
  width: 90%;
  height: 80%;
  margin-left: 10%;
}

.mediapara {
  text-align: justify;
  font-size: 10px;
  width: 100%;
  margin-left: 5%;
}
}

/* ==== Medium Mobile Screen Size ==== */
@media screen and (max-width: 425px) {
  .logo img {
    width: 70px;
    height: 70px;
  }

  .navbar h1 {
    font-size: 15px;
  }

  .navbar h1 span {
    font-size: 8px;
    line-height: 1rem;
  }

  header nav .menu li a {
    font-size: 10px;
    padding: 1px 5px;
  }

  .page-banner {
    background-size: 120% 60%;
  }

  .page-banner h1 {
    font-size: 40px;
    margin-top: -30%;
  }

  .page-banner p {
    font-size: 10px;
  }

  .mhead {
    font-size: 50px;
    margin-top: -20%;
  }

  .testimonial-section h2 {
    font-size: 25px;
  }

  .latest-news {
    font-size: 20px;
  }

  .news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 40px;
  }

  .ihead {
    margin-top: 15%;
  }

  .insight-card {
    width: 300px;
  }
}

/* ==== Small Mobile Screen Size ==== */
@media screen and (max-width: 320px) {
  .navbar h1 {
    font-size: 12px;
  }

  .navbar h1 span {
    font-size: 5px;
  }

  header nav .menu li a {
    font-size: 15px;
    padding: 1px 5px;
  }

  .logo img {
    width: 60px;
    height: 60px;
  }

  .page-banner {
    background-size: 120% 60%;
  }

  .page-banner h1 {
    font-size: 35px;
    margin-top: -35%;
  }
  
  .media-1 {
  width: 100%;
  }

  .media-1 img{
  width: 100%;
  height: 100%;
  margin-left: 10%;
}

.media-1 {
  width: 100%;
  }

  .media-1 img{
  width: 100%;
  height: 80%;
  margin-left: 5%;
}

.mediapara {
  text-align: justify;
  font-size: 10px;
  width: 100%;
  margin-left: 5%;
}

}