body {
    background-color: white; /* Set the background color of the body to white */
}

.main-content {
  flex: 1;  /* This ensures the content takes up the available space */
}

.slider {
    width: 100%; /* Ensure the slider takes full width on mobile */
    max-width: 100vw;
    height: 700px; /* Fixed height for the slider */
    margin: 40px auto 0; /* Add a top margin for spacing from the navbar */
    position: relative;
    overflow: hidden;
    display: flex; /* Center the slider */
    justify-content: center; /* Center the slider */
}

/* Rest of your CSS remains unchanged */
.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.slider .list img {
    width: 100%; /* Adjust the width to 100% for mobile responsiveness */
    height: 700px; /* Fixed height for all images */
    object-fit: cover; /* Maintain aspect ratio and cover */
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.custom-button {
    display: flex;
    align-items: center;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 300px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.custom-button:hover {
    transform: scale(1.05);
}

.button-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.button-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.button-text h1 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.button-text p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

/* Blog Section Styling */
.blog-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.blog-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.blog-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 20px;
}

.blog-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}


.blog-image {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-text {
  flex: 1;
  text-align: left;
}

.blog-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-text ul {
  padding-left: 20px;
}

.blog-text ul li {
  list-style: disc;
  margin-bottom: 10px;
  color: #555;
}

.blog-content-wrapper {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.blog-content-wrapper.expanded {
  max-height: none; /* Remove the height limit when expanded */
}

.blog-content.expanded {
  flex-direction: column;
  align-items: center;
}

.blog-image {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  transition: width 0.3s ease-in-out;
}

.blog-content.expanded .blog-image {
  max-width: 100%;
  width: 100%;
}

.read-more-btn {
  display: block;
  margin-left: auto;
  margin-top: 20px;
  background-color: #0077cc;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.read-more-btn:hover {
  background-color: #005fa3;
}

.footer {
  background-color: #1b1b1b;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  margin-bottom: 0;
}

.footer h1 {
  font-size: 24px;
  font-weight: bold; /* Strong black for "GET IN TOUCH" */
  color: #fff; /* Black color */
  margin-bottom: 20px;
}

.footer p {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer a {
  color: #0088cc;
  text-decoration: none;
}

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

.footer-line {
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

.footer-line p {
  font-size: 14px;
  color: #ccc;
}

/* Floating Telegram Icon */
.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.telegram-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0088cc;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.adsbygoogle {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5);
  }
  80% {
    box-shadow: 0 0 0 14px rgba(0, 136, 204, 0);
  }
}

.telegram-icon svg {
  fill: #fff;
  width: 30px;
  height: 30px;
}


@media screen and (max-width: 768px) {
    .slider {
        width: 100%;
        height: 340px; /* Adjust height for smaller screens if needed */
    }

    .slider .list img {
        width: 100%; /* Ensure full width on smaller screens */
        height: 340px; /* Maintain fixed height on smaller screens */
    }

    .slider .buttons {
        top: 40%; /* Adjust button positioning slightly for mobile */
    }
    .footer h1 {
    font-size: 20px;
  }

  .footer p {
    font-size: 14px;
  }

  .footer-line p {
    font-size: 12px;
  }

}
